Coreference Resolution without Span Representations

Yuval Kirstain, Ori Ram, Omer Levy

Introduction

Coreference resolution—the task of determining which mentions in a text refer to the same entity—is a fundamental yet computationally expensive challenge in natural language processing. The standard "coarse-to-fine" (c2f) architecture creates a vector representation for every possible text span. For a document with $n$ tokens, this leads to $O(n^2)$ spans and $O(n^4)$ potential pairs, creating a significant memory bottleneck. Consequently, researchers have traditionally relied on "hacks" such as aggressive pruning, handcrafted features, and sliding-window context truncation to fit models onto GPUs.

The Start-to-End (s2e) Model

This paper introduces the start-to-end (s2e) model, a minimalist approach that ditches explicit span representations. Instead of aggregating information from all tokens within a span, s2e computes scores directly from the start and end boundary tokens using clever bilinear functions.

Architectural Innovations

  1. Biaffine Mention Scoring: To identify mentions, the model uses a biaffine product between start and end token representations, effectively asking if a pair of tokens marks the boundaries of an entity.
  2. Bilinear Antecedent Scoring: To link mentions, the model sums four bilinear functions that compare the boundaries of the query and candidate mentions (start-to-start, start-to-end, end-to-start, and end-to-end).
  3. Elimination of Heuristics: Unlike previous models, s2e avoids handcrafted features like mention distance or speaker metadata. Instead, it leverages the contextualized embeddings of the Longformer and treats speaker identity as raw text input.

Evaluation and Results

The model was evaluated on the English OntoNotes 5.0 and GAP benchmarks.

Memory Efficiency

The most significant contribution of s2e is its efficiency. By removing the $O(n^2)$ span vector bottleneck, the model reduces the memory footprint from 15.7 GB to just 4.3 GB when using a Longformer-Large backbone.

Memory usage comparison between the proposed s2e model and standard c2f baselines.

This efficiency allows for "dynamic batching," where multiple full documents can be processed simultaneously, preserving global context that is often lost in sliding-window approaches.

Performance and Robustness

Despite its simplified architecture, s2e matches or exceeds the performance of state-of-the-art models. On OntoNotes 5.0, it achieved an average F1 score of 80.3.

Performance metrics on the OntoNotes 5.0 dataset, showing s2e outperforming comparable baselines.

On the GAP dataset, s2e achieved an 88.3 F1, demonstrating that the boundary-only approach is robust across different types of coreference challenges, including gender-balanced pronoun resolution.

Discussion and Conclusion

The success of s2e suggests that the "middle" tokens of a span are largely redundant when using powerful contextualized transformers; the boundary tokens capture sufficient context to represent the entire entity. While the model currently uses length-based heuristics for pruning, its drastic reduction in memory usage paves the way for more scalable span-based models in other domains, such as Named Entity Recognition (NER) and Semantic Role Labeling (SRL).

Summary updated

BibTeX
@inproceedings{kirstain2021coreference,
  author = {Yuval Kirstain and Ori Ram and Omer Levy},
  title = {{Coreference Resolution without Span Representations}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2021},
  doi = {10.18653/v1/2021.acl-short.3},
}
Figure