Elamur Research

Polish Coreference Corpus as an LLM Testbed: Evaluating Coreference Resolution within Instruction-Following Language Models by Instruction–Answer Alignment

Paper · 2024 · Karol Saputa, Angelika Peljak-Łapińska and Maciej Ogrodniczuk

Summary

A reader can follow a person through a passage even when the writer switches from a full name to a surname or a pronoun. The same task gets harder when a word like to in Polish refers back to an entire action. A system doing coreference resolution has to locate the words that make each reference and group the references that point to the same thing. The authors ask how well a system can do both jobs when it receives a written instruction and returns an annotated version of the passage.

The authors turn the Polish Coreference Corpus into training examples with two kinds of answers. One marks mentions directly in the text with brackets and shared group labels. The other lists the mentions by group. They also develop focused questions from Polish sentences that a dedicated resolver handled poorly, along with preference examples that consider the quality of an answer and its explanation. To evaluate bracketed responses, they align the generated wording with the original passage. This lets the scorer recognize a correctly marked mention even when the response contains some incidental edits or surrounding commentary.

On the Polish Coreference Corpus development set, Claude 3 Sonnet gets 44.52 CoNLL F₁, a score for the quality of the predicted groups, with a prompt that includes no worked solution. After supervised fine-tuning, Llama 3.1 8B achieves 46.54 on the same measure. The dedicated Polish resolver s2e-herbert-large reaches 69.91. The comparison also shows why a usable response is only an initial milestone. Sonnet, Claude 3 Opus and the adapted Llama all receive an instruction-following rate of 100.00, yet their mention boundaries and groups differ substantially in accuracy.

The paper establishes a way to train and evaluate whole-passage coreference as a written task. Its strongest evidence concerns the bracketed response and the improvement associated with supervised adaptation. The supplementary material shows what a more focused test can reveal. In one example, GPT-4o selects the clause containing to when the requested antecedent is the earlier phrase about reading brochures. The authors leave open how much each kind of training material contributes to better document-level annotation.

Deep dive: Polish Coreference Corpus as an LLM Testbed: Evaluating Coreference Resolution within Instruction-Following Language Models by Instruction–Answer Alignment

The Polish Coreference Corpus tests how well instruction-following systems identify mentions and link them to the same referent in Polish text. · about 31 minutes to read

The problem and its context

Finding the references and deciding what they share

Coreference is a relation between expressions in context. A name and a shorter form of that name can refer to the same person. A description and a pronoun can refer to the same institution. A demonstrative can point back to something that happened, in which case the stretch of text it refers to can be a clause. An annotated passage records these relationships as groups of mentions. A mention is a particular occurrence in the passage, located by its boundaries. The group records which occurrences have a common referent.

This makes the task more demanding than recognizing a familiar name. Consider the paper’s example involving a bank and a later reference to the institution. Identifying the word for bank is one decision. Linking it to the later description is another. The bank also sits inside a phrase referring to its president, which in turn is part of a longer expression referring to a candidacy. The same words can thus participate in several overlapping spans while the spans denote different things. Resolving the passage requires keeping those levels distinct.

Even when the grouping is clear to a reader, marking the whole passage involves deciding where each expression starts and ends. In the paper’s terms, this is mention detection. If a predicted group uses the wrong portion of the passage, that affects how the group can be compared with the reference linguistic annotation. Conversely, a system that locates all the relevant expressions still has to decide which of them belong together. The paper treats the availability of the right mentions as a constraint on the grouping task, which is why the main evaluation reports a mention measure alongside the overall coreference score.

A score for an entire passage can conceal which decision failed. An absent member of a cluster could result from overlooking the expression, setting its limits incorrectly, or assigning it to a different group. A predicted group may capture an obvious relation while omitting others in the same passage. When the output consists of whole clusters, a single mistake can change the way several mentions are grouped. The paper cites prior efforts to make such errors easier to diagnose. One approach catalogs types of mistakes so that a lower aggregate score can be traced to more specific behaviors. Error-Driven Analysis of Challenges in Coreference Resolution

The established approach and the generative alternative

As the authors describe it, coreference traditionally sits inside a natural language processing pipeline. Here a resolver predicts the annotations directly, using a task-specific representation for locating mentions and connecting them. The paper traces the transition to end-to-end neural approaches and cites later work that changes how spans are represented. For Polish, it points to earlier comparisons of end-to-end systems, older Polish resolvers and adaptations to the local dataset. Multilingual shared tasks also evaluated Polish as part of a common setup. End-to-end Neural Coreference Resolution · Coreference Resolution without Span Representations

The paper describes several ways of making a dedicated resolver more efficient or more attentive to particular cases. Maverick sets its maximum mention length with reference to the length of the sentence. Restricting candidate spans reduces the amount of material the system has to consider and helps control memory use. The authors draw attention to a cost of this design for Polish. Their corpus contains annotated spans that cross sentence boundaries. A system whose candidates stay within a sentence cannot propose such a span as a unit. The paper also cites work that explicitly addresses conjunctions, illustrating how a dedicated architecture can be adapted to a specific construction. Maverick · CAW-coref

