Introduction
Coreference resolution—identifying which expressions in a text refer to the same entity (e.g., "Barack Obama" and "he")—is a fundamental task in natural language processing. Traditionally, this has been framed as a span-ranking problem. However, this approach suffers from a significant computational bottleneck. For a document of length $n$, there are $O(n^2)$ possible spans, leading to $O(n^4)$ possible pairs. To manage this, models rely on aggressive heuristic pruning, which can discard valid mentions prematurely and requires memory-intensive span representations.
Methodology: Shifting to Word-Level Heads
This paper proposes a word-level approach that decouples coreference logic from span boundaries, reducing computational complexity from $O(n^4)$ to $O(n^2)$.
Word-Level Linking
Instead of comparing spans, the model predicts links between individual tokens, specifically the syntactic "heads" of mentions. By treating all words as potential mentions, the model eliminates the need for pruning, thereby improving recall. Tokens are represented as weighted sums of subtokens derived from transformer backbones like RoBERTa or SpanBERT.
Scoring and Extraction
To maintain efficiency, the model employs a coarse-to-fine scoring mechanism. A bilinear function identifies the $k$ most likely antecedents for each token, which are then refined by a feed-forward neural network. Once coreferent heads are identified, a separate, lightweight span extraction module expands these words into full spans by predicting start and end boundaries within the same sentence. The model is trained using a combination of Negative Log Marginal Likelihood and Binary Cross-Entropy (BCE) as a regularization factor.
Experimental Results
The model was evaluated on the OntoNotes 5.0 benchmark. The results demonstrate that the word-level approach is not only more efficient but also highly competitive in accuracy.
Performance Comparison
As shown in the table below, the wl-coref + RoBERTa model achieves a Mean F1 of 81.0, outperforming established baselines such as Joshi et al. (2020) and performing competitively with other state-of-the-art systems.
Computational Efficiency
The primary advantage of the word-level approach is its efficiency. By reducing the number of pairs considered (from billions in span-level models to millions), the model achieves significant gains in speed and memory usage.
The model is approximately 3x faster during inference (32 seconds vs. 95 seconds for the baseline) and requires significantly less GPU memory (2.9 GB vs. 7.4 GB), making it much more suitable for deployment in production environments or on consumer-grade hardware.
Conclusion
By focusing on syntactic heads rather than full spans, this word-level coreference model overcomes the $O(n^4)$ complexity bottleneck of traditional methods. The resulting system is faster, more memory-efficient, and achieves state-of-the-art-competitive performance. While current limitations include a reliance on continuous spans and syntactic dependency information, the modularity of the architecture provides a strong foundation for future optimization.
Summary updated