Efficient Seq2seq Coreference Resolution Using Entity Representations

Matt Grenander, Shay B. Cohen, Mark SteedmanarXiv 2025 · DOI

Abstract

Coreference resolution in seq2seq models typically requires processing entire document prefixes, which is computationally expensive for incremental tasks like live dialogue. This paper proposes an Entity-Centric representation that maintains a compressed memory of entity mentions while discarding irrelevant "filler" text. Our approach achieves a 1.8x compression ratio and a 1.9x reduction in peak GPU memory usage, while maintaining performance within 0.6–0.8 F1 points of full-prefix baselines on standard benchmarks like OntoNotes 5.0.

Introduction

Coreference resolution—identifying all mentions that refer to the same real-world entity—is a foundational task in natural language processing. Recent state-of-the-art models leverage seq2seq architectures (e.g., T5 or T0) to treat coreference as a text-to-text translation problem. While effective, these models are often computationally heavy and struggle with incremental processing. In real-time applications such as dialogue systems, text arrives sequentially. Standard seq2seq approaches either re-process the entire document prefix for every new sentence or assume the full text is available statically. This paper introduces a memory-efficient alternative that mimics human cognitive processing by rapidly compressing old information while tracking salient entities.

Methodology: Entity-Centric Representation

The proposed method builds on the "Token Action" formulation, where models generate special tokens to mark mention boundaries and cluster IDs. The core innovation is the Entity-Centric Representation, which optimizes the input sequence through several key steps:

  1. Compression: The model discards all tokens except those within predicted mention spans, significantly reducing the input length.
  2. Grouping: Mentions belonging to the same entity are clustered together in the input: <e><m> mention_1 </m> ... <m> mention_k </m> | ID </e>.
  3. Salience Re-ordering: Entities are re-ordered by recency, placing the most recently mentioned entities at the end of the input sequence to provide a stronger signal to the transformer.
  4. Context Window: A small, fixed-length window of the most recent raw text (e.g., 100 tokens) is maintained to provide immediate syntactic and local context.

Experimental Results

The models were evaluated on OntoNotes 5.0 and LitBank. A key finding is the impact of context window size on the trade-off between compression and accuracy.

CoNLL F1 Score vs. Compression Ratio (CR) for the Entity-Centric model compared to the Full-Prefix baseline. The labels (0, 50, 100, 200) indicate the context window size.

As shown in Figure 1, a context window of 100 tokens provides an optimal balance, achieving a 1.8x compression ratio while staying competitive with the full-prefix baseline. On OntoNotes, the Entity-Centric model scored 78.9 CoNLL F1, only 0.7 points behind the much heavier full-prefix incremental baseline (79.6).

Hardware Efficiency

Beyond performance, the entity-centric approach offers substantial hardware benefits. By reducing the input sequence length, the model significantly lowers peak GPU memory requirements during document processing.

Comparison of peak GPU memory usage across different model configurations. The Entity-Centric approach reduces memory overhead by nearly 2x compared to non-incremental baselines.

As detailed in Figure 6, the peak memory usage (excluding fixed model costs) drops from 7.4GB for a non-incremental model to just 3.8GB for the Entity-Centric version—a 1.9x reduction.

Discussion and Limitations

While efficient, incremental models face an inherent "incremental penalty" (approximately 2.5 F1 points on OntoNotes) because they must make final decisions without the benefit of future context. Furthermore, the lack of "singleton" labels in OntoNotes—entities mentioned only once—introduces noise, as the model may not know to "keep a file open" for a mention until a second occurrence is seen.

Future work includes incorporating speaker tags to improve pronoun resolution in dialogue and exploring mechanisms to selectively "un-discard" tokens when the model encounters high uncertainty.

Summary updated

BibTeX
@misc{grenander2025efficient,
  author = {Matt Grenander and Shay B. Cohen and Mark Steedman},
  title = {{Efficient Seq2seq Coreference Resolution Using Entity Representations}},
  year = {2025},
  eprint = {2510.14504},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.14504},
}
Figure