The generative alternative starts from a representation that can be written in ordinary text. The work the authors cite includes question answering formulations, in which a query gives the system a particular reference to resolve and the desired output is a span. Asking about a specific expression makes the focus of the task explicit. Annotating a whole passage adds another demand. The system has to find the expressions worth asking about and then keep track of their group membership as it works through the text. CorefQA

The authors distinguish two ways of using a generative system for the larger task. In direct annotation, it receives the text and an output specification, then writes the annotation. The research work goes into expressing the task and, where appropriate, preparing examples for supervised training. In a hybrid approach, generation is one part of a larger resolver. Another component may control what the system sees as the document is processed or use its output to extract candidate mentions. In the latter case, the procedure around generation helps determine which decisions the system has to make at each point. The paper discusses an English resolver that uses a sequence-to-sequence component within a transition-based procedure. Coreference Resolution through a seq2seq Transition-Based System

Direct annotation makes it possible to ask whether an ordinary instruction can elicit structured output that is useful to a corpus evaluator. Earlier research discussed by the authors illustrates how much the answer depends on the evaluation contract. A study of literary annotation requires strict agreement of cluster indices and leaves minor text alterations outside its evaluation. Another study supplies reference mentions to the system, placing the emphasis on resolving expressions whose positions are already known. Those choices address different questions. The Polish experiment asks the system to find and group mentions and uses alignment to account for differences between the input and the returned wording. Literary Coreference Annotation with LLMs · Assessing the Capabilities of Large Language Models in Coreference

Why use the Polish corpus for this test?

The Polish Coreference Corpus, or PCC, already records where mentions occur and which clusters they belong to. It is also part of CorefUD, a multilingual collection organized for common evaluation. These two facts give the study a starting point for training and a target for scoring. The existing annotations can be expressed as text that a system can generate, then recovered as positions and groups that a standard scorer can compare with the corpus.

Some of the Polish examples motivate a closer look at what counts as a mention. The authors describe failures in sentences where a clause supplies the referent for a later expression. In one case, the thing characterized as absurd is a proposed course of action by foundations. In another, what causes dissatisfaction is the fact that children’s journey to school has become longer. The relevant stretch may contain several plausible noun phrases. A resolver has to recognize that a later reference picks up a proposition or situation expressed by the clause.

A similar difficulty appears in the examples involving adverbial clauses. The paper’s observation concerns limits as well as links. A resolver might focus on the right part of the sentence yet select only a noun phrase inside the larger referent. Broadly related words are insufficient when the intended output is an annotation that identifies the exact portion of the document. The authors use such cases to motivate a supplemental task in which the system must identify a particular antecedent and return its wording.

The supplementary questions draw inspiration from Winograd-style tasks, where the alternatives are intended to make context and commonsense relevant to interpreting a reference. The paper investigates adapting English cases before turning to difficult examples found in the Polish corpus. In its account, a construction that is grammatical and ambiguous in English can lose the ambiguity, or become awkward, in Polish. The authors also describe multilingual work that faced similar problems preserving suitable examples across languages. That experience explains why the Polish questions are built around observed failures in existing Polish text. Wino-X

The method, step by step

Turn corpus annotations into possible answers

The corpus already gives the authors a source passage and information about its coreference chains. The first step is to express that information in a format suitable for an answer to a written instruction. The source passage is the material to annotate. The target answer shows where the existing corpus annotators marked mentions and how they grouped them. A supervised training example thus pairs a request about a particular passage with a demonstration of the completed task.

In the bracket format, the answer reproduces the passage and inserts markers around annotated mentions. A group label follows each closing bracket. Here is the paper’s notation, with the placeholder names written out.

[mention span]:group label

The square brackets enclose the words that form the mention. The colon separates those words from the group label. The label denotes the cluster within the answer. Every span followed by that same label belongs to the same proposed coreference group. The notation represents an annotation, and the paper describes its procedure in terms of these markers and their alignment to the source.

The position of the marker makes the bracket format useful for this experiment. A phrase can occur more than once, and each occurrence can be marked at its own location in the reproduced passage. A later description can receive the same label even when its wording changes. The system can also place a bracketed mention within a larger bracketed mention and assign separate labels to the two spans. The paper’s prompt shows how to do this with nested phrases and asks that the boundaries and original order be respected. It provides a local example of the notation without giving a completed passage as a demonstration.

The corpus example involving a bank makes the nesting concrete. The institution is mentioned inside a phrase about its president. That phrase is inside a larger phrase that introduces a candidate for the office. Later text can refer to the institution, the person holding the office, or the candidacy. Each can therefore have a separate cluster, even though one part of the passage introduces all of them in overlapping words. An answer that brackets only the longest expression would lose the positions at which the other referents are introduced.

