This paper introduces MEIC-DT, a memory-efficient approach to Coreference Resolution (CR) designed specifically for long-form text. By implementing a dual-threshold constraint mechanism, the researchers managed to harness the power of Transformer-based clustering while keeping memory usage strictly bounded, preventing the "out-of-memory" (OOM) errors that plague current state-of-the-art models when processing lengthy documents.
TL;DR
MEIC-DT enables high-performance coreference resolution on long texts by using a dual-threshold mechanism to precisely control the scale of Transformer inputs. It introduces an intelligent cluster eviction strategy and a semantic-aware mention condensation policy, achieving competitive results while operating within a fraction of the memory required by previous methods.
What Problem Does This Paper Address?
Coreference Resolution—the task of determining which "mentions" (like "Alice," "she," and "the engineer") refer to the same "entity"—is a cornerstone of natural language understanding. While supervised neural methods are currently the state-of-the-art, they struggle with long documents.
The core challenge is a "memory explosion." Recent high-performing models use Transformers to compare a new mention against all previous mentions in a cluster to capture complex dependencies. However, as a document grows, the number of clusters and the number of mentions within those clusters increase. This causes the Transformer's input size to grow polynomially, quickly exceeding the memory limits of standard hardware (like a 24GB GPU). Existing solutions often use simple "Least Recently Used" (LRU) caches to discard old entities, but these heuristics often throw away essential information, leading to poor performance on long-range dependencies.
Methods
The authors propose a dual-threshold constraint mechanism that regulates the Transformer’s input scale along two dimensions: the number of clusters ($\tau_1$) and the number of mentions per cluster ($\tau_2$).
- Statistics-Aware Eviction Strategy (SAES): Instead of a simple LRU cache, SAES uses different logic for training and inference.
- During Training: It uses "ground truth" information to prioritize clusters that have many mentions remaining in the text, ensuring the model learns from long-distance links.
- During Inference: It uses a "mention activity rate" (mentions divided by the entity's "age") to identify which clusters are most likely to be referenced again soon.
- Internal Regularization Policy (IRP): When a cluster exceeds the mention threshold ($\tau_2$), IRP condenses it. Rather than just keeping the most recent mentions, it uses a two-stage algorithm:
- Grouping: It uses a Union-Find algorithm to group mentions based on textual similarity or inclusion (e.g., grouping "Jesus" with "He").
- Sampling: it selects representative mentions from these groups while always preserving the first and last mentions to maintain contextual boundaries.
This ensures that the input representation is always bounded by a fixed size: $\mathbb{R}^{\tau_1 \times (\tau_2 + 1) \times d_h}$.
Datasets
The model was evaluated on three major benchmarks:
- OntoNotes 5.0: The standard large-scale benchmark for CR.
- LitBank: A collection of 100 literary works, characterized by much longer documents and higher mention density than news text.
- WikiCoref: Used as an out-of-domain test set to evaluate how well the model generalizes to unseen data types.
Key Insights and Ideas
- Phase-Adaptive Logic: The "Aha!" moment here is recognizing that the information available during training (where we know the future) should be used differently than during inference (where we only know the past). SAES exploits this to keep the "right" clusters in memory.
- Semantic Integrity over Recency: Most caching systems assume the most recent information is the most important. IRP proves that for coreference, diversity of mentions is better. By grouping similar mentions and sampling from those groups, the model retains a "semantic summary" of an entity rather than just its most recent appearances.
- Efficiency as a Regularizer: Interestingly, the authors found that imposing these constraints didn't just save memory—it often improved performance and convergence speed. By forcing the model to focus on the most representative data, it avoids the noise associated with excessively large, redundant inputs.
Key Results
- Performance: On the challenging LitBank dataset, MEIC-DT achieved an Avg. F1 of 81.27%, significantly outperforming linear classifier baselines (77.04%) and traditional LRU-based Transformer models.
- Memory Stability: While "unbound" models crashed due to OOM errors on long documents, MEIC-DT maintained a stable memory footprint.
- Training Speed: On OntoNotes, MEIC-DT required only 13.34 hours to train on a single RTX 4090, compared to over 17 hours for the best baseline, while also requiring fewer epochs to converge.
- Generalization: It showed superior zero-shot performance on WikiCoref, suggesting that the dual-threshold constraints help the model learn more robust, generalizable features.
Limitations and Future Work
The authors acknowledge a few areas for improvement:
- Supervised vs. Generative: In the age of LLMs, supervised methods are sometimes seen as "niche," though the authors argue they remain essential for efficiency and as enhancers for LLM-based pipelines.
- Static Thresholds: Currently, $\tau_1$ and $\tau_2$ are fixed integers. Future work could explore adaptive thresholding, where the model dynamically allocates memory based on the complexity of the specific document being processed.
- Hardware Constraints: The experiments were tuned for academic-grade hardware (24GB VRAM). Performance might scale even further with higher-end enterprise resources.
Summary updated