A Hybrid Rule-Based and Neural Coreference Resolution System with an Evaluation on Dutch Literature
Paper · 2021 · Andreas van Cranenburgh, Esther Ploeger, Frank van den Berg et al.
Summary
A novel can refer to the same character by name, by a description, and by pronouns, frequently within the space of a few sentences. A reader has to recognize that these expressions point to the same person. The task of finding the expressions and grouping them by whom or what they refer to is called coreference resolution. This paper studies the task in Dutch fiction, where dialogue can change who a pronoun refers to and a character’s chain of references can extend through a long document. The authors ask how much a Dutch rule-based system can gain from learning a few specific decisions from annotated examples.
Their starting point is dutchcoref, which uses grammatical analysis to find possible references and applies rules to link them. The authors add separate neural classifiers for deciding which words belong in a mention, predicting the gender, animacy, and number associated with that mention, and choosing an antecedent for a pronoun. An antecedent is the earlier expression to which a pronoun is linked. The classifiers use both grammatical cues and word representations that reflect the surrounding sentence. They can be trained on a laptop without a GPU in ten minutes. The system also handles literary documents longer than 10k words.
On the RiddleCoref development set, where the authors chose settings, the complete hybrid achieved an averaged CoNLL coreference score of 69.37, compared with 66.55 for the revised rule-based system. Its pronoun accuracy was 65.38, compared with 52.16 for that baseline. The held-out test set favored a different combination. With the classifiers for finding and describing mentions and the original rules for linking pronouns, the system reached 71.00 CoNLL and 68.73 pronoun accuracy. Adding the neural pronoun classifier brought those test scores to 70.90 and 67.81. The fully rule-based system retained the highest test score on LEA, a metric that evaluates links within groups of mentions.
The classifier for mention attributes produced the most consistent evidence of improvement. It scored better than the lexical and grammatical heuristics on each reported attribute label in development. It also improved test-set coreference when the authors supplied manually annotated mention boundaries, which removes mention detection as a source of error in that comparison. The pronoun classifier could sometimes recover a link that the rules would reject because an attribute had been predicted incorrectly. Its gains on development, however, did not carry over to the held-out test once the other classifiers were in place. The paper shows how testing each component separately can reveal which changes help a literary coreference system and which depend on the evaluation split.
Deep dive: A Hybrid Rule-Based and Neural Coreference Resolution System with an Evaluation on Dutch Literature
A hybrid system for Dutch novels combines rules and neural classifiers to find mentions, identify their attributes, and resolve pronouns. · about 34 minutes to read
The problem and its context
From an expression to an entity
Coreference starts with a distinction between an expression and what it refers to. The words that name or describe someone in a sentence form a mention. The person they refer to is an entity. A single entity may have many mentions in one document, and a mention can occur inside another mention. A system has to decide where each mention begins and ends before it can reliably group mentions. It also has to recognize that some expressions with the shape of a mention introduce no entity at all.
The authors illustrate the task with a surgeon who cannot treat a patient. The following sentence reveals that the patient is the surgeon’s son. In the Dutch example, Hij, meaning he, refers to the patient, while the possessive haar, meaning her in this context, refers to the surgeon. The complete phrase haar zoon also refers to the patient. The possessive and the phrase containing it belong to different groups. A system that treats a single stretch of text as referring to just one person would miss the embedded reference to the surgeon.
The example also shows why a word can provide a weak cue by itself and a strong cue in a particular sentence. The Dutch word for surgeon does not establish the surgeon’s gender. The possessive in the following sentence supplies information about this particular individual. Meanwhile, an earlier possible antecedent may be close to a pronoun without being the right one. A rule can use distance and grammatical function to make a reasonable guess, but a guess based on an occupation or on who was mentioned last can still miss the relationship stated in the passage. The example comes from work on gender bias in coreference resolution.
The requested output covers the whole document. If a name, a description, and a pronoun all refer to the same person, the system should put them in one group, usually called a cluster. Choosing the wrong antecedent can pull a mention into the wrong cluster even when its boundaries are perfect. Missing a mention leaves a gap in an otherwise coherent chain. A boundary error can also make a link look wrong in evaluation because the system and the annotator have picked different stretches of text. These are distinct problems for the reader of the output, even when they contribute to the same overall score.
Why the literary setting matters
The authors situate the work in digital humanities, where researchers increasingly use computational methods to study literary texts. A character can be discussed across a long stretch of narrative. The relationships among characters may be revealed gradually, and dialogue introduces speakers and addressees whose identities change with the conversation. Even if a pronoun has a nearby antecedent, resolving it correctly may be part of maintaining a much longer chain. The paper draws on earlier investigations of literary coreference and on work that annotated coreference in English literary texts. Towards Coreference for Literary Text and An Annotated Dataset of Coreference in English Literature.
The authors contrast those requirements with the material available in standard benchmarks. Their examples from OntoNotes include news and telephone conversations. Results on those genres leave an open question about performance on Dutch novels. The text can differ in the way it distributes mentions across a document, and the annotation can differ in what counts as a mention or where that mention ends. The paper treats both kinds of difference as relevant. A system that learns to reproduce one collection’s conventions may lose accuracy on another collection even when much of its linguistic knowledge still applies. OntoGUM.
Document length also affects how much evidence a system can use. A complete document offers more opportunities to gather clues about an entity. It also creates more possible mention pairs and more prior information to maintain while choosing links. The authors describe memory and computation as practical challenges for end-to-end systems, especially when they use longer contexts. Work on bounded memory addresses that problem directly. The Dutch study takes a different route by keeping rules that can use information from the document and limiting the work assigned to the neural classifiers. Learning to Ignore.
What earlier approaches offered
The rule-based tradition gives the paper its starting point. Such systems can draw on the products of linguistic analysis, including parse trees that describe grammatical structure and named-entity recognition, which identifies expressions such as names of people and organizations. They can also make use of information accumulated across a document. Several successive sets of rules can handle different kinds of mentions, allowing relatively constrained links to contribute to the entity clusters before rules handle less explicit expressions such as pronouns. The current paper keeps this broad organization.
Feature-based learning offers a way to make some of the rules less rigid. A feature is a specific observation supplied to a classifier, such as whether two mentions agree in number or how far apart they occur. In a mention-pair system, the classifier judges whether a pair refers to the same entity. A mention-ranking system orders possible antecedents. Both make decisions centered on a mention and its candidates. The paper also describes attempts to represent the entity as a whole, which can bring in wider evidence at a computational cost on long documents. The pronoun component in this study takes the mention-pair approach. A Machine Learning Approach to Coreference Resolution of Noun Phrases.
The authors credit end-to-end neural work with major advances on standard benchmarks. Joint optimization lets such systems learn interacting decisions about spans and links. Those systems also avoid the need to supply the same intermediate grammatical analysis and manually chosen features as the Dutch pipeline. The authors identify annotated training volume, long documents, and differences between annotation schemes as reasons to examine a more modular approach for their setting. Their aim is to find out whether a relatively small learned component can improve a specific decision that already has a rule-based implementation. End-to-end Neural Coreference Resolution, Higher-Order Coreference Resolution with Coarse-to-Fine Inference, and CorefQA.
Earlier hybrid work had already used random forests to replace many decisions in a rule-based system, including mention detection and pronoun resolution. The present paper also follows prior work in combining surface features with contextual representations. Its authors borrow aspects of the feature design and pair encoder from work on representing entities, then use contextual word embeddings where that earlier architecture used static ones. An embedding represents a word numerically. A contextual embedding can differ for the same word in different sentences, giving the classifier some evidence about how that occurrence is used. Improving Coreference Resolution by Learning Entity-Level Distributed Representations.
For attributes such as animacy and gender, the paper describes earlier approaches that learned tendencies from large parsed corpora or lexical resources. Those approaches can give a system a useful default for a noun phrase. The Dutch study instead labels an entity in the context of its own chain and uses that label to supervise individual mentions. That choice fits a distinction already visible in the surgeon example. A lexical entry can establish that an occupation permits several interpretations. A passage can establish which interpretation applies to the individual being discussed. Learning from the latter kind of annotation is an attempt to make the classifier responsive to context. Bootstrapping Path-Based Pronoun Resolution.
The method, step by step
How rules and classifiers share the work
The system begins with parse trees, which are representations of sentence structure produced by parsing. It uses them to find expressions that might refer to entities. It then assigns attributes to the selected mentions and links them into clusters. The rule-based stages that do the linking are called sieves. Successive sieves link nominal expressions, names, and finally pronouns. In the original pronoun stage, a procedure based on Hobbs gives weight to how recently an antecedent occurred and how prominent it is in the syntactic structure. The code is released as part of dutchcoref.
Each added classifier has a narrow job and can be enabled separately. The span classifier chooses a boundary for an expression or discards the candidate group. The attribute classifier describes the entity associated with a mention. The pronoun classifier selects an antecedent from an eligible set or declines to make a link. Rules still supply the parse-derived candidates and carry out the nominal and name links. This division makes the overall design understandable from the sequence of decisions, even though the classifiers learn their internal weights from data.
How dutchcoref builds clusters with the classifiers enabled
The steps in order.
The modules also see different units of input. The first two take a single proposed or accepted mention. The pronoun classifier receives both the pronoun and a possible antecedent. The span classifier, for instance, can learn that a boundary is implausible from the words on its edges and from the parse. The pronoun classifier has to compare two expressions and can use relations between them, such as their distance or the agreement of their attributes. This organization lets each component learn from examples of the decision it will make.
What the annotations teach the classifiers
The authors use RiddleCoref and retain the training, development, and test partitions from the earlier Dutch benchmark. The corpus contains contemporary bestselling novels in Dutch, including translations and works originally written in Dutch. Each document is a fragment of a novel. The annotations group referring expressions by entity and exclude expressions treated as non-referring. The authors carry out an additional correction pass across the corpus. Much of that work involves excluding relative clauses from mention spans and removing idiomatic, verbal, or negated expressions judged to lack a referent. A Benchmark of Rule-Based and Neural Coreference Resolution in Dutch Novels and News.
Some rule changes accompany these annotation corrections. Extraction now treats a bare noun in a conjunction as a possible mention and strips subordinate clauses from mention spans. Those adjustments align proposal rules with the annotation guidelines. They also matter for reading the results, because the revised dutchcoref baseline and the earlier published baseline differ before any of the new classifiers are turned on.
The attributes are assigned at entity level in the training and development partitions. An annotator can inspect the full coreference chain to determine what applies to a particular entity. The authors then train the classifier to predict those attributes for each mention of that entity. In effect, a single expression inherits a target that may have been established by evidence elsewhere in the document. A locally ambiguous example can therefore have a definite training label. That is a reasonable consequence of using entity labels, but it creates examples in which the sentence available to the classifier leaves the answer underdetermined.
Gender has the labels f for female, m for male, fm for mixed or unknown gender, and n for a neuter, nonhuman entity. Within the annotation scheme, the gender labels other than n imply a human entity, so gender also supplies the animacy distinction. The labels describe the referent as understood from the text. For instance, het meisje, meaning the girl, is grammatically neuter in Dutch and carries the female label in these annotations. A grammatical clue taken straight from the noun phrase can consequently disagree with the entity property the system is asked to predict.
The number labels sg and pl stand for singular and plural. The authors use semantic number, so the decision concerns the individual or individuals referred to. As their collective-noun example shows, an expression meaning the group can be grammatically singular and still receive a plural label because plural pronouns can refer back to the group. This decision makes sense for a component whose predictions will be used to judge pronoun compatibility. It also explains why a learned number component can add information even when the syntax marks number fairly reliably.
Shared representations and training settings
The classifiers use sentence representations from BERTje, a pretrained Dutch implementation of BERT. The authors encode sentences independently and use token embeddings from layer 9. They choose that layer based on earlier experiments on Dutch coreference. When a mention is represented as a whole, its vector is the mean of the embeddings of the BERT tokens it contains. The span classifier instead looks at the embeddings at the boundaries. The sentence-by-sentence encoding means that the neural representation of a mention draws on its own sentence, even when a linking decision compares it with an expression in another sentence.
All three tasks use feed-forward networks, in which input features pass through successive layers to an output. The hidden layers contain 500 and 150 units, respectively. Each uses a rectified linear activation, or ReLU, and batch normalization. The activation gives the network a nonlinear way to combine cues, and normalization adjusts the activations during training. A sigmoid output gives a score on the probability scale for the binary decisions used by each task. For the attribute task, there are separate decisions for the different labels. The paper reports L₂ regularization of 0.05, which penalizes large weights.
The training procedure uses dropout of 0.2 at the input and 0.5 in each hidden layer. Dropout temporarily suppresses some inputs or activations during training, discouraging reliance on any single cue. The networks train on batches of 32 examples with Adam and a learning rate of 0.0001. The learning rate sets the scale of the parameter updates. Training stops after 5 consecutive epochs without an improvement on validation data. An epoch is a pass over the training examples. The classifiers are trained independently, with annotated inputs where relevant, and the paper’s development experiments govern choices such as the thresholds described below.
Choosing a mention span
A span is a contiguous stretch of tokens. In this component, the system compares candidates for a given head word, the word around which the expression is organized. For instance, the full phrase for the patient and the bare noun meaning patient can share a head. Both can be reasonable proposals from the parse, but the annotation may require the article as part of the span. The classifier decides which proposal fits the annotation best. It can also reject all the proposals for that head if they appear to be non-referring or otherwise fail the threshold.
Candidates come from the baseline’s syntactic extraction rules, extended to offer shorter alternatives. Earlier observations had shown that extracted spans sometimes began with an adverb that did not belong to the mention. The paper adds the following candidate transformation.
(n, m) → (n+1, m)
Here n is the original starting position and m is the unchanged ending position. The parentheses enclose the span’s endpoints. The arrow means that the span on the right is also considered as a candidate. The +1 advances the start by one position, removing the first token from the proposal. The original and shortened spans are evaluated as alternatives.
The classifier takes the highest-scoring span for a head if that span’s probability satisfies the development-tuned condition below.
p > 0.3
Here p is the classifier’s probability for the highest-scoring candidate span for the head under consideration. The symbol > means that the score must strictly exceed the threshold. When it fails that condition, the system keeps no mention from that candidate group.
Training uses gold spans, meaning spans supplied by the human annotation, together with negative examples from the parse trees. At evaluation and prediction time the system has only the rule-generated candidates. The classifier can fix a boundary when a suitable alternative is present and can discard an unsuitable proposal. Its reach is bounded by the candidate inventory. If the parser and the extraction rules never produce the annotated span, a different score for the proposed alternatives cannot recover it.
The features give the classifier several ways to distinguish the alternatives. It sees the contextual embeddings for the first and last tokens and whether the original mention rules would select the span. It receives the grammatical function of the matching constituent, with functions such as subject, object, predicative, and apposition. An apposition is an expression placed alongside another to identify or describe it. The classifier also sees whether the span contains another noun phrase and whether the head is tagged as a person, location, organization, or miscellaneous named entity.
The remaining features describe the head and the edges through part-of-speech tags, grammatical labels such as noun, pronoun, adjective, or adverb. The edge features can alert the classifier to punctuation or to a leading modifier of a kind often associated with a boundary error. The span’s word count is represented in bins, so the classifier can learn effects associated with ranges of lengths. Together, these features let it take the parse’s proposal seriously while considering evidence that the original rules did not use to choose among spans.
The paper distinguishes referentiality from decisions that depend on the whole cluster. A singleton is a valid mention of an entity with no other annotated mention in the document. The authors leave the decision about whether an accepted span will join another mention to the linking sieves. They also tried an additional classifier for anaphoricity, which would judge whether a mention refers back to something already introduced. The early experiments showed no improvement, so the reported architecture proceeds without that component.
Predicting attributes for a mention
The original attribute rules combine grammatical and named-entity features with lexical resources. These include common Dutch first names, gender and animacy information for nouns in Cornetto, and heuristic frequency information on gender and number derived from English web text. Cornetto is described as the Dutch counterpart to WordNet. These resources can be useful even when context is sparse. They can also return a broad answer when several interpretations are plausible, as Cornetto does for the surgeon in the running example.
The neural attribute classifier takes the averaged embeddings for the mention, the heuristic predictions for gender, animacy, and number, and grammatical indicators such as whether the mention is subject or object and whether it contains a noun phrase. The heuristic information becomes evidence that the classifier can use alongside the sentence. In the paper’s example, a description of the patient can support a singular label even when the description itself leaves gender open. A pronoun, by comparison, can carry direct clues to gender or number, although a form such as ze can have a feminine singular or a plural reading.
Training treats attributes as a multi-label task. A single mention can receive a label for gender and a label for number, and the system scores all possible output labels instead of forcing a single choice over the entire set. The assignment condition is given below.
p > 0.5
Here p is the classifier’s probability for the particular attribute label under consideration. The symbol > requires the probability to exceed the reported threshold of 0.5. The classifier applies the condition to each label, so there can be no accepted labels for a property or several passing scores.
The rules downstream interpret empty or unusual combinations as uncertainty. For instance, the training annotation does not assign female and neuter together, but both classifier outputs can pass the threshold. The downstream rules treat such a combination as uncertain. This behavior makes room for difficult contextual cases even though it does not enforce a legal combination of labels at prediction time. The authors explored other thresholds without improving results. They also found in early experiments that covering pronouns as well as names and nominals helped, and that predicting number contributed in spite of the strength of the original syntactic cues.
Selecting an antecedent for a pronoun
The pronoun component uses a separate binary judgment for every eligible pair. The target pronoun can be third-person personal or possessive, indefinite, or demonstrative. The other member of the pair is a candidate mention that precedes it. The paper reports a preceding-candidate window of 22 and applies it during both training and prediction. The description puts both mentions and words next to that number, leaving the window’s unit unclear.
The system filters candidates before scoring them. Mentions functioning as appositives or determiners are excluded because the authors found them liable to produce wrong links. The system also applies binding restrictions, which rule out certain relationships on grammatical grounds. The paper names the i-within-i and co-argument restrictions. The former concerns a proposed link between a span and an expression it contains. The latter concerns expressions that serve as arguments in the same grammatical construction. Those filters narrow the choices before the classifier uses any learned probabilities.
The classifier receives averaged embeddings for the pronoun and the candidate separately. It sees the candidate’s mention type, whether the two grammatical functions match, and whether gender, animacy, and number are compatible. If the candidate is itself a pronoun, grammatical person is included as a feature. The classifier also sees whether either expression occurs in quoted speech. Distances in words and sentences and the word count of the candidate are represented in bins. These inputs offer evidence about local grammar, the two expressions’ meanings in context, and the shape of the intervening passage.
In the surgeon example, both the surgeon and the patient can be considered for Hij. When the later possessive haar is resolved, the candidate list can include the earlier pronoun as well as the nominal expressions. The mention-pair classifier assigns a probability to each eligible option. The system chooses the option with the highest score unless that score falls below the threshold chosen on the development data.
p < 0.2
Here p is the highest estimated coreference probability among the candidate pairs for the pronoun. The symbol < means strictly less than. A score satisfying this condition causes the system to leave the pronoun without a selected antecedent. If a pronoun has no eligible candidate, there is no pair to score or choose.
One important difference between the learned and rule-based pronoun stages concerns attribute compatibility. The rules can use attribute disagreement to forbid a link. The classifier can weigh the disagreement against the rest of its evidence. A wrong attribute can therefore block a correct rule-based link while leaving that link available to the classifier. Both stages still rely on the pipeline’s choices about which mentions exist and which candidates are eligible. The learned decision can be flexible only over the pairs it gets to see.
Experiments and results
The evaluation material and comparisons
RiddleCoref contains 162k tokens from novels published in 2007–2012. The corpus has 33 documents, with an average of 4897.4 tokens per document. Its 38,466 mentions were manually corrected. The attribute annotation covers 11,684 entities in the training and development partitions. These figures describe the full data resource or the attribute annotation as specified, instead of the size of any individual test evaluation. The closest comparison for the new classifiers is the revised dutchcoref system on the same annotated material.
The authors report the earlier benchmark’s Dutch end-to-end system, e2e-Dutch, and its original dutchcoref results alongside the revised configurations. These previously published numbers provide context for the original decision to pursue a hybrid. The authors also revised the annotations and improved the rule-based mention extractor. The older scores therefore compare systems across changes to both the baseline and the evaluation material. Comparisons among the revised configurations hold those changes fixed.
For the main evaluation, the systems start with predicted mentions, and singleton clusters are included. The rows add the span classifier first, then the attribute classifier, then the pronoun classifier. This sequence asks what happens when the next component is added to the pipeline already in place. The authors also run a test with gold mentions to remove boundary detection from the evaluation. Hyper-parameters and component choices are tuned on development. The test comparisons show how those choices perform on held-out fragments.
What the scores count
Mention evaluation asks whether the system found the annotated spans. Recall reflects how many annotated mentions it recovered. Precision reflects how many of the spans it proposed are correct. F1 combines recall and precision, so a gain can come from better coverage, fewer false detections, or both. Mention F1 does not tell the reader whether the accepted spans were grouped correctly. The separate component evaluation for attributes also uses F1, calculated for individual labels and reported with a macro average across labels.
The paper reports the averaged CoNLL score and LEA for the coreference clusters. CoNLL supplies a benchmark aggregate for cluster quality. LEA evaluates links in the context of their entities, with recall and precision reflecting how well links are recovered and how many proposed links are correct. A system can look stronger under one metric than under the other because they summarize cluster behavior differently. CoNLL-2011 Shared Task and Which Coreference Evaluation Metric Do You Trust?.
Pronoun accuracy focuses on a set of expressions that play a significant role in narrative chains. In this evaluation it covers demonstrative and indefinite pronouns as well as third-person personal and possessive forms. It is useful to read it alongside the cluster metrics. An improvement specific to pronouns can be diluted in a measure that covers all mentions. Conversely, finding a pronoun’s intended antecedent is only part of what determines the quality of the full clustering.
Development results with predicted mentions
The development comparison favors the full hybrid. Across the revised configurations, averaged CoNLL and LEA F1 rise with each classifier added. Pronoun accuracy also rises at each step. Mention F1 increases when the span classifier is enabled, and is then shared by the later configurations because the attribute and pronoun stages operate after boundaries have been selected.
Averaged CoNLL by system on the RiddleCoref development set with predicted mentions
Each added classifier improves the score, with the full hybrid performing best.
The numbers
| System or setting | CoNLL |
|---|---|
| Earlier e2e-Dutch | 64.81 |
| Earlier dutchcoref | 65.91 |
| Revised dutchcoref | 66.55 |
| Revised dutchcoref with span classifier | 67.32 |
| Revised dutchcoref with span and attribute classifiers | 68.80 |
| Full hybrid (this paper) | 69.37 |
LEA F1 rises from 54.07 for revised dutchcoref to 54.58 with the span classifier, 56.29 with span and attributes, and 57.23 in the full hybrid. For pronoun accuracy the corresponding results are 52.16, 53.37, 61.30, and 65.38. The gain when attributes are introduced occurs while the original pronoun rules are still active. Better information about a mention can therefore help those rules make links even when the linking procedure itself stays the same.
In this main development evaluation, mention F1 is 86.57 for revised dutchcoref and 87.99 for all settings with neural span selection. Mention precision moves from 84.87 to 87.23, while recall moves from 88.34 to 88.76. The larger movement in precision fits a component that can discard questionable proposals or substitute a narrower boundary for one the baseline would otherwise use.
Test results with predicted mentions
On the test set, the earlier e2e-Dutch result is 63.55 averaged CoNLL and the earlier dutchcoref result is 69.86. Revised dutchcoref reaches 70.90. Adding the span classifier yields 70.07, and adding the attribute classifier on top of that yields 71.00. The complete hybrid returns to 70.90. The best configuration by this measure thus uses learned mention spans and attributes with rule-based pronoun linking. The result that only the span stage changes between the revised baseline and the next row also makes clear that better mention evaluation can accompany worse cluster evaluation.
The test LEA ranking differs. Revised dutchcoref scores 58.30 LEA F1. With the span classifier the score is 57.03, with span and attributes it is 58.00, and with all the classifiers it is 57.60. The full hybrid has LEA recall of 54.29 and precision of 61.34, compared with recall of 52.90 and precision of 64.93 for revised dutchcoref. In this comparison the full hybrid trades precision for recall. That pattern helps explain why the evaluation does not support a single winner across all test measurements.
Pronoun accuracy by system on the RiddleCoref test set with predicted mentions
The highest accuracy comes from learned spans and attributes paired with rule-based pronoun linking.
The numbers
| System or setting | Pronoun accuracy |
|---|---|
| Revised dutchcoref | 62.82 |
| Revised dutchcoref with span classifier | 64.96 |
| Revised dutchcoref with span and attribute classifiers (this paper) | 68.73 |
| Full hybrid | 67.81 |
Test mention F1 reaches 90.09 with the span classifier, compared with 89.88 for revised dutchcoref. The span classifier’s usefulness for identifying mentions survives the change of split. The headline pronoun result on development, by contrast, depends on having the learned pronoun stage, while the best test result comes from retaining the rules for that stage. That is the central difference between the two evaluations.
Test results with annotated boundaries
The gold-mention comparison gives each system the human-annotated spans. Mention recall, precision, and F1 are all 100 under this condition. This setup tests how the configurations use the same mention inventory and avoids judging a linking decision on the basis of an upstream span error.
Averaged CoNLL by system on the RiddleCoref test set with gold mentions
The attribute classifier gives the highest score when every configuration receives the same annotated spans.
The numbers
| System or setting | CoNLL |
|---|---|
| Revised dutchcoref | 77.75 |
| Revised dutchcoref with attribute classifier (this paper) | 78.88 |
| Revised dutchcoref with attribute and pronoun classifiers | 78.44 |
With gold mentions, LEA F1 is 64.22 for revised dutchcoref, 65.58 after adding the attribute classifier, and 64.37 after adding the pronoun classifier as well. Pronoun accuracy is 69.59, 74.07, and 71.44 for those configurations. Adding the learned pronoun component still leaves those results above the fully rule-based scores, but gives back some of the gain achieved with learned attributes and the original pronoun rules. This repeats the held-out pattern even after mention detection has been removed as an explanation.
What the ablations show
A better mention inventory can lead to weaker links
The development-set span evaluation contains 6434 annotated mentions. In that component evaluation, rule-based extraction has recall of 88.3, precision of 84.9, and F1 of 86.6. Neural span selection has recall of 88.8, precision of 87.2, and F1 of 88.0. Those component results use the precision shown in the paper’s span comparison. The separate system evaluation reports mention scores to a different number of decimal places. Both presentations show that the most visible change comes from precision.
A rise in span precision is consistent with removing a poor candidate or preferring a better boundary. An extraction system can also miss a span because a useful candidate never appeared. The authors identify both candidate extraction rules and parse errors as limits on recall. The span comparison measures what happens after the candidate pool and its expansion have been supplied. It gives no direct count of how often removing a leading token, filtering a non-referring expression, or selecting another boundary accounts for the improvement.
The full-pipeline comparison supplies another piece of information. The revised test system with learned spans receives a better mention F1 and a lower LEA F1 than the revised rule baseline. The same comparison lowers averaged CoNLL. An exact match to an annotated span makes a mention correct for the mention metric, but changing the inventory also changes which expressions can support later links. The paper establishes that the local improvement did not carry through to the test cluster scores in that configuration. It does not trace those cluster losses to particular repaired or rejected spans.
Attribute gains survive stronger controls
The development attribute evaluation compares the neural classifier against the baseline’s word lists and heuristics. Its macro F1 moves from 83.0 to 91.3. Each reported label improves. For animacy, nonhuman F1 is 83.3 for the rules and 94.5 for the classifier, and human F1 is 85.0 and 95.0. This indicates that the gain is spread across both sides of the human versus nonhuman distinction.
The reported gender labels vary more in difficulty. Female F1 rises from 59.1 to 73.4, male F1 from 85.8 to 89.9, and neuter F1 from 80.1 to 94.5. Female remains the lowest-scoring reported label after the change. For number, singular F1 rises from 96.7 to 98.6 and plural F1 from 90.8 to 93.6. The baseline starts especially high for singular number, leaving less scope for improvement on that label. The paper’s table gives development support of 1347 for female, 3002 for male, and 3073 for neuter. These are label counts in the attribute evaluation and should be read alongside the label scores.
The gold-mention experiment shows that the attribute benefit reaches the linking stages when the mention inventory is fixed. Compared with the revised rules, learned attributes improve CoNLL, LEA F1, and pronoun accuracy in that test. The predicted-mention comparison also favors adding attributes to the span configuration on those measures. Together, the comparisons show that better attributes help under both boundary conditions. They do not single out what share of the gain comes from animacy, gender, or number, since the classifier learns and predicts them jointly in the reported results.
The authors report two further observations from early trials. Attribute prediction worked better when extended to pronouns, and predicting number helped even though syntax frequently marks it clearly. They give no scores for those preliminary comparisons. The evidence establishes the direction of those development observations and explains the design that reached the main tables. The detailed label comparison then says what the final classifier can distinguish more accurately than the heuristic baseline.
What the pronoun comparison isolates
On development, the pronoun classifier helps when added after learned spans and attributes. On the test set it reduces pronoun accuracy, CoNLL, and LEA F1 compared with that same preceding configuration. With gold test mentions it again falls behind the configuration that uses learned attributes and the original pronoun rules. Comparing the classifier only with the fully rule-based pipeline would conceal this result, because the full hybrid can benefit from improvements earlier in the pipeline even when the last change gives back some of those gains.
The authors also report trials with a wider feature inventory. String matching and other simple surface features had been useful in earlier work, but their inclusion in these experiments lowered development scores. Position in the sentence and a more specific pronoun type were among the features considered in this context. The paper gives the outcome of the trials without listing scores for individual additions. It also distinguishes tried features from proposals left aside. Entity frequency was considered but set aside because using it would make predictions depend on preceding cluster decisions. External information about the entities that words tend to select was left for future work. Incorporating Context and External Knowledge for Pronoun Coreference Resolution.
The singleton check addresses another interpretation of the comparison. All the main reported evaluations include entities with a single mention. The authors say that excluding singletons leaves the system rankings on each metric unchanged. This check indicates that the ordering in the experiments does not depend on whether the evaluation counts those entities. It does not imply that scores under the two conventions are numerically identical.
Why development and test may differ
The paper looks for differences between development and test that could help explain the reversal. Average sentence length is 18.39 on development and 18.26 on test, with a training-set value of 15.51. In this split comparison, development has 6548 mentions and 2643 entities, while test has 6869 mentions and 3008 entities. Names account for 14.9 percent on development and 9.1 percent on test. These differences describe the material available for linking. None of them isolates the effect of changing the pronoun stage.
The authors also compare vocabulary and word-frequency distributions with training. An out-of-vocabulary rate measures how frequently tokens fall outside the training vocabulary. The paper gives rates of 16.3% and 13.3%, but its ordering of the values conflicts with its statement about which split has the lower rate. It then gives Jensen–Shannon distances of 0.307 and 0.290 and says they follow the same pattern. Jensen–Shannon distance compares word-frequency distributions. In this comparison, the conflicting description makes the directions of the lexical diagnostics unsafe to use as evidence that one split was easier.
The genre breakdown is clearer. Development contains 4 Fiction novels and 1 Other novel. Test contains 3 Fiction novels, 1 Romance novel, and 1 Suspense novel. The authors investigate genres separately using excerpts drawn from the RiddleCoref training partition. Because those excerpts would overlap with the normal training material, the pronoun stage for this analysis is trained on SoNaR-1, a different Dutch corpus with 1 million tokens. The authors also report that the SoNaR-1-trained setting reaches 70.76 CoNLL on the RiddleCoref test set. They regard that as comparable to the result of training the pronoun stage on RiddleCoref despite differences in domain and annotation.
The genre comparison uses two documents per genre. The SoNaR-1-trained setting scores 67.76 averaged CoNLL on Fiction, 71.30 on Romance, 72.45 on Suspense, and 70.22 on Other. The paper gives the Fiction-to-Suspense difference as 4.69 percentage points. The documents grouped as Other include material from Harry Potter and The Hunger Games. At 34,354 tokens, Other is the longest group in the comparison. Fiction has 9664 tokens, Suspense 4533, and Romance 4046. The two longer groups score below the two shorter groups, although Fiction scores below Other. The observations suggest that document length deserves attention without establishing a length effect independent of the sampled texts.
The genre numbers also challenge a simple explanation based on the prevalence of pronouns. Romance has the highest reported pronoun percentage, 42.6, and the second-highest CoNLL score. Fiction has the lowest reported pronoun percentage, 35.1, and the lowest CoNLL score. Suspense has the highest average sentence length, 17.5, and the highest CoNLL score. These comparisons weaken the idea that either pronoun proportion or mean sentence length by itself orders the genres by difficulty. The underlying sample is small, and the measurements vary together with the particular documents.
What changing training volume and inspecting an error reveal
The authors vary the training data for the pronoun classifier while using predicted mentions and leaving out the neural span and attribute modules. In that experiment, greater training volume raises pronoun accuracy and has a smaller effect on averaged CoNLL. The reported curve continues to rise over the amounts tested and becomes less steep as more data are included. The authors infer that additional annotation may help, with diminishing gains as the training set grows. Since the experiment isolates a pronoun configuration without the other learned stages, it gives direct evidence about that configuration’s response to data volume.
The gender probe examines a different question. In the surgeon passage, the rule-based attribute lookup keeps both male and female interpretations available for the surgeon, while the learned attribute classifier predicts male. The authors find one occurrence of chirurg in the training data, where the annotation allows either gender because there is too little context to decide. That occurrence does not directly teach the classifier to label a surgeon male, which leads the authors to inspect the pretrained Dutch encoder.
They mask the word before patiënt in the first sentence, leaving the context of a surgeon unable to treat a patient. BERTje gives the greatest probability to de and zijn, corresponding to the and his. Other proposed determiners trail them, and the top 5 contain no female possessive. The authors identify the pretrained embeddings as a source of gender bias and connect the result to prior work on Dutch embeddings. The probe concerns the ranking of possible completions in one context. It offers a concrete example of how the representations can favor a gendered interpretation before the coreference classifier uses them. Evaluating Bias In Dutch Word Embeddings.
The same example also shows how an error in one component can be absorbed by another. Although the learned attribute classifier assigns male to the surgeon, the neural pronoun component correctly links haar to the surgeon. The attribute mismatch is one feature and can be outweighed by other cues. In the rule-based pronoun sieve, the compatibility check operates as a hard constraint. The example demonstrates a practical advantage of soft compatibility for this case, while the aggregate test comparison shows that the advantage did not make the learned pronoun stage the strongest overall choice.
Limitations
Limits the authors identify
The authors regard the pronoun results as the main unresolved problem. The development improvements motivated the full hybrid, but the final classifier did not improve the held-out configuration that already used learned attributes. They describe their design as deliberately simple and suggest that separately trained modules could learn to work better together. During training, the modules receive gold inputs where appropriate. At prediction time, they may have to deal with imperfect spans or attributes produced earlier in the pipeline. Training with those earlier predictions, or training modules jointly where possible, are proposed changes.
The contextual representation also uses a restricted view of the document. Each sentence is encoded independently, and the paper uses pretrained embeddings directly. The authors point to earlier evidence favoring fine-tuning and encoding segments of 128 tokens. Fine-tuning would adapt the pretrained representation to the target task. Encoding longer segments could give a token representation information from adjacent sentences. Those are directions the authors identify for future versions of the system. The reported comparisons concern the sentence-wise representation used in the experiments.
The authors suggest more and more varied training material, including SoNaR-1, as another route to better pronoun resolution. The training curve had not leveled off over the tested data sizes. The transfer experiment indicates that a system trained on the larger corpus can achieve a comparable test result, even across different annotation schemes. The authors also suggest studying dialogue more directly. In particular, speaker annotation and prediction would address first- and second-person pronouns, which can depend on who is talking and who is being addressed. Detecting anaphoricity is a further open task after the authors’ initial trial failed to help.
Gender bias presents a separate difficulty. The authors point out that following a frequent association, such as a typical gender assigned to an occupation, may improve overall accuracy in some data while reinforcing bias. They discuss the possibility that imposing constraints to remove biased behavior could lower measured performance in the absence of effective mitigation. The example motivates that concern. The paper evaluates no mitigation procedure, so it leaves open how much accuracy and fairness could be improved together on the Dutch literary data.
Limits of the experimental setup
The system’s ability to process long documents and the pronoun classifier’s ability to find a distant antecedent are different measurements. The first is a property of the overall pipeline, which can keep building clusters as it proceeds through a long fragment. The second is restricted by the candidate window and grammatical filters. A chain can extend over the document through successive links even if the pronoun module cannot compare a pronoun directly with an early mention outside its search. The paper reports overall scores and a genre comparison, leaving the relationship between antecedent distance and accuracy unmeasured.
There are also limits to the computational comparison. The laptop training claim concerns the added classifiers operating with pretrained embeddings. The pipeline assumes parse trees as input and also draws on lexical resources. The timing claim gives a concrete estimate for fitting the new local components. The paper gives no matched end-to-end accounting that includes the cost of producing parse trees and pretrained embeddings or measures competing systems on identical long documents and hardware. Its benchmark evidence compares accuracy in this setting, while its resource discussion explains why the authors pursued the design.
The incremental system comparison tests the components in a particular order. The span change is tested on top of the revised rules, attributes are then tested on top of learned spans, and pronoun selection follows both. Supplying gold spans adds a useful control for the attribute and pronoun comparisons. A full comparison across every combination of switches would be needed to estimate how much each component depends on the others under predicted-mention conditions. The tables give the effects for the combinations actually evaluated. They also report point scores, leaving uncertainty about the repeatability of small differences across new samples of novels.
The corpus is Dutch literary material of a specific kind, with excerpts from bestselling novels in a particular publication period. The result with SoNaR-1 shows that another corpus can train the pronoun component to a comparable result on the selected test, but the observed split reversal remains unexplained. Genre, length, mention composition, and annotation differences all offer possible reasons for variation. The analyses do not supply a controlled test that changes only one of those factors. The earlier e2e-Dutch scores are meaningful historical comparisons, with the additional qualification that both annotations and the rule baseline were revised for the present study.
Finally, the gender categories represent the annotation choices for the corpus and the uses examined in the paper. A low F1 for female mentions identifies a disparity among its reported attribute labels. The surgeon example demonstrates one behavior of the classifier and one behavior of the encoder under masking. These measurements leave open how often similar errors arise across occupations and narratives, how they affect pronoun accuracy for different groups, and how the system would handle pronouns outside the distinctions tested. A single correct link after a wrong attribute prediction shows that soft compatibility can help in that instance. Its prevalence and wider consequences remain unknown.
What came after
Transforming Dutch: Debiasing Dutch Coreference Resolution Systems for Non-binary Pronouns (2024) cites the hybrid-system paper and takes up a related problem in Dutch coreference. The earlier paper studied how gender and other attributes affect links in literary text and illustrated a biased prediction about an occupation. The later work’s stated subject is debiasing Dutch coreference systems for non-binary pronouns. Its focus gives a more specific setting for the general question raised by the earlier work, namely how a system’s treatment of gender affects which references it can link. Transforming Dutch.
The connection concerns evaluation as well as system design. The hybrid paper checks whether an attribute classifier can recover the categories used in RiddleCoref and whether those predictions help a system link mentions. It also shows that an incorrect attribute can affect the rules differently from a classifier that treats agreement as one feature among several. The later paper’s citation and stated focus establish a continuation of the inquiry into gender and Dutch pronoun resolution. They leave the later paper’s use of the earlier system, its debiasing procedure, and its measured effects unspecified.
Cite
Cite as Andreas van Cranenburgh, Esther Ploeger, Frank van den Berg and Remi Thüss. 2021. A Hybrid Rule-Based and Neural Coreference Resolution System with an Evaluation on Dutch Literature. Proceedings of the Fourth Workshop on Computational Models of Reference, Anaphora and Coreference.
@inproceedings{cranenburgh2021hybrid,
title = {{A Hybrid Rule-Based and Neural Coreference Resolution System with an Evaluation on Dutch Literature}},
author = {Andreas {van Cranenburgh}, Esther Ploeger, Frank {van den Berg} and Remi Thüss},
booktitle = {Proceedings of the Fourth Workshop on Computational Models of Reference, Anaphora and Coreference},
year = {2021},
doi = {10.18653/v1/2021.crac-1.5},
url = {https://doi.org/10.18653/v1/2021.crac-1.5}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/cranenburgh-2021-hybrid-rule-based-neural-coreference/