Coreference Resolution through a seq2seq Transition-Based System

Bernd Bohnet, Chris Alberti, Michael Collins

TL;DR

This paper introduces a novel approach to coreference resolution by framing it as a text-to-text (seq2seq) problem using a transition-based system. By leveraging a large multilingual T5 (mT5) model to jointly predict mentions and links sentence-by-sentence, the system eliminates the need for complex, specialized pipelines and achieves new state-of-the-art results across multiple languages.

What Problem Does This Paper Address?

Coreference resolution—the task of identifying all expressions in a text that refer to the same real-world entity (e.g., linking "Michael Collins," "he," and "his")—is a foundational challenge in Natural Language Processing (NLP).

Traditionally, top-performing systems have relied on encoder-only language models (like BERT or SpanBERT) paired with complex, custom-engineered search algorithms. These systems typically operate in a pipeline: first detecting all possible text spans that could be mentions, and then running a separate, computationally expensive step to predict links between those spans. This approach requires heavy engineering and prevents coreference systems from directly benefiting from recent breakthroughs in generative, text-to-text (seq2seq) architectures.

The authors tackle this gap by asking: How can we frame coreference resolution entirely as a seq2seq problem, using text strings as both inputs and outputs?

Methods

The authors introduce a transition-based system that processes a document one sentence at a time. Instead of predicting spans explicitly, the model generates a sequence of text actions that describe how entities link together.

The core of their approach is the Link-Append System:

  1. Input Encoding: The model receives the historical context of the document (prior sentences), where currently identified coreference clusters are marked directly in the text using bracket notation (e.g., [1 Michael Collins ]). This is followed by the new "focus" sentence.
  2. Output Generation: The model greedily generates a string of text actions separated by semicolons, terminating with a SHIFT token to move to the next sentence.
  3. Action Types:
  4. Append: Links a mention in the current sentence to an existing cluster (e.g., You → [1).
  5. Link: Connects a new mention to a previous mention if a cluster doesn't exist yet (e.g., the apartment → your house).

To ensure the model resolves the correct words when a word appears multiple times, the system appends a 3-gram context suffix to the generated mentions. The authors also experiment with two variants: a simplified Link-only system and a Mention-Link-Append system designed to handle singletons (entities mentioned only once).

Datasets

The authors evaluated their system on two major benchmarks:

  • CoNLL-2012 Shared Task (OntoNotes): The primary benchmark for English, Chinese, and Arabic coreference resolution.
  • SemEval-2010 Shared Task: Used to test the model's multilingual, zero-shot, and few-shot capabilities across Catalan, Dutch, German, Italian, and Spanish.

The exact dataset distributions and token counts can be seen in the table below:

Dataset statistics for CoNLL-2012 and SemEval-2010

Key Insights and Ideas

  • Statefulness is Key: Feeding previous coreference decisions back into the input string dramatically improves performance. Without annotating the identified clusters in the input (the Link-only variant), F1-scores drop by 1.8 points.
  • Joint Prediction Wins: Avoiding a separate mention-detection step simplifies the architecture and prevents error propagation from the mention detector to the linker.
  • Model Scale Unlocks Capability: The paradigm relies heavily on model capacity. The authors noted that smaller T5 models performed poorly, suggesting that the ability to track and generate structured transition states emerges primarily with larger model sizes (like mT5-xl and xxl).

Key Results

The Link-Append system achieved outstanding results, setting a new state-of-the-art (SOTA) across all tested languages on the CoNLL-2012 benchmark:

  • English: Reached an 83.3 F1-score, outperforming the previous best system by 2.3 points.
  • Arabic: Reached 68.7 F1, a 4.1-point improvement.
  • Chinese: Reached 74.3 F1, a massive 5.3-point jump.

A detailed breakdown of these results against previous architectures is shown here:

CoNLL-2012 test set results across English, Arabic, and Chinese

Additionally, in the SemEval-2010 experiments, the model demonstrated powerful cross-lingual transfer, achieving highly competitive zero-shot results and setting new supervised SOTA scores for all five European languages.

Limitations and Future Work

Despite its success, the seq2seq approach introduces a few unique challenges:

  • Generative Errors: Because the model outputs raw text, it can occasionally "hallucinate" words not found in the input (occurring in 0.07% of cases) or generate ambiguous n-gram matches (0.6% of cases).
  • Document Length Constraints: Like most transformer-based models, performance degrades on exceptionally long documents due to context window limitations.
  • Computational Cost: Training the largest xxl model variant requires significant resources—taking roughly 2 days on 128 TPU-v4 chips.

Future work could explore optimizing the input context representation to better handle ultra-long documents without exceeding token limits.

Summary updated

BibTeX
@article{bohnet2023coreference,
  author = {Bernd Bohnet and Chris Alberti and Michael Collins},
  title = {{Coreference Resolution through a seq2seq Transition-Based System}},
  journal = {Trans. Assoc. Comput. Linguistics},
  year = {2023},
  doi = {10.1162/tacl\_a\_00543},
}
Figure