Abstract
Coreference resolution—the task of identifying all expressions that refer to the same entity in a text—is a fundamental challenge in natural language processing. Traditional deep learning models for this task are often trained using local heuristic loss functions, leading to a discrepancy between training objectives and global evaluation metrics such as MUC, B3, and CEAF. This paper introduces a novel end-to-end reinforcement learning (RL) framework that bridges this gap by directly optimizing global coreference metrics. By reframing the task as a sequence of linking actions and utilizing a policy gradient approach with maximum entropy regularization, the proposed model achieves a new state-of-the-art F1 score of 73.8% on the English OntoNotes benchmark.
Introduction
Coreference resolution is essential for high-level language understanding tasks like document summarization and question answering. Despite significant progress driven by deep neural networks, most existing systems suffer from a "training-evaluation mismatch." These models are typically trained to make independent, local decisions (e.g., "does mention A refer to mention B?"). However, the performance of these systems is ultimately judged by global metrics that consider the entire cluster structure of a document.
To address this, we propose an RL-based approach where the model acts as an agent that learns to optimize the final evaluation score directly. This allows the model to consider the global consequences of its local linking decisions.
Methodology
Our framework builds upon the architecture of Lee et al. (2018), transforming it into a goal-directed policy gradient model.
The RL Framework
The coreference task is modeled as a Markov Decision Process (MDP). The agent processes a document mention by mention. For each mention, the agent takes an action: either linking it to a previous antecedent or designating it as the start of a new cluster.
The Policy Network generates a probability distribution over all possible links for a given mention. It utilizes BiLSTMs for robust span representations and an iterative attention mechanism to refine these features.
Reward and Optimization
Unlike supervised models that receive feedback on every pair, our agent receives a reward only after processing the entire document. This reward is the average of the standard coreference metrics: MUC, B3, and CEAF$\phi_4$. To ensure stable training, we employ:
- Pretraining: The model is initially trained using standard supervised learning to provide a strong starting policy.
- Maximum Entropy Regularization: An entropy term is added to the objective function to encourage exploration of the complex linking space and prevent premature convergence to sub-optimal strategies.
Experimental Results
We evaluated our model on the English OntoNotes v5.0 benchmark, the standard dataset for coreference resolution.
Main Results
Our reinforced model significantly outperforms previous baselines. As shown in the table below, the full model (including ELMo embeddings) achieves an average F1 score of 73.8%, surpassing the previous state-of-the-art.
Key Insights
- Direct Optimization Works: The transition from proxy losses to direct metric optimization via RL provides a clear performance boost.
- Exploration is Critical: Ablation studies revealed that removing entropy regularization led to a 1% drop in F1, highlighting the importance of exploring diverse cluster configurations.
- Precision and Mention Detection: The global reward signal encourages the model to be more selective, leading to higher precision in both linking and mention detection (89.6% vs 86.2% for the baseline).
Conclusion and Future Work
This work demonstrates the effectiveness of reinforcement learning for coreference resolution. By directly optimizing for global metrics, we achieve state-of-the-art results and improve the model's ability to form coherent entity clusters.
Future research will focus on addressing reward sparsity in long documents by introducing intermediate rewards. Additionally, we aim to integrate mention detection more tightly into the RL loop and explore more computationally intensive sampling methods for training.
Summary updated