List-style instructions express the annotation differently. The answer gives a group and then lists the phrases associated with it. In the authors’ example, one group collects forms of a politician’s name, including later references that use a title or surname. Other groups collect the expressions for the electorate, the bank and the candidacy. By placing the expressions together, the list makes the common referent easy for a reader to inspect. It also requires a way to map each listed item back to its precise occurrence before it can be interpreted as a set of source positions, especially when the same form appears repeatedly.

The authors describe the list format as moving through the entities in succession. Its answer organizes related expressions by cluster. The bracket format, in contrast, expresses those same relationships in the order of the passage, interleaving mentions from different clusters. The example outputs omit singletons, which are expressions with only one member in their cluster. A bracket label that appears just once in a displayed fragment can still refer to a group with more members elsewhere in the full document. The scope of the passage matters when deciding what a fragment of annotation represents.

Find specific failures worth asking about

The authors also prepare training material that starts from a local difficulty. They evaluate an encoder-based resolver at sentence level and examine sentences that received low CoNLL F₁ scores. The low score is a way of finding candidates for manual analysis. It does not itself say which words caused the error. The authors review the selected cases and turn some of them into questions about mention boundaries or ambiguous references.

One aim is to ask directly about a decision that would otherwise be buried inside a document annotation. If a demonstrative refers back to an action, a question can point to the demonstrative and request the exact phrase expressing that action. The requested answer still depends on interpretation. It also has a precise deliverable, because the system has to select words from the sentence. An answer about the general topic would leave the boundary unspecified. An exact quotation of the wrong clause would satisfy the surface instruction to quote while making the wrong coreference decision.

The worked example in the paper comes from the development part of the question set. The sentence presents someone who has read some brochures and wants closer contact with the people and activities described. The demonstrative to occurs in the claim that what he has done so far is insufficient. The reference answer picks out the earlier action of becoming familiar with the brochures. GPT-4o instead returns words from the part that says it is insufficient. Those words include the reference that needs to be resolved. The question makes it possible to state exactly what went wrong. The returned clause describes the speaker’s assessment of the action and leaves the action itself unselected.

The authors first tried other ways of collecting difficult Polish examples. Translating English Winograd items yielded few cases in which the resulting Polish sentence retained the intended ambiguity and still sounded natural. Their discussion notes that grammatical or stylistic problems can disqualify an item even when its immediate wording passes a spelling check. They also searched the literature for promising examples and tried building new ones from earlier samples. The examples they found did not provide an evident recurring pattern. Selecting low-scoring sentences from the PCC gave them a practical starting point tied to the task they were already studying.

This route gives the questions a particular scope. They are local tests of decisions that posed trouble for the resolver used in selection. The document formats still require deciding where to look across an entire text. A question that names the expression to resolve supplies part of that work in advance. It can reveal whether guidance on a particular decision is useful, while the unassisted annotation task measures whether the system can locate and resolve many such decisions in context.

Construct examples that express answer preferences

The other supplementary resource captures preferences about generated responses. For the prepared questions, the authors use GPT 3.5 and Llama 3.1 8B to produce candidate answers. They assess the candidates on the correctness of the answer, the quality of its justification, the accuracy with which it cites the relevant wording, and the suitability of its vocabulary. An answer’s treatment of the words in the source can therefore matter even if its general interpretation is convincing.

The rationale is that a corpus annotation records the outcome of a judgment. It gives the span and the group selected by the annotators. For an ambiguous case, that record may leave several plausible interpretations and the reasons for preferring the adopted one implicit. A preference example can express that a response has better support for its selection or gives a more coherent explanation. This is a way of representing information about the answer that a cluster label alone does not convey.

The document annotations, questions and preferences consequently have different units. A bracket or list example is a whole text. A question or preference example is based on a sentence. The paper gives these counts for the training, development and test partitions.

Instruction formatTrainDevelopmentTest
Bracket style1463183182
List style1463183182
Question and answer5978
Preferences5978

The shared counts for brackets and lists reflect the availability of the corpus annotation in alternate forms. The smaller sets concern the manually examined sentence-level decisions. The counts describe how the materials are split. The reported training comparison does not assign a separate performance gain to each format or supplement.

Adapt the open system and choose the evaluation prompt

The supervised experiment uses Llama 3.1 8B, described in the paper as the smallest Llama 3.1 variant. In this setting, supervised adaptation means training on instructions paired with target responses. The authors use SFTTrainer from the Hugging Face ecosystem and train for 4 epochs. According to their report, they use AdamW with the WarmupDecayLR scheduler, run at BF16 precision with a batch size of 1, cap sequences at 8192 tokens, and accumulate gradients automatically.

Those settings describe how the training examples are processed. An epoch is a pass through the training data. BF16 specifies the numerical precision used in training. The optimizer governs parameter updates, and the scheduler governs changes in the learning rate. Gradient accumulation allows updates to draw on gradients from multiple processing steps. The sequence length constrains how much text can be processed as a training sequence, a relevant distinction when a bracketed answer reproduces the passage in addition to inserting the annotations.

