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
- 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.
- 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).
- 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.
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.
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