On GAP Coreference Resolution Shared Task: Insights from the 3rd Place Solution
Paper · 2019 · Artem Abzaliev
Summary
Resolving a pronoun means deciding which person or entity it refers to. That decision can be difficult even when the possible answers are already identified. In the GAP shared task, a system received a passage, an ambiguous pronoun, and candidate names labelled A and B. It had to assign probabilities to A, B, and NEITHER. The challenge also asked whether performance differed between masculine and feminine pronouns. Artem Abzaliev’s paper describes the competition’s third-place solution and examines how its training data, contextual representations, structural features, and validation choices affected the result.
The system combined representations from BERT with a relatively small prediction network and manually designed features. An important finding concerned which internal representation to use. The final output of BERT was less effective for this task than representations taken from intermediate layers. The strongest configurations used the fifth-to-last or sixth-to-last layer. The prediction network extracted representations for the candidate names and the pronoun, combined them with information about their positions and syntactic relationships, and produced probabilities for the possible answers. A feature indicating whether a candidate appeared in the source article’s URL was particularly useful.
Training proceeded through external data before concentrating on GAP. The author converted other coreference resources into a compatible format and used them to initialize the system. This preliminary phase is called warm-up training. Simply mixing the external examples with GAP was unsuccessful, whereas using them in a separate training stage helped. Selecting warm-up checkpoints against Winobias, a resource associated with gender-bias evaluation, provided a further small improvement. The author interprets this as evidence that the validation resource can influence which representation is carried into later training. The result also exposes a complication: the chosen warm-up validation data contained no NEITHER examples, even though recognizing that neither candidate is correct remained a difficult part of GAP.
The final submission averaged predictions across cased and uncased BERT configurations, intermediate-layer choices, and cross-validation folds. The paper reports stage 2 test log loss of 0.1839 in its results discussion and gives 0.18397 for the ensemble in its detailed results table. A separate gender analysis used the strongest individual configuration on cleaned stage 1 test data: log loss was 0.24014 for masculine pronouns and 0.23623 for feminine pronouns. Those results support a narrow conclusion about similar performance under that particular evaluation. They do not establish fairness across every kind of person, linguistic construction, or application. The paper is also candid about practical weaknesses: expensive training and prediction, persistent difficulty with NEITHER, unsuccessful attempts to exploit more context, and errors in the benchmark’s own labels.
Interesting ideas
Choose the representation for the task. A pretrained system exposes several stages of processing, and the final stage need not contain the most useful information for a downstream decision. Here, intermediate BERT layers worked better than the last layer. The reusable principle is to evaluate alternative representations while holding the surrounding procedure fixed. It applies to neural features, parser outputs, semantic graphs, and any pipeline in which successive stages preserve some distinctions while transforming or discarding others.
Transfer in stages when sources differ. Additional data can be useful without belonging in the same training mixture as the target data. The external coreference examples differed from GAP in structure and lacked its URL feature. A separate warm-up stage allowed them to influence initialization without forcing all examples through an undifferentiated training setup. Similar separation can help when transferring between document genres, annotation conventions, task formats, or sources with different metadata.
Treat validation as an active design choice. Validation data selects which trained state survives, so its composition affects the system even when it supplies no training gradients. Choosing Winobias for warm-up validation was intended to favor representations that performed well on gender-sensitive examples. This suggests treating validation coverage as part of the method rather than as an administrative split. It also requires checking what the validation resource leaves out.
Preserve relations that contextual features may miss. The strongest manual additions were information about the source URL and syntactic distance between a candidate and the pronoun. These features make particular relationships explicit instead of requiring the contextual representation to recover everything indirectly. The broader lesson concerns complementary evidence: document provenance, structural connections, and known mention locations may remain useful alongside powerful learned representations.
Measure probabilities and groups separately. The competition evaluated probability assignments rather than only the most likely answer. The paper also inspected results by pronoun gender and by answer category. These views reveal different weaknesses. A system can choose many answers correctly while assigning damaging confidence to its mistakes, or achieve a strong overall score while struggling with a particular group. Evaluation should therefore match both the decision’s form and the distinctions that matter in its use.
Inspect difficult categories instead of trusting their volume. The external training data supplied many NEITHER examples, yet that category remained troublesome on GAP. The author’s explanation is that the external examples were comparatively easy. Data quantity therefore did not establish coverage of the relevant difficulty. This lesson applies whenever a broad label conceals different reasoning demands, including rejection decisions, exceptional grammatical constructions, and examples requiring evidence beyond a local passage.
Audit labels before explaining errors. The paper found incorrect benchmark labels, including cases that required reading the underlying Wikipedia article to assess. An apparent system failure can therefore originate in the reference answer or in insufficient evaluation context. The reusable practice is to preserve a route from an example to its source, review disputed cases carefully, and distinguish corrected-reference evaluation from evaluation against the original labels.
Deep dive: On GAP Coreference Resolution Shared Task: Insights from the 3rd Place Solution
How the third-place GAP solution combined BERT, external training data, structural features, and gender-aware evaluation. · about 40 minutes to read
How Mova uses it
Mova is a small language system written in Rust whose native understanding relies on explicit linguistic structure, rules, learned parameters, and knowledge. Its relevant existing mechanisms include a reason-giving coreference sieve, dependency parsing, frames and story worlds, source-aware corpus processing, and separately controlled teaching and assessment paths. The proposals below transfer experimental ideas from Abzaliev’s paper; they do not imply that Mova should reproduce its neural architecture.
The status marks compare each proposal with the documented mechanisms. They are provisional assessments of overlap, not records of measured applications. In particular, “нове” identifies a proposed addition whose implementation is not established here; the documentation’s silence cannot establish that nothing similar exists elsewhere. No GAP result or gender-specific coreference measurement for Mova is established by this paper.
Idea: Compare alternative representations before choosing a decision layer. Where: section 3.1 and Figure 1. Area: representation and evaluation. Mova: частково є (the native pipeline exposes dependency trees, frames, and worlds). Mova could compare coreference decisions made from these different representations on the same examples. The transfer concerns choosing useful evidence, rather than importing BERT’s layer choices. A successful parse alone would not establish that a later representation preserves the distinctions needed for reference resolution.
Idea: Change a representation while keeping the surrounding experiment fixed. Where: Figure 1. Area: experimental design. Mova: вже є (the documented principles require controlled, repeatable comparisons and held-out evaluation). The paper’s layer comparison provides a concrete pattern for testing a replacement reader, feature table, or graph observation. The same inputs and decision procedure should remain in place so that an observed change can be attributed more plausibly to the representation under examination.
Idea: Separate preparation on external sources from adaptation to a target task. Where: section 2.1. Area: training and data integration. Mova: частково є (teacher-reviewed corpus preparation and admitted training are separate paths). A corresponding experiment could prepare coreference features or rule proposals from external examples, then assess their usefulness on a distinct target development set. The external material should retain its provenance and admission conditions throughout. The paper supports staged transfer as a hypothesis worth testing, not as a guaranteed benefit.
Idea: Test direct source mixing against staged transfer. Where: section 2.1. Area: data processing and evaluation. Mova: нове. Before pooling coreference examples from differently structured resources, Mova could compare a common mixture with source-specific preparation followed by target adaptation. Why Mova: this would expose whether incompatible conventions or missing fields undermine otherwise useful examples. Any such comparison would need the same target assessment and an explicit account of which sources contributed to each condition.
Idea: Use validation coverage deliberately. Where: section 2.1 and the conclusion. Area: evaluation and fairness. Mova: частково є (held-out gates already select proposed changes). A Mova coreference experiment could require that candidate revisions perform acceptably on gender-sensitive validation examples before admission. This would adapt the paper’s selection principle to explicit rules or feature parameters. It would remain necessary to measure other constructions and categories, since a targeted validation resource cannot represent every desired behavior.
Idea: Check which categories disappear from validation. Where: section 2.2 and Table 1. Area: statistics and dataset design. Mova: нове. A validation report could list every supported answer category and identify categories without examples before accepting a coreference revision. Why Mova: the paper’s Winobias selection excluded NEITHER, showing how a purposeful validation choice can leave an important behavior unchecked. This proposed report would make that gap visible without assuming that absent categories are automatically handled well.
Idea: Preserve source-specific class distributions. Where: section 2.2 and Table 1. Area: statistics. Mova: частково є (dictionary indexing retains source identities, domains, and occurrence counts). Coreference training packets could similarly report answer distributions separately for each admitted source. This would help distinguish genuinely broader coverage from a change in the frequency of easy answer types. Such statistics would describe the packet; they would not themselves prove that its examples improve Mova.
Idea: Distinguish the amount of rejection data from its difficulty. Where: the discussion of NEITHER after Table 3. Area: data quality and reasoning. Mova: нове. Mova could review non-linking examples according to the evidence required to reject the proposed antecedents. Why Mova: a rule-based resolver needs meaningful negative cases, and many obvious negatives may fail to test the ambiguous situations that cause mistakes. The proposed difficulty categories would need their own definitions and review rather than being inferred from the answer label alone.
Idea: Retain a genuine neither-candidate outcome. Where: the introduction’s task definition and Table 2. Area: coreference and decision design. Mova: частково є (the native system reports gaps and unsupported interpretations instead of inventing supported conclusions). A candidate-based coreference interface should distinguish rejection of the offered candidates from uncertainty about which candidate is correct. This would preserve a useful distinction when references feed a story world or a later action, where an unsupported link can propagate.
Idea: Evaluate supplied mentions separately from mention discovery. Where: the introduction’s gold-two-mention setup. Area: evaluation scope. Mova: частково є (the language pipeline separates parsing from later interpretation). A coreference benchmark could provide reviewed mention spans to test linking alone, then evaluate the complete pipeline separately. This would help locate whether failures originate in finding expressions or connecting them. Success with supplied spans would remain evidence for that restricted task, rather than for unrestricted document understanding.
Idea: Use syntactic relations as explicit coreference evidence. Where: section 2.3. Area: syntax and coreference. Mova: частково є (dependency trees are available and the coreference sieve records reasons). Mova could evaluate structural distance or related tree observations as additional ranking evidence, while preserving the exact relation that influenced a choice. The paper reports a benefit for syntactic distance in its own architecture; whether the same observation improves a deterministic sieve is unknown.
Idea: Keep textual distance distinct from syntactic distance. Where: section 2.3. Area: syntax and feature analysis. Mova: нове. A diagnostic report could record both how far expressions lie apart in the text and how they connect through a dependency tree. Why Mova: disagreement between these views could explain why a proximity rule succeeds or fails. The proposed analysis would test complementary observations rather than treating all forms of closeness as equivalent.
Idea: Treat article metadata as task-specific evidence. Where: section 2.3. Area: provenance and information extraction. Mova: частково є (source manifests and dictionary indexes retain document provenance). Where source metadata is legitimately available, Mova could test whether it helps identify a document’s focal entity. The article URL feature’s success motivates the question. Metadata should remain identifiable as external evidence, with a separate assessment condition for tasks that offer only passage text.
Idea: Keep source identity separate from narrative truth. Where: section 2.3 and the discussion of Wikipedia-page information. Area: knowledge representation. Mova: вже є (dictionary-source provenance is distinct from narrative facts, and corpus enrichment does not turn fiction into factual knowledge). A URL containing a name can support a reference hypothesis without proving the events described in the passage. The paper’s useful metadata feature reinforces the need to record what a source cue licenses and what it does not.
Idea: Examine where supplementary evidence enters a decision. Where: section 3.2. Area: system architecture. Mova: нове. Mova could compare using a structural cue during candidate generation with using it only during final ranking. Why Mova: the paper found that manual features helped when introduced near the output, so useful evidence can depend on its point of application. This is an architectural hypothesis for Mova, not a claim that neural feature concatenation transfers directly to its rules.
Idea: Focus representations on the expressions being compared. Where: section 3.2. Area: coreference and efficiency. Mova: частково є (coreference uses explicit links and the native readers work from structured roles). A candidate comparison could retain a compact record for each mention and the pronoun, together with the relevant surrounding structure. The paper’s span extraction suggests a bounded representation of the decision. Mova would still need to verify that omitted context does not remove decisive evidence.
Idea: Give multiword names a span-level treatment. Where: section 3.2. Area: linguistic representation. Mova: частково є (dependency structure and entities provide representations beyond isolated words). A coreference audit could verify that a multiword candidate contributes a coherent mention record rather than an accidental token fragment. The paper uses attention to summarize spans; Mova could instead test explicit heads and modifiers. The transferable requirement is appropriate treatment of the whole expression.
Idea: Test broader local context rather than assuming it helps. Where: section 3.2. Area: context selection. Mova: нове. A controlled experiment could widen the contextual neighborhood used by a coreference rule while recording both repaired and newly damaged decisions. Why Mova: the paper’s larger convolution kernels were worse, illustrating that additional nearby material can weaken a decision. The result motivates measurement of context boundaries, without prescribing the same boundary for a different architecture.
Idea: Preserve capitalization as potentially useful evidence. Where: section 3 and Table 3. Area: lexical processing. Mova: частково є (the English core has lexical, morphological, and tag information). Mova could audit whether normalization removes distinctions useful for recognizing personal names before coreference. The stronger cased configurations motivate this inspection. The author’s explanation concerns name recognition, but the paper does not isolate capitalization from every other difference between the compared BERT variants.
Idea: Test gender information rather than assuming its value. Where: section 2.3. Area: fairness and feature analysis. Mova: нове. If a proposed coreference rule uses grammatical gender, Mova could compare decisions with and without that evidence and inspect conflicts with other cues. Why Mova: the paper’s explicit pronoun-gender feature provided no benefit, showing that a seemingly relevant attribute may add little. Any rule should distinguish linguistic agreement evidence from unsupported assumptions about a person.
Idea: Report subgroup performance beside the aggregate. Where: section 4. Area: evaluation and fairness. Mova: нове. A coreference report could show separate results for the pronoun groups represented in its assessment while retaining the overall result. Why Mova: an aggregate can conceal asymmetric errors, and Mova’s transparent decision traces would allow those differences to be investigated. The paper motivates this reporting practice but supplies no evidence that Mova currently has equal performance across those groups.
Idea: Keep subgroup similarity separate from a general fairness claim. Where: section 4 and the conclusion. Area: interpretation of evidence. Mova: частково є (documented mechanisms and measurements carry explicit scope limits). A future report should state exactly which groups, examples, and metric support a fairness observation. Close losses would describe that assessment, rather than establish an unrestricted ethical property. This follows the same source-bound discipline already used to distinguish configured task execution from general understanding.
Idea: Assess confidence when a component returns probabilities. Where: section 2.2. Area: statistics and evaluation. Mova: частково є (some native components use learned parameters and scored decisions, while explanations retain their evidence). Where a coreference component exposes probabilities, its evaluation could inspect the probability assigned to the correct answer as well as the selected answer. A deterministic rule should not acquire invented confidence values merely to imitate the competition’s interface.
Idea: Review the consequences of confidence clipping. Where: section 3.3. Area: probability handling. Mova: нове. If probabilistic coreference scores are introduced, Mova could document and test any rule that limits extreme confidence before downstream use. Why Mova: the paper’s clipping choice reflects the cost of confident errors under log loss. Such limits would need validation and would not turn an unsupported judgment into reliable knowledge or justify treating a score as a proof.
Idea: Measure instability across data partitions. Where: the data description and section 3.3. Area: statistics and evaluation. Mova: частково є (held-out comparisons and repeatability checks are documented). Candidate coreference revisions could be assessed across fixed development partitions when results depend strongly on a small sample. This complements deterministic reruns: identical execution establishes reproducibility, whereas partition comparisons investigate sensitivity to which examples were available. Neither check substitutes for the other.
Idea: Combine independently useful decision variants only after measuring them. Where: section 3 and Table 3. Area: ensemble evaluation. Mova: частково є (tree agreement and correspondence tools combine explicitly defined observations). The paper motivates comparing a combined coreference decision with each constituent procedure. Mova’s agreement mechanisms should retain their own compatibility checks and reasons. Averaging neural outputs and reconciling structured evidence are different operations, even when both seek support from several analyses.
Idea: Test representation combinations against strong individual representations. Where: section 5. Area: representation analysis. Mova: нове. A graph reader that combines several observation layers could be compared with each layer used alone. Why Mova: the paper’s failed concatenation and linear-combination attempts show that access to more representations does not establish a stronger final decision. This would help prevent a more elaborate composition from being accepted merely because it contains more information.
Idea: Freeze stable components while testing an adaptation. Where: section 3.1. Area: training procedure. Mova: частково є (rules, parameters, graph knowledge, and admitted supervision have separate revision paths). A corresponding experiment could vary a coreference ranking parameter while keeping parser outputs and knowledge fixed. The neural freezing schedule does not transfer literally, but its separation of changing and fixed components supports clearer diagnosis of what an adaptation actually contributes.
Idea: Select a saved state using evaluation evidence. Where: section 3.1. Area: optimization and admission. Mova: вже є (tested gates control self-play proposals and shipped-rule changes). The paper’s checkpoint selection is another instance of preferring a measured state over the latest state reached by a process. Mova can preserve this principle for parameter tuning and induced rules while ensuring that repeated selection uses development material instead of consuming a frozen assessment.
Idea: Reject an additional source when it fails the target test. Where: section 2.1 and the PreCo discussion. Area: data admission. Mova: частково є (source classification and training admission are explicit, and experiments retain failures). A newly compatible coreference resource should earn its place through a controlled target comparison. More examples, an attractive resource description, or successful parsing would not alone establish usefulness. The paper’s unsuccessful PreCo experiments make negative transfer a concrete consideration.
Idea: Validate converted examples for structural pathologies. Where: section 2.1 and the PreCo discussion. Area: data processing. Mova: частково є (UD gates and corpus staging already validate structured outputs). A coreference conversion check could flag cases in which the pronoun field and candidate field produce an inappropriate or uninformative pairing. The paper’s concern about repeated words motivates inspection, but does not justify rejecting every repeated surface form without considering whether the example remains valid.
Idea: Preserve corrected labels as a reviewed version. Where: the data description and section 5. Area: annotation and provenance. Mova: частково є (versioned annotation evidence, source fingerprints, and append-only review histories are documented). If a coreference benchmark contains a disputed answer, Mova could retain the original, the reviewed replacement, and the reason for the change. This would support reproducible comparison without silently rewriting the reference against which an earlier result was obtained.
Idea: Keep evaluation corrections outside ordinary training admission. Where: the corrected-GAP procedure and section 5. Area: assessment integrity. Mova: вже є (frozen assessment labels remain outside training, and staged teaching material is not automatically admitted). Label auditing should improve the interpretation of an assessment without becoming a route for feeding that assessment’s answers into a learner. The paper’s competition-specific reuse of available GAP data would require a separate, explicitly scoped protocol in Mova.
Idea: Trace disputed examples back to their original documents. Where: section 5. Area: annotation review. Mova: вже є (source manifests, dictionary witnesses, and indexed examples retain provenance). A reference-resolution dispute could include the source passage and, where permitted and available, its document context. This would let a reviewer distinguish an ambiguous snippet from a demonstrably wrong label. The source document would remain review evidence rather than an automatically trusted replacement for the task input.
Idea: Examine annotation errors by subgroup. Where: section 5 and Table 4. Area: evaluation and fairness. Mova: нове. A reviewed assessment could report whether discovered label errors are concentrated in particular linguistic groups before attributing score differences to the resolver. Why Mova: the paper identifies unequal error counts in part of GAP, making reference quality relevant to subgroup interpretation. This proposal would report verified corrections and review coverage, rather than presume that unreviewed labels are accurate.
Idea: Separate label errors, input limitations, and reasoning failures. Where: sections 4 and 5. Area: error analysis. Mova: частково є (fast-reading analysis distinguishes representation, inference, parameter, and parsing failures). Coreference diagnostics could add reviewed reference problems and missing-document context to that existing style of analysis. Different causes require different repairs: a parser change cannot resolve a wrong gold label, and additional training cannot supply context that the task withholds.
Idea: Test simple explanations for mistakes before adopting them. Where: section 4. Area: statistical diagnosis. Mova: частково є (negative controls and measured comparisons are documented). The paper checked text length and mention length without finding a significant distinction between correct and incorrect predictions. Mova could similarly test whether a proposed error explanation actually separates failures from successes. A plausible narrative about long sentences or complex names should remain a hypothesis until the examples support it.
Idea: Compare passage-only evidence with broader document evidence. Where: section 5. Area: context and information retrieval. Mova: нове. A coreference study could distinguish what is answerable from a snippet from what becomes answerable with a permitted document view. Why Mova: the paper found that whole-page information did not improve its system, although reviewers sometimes needed the page to resolve labels. This distinction would keep human adjudication context separate from demonstrated runtime capability.
Idea: Record failed experiments alongside successful changes. Where: sections 2.1, 3.2, and 5. Area: research process. Mova: вже є (self-play journals retain positive and negative experiments). Unsuccessful source additions, larger context windows, and representation combinations can prevent repeated unproductive work. The paper offers several such negative findings. Their value lies in preserving the tested conditions, because a failure under one architecture does not establish that the general idea can never work.
Idea: Include runtime in the comparison of decision procedures. Where: section 3.3 and section 5. Area: efficiency. Mova: частково є (job tools record estimates and actual resource use, and cost-prediction tooling is documented). Coreference improvements could be reported with their training and prediction costs where applicable. The paper’s expensive ensemble shows why a small quality gain may have operational consequences. A suitable Mova comparison would measure its own costs rather than inherit the neural system’s timing.
Idea: Avoid computing stages whose outputs are unused. Where: section 3.3. Area: efficiency and architecture. Mova: частково є (configured capabilities and bounded execution already constrain work). A pipeline inspection could identify later analyses that do not contribute to an admitted coreference decision and test whether omitting them preserves the result. The author proposes a corresponding BERT optimization but does not report its realized speedup. Mova would likewise need direct verification before claiming a saving.
The problem and its context
Coreference resolution connects expressions that refer to the same entity. Pronoun resolution is a particularly compact form of the problem: an expression such as a name introduces or identifies someone, and a later pronoun must be connected to the appropriate referent. The grammatical form of the pronoun provides some information, but often leaves several plausible candidates. Understanding the surrounding relationships then becomes essential.
GAP focuses on ambiguous pronoun–name relationships in Wikipedia passages. Its design makes masculine and feminine pronouns available for separate evaluation. That matters because a system’s general score cannot show whether it handles those groups similarly. The shared task therefore combined ordinary predictive performance with a concern about bias and fairness. Abzaliev’s contribution is a competition system developed within that setting, together with observations about what helped it and where it continued to fail.
The paper’s example concerns Burnett Stone, Lily, and Lady. The passage identifies relationships among them and later contains the pronoun “her.” The candidates supplied to the system are Lily and Lady. The challenge is not to notice that a feminine pronoun occurs, but to determine which relationship in the passage supports a particular reference. A candidate’s closeness to the pronoun may be relevant without being decisive.
The system receives the candidate locations in advance. The paper calls this a gold-two-mention task: the relevant candidate spans are supplied rather than discovered by the system. This makes the experimental problem more specific than unrestricted coreference. A general resolver might first need to find names, noun phrases, and pronouns throughout a document, then determine which belong together. Here, the decision is restricted to the offered candidates and the possibility that neither is correct.
The NEITHER category is important to that restriction. It prevents the task from assuming that every ambiguous pronoun must refer to one of the supplied names. The decision procedure must therefore compare candidates and know when both should be rejected. These are related demands, but they are not identical. Choosing between plausible names may be easier than recognizing that the correct referent lies outside the offered pair.
The paper situates its approach around Mind the GAP, which introduced the resource used by the competition. It also notes that many manually constructed features had already appeared as individual baselines in that earlier work. Abzaliev combines such observations with contextual representations instead of treating the features as complete competing resolvers.
The external resources serve different practical roles in the training procedure. Gender Bias in Coreference Resolution supplies the cited basis for Winogender, while Gender Bias in Coreference Resolution: Evaluation and Debiasing Methods is associated with Winobias. The paper also uses material connected to Resolving Complex Cases of Definite Pronouns and Solving Hard Coreference Problems, together with OntoNotes data referenced through the CoNLL-2012 shared task. Its account concentrates on converting and using these resources, rather than presenting a detailed historical comparison of their original methods.
The central engineering question is how to exploit that available information without assuming that every source is interchangeable. GAP provides a particular task format and article metadata. Other coreference resources have different structures and distributions. At the same time, BERT provides contextual representations whose usefulness depends on which internal layer is selected and how the downstream network consumes it. The paper investigates these choices within a competition where the target metric rewards good probability assignments.
The competition itself had separate stages. The paper reports 838 participants in stage 1 and 263 in stage 2. Available evaluation data changed between those stages, as did the training material the author could use. Understanding that progression is necessary because a stage 1 analysis, a cross-validated result, and the final stage 2 leaderboard result do not describe the same experimental condition.
The method, step by step
Start with a constrained probabilistic decision
Each example contains a passage, a pronoun, the candidate mentions, and their positions. The system produces a probability for A, a probability for B, and a probability for NEITHER. These outputs express how the system distributes its confidence over the available answers.
The competition uses multiclass logarithmic loss. In the paper’s notation, its mathematical definition can be written as follows:
logloss = −(1/N) ∑ᵢ₌₁ᴺ ∑ⱼ₌₁ᴹ yᵢⱼ log(pᵢⱼ)
Here, N denotes the number of evaluated examples. M denotes the number of answer classes, which is 3 for this task. The index i identifies an example, and j identifies a class. The indicator yᵢⱼ equals 1 when class j is correct for example i and equals 0 otherwise. The value pᵢⱼ is the system’s predicted probability for that class. The logarithm is natural.
The indicator means that the correct class determines the contribution of an example to the loss. A system receives a worse result when it assigns little probability to the recorded answer, and an especially poor result when it is highly confident in a wrong alternative. Consequently, the task is not fully described by asking how often the top-ranked answer is right. The distribution of confidence matters too.
From coreference examples to final probabilities
The steps in order.
Prepare the GAP data
The original GAP divisions contain 2000 training examples, 454 validation examples, and 2000 test examples. During stage 1, the author trained with the training and validation portions together and evaluated against the test portion. Early training used 5 fold cross-validation because the available data was limited and predictions varied noticeably across folds.
The author also used manual label corrections. Competition participants had reported errors across the GAP divisions, and the solution incorporated corrected data. This is part of the experimental setup, not merely a later discussion point: an assessment against corrected labels can differ from one against the original labels.
During stage 2, the available GAP divisions were combined for training, producing 4454 observations. The new evaluation set contained 12,359 examples. The movement from an existing GAP test split to a new competition test set explains why data called “test” in one stage could become available training material in another. It also makes precise reporting essential whenever results from the different stages are compared.
Convert external resources without assuming interchangeability
The warm-up resources were processed into the GAP-style decision format. After cleaning, the paper reports 39,452 examples from OntoNotes, 360 from Winogender, 3162 from Winobias, and 1400 from DPR. Conversion made these resources usable by the prediction procedure, but did not make their distributions or metadata identical to GAP.
The author first tried concatenating external examples and GAP into a common training set. That attempt was unsuccessful. The explanation given is that the sources differed structurally and the external data did not provide GAP’s URL feature. A shared row format therefore did not eliminate the underlying mismatch.
The alternative was sequential transfer. The prediction head first learned from external examples, and the selected weights then initialized the GAP training phase. In an early version, the warm-up data was divided randomly using 95%-5% proportions. This gave a slight improvement. The paper suggests that the initialization might guide training towards a flatter optimum and better generalization, but does not demonstrate that geometric explanation directly.
The final selection procedure used Winobias as warm-up validation instead of drawing a random validation portion. OntoNotes, DPR, and Winogender formed the warm-up training pool. The intended effect was to select a starting state that handled the gender-sensitive validation material well before adapting it to GAP.
This decision changed more than the source identity of the held-out examples. Winobias supplied A and B cases but no NEITHER cases in this setup. The author reports that this omission did not visibly damage the final result and suggests that the training pool already contained enough NEITHER examples. That observation should be kept separate from the broader question of whether validation should omit a supported category.
The author also attempted to use PreCo but obtained no improvement despite repeated efforts. The proposed reasons concern structural differences and noisy converted examples. One problematic pattern placed the same word in the mention and pronoun fields. The account illustrates why compatibility requires inspecting the resulting decision examples, not simply accepting a resource because it is relevant to coreference.
Select a useful BERT representation
BERT supplies context-sensitive vectors for the passage’s tokens. A word’s representation therefore depends on its surrounding text. The paper describes BERT as pretrained on Wikipedia and BookCorpus and implements its use through pytorch-pretrained-BERT.
The author considers choices such as cased versus uncased input processing and the depth from which to read the representation. The paper describes bert-base as having 12 layers and bert-large as having 24 layers. Its head architecture is specified for the BERT-large representation width of 1024.
The consequential finding is that the last output layer is not the strongest source of features for this task. With the rest of the network held fixed, the fifth-to-last and sixth-to-last layers perform best. The paper’s notation identifies these as [-5] and [-6].
The author proposes a possible explanation: the final representation may be more specialized toward BERT’s original masked-word prediction objective, whereas intermediate representations may preserve information more useful for coreference. This is an interpretation of the observed comparison. The experiment establishes that the representation choice affected this architecture’s result; it does not directly identify every kind of information stored in each layer.
The performance curve is described as U-shaped. Moving away from the last layer helps until an intermediate region is reached, but taking representations from much earlier processing stages hurts again. The useful lesson is selective rather than absolute: neither the latest nor the earliest available representation is automatically best.
Build a compact representation of each mention
The prediction head begins with contextual token representations whose shape is described as [batch size, seq len, 1024]. Batch size identifies how many examples are processed together, and seq len describes the token sequence length. The final dimension is the contextual vector width.
A one-dimensional convolution reduces the representation to size 64. Its kernel has size 1, so this stage transforms each token’s vector without using a wider local token window. The paper reports worse performance when the kernel was enlarged to 2 or 3. It suggests that immediate context around the mentions may have contributed little useful information in that configuration.
The system then extracts representations for A, B, and the pronoun. Their locations are already known, so it can focus directly on those spans. It uses SelfAttentiveSpanExtractor from AllenNLP. The result is a vector of size 64 for each target expression.
For a mention consisting of a single token, the extracted representation is that token’s vector. For longer expressions, attention provides a weighted summary of the tokens in the span. This offers a way to represent a multiword name without treating every word as equally informative or selecting an arbitrary fragment. The paper says alternative AllenNLP span extractors were less effective, but does not provide their individual scores.
The candidate and pronoun vectors are concatenated into a representation of size 192. A fully connected processing block applies batch normalization, a linear transformation from 192 to 64, a rectified linear activation, further batch normalization, and dropout with a setting of 0.6. These operations transform the extracted mention information before the manual features enter.
Add structural and metadata features
The manually constructed features describe several different aspects of the decision. Token distances record separation between the names and pronoun, as well as between the candidate names. Syntactic distances describe relationships through a parsed structure rather than through ordinary textual separation. Those distances were obtained using StanfordCoreNLP.
Other features locate a mention within the passage. They include relative character position and a sentence index normalized by the passage’s sentence count. The feature list also includes distance associated with the syntactic root. The brief description does not give enough detail to reconstruct every encoding choice from the article alone.
The URL feature records whether a candidate mention appears in the Wikipedia article’s URL. It can supply evidence about which named entity the article centers on, although the paper does not claim that it is a general rule for resolving pronouns in arbitrary documents. Its usefulness depends on the source metadata being available.
Pronoun gender is included as another feature. The author hoped it might help where candidate mentions differed in gender. It produced no observed improvement, but also no observed deterioration. This is an outcome for the explicit feature in the tested system. It does not establish that all internal representations were independent of gender-related information.
The head’s processed output is combined with the manual features to form a vector of length 96. A final linear layer maps that vector to 3 output scores. The paper reports that introducing the features at this late point was important: adding them earlier did not produce the same benefit.
Adapt selected components rather than everything at once
Warm-up training initially changes the prediction head while BERT remains frozen. The paper specifies 16 epochs for that head-training phase. Freezing means that BERT’s parameters do not update while the head learns to use the available representation.
The next phase reverses the arrangement. The head is held fixed while the selected BERT layer, either [-5] or [-6], is adapted. The paper gives 12,596,224 as the number of parameters involved in that adaptation and emphasizes the importance of a small learning rate.
For this phase, the reported learning rate is 4e −5, the batch size is 32, and training lasts 16 epochs. Evaluation occurs every 400 steps. The saved state with the strongest evaluation performance is retained rather than automatically choosing the final state reached during training.
For GAP training, the paper uses Adam with a learning rate of 2e −3 and a batch size of 20. A triangular learning-rate schedule is used for BERT adaptation and GAP training. The loss implementation is CrossEntropyLoss, which combines a numerically stable softmax calculation with negative log-likelihood.
The description identifies the main stages and settings, but does not report every implementation decision needed to reproduce the entire experiment independently. Its strongest procedural message is that the source warm-up, selective representation adaptation, target training, and checkpoint selection have distinct roles.
Average configurations and folds
The final system uses cased and uncased BERT variants, each with the fifth-to-last and sixth-to-last representation choices. The head architecture stays the same across these configurations. This keeps the principal architectural differences in the representation-producing component.
Final training uses 10 fold cross-validation stratified by the answer classes. Within each fold, 90% of the available data is used for training and 10% for evaluation. Stratification aims to preserve the class distribution across the partitions.
Predictions are averaged across configurations and folds, yielding the paper’s stated total of 40 trained instances. The final probabilities are clipped to the interval (1e −2, 1 − 1e −2). This limits extreme confidence, which matters because logarithmic loss assigns a severe penalty when the recorded answer receives very little probability.
The complete training procedure takes roughly one day on a single NVIDIA Tesla P100, according to the paper. The implementation uses PyTorch. The author suggests that avoiding computation in BERT layers beyond the selected output could reduce the runtime, but does not report a measured result for that optimization.
Experiments and results
Data conditions and the target metric
The final evaluation should be read against the competition’s changing data conditions. Stage 1 used the existing GAP test portion for evaluation while earlier divisions supplied training data. Stage 2 used the combined available GAP material for training and a new test set for prediction. Separate cross-validation analyses used the available stage 1 data.
The external warm-up data also had a markedly different answer distribution from GAP. In the paper’s final GAP training collection, A accounts for 43.71%, B for 44.65%, and NEITHER for 11.63%. The warm-up training collection contains 31.91% A, 31.40% B, and 36.68% NEITHER. Warm-up validation contains 50% A, 50% B, and 0 NEITHER.
These distributions clarify the author’s reasoning about transfer. External training offered substantially more emphasis on rejecting both candidates than GAP itself did. However, that statistical coverage did not ensure that the external examples resembled GAP’s difficult rejection cases. The distinction becomes important when interpreting the error analysis.
The principal metric is multiclass log loss, with lower values indicating better probability assignments. The paper does not provide a broad numerical table comparing its approach with earlier complete coreference systems. Its detailed results concentrate on its own representation configurations and their ensemble.
Final stage 2 performance
The ensemble’s detailed stage 2 result is stronger than the individual configurations reported alongside it. Among the individual results, the cased configurations outperform the uncased configurations. The author suggests that capitalization may help with GAP’s varied personal names.
GAP stage 2 test performance by configuration
The ensemble has the lowest loss among the reported configurations.
The numbers
| System or setting | multiclass log loss |
|---|---|
| Cased BERT [-5] | 0.20592 |
| Cased BERT [-6] | 0.20429 |
| Uncased BERT [-5] | 0.22834 |
| Uncased BERT [-6] | 0.21088 |
| Final ensemble (this paper) | 0.18397 |
The results discussion describes the final submission with log loss of 0.1839 and reports that it placed third on Kaggle. The detailed table writes the ensemble result as shown in the chart. Keeping these reported forms attached to their contexts avoids inventing an explanation for the difference in presentation.
The stage 2 ordering is also useful when interpreting the layer finding. Although both intermediate depths belong to the final solution, their relative performance depends on the cased or uncased configuration. The results support evaluating complete settings rather than treating an intermediate layer as universally preferable in isolation.
Gender-specific evaluation on cleaned stage 1 data
The paper performs a separate gender analysis using the cased [-5] configuration on cleaned stage 1 test examples. Its overall log loss under that condition is 0.23819. The following chart shows the corresponding subgroup losses.
Cased BERT [-5] on cleaned GAP stage 1 test data
Masculine and feminine pronouns have closely matched reported losses.
The numbers
| System or setting | multiclass log loss |
|---|---|
| Masculine pronouns, cased [-5] (this paper) | 0.24014 |
| Feminine pronouns, cased [-5] | 0.23623 |
The author describes the difference as 3e −3 and regards it as insignificant. The paper does not present a formal significance test or uncertainty interval for that judgment. The defensible observation is that the reported subgroup losses are close under the stated condition.
This analysis should not be merged with the stage 2 leaderboard result. It uses a particular individual configuration, corrected stage 1 labels, and available reference answers. The ensemble’s final competition score answers a different question. The paper’s abstract emphasizes the reduction of gender differences, but the detailed numerical subgroup evidence has this narrower scope.
Category errors and difficult examples
The paper gives a confusion matrix for the whole stage 1 collection under 10 fold cross-validation. Its rows identify predicted categories and its columns identify the reference categories. The correctly matched cells contain 1849 for A, 1908 for B, and 401 for NEITHER.
The author interprets NEITHER as the weakest answer category. This is consistent with the broader training discussion: GAP contains fewer such examples, and warm-up examples with that label may be too easy to supply the needed experience. The paper does not give a separate category-level log-loss table or a complete set of category precision and recall values. Those quantities should not be substituted for the reported matrix without an explicitly different analysis.
The author also investigated whether incorrect predictions could be explained by text length or the number of words in a candidate mention. These properties did not differ significantly between correct and incorrect cases. Manual inspection instead suggested that many mistakes occurred on examples that were difficult for people too.
That finding is useful primarily as a rejection of simple explanations. It does not establish a human performance ceiling, since the paper reports no controlled human study. Nor does it show that every remaining mistake requires general world knowledge. It says that the inspected errors were not readily explained by the basic length properties tested.
Benchmark label problems
The label review found errors in every GAP division. Table 4 reports masculine-example error counts of 31 for gap development, 9 for gap val, and 28 for gap test. The corresponding feminine-example counts are 35, 12, and 45.
The author states that mislabelled cases account for less than 5% of the examples and that the review is not comprehensive. For gap test, the paper describes the feminine-case error count as 30% higher. These observations concern discovered reference problems, instead of a complete estimate of the benchmark’s underlying error rate.
Some corrections were straightforward, but others required substantial review and sometimes access to the original Wikipedia article. This creates a practical distinction between evaluating a resolver and evaluating whether the supplied answer can be justified from the task’s visible passage. The paper’s corrected-data results depend on the review process, while its discussion acknowledges that the review did not settle every possible problem.
What the ablations show
The paper offers several controlled comparisons and unsuccessful alternatives, although it does not present a complete factorial ablation study. Their evidential strength varies: some have numerical effects, some have a plotted trend, and others are reported only as improvements or failures without scores.
Intermediate layers matter, but the explanation remains tentative
Figure 1 varies the BERT output layer while keeping the surrounding network settings fixed. The strongest reported region is the fifth-to-last and sixth-to-last layers, and performance deteriorates again when much earlier representations are used.
This comparison is relatively direct because it isolates a concrete architectural choice. It supports the claim that the source of contextual features affects coreference performance in this system. It does not prove that a particular layer explicitly represents a particular linguistic relation.
The author’s proposed explanation concerns specialization toward masked-word prediction near BERT’s output. That explanation is plausible within the paper’s account, but no additional experiment isolates the pretraining objective’s contribution. The observed layer preference and the theory about why it occurs should therefore remain separate.
The article links its representation discussion to What do you learn from context?. Abzaliev reports that concatenating intermediate layers or learning a linear combination did not help, despite positive findings for such approaches being reported in that cited work. This is a useful reminder that a representation technique can behave differently under a different task and prediction architecture.
Metadata and syntax contribute unevenly
Among the manual features, URL matching gives the largest reported benefit: a 0.07 decrease in log loss. Syntactic distance between a mention and the pronoun gives a decrease of 0.01. The other features have much smaller reported contributions.
The article does not provide a complete feature-removal table or specify every surrounding condition for these decreases. They should therefore be treated as reported contribution measurements rather than as a fully reproducible ranking of all possible coreference features. Even so, their relative emphasis is clear in the author’s account: source metadata and structural relationships were the important additions.
The URL result also constrains generalization. The feature is meaningful because GAP examples come with Wikipedia source URLs. A resolver used on messages, dialogue turns, or documents without equivalent metadata could not assume access to the same cue. The result demonstrates useful evidence in this task environment, not a universally available linguistic signal.
Feature placement matters too. The paper reports improvement when the manual features enter near the final classifier, after the mention representations have been processed. Earlier introduction did not help. This observation concerns interaction between evidence and architecture: a useful feature can fail to contribute if the surrounding network does not preserve or exploit it effectively.
External data helps through the right procedure
The training comparisons distinguish several ways of using additional data. Direct concatenation did not work. A preliminary training phase followed by GAP adaptation worked slightly better. Replacing random warm-up validation with Winobias then provided another small improvement.
These findings support sequential transfer in the tested setup, but their numerical magnitudes are not supplied. The paper also does not isolate the fairness effect from every distributional change introduced by choosing Winobias. The conclusion that validation selection can mitigate bias is the author’s interpretation of the procedure and resulting behavior, instead of the outcome of an exhaustive causal decomposition.
The comparison nevertheless reveals an important mechanism. Validation does not merely estimate final quality after training is complete; it selects the state that becomes the next phase’s starting point. Changing the validation resource can therefore alter the learned initialization even without adding that resource to the training updates.
The missing NEITHER category in warm-up validation is a useful counterpoint. Selection for a desired property can narrow coverage elsewhere. The author found no damaging effect in this experiment, but that outcome does not remove the need to inspect the omitted category in another setting.
More context and more data are not automatic improvements
The larger convolution kernels perform worse than the kernel of size 1. The paper interprets this as possible evidence that the immediate neighborhood of a mention adds little useful information beyond its contextual representation. Since no separate kernel scores are given, the comparison establishes the reported direction without quantifying its size.
Adding whole-page Wikipedia information also failed to improve the system. This result does not mean that broader context is irrelevant to the underlying reference question. The label review sometimes required such context. It instead shows that the author’s attempt to incorporate it did not yield a useful predictive improvement.
PreCo provides another negative result. Its additional examples did not improve performance, and the author suspects mismatch and noise in the converted material. The paper does not establish which suspected problem was responsible, because it does not report a controlled cleanup experiment separating them.
Finally, the pronoun-gender feature did not help or hurt. The author views that as encouraging for gender-neutral learning. A careful reading gives it a narrower meaning: the explicit feature supplied no observed marginal benefit within the already contextualized architecture. That is not a direct test of every gender-related association the system may have used.
Limitations
Limits the author explicitly identifies
The clearest operational limitation is cost. The final solution contains several representation configurations and averages across cross-validation folds. On the reported hardware, training lasts about a day, while generating predictions for the test set takes almost two hours. The author presents this as a weakness instead of treating predictive quality as the only relevant outcome.
The suggested optimization is to avoid computing BERT layers after the layer whose output is actually consumed. That is a concrete engineering possibility, but the paper does not report a faster implementation or measure the resulting runtime. The proposal should not be presented as an achieved efficiency improvement.
NEITHER remains a substantive weakness. External training supplied many examples carrying that answer, but the author argues that they were comparatively trivial. This is a limitation of task coverage, not merely a shortage in the broad category’s count. The paper identifies the problem without delivering a demonstrated remedy.
The author also acknowledges reference-label errors and the incompleteness of the correction list. Some cases were difficult to adjudicate and required their source articles. Consequently, neither the original labels nor the corrected collection should be treated as an unquestionable account of every example.
Several attempted extensions failed: incorporating PreCo, combining intermediate representations, and using the whole Wikipedia page. These negative findings limit the set of demonstrated benefits. They also show that the final system emerged through empirical selection rather than through a general rule that additional data or context always helps.
Limits of the task being evaluated
A supplied-candidate task is narrower than unrestricted reference resolution. Mention positions are known, the candidate set is constrained, and the output space is fixed. The reported result does not show how the system would identify all relevant mentions in a new document or assemble complete entity chains.
The task also includes source metadata. The strongest manual feature depends on the Wikipedia URL, making the available evidence richer than the passage alone. The paper does not provide a full final-system comparison in which equivalent training and evaluation are repeated without that metadata.
The evaluation concerns the particular pronoun groups represented in GAP. Similar masculine and feminine log losses are useful evidence, but they do not describe every form of social or linguistic bias. There is no reported assessment across a broader set of gender identities, domains, or social categories.
Likewise, the paper’s subgroup result is conditional on the cleaned stage 1 data and the specified individual configuration. It should not automatically be attributed to every constituent system, every fold, or the final stage 2 ensemble. The final competition result and the detailed gender result have related motivations but different experimental conditions.
Limits of causal interpretation
Several explanations are explicitly conjectural. The warm-up phase may help by leading optimization towards a flatter region, but the paper does not measure that property. Cased representations may handle personal names better, but no isolated name-recognition experiment verifies that explanation. Intermediate layers may be less specialized towards the pretraining output objective, but that mechanism is not separately demonstrated.
The fairness-oriented validation procedure also changes multiple properties at once. Choosing Winobias changes the source of the held-out examples and removes NEITHER from that validation condition. The paper reports a small improvement and interprets the selection as beneficial for gender fairness. It does not provide a complete set of controls showing which aspect of the replacement caused each observed effect.
Ensembling improves the reported stage 2 score, but the results do not fully separate the contributions of configuration diversity, fold averaging, and individual training variation. The strong combined result establishes the performance of the submitted procedure. It does not by itself identify the minimum combination needed to achieve it.
The same caution applies to probability clipping. The rationale follows directly from log loss’s sensitivity to confidently wrong predictions, but no clipped-versus-unclipped result is reported. The article records the setting as part of the final recipe rather than demonstrating its independent contribution.
Limits of statistical and reporting detail
The paper does not report uncertainty intervals for the main scores or a formal test supporting the description of the gender difference as insignificant. Small observed differences can be informative, but a reader should not substitute an unreported statistical conclusion for the descriptive comparison.
Some comparisons lack exact numbers. The account says that particular source choices, span extractors, feature placements, and context settings helped or hurt without giving a complete score table. These findings can guide further investigation, but they cannot support precise estimates of expected benefit elsewhere.
The layer plot is discussed as a controlled comparison, yet its individual numerical points are not available in the paper’s written account. The appropriate conclusion is the reported preference and curve shape, not reconstructed scores for every layer.
Manual label correction introduces another reproducibility consideration. The paper states that it uses corrected GAP data and explains where discovered errors came from, but the article alone does not enumerate every changed example and adjudication. A result against a corrected reference therefore needs that reference version to be fully specified in any independent reproduction.
Finally, the observation that difficult examples also challenge people is based on manual examination instead of a formal human benchmark. It is useful qualitative evidence about the error cases, but not a measured limit on human performance or proof that remaining mistakes are unavoidable.
What came after
The citing works listed for this paper place it in a shared-task account and in a broader discussion of bias. Their citation relationship is established, but the available descriptions do not identify which experimental findings they adopted or how they evaluated them. A responsible account can explain their relevance without inventing a technical continuation.
Gendered Ambiguous Pronoun (GAP) Shared Task at the Gender Bias in NLP Workshop 2019 is the directly related shared-task publication. Its title places Abzaliev’s system within the same evaluation setting. The citation connects the individual solution to the competition-level account, but does not establish that the shared-task publication reused its warm-up procedure, intermediate-layer choices, or feature architecture.
Language (Technology) is Power: A Critical Survey of “Bias” in NLP provides a later citation in a critical-survey setting. The relationship shows that the solution became relevant to discussion beyond its immediate leaderboard result. The available account does not specify whether the survey discusses its gender-specific losses, validation design, terminology, or some other aspect, so no particular interpretation should be attributed to it.
Those boundaries leave the paper’s practical legacy clearest in the experiments it actually reports. It demonstrates a competitive combination of contextual representations, explicit structural evidence, staged transfer, and prediction averaging. It also records choices that failed and weaknesses that survived a strong final score.
Its most durable research questions concern how evidence enters a decision. Which internal representation serves the task best? Can external examples help without being mixed indiscriminately with target data? What behavior does a validation set select, and what does it leave untested? How much of an apparent disparity comes from the system, the available context, or the reference labels? The paper does not settle those questions generally, but makes them concrete enough to investigate under carefully stated conditions.
Cite
Cite as Artem Abzaliev. 2019. On GAP Coreference Resolution Shared Task: Insights from the 3rd Place Solution. Proceedings of the First Workshop on Gender Bias in Natural Language Processing.
@inproceedings{artem2019gap,
title = {{On GAP Coreference Resolution Shared Task: Insights from the 3rd Place Solution}},
author = {Artem Abzaliev},
booktitle = {Proceedings of the First Workshop on Gender Bias in Natural Language Processing},
year = {2019},
doi = {10.18653/v1/w19-3816},
url = {https://doi.org/10.18653/v1/w19-3816}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/abzaliev-2019-gap-coreference-resolution-shared-task/