The authors report using the training defaults and confine their tuning discussion to trials of instruction wording. They describe choosing the evaluation prompt after trying several formulations on a small development sample. In their training discussion, they characterize the prompt trials as involving a few training texts and systems without task-specific adaptation. The description establishes that the wording was selected in a preliminary exercise. The paper supplies the resulting prompt and the main scores, with little detail about the alternatives or their individual results.

The selected prompt requests bracketed responses. It specifies the relationship between brackets and group labels, gives the example of nested spans and tells the system to respect the extent and order of mentions. For the prompt-only runs, the authors call the setup zero-shot because the instruction contains no complete worked solution. The instruction gives the conventions for writing an answer. The unadapted systems have to apply those conventions to a full passage from the task description. The supervised Llama run is a separate condition because it has received task-specific training before answering.

Bring the generated annotation back to the corpus

An annotated passage returned as text differs from the corpus representation used by the scorer. The corpus identifies a mention by its location in the original sequence of tokens. A bracketed answer identifies it by its location in the generated sequence. Even if the referenced phrase remains intact, a comment before the passage, a punctuation change or a difference in tokenization can move that location. The authors’ evaluation converts positions in the answer into positions in the source.

From a Polish corpus passage to scored clusters

The steps in order.

From a Polish corpus passage to scored clustersStep 1: Convert corpus annotations into instruction answers1. Convert corpus annotations into instruction answersStep 2: Request bracketed annotations for the source passage2. Request bracketed annotations for the source passageStep 3: Align the generated text with source tokens3. Align the generated text with source tokensStep 4: Extract bracketed spans and group labels4. Extract bracketed spans and group labelsStep 5: Map mentions onto original corpus positions5. Map mentions onto original corpus positionsStep 6: Write predicted groups in the corpus format6. Write predicted groups in the corpus formatStep 7: Score predicted mentions and coreference clusters7. Score predicted mentions and coreference clusters

The alignment algorithm matches the generated passage to the original at token level. It can accommodate some differences in wording or segmentation, as well as comments at the beginning and end of the response. An intact phrase can therefore be located even if the response departs from the original elsewhere. This matters for a long passage. A local edit early in the response would otherwise change all subsequent positions, including those of mentions that the system identified correctly.

The evaluation also extracts annotated spans using a regular expression and groups them by their labels. The labels give the proposed relationships, while alignment supplies the locations needed to test those relationships. A group label is local to the answer. Its numerical value matters as a way to associate spans with each other. The positions establish which occurrences were linked, so the scorer can compare the predicted cluster with the corpus annotations even though the two use separate labels.

Once the mentions have been mapped, the prediction can be written back into a CoNLL-U file using the original tokenization. The standard evaluation can then operate on source positions for both the prediction and the reference. This shared representation makes the comparison with a dedicated Polish resolver possible. That resolver predicts a structured annotation through its own architecture, whereas the generative answer arrives at the comparable representation through text alignment and extraction. The Universal Anaphora Scorer 2.0

Alignment addresses differences between the source and the rendering of its text. The relevant condition in the paper is that the mention itself remains intact enough to be matched. A system can still fail by omitting a reference, marking the wrong words, or giving mentions the wrong group label. In those cases, recovering source positions makes the failure observable to the scorer. It does not provide the missing coreference judgment.

Experiments and results

What the comparison measures

The main comparison uses the development portion of the Polish CorefUD data, which is drawn from the Polish Coreference Corpus. The authors use that split because its gold annotation is publicly available. Here gold means the corpus annotation against which the system’s output is scored. The instruction dataset also has a test partition. The scores discussed below belong to the development evaluation.

The systems cover three kinds of experiment. Commercial systems and unadapted open Llama variants receive the chosen prompt. The adapted Llama 3.1 8B answers after supervised training on the task. Two Polish start-to-end systems, s2e-herbert-large and s2e-herbert-base, provide the dedicated comparison. Their architecture already outputs a prediction in the required form, so the table has no instruction-following rate for them.

The evaluation tracks several outcomes because an answer can be useful in different degrees. The instruction-following rate records how often the scoring procedure finds a non-zero mention detection result. This is the authors’ operational test for at least some successful use of the annotation scheme. Mention detection F₁ summarizes how well the output recovers annotated mentions. CoNLL F₁ evaluates the predicted coreference groups. The main results table identifies its CoNLL column as partial match and reports a separate precision column for exact matches.

Precision concerns how much of what the system predicted was correct under the chosen matching rule. Recall concerns how much of what the corpus marks was recovered. F₁ combines precision and recall. The paper reports CoNLL F₁ through the coreference scorer, so the figures refer to its comparison of predicted clusters against the gold groups. A precise prediction on a limited set of expressions can still leave substantial portions of a document unresolved. The combination of instruction following, detection, group scoring and exact-match precision lets a reader see evidence of that difference.

The paper draws on earlier work on instruction-following evaluation, while defining a task-specific rate for this experiment. The threshold depends on the result of processing the answer and locating at least some mention annotation. A high rate therefore indicates that usable annotation can usually be recovered from a response. The amount recovered and the quality of the subsequent grouping still have to be read from their own measures. Instruction-Following Evaluation for Large Language Models

Whole-passage coreference

Partial-match CoNLL F₁ on the Polish Coreference Corpus development set

Supervised Llama leads direct instruction-based annotation, while the dedicated Polish resolvers score higher.

Partial-match CoNLL F₁ on the Polish Coreference Corpus development setLlama-3.1-8B: 0.34Llama-3.1-8B0.34Llama-3.1-70B: 0.81Llama-3.1-70B0.81GPT-4o-mini: 14.68GPT-4o-mini14.68GPT-4o: 24.60GPT-4o24.60Claude 3 Haiku: 30.36Claude 3 Haiku30.36Claude 3 Opus: 36.70Claude 3 Opus36.70Claude 3 Sonnet: 44.52Claude 3 Sonnet44.52Llama-3.1-8B-FT (this paper): 46.54Llama-3.1-8B-FT (this paper)46.54s2e-herbert-base: 62.85s2e-herbert-base62.85s2e-herbert-large: 69.91s2e-herbert-large69.91
The numbers
System or settingCoNLL F₁
Llama-3.1-8B0.34
Llama-3.1-70B0.81
GPT-4o-mini14.68
GPT-4o24.60
Claude 3 Haiku30.36
Claude 3 Opus36.70
Claude 3 Sonnet44.52
Llama-3.1-8B-FT (this paper)46.54
s2e-herbert-base62.85
s2e-herbert-large69.91

Among the systems given only the prompt, Claude 3 Sonnet does best on partial-match CoNLL F₁, at 44.52 on the PCC development set. Claude 3 Opus achieves 36.70 on that measure, and Claude 3 Haiku achieves 30.36. The two GPT variants score 24.60 for GPT-4o and 14.68 for GPT-4o-mini. The ranking here concerns the complete pipeline from an instruction to recovered corpus annotations. It tells a reader how well the groups produced by each system compare with the benchmark after the answers have been aligned.

The open variants tested without supervised adaptation have low scores in that pipeline. Llama-3.1-70B reaches 0.81 on the partial-match CoNLL measure. Llama-3.1-8B reaches 0.34. The comparison within the smaller variant is especially informative. After supervised adaptation, its development score reaches 46.54. That result exceeds the strongest prompt-only score in the paper. The training gives the smaller system experience producing the specific kind of document annotation that the benchmark measures.

The dedicated Polish systems reach higher scores than any of the instruction-based runs. The base s2e system gets 62.85 CoNLL F₁, and the large system gets 69.91. The authors describe these as reproductions of a start-to-end approach adapted for Polish. They also note that their reproductions come in slightly below the scores of the strongest Polish systems in the shared tasks. The direct comparison in the paper therefore uses concrete dedicated baselines and places the bracketed approach at a substantial distance from both of them.

These results support two practical statements about the experimental setup. The annotation can be learned well enough to produce a corpus-level score competitive with the commercial systems tried under the same evaluation protocol. A dedicated resolver still recovers more of the annotated coreference structure under the paper’s metrics. The outcome addresses how well a particular instruction and response representation work on Polish passages, with a consistent procedure for turning the output into a scorable prediction.

Usable annotation and mention recovery

Mention detection F₁ on the Polish Coreference Corpus development set

Supervised adaptation improves mention recovery for the smaller Llama variant, while the dedicated systems retain the lead.

Mention detection F₁ on the Polish Coreference Corpus development setLlama-3.1-8B: 0.56Llama-3.1-8B0.56Llama-3.1-70B: 2.99Llama-3.1-70B2.99GPT-4o-mini: 19.32GPT-4o-mini19.32Claude 3 Haiku: 25.94Claude 3 Haiku25.94GPT-4o: 32.00GPT-4o32.00Claude 3 Sonnet: 47.88Claude 3 Sonnet47.88Claude 3 Opus: 48.30Claude 3 Opus48.30Llama-3.1-8B-FT (this paper): 57.80Llama-3.1-8B-FT (this paper)57.80s2e-herbert-base: 75.53s2e-herbert-base75.53s2e-herbert-large: 78.40s2e-herbert-large78.40
The numbers
System or settingMention detection F₁
Llama-3.1-8B0.56
Llama-3.1-70B2.99
GPT-4o-mini19.32
Claude 3 Haiku25.94
GPT-4o32.00
Claude 3 Sonnet47.88
Claude 3 Opus48.30
Llama-3.1-8B-FT (this paper)57.80
s2e-herbert-base75.53
s2e-herbert-large78.40

The mention detection results give a more direct view of the task that precedes grouping. The adapted Llama scores 57.80 mention detection F₁ on the PCC development set. It recovers mentions better on this metric than the commercial systems evaluated in the paper. Among those systems, Opus has 48.30 and Sonnet has 47.88. Their order is reversed when they are compared by partial-match CoNLL F₁. Finding individual mentions and organizing them into useful groups can therefore lead to different rankings.

The leading dedicated system scores 78.40 mention detection F₁, and the base version scores 75.53. Their advantage extends to finding expressions and to scoring the resulting clusters. The comparison leaves room for differences in how each system makes its links even when candidate detection is taken into account. The table contains aggregate outcomes from different systems, so it gives a view of where they succeed without assigning a precise share of the coreference gap to mention detection alone.

On the same development evaluation, Claude 3 Sonnet and Claude 3 Opus each record an instruction-following rate of 100.00. The adapted Llama also records 100.00. These rates mean that every evaluated response in those settings cleared the authors’ threshold for usable mention annotation. The mention detection scores show how far that threshold is from full coverage. A response can annotate an obvious expression and overlook many other expressions even after it has demonstrated that it can use the notation.

The unadapted Llama variants illustrate the other end of that measure. The instruction-following rate for Llama-3.1-70B is 26.32, and for Llama-3.1-8B it is 1.78. Their corresponding mention detection F₁ scores are 2.99 and 0.56 on the development set. In those settings, the low cluster scores combine weak mention recovery with an output that rarely clears the threshold for usable annotation. The measurements do not distinguish every possible cause of a response’s failure to clear it.

Among the other prompt-only settings, GPT-4o records an instruction-following rate of 89.80 on the development set, Claude 3 Haiku records 84.62, and GPT-4o-mini records 64.00. Haiku’s partial-match CoNLL F₁ is higher than GPT-4o’s despite GPT-4o’s higher instruction-following rate and mention detection F₁. The measures capture different aspects of the output. One marks the presence of usable mention annotation, one scores the recovery of mentions, and one gives the evaluation’s aggregate judgment of the groups.

What exact-match precision adds

The paper includes exact-match precision to show that generated annotation can look better on the predictions it makes than on the broader task of covering the gold clusters. Claude 3 Opus gets 69.13 exact-match precision on the PCC development set, alongside 36.70 partial-match CoNLL F₁. Sonnet gets 62.22 on the exact-match precision measure and 44.52 partial-match CoNLL F₁. The adapted Llama scores 62.89 exact-match precision and 46.54 partial-match CoNLL F₁. Opus has the highest exact-match precision of those three settings, while the adapted Llama leads on their overall cluster score.

The authors interpret this pattern in light of systems annotating fewer references than the corpus contains. A system can make conservative selections that agree with the corpus often when they are made. It can still leave an entire chain unmarked or include only the easiest members of a chain. The result for exact-match precision helps describe the predictions that are present. The cluster score provides a broader account of how much of the annotated structure the system has recovered.

The dedicated systems report 73.21 exact-match precision for s2e-herbert-large and 70.27 for s2e-herbert-base on the same development set. The unadapted smaller Llama’s exact-match precision is 0.00. Its non-zero partial-match CoNLL and mention scores reflect the use of different scoring criteria. The numbers in these columns should be read with their metric labels attached. Even the terms exact and partial describe how correspondence is assessed, while precision and F₁ answer different questions about the predictions.

The central result combines the columns in a way that is easy to miss from a single score. The adapted Llama can supply usable annotations throughout the development evaluation and makes better use of those opportunities than its unadapted counterpart. Claude 3 Sonnet also supplies usable annotations throughout and leads the prompt-only runs by the cluster measure. The remaining advantage of the dedicated systems appears in both mention recovery and cluster quality. Consistent use of the response format leaves considerable room to improve the annotation.

What the ablations show

The paper reports no systematic ablation of the annotation formats, supplements or alignment procedure, and instead offers a before-and-after training comparison, comparisons across scoring measures, and analyses of difficult mentions.

What changes with supervised adaptation

The comparison of Llama-3.1-8B with Llama-3.1-8B-FT holds the underlying variant fixed. On the Polish development evaluation, the instruction-following rate moves from 1.78 to 100.00. Mention detection F₁ goes from 0.56 to 57.80 and partial-match CoNLL F₁ from 0.34 to 46.54. The gains occur on the format threshold and on the substantive annotation measures. The result shows that the adaptation used in the study changes the system’s ability to supply a scorable annotation and to recover the corpus’s coreference structure.

This is the closest comparison in the paper to isolating one intervention. It compares the system before and after the supervised procedure as a whole. That procedure can teach several behaviors at once. A system may become better at reproducing the passage, using group labels, finding mention boundaries or maintaining a label across occurrences. The experiment measures the combined consequence of training for these behaviors. It leaves open how much of the change would remain if examples of one format or the supplemental material were removed.

The larger unadapted Llama is a comparison across variants under the prompt-only protocol. It clears the instruction-following threshold more frequently than the smaller unadapted variant, yet reaches a low partial-match CoNLL F₁. Together with the supervised result, this shows the value of looking at task adaptation directly. The comparisons cover a small set of conditions and give evidence about those runs, with no systematic experiment connecting parameter count to performance.

What comparing the columns reveals

Sonnet and Opus both attain 100.00 instruction following on the development set. Their partial-match CoNLL F₁ scores, 44.52 and 36.70, differ even though their rates of crossing the usability threshold are the same. Opus has the higher exact-match precision and a slightly higher mention detection F₁. The overall cluster comparison therefore reveals a difference that would be invisible if the evaluation stopped after checking that the system had successfully marked something.

Multiple factors could produce this pattern in individual passages. Some annotated expressions could be missing. Some could appear with a plausible boundary but an incorrect group label. A system could also return very precise fragments of a chain, with coverage that varies from chain to chain. The paper interprets the precision comparison as evidence of relatively sparse annotation. It does not present a breakdown assigning the Sonnet–Opus difference to particular errors. The useful inference from the controlled conditions is that a shared output format and full compliance by the paper’s threshold still leave differences in annotation quality.

There is also a distinction between the score for mention recovery and the ability to work with nested references. The main mention measure covers the evaluation data as a whole. It does not isolate how frequently the systems recover an institution within a larger description, or an action expressed by a clause. The aggregate scores establish comparative performance under the scorer. The error examples and corpus counts then identify particular constructions that matter when interpreting what a system might miss.

What the corpus and sentence analyses reveal

The authors examine the span inventory to see what a sentence-bounded architecture could overlook. For the Polish Coreference Corpus, they report 372 mentions with more than 35 tokens and 223 mentions spanning multiple sentences. They also report a 91-mention overlap between those categories. These are properties of the corpus annotation. The overlap shows that the length and sentence-boundary considerations apply partly to the same cases. They also identify distinct constraints on what spans a resolver can propose.

A long mention may require retaining material that is distant from its first word. A cross-sentence mention requires a representation that can extend past a sentence boundary. If the architecture restricts all candidates to one sentence, no downstream decision about linking can recover a cross-sentence span as a candidate. That observation helps explain why the authors are interested in a text representation that can, in principle, place markers around a wider stretch. The paper does not score the generative systems separately on either category, so the inventory establishes a capacity that would be relevant to test.

The clause examples serve a similar diagnostic purpose. In the case about the children’s journey, the later expression refers to the change in the journey, as described by the clause. Recognizing the children or the school would leave that referent unresolved. In the case about foundations, the later evaluation applies to the proposed action. The examples bring the mention definition into the analysis, because the correct boundary depends on recognizing what kind of thing the later expression picks up.

The brochures example makes the diagnostic more specific still. It is a question with an intended exact answer, selected from a part of the data in which the authors examine difficult cases. The returned fragment contains the expression under discussion and the assessment that follows it. The reference answer comes from the preceding action. A reader can therefore distinguish several elements of the response: it has located the relevant neighborhood of the sentence, provided wording from that neighborhood, and failed to identify the antecedent. A document-level cluster score would record a mismatch without explaining that sequence of decisions.

These analyses establish different things. The inventory identifies mentions that can fall outside the search space of a sentence-bounded resolver. The questions expose boundary and interpretation errors in particular examples. The training comparison establishes the effect of adapting a particular system under the reported conditions. None of the analyses by itself measures a gain attributable to the Winograd-inspired questions or to preferences. The evidence for those materials is that they represent decisions and response qualities that ordinary cluster labels leave implicit.

Limitations

Limits the authors state

The authors identify the effects of the training materials as open questions. They convert the corpus into both bracket and list answers and build question and preference supplements. They do not offer an extensive comparison of training on the different representations or on the preferences. A reader can see what supervision each resource provides. The development scores describe the performance of the reported training setup, with no separate estimate for the contribution of each resource or for interactions among them.

The training is also presented as an initial supervised experiment with default settings. The authors report no systematic search over training hyper-parameters. Their preliminary selection exercise concerns prompt wording, with the prompt chosen for how well it elicited the requested response in trials. The reported results capture one adaptation and evaluation procedure. They leave the effects of further training choices and alternative prompt designs unresolved.

The authors emphasize the size of the remaining gap on Polish coreference. Their conclusion favors dedicated encoder architectures for applications that rely on this task and identifies the difficulty of resolving multiple chains during generation. They acknowledge that their own s2e reproductions are below the strongest shared-task results for Polish. The finding concerns direct annotation in their setting. The paper’s discussion of hybrid methods includes other ways of using generation for coreference, with a task-specific procedure around it.

The authors also report limitations in their search for supplemental examples. They obtained few suitable Polish sentences by translating English Winograd cases. Structural differences can remove the intended ambiguity, and some translations remain unsuitable because of syntax or style. Searching earlier examples gave them little basis for assembling a larger set with a common difficulty. Their final materials are grounded in actual Polish corpus sentences chosen for low performance by an existing system.

Limits that follow from the setup

The main score is a development-set result. A test partition appears in the dataset description, but the comparison of the generative and dedicated systems uses the split with publicly available gold annotation. The reported figures establish rankings on that development comparison. The paper gives no matching comparison on the listed test partition, so consistency of those rankings across the two partitions is an open empirical question.

The instruction-following measure deliberately uses a low threshold. An answer can earn credit as soon as the recovery procedure yields a non-zero mention detection result. At the same time, a response can fail this test for several reasons. Its markup might fail to parse, its wording might be difficult to align, or its proposed spans might yield no matched mention. The aggregate rate cannot distinguish those routes to failure. It is especially useful as an indicator of whether the evaluation pipeline recovered usable annotation. It is a limited measure of comprehensive obedience to the instruction.

The alignment procedure makes scoring more tolerant of incidental changes around mentions. That also means the evaluation depends on which parts of a response can be mapped back to the source. A mention that is rewritten rather than reproduced may be difficult to recover even if the wording suggests a plausible referent. The paper demonstrates the procedure as part of its evaluation, with no matched condition that scores the same answers without alignment. The magnitude of its contribution to the reported scores and its behavior under different kinds of rewriting remain unmeasured.

Comparisons with the dedicated baselines combine differences in architecture, training and answer production. The s2e systems produce the expected prediction structure directly. The instruction-based systems have to produce a passage with recoverable annotations, after which alignment and extraction supply that structure. The comparison is useful for choosing between the tested ways of obtaining a Polish coreference prediction. It cannot establish that the score gap is due solely to the use of an encoder or decoder. The same-variant comparison for Llama supports a narrower claim about the value of supervised adaptation for this form of the task.

The format also shapes what kind of competence the experiment measures. The prompt asks the system to predict many related spans and group labels while reproducing the passage. Recovering a chain from such an output requires decisions about span recognition, grouping and textual rendering. A targeted question about a known expression narrows the task to a local decision. The paper gives examples of both, and the results for the full-passage task cannot be transferred directly to a setting where a resolver is handed the mentions or asked about only one of them.

Further, selecting supplemental questions from poor encoder results gives a deliberate bias towards difficult cases for that resolver. The examples can reveal failures that would be hard to see by sampling sentences indiscriminately. They do not estimate how often the same constructions cause failures throughout the corpus. The worked example from the development question set is evidence about one answer to one question. The paper reports no aggregate question-set result establishing whether the supplemental training improves exact phrase selection across the set.

The annotations themselves give a defensible reference point for ambiguous passages. The authors point out that annotator agreement can resolve ambiguity even when the dataset records only the chosen span and group. A response might make linguistic sense yet diverge from the recorded choice. A benchmark built on the corpus measures agreement with those recorded judgments. The preferences resource is intended to express some of the reasoning that the cluster labels leave implicit. The experiment leaves open how frequently competing interpretations affect the main scores.

Finally, the paper suggests that the commercial systems’ stronger prompt-only performance may come from exposure to related instructions during their training. The comparisons show a difference in performance under the selected prompt. They do not identify the commercial systems’ earlier training data or the mechanism responsible for that difference. The evidence is strongest where the same open variant is evaluated before and after the authors’ own adaptation, and where all predictions are compared against the same Polish corpus split.

What came after

Subsequent uses of the paper’s method are undocumented here. The authors leave open whether bracket and list supervision teach complementary skills, whether preferences improve the handling of ambiguous spans, and whether focused Polish questions improve annotation of whole passages. These are questions raised by the original study, rather than findings from follow-up work.

The paper establishes that an existing Polish corpus can supply instructions for both whole-passage annotation and targeted questions, and that token alignment can bring generated brackets back into the corpus’s scoring format. Its development results show how much supervised adaptation helps the smaller Llama variant under that protocol. The remaining gap to dedicated resolvers gives later work a concrete comparison for evaluating changes to the training material or the way the task is presented.

Cite

Cite as Karol Saputa, Angelika Peljak-Łapińska and Maciej Ogrodniczuk. 2024. Polish Coreference Corpus as an LLM Testbed: Evaluating Coreference Resolution within Instruction-Following Language Models by Instruction–Answer Alignment. Proceedings of the Seventh Workshop on Computational Models of Reference, Anaphora and Coreference.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2024.crac-1.3

@inproceedings{saputa2024polish,
  title = {{Polish Coreference Corpus as an LLM Testbed: Evaluating Coreference Resolution within Instruction-Following Language Models by Instruction–Answer Alignment}},
  author = {Karol Saputa, Angelika Peljak-Łapińska and Maciej Ogrodniczuk},
  booktitle = {Proceedings of the Seventh Workshop on Computational Models of Reference, Anaphora and Coreference},
  year = {2024},
  doi = {10.18653/v1/2024.crac-1.3},
  url = {https://doi.org/10.18653/v1/2024.crac-1.3}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/saputa-2024-polish-coreference-corpus-as-llm/