Neural Coreference Resolution based on Reinforcement Learning

Yu Wang, Hongxia JinarXiv 2022

Abstract

The target of a coreference resolution system is to cluster all mentions that refer to the same entity in a given context. All coreference resolution systems need to solve two subtasks; one task is to detect all of the potential mentions, and the other is to learn the linking of an antecedent for each possible mention. In this paper, we propose a reinforcement learning actor-critic-based neural coreference resolution system, which can achieve both mention detection and mention clustering by leveraging an actor-critic deep reinforcement learning technique and a joint training algorithm. We experiment on the BERT model to generate different input span representations. Our model with the BERT span representation achieves the state-of-the-art performance among the models on the CoNLL-2012 Shared Task English Test Set.

Introduction

Coreference resolution—the task of determining when different words in a text refer to the same entity (e.g., realizing that "Lisa Su," "the CEO," and "she" all point to the same person)—is a cornerstone of natural language understanding. While neural models have made significant strides, they often struggle when the same entity appears in unfamiliar contexts or when mentions are separated by long distances.

Traditional approaches often treat mention detection and antecedent linking as decoupled tasks, which can lead to error propagation. To address these challenges, we present AC-NCR (Actor-Critic Neural Coreference Resolver), a system that treats coreference as a sequential decision-making problem using deep reinforcement learning (DRL).

The AC-NCR Framework

The core of our approach is an end-to-end actor-critic reinforcement learning framework that jointly handles mention detection and clustering. By training on mention-level samples rather than fixed document segments, the model learns to navigate documents and link mentions more robustly than traditional supervised methods.

Span Representation

The model utilizes BERT to create embeddings for text spans. It employs a "head-finding" attention mechanism to identify the most important word in a span (e.g., identifying "CEO" as the head of "the tech company CEO") to create a robust vector representation for each candidate mention.

System architecture of the AC-NCR model, illustrating the integration of BERT embeddings, mention detection, and the Actor-Critic reinforcement learning loop.

Reinforcement Learning Loop

The system treats the document as a sequence of states ($s_t$), where each state is a combination of the current mention and a candidate previous mention. The "Actor" network decides which action ($a_t$) to take—linking the mentions, moving to the next candidate, or deciding the current mention has no antecedent—while the "Critic" network evaluates the quality of those actions.

The reward function ($r_t$) is calculated using a biaffine attention technique that measures the compatibility of two mentions. Crucially, we incorporate an exponential decay factor based on the distance between mentions, recognizing that the likelihood of coreference typically decreases as the distance between words increases.

Experimental Evaluation

We evaluated AC-NCR on the CoNLL-2012 Shared Task (OntoNotes corpus), which contains 2,802 training documents. Performance was measured using standard metrics: MUC, $B^3$, and $CEAF_{\phi4}$.

Key Results

Our model achieved a new state-of-the-art average F1 score of 87.5%, significantly outperforming previous top models. The reinforcement learning approach proved particularly effective at generating higher recall, successfully identifying difficult or unusual mention patterns that supervised models often miss.

Comparison of AC-NCR with BERT against previous state-of-the-art models on the CoNLL-2012 Shared Task English Test Set.

Discussion and Ablation Studies

Ablation experiments highlighted the importance of our joint training strategy. When the mention detection loss was removed, the F1 score dropped by 2.4 points (from 87.5% to 85.1%), proving that detection and clustering are better solved simultaneously. Furthermore, a version of the model trained with standard supervised learning (using an LSTM) only reached 78.6% F1, demonstrating the substantial advantage of the reinforcement learning framework for this task.

Limitations

We observed that a BERT segment length of 128 tokens performed better than longer segments (256 or 512), suggesting that excessive context may introduce noise. Additionally, the current study limited spans to 10 words and 250 antecedents, which may require adjustment for extremely long or complex technical documents.

Conclusion

By leveraging an actor-critic architecture and joint training, AC-NCR effectively addresses the stochasticity of language in coreference resolution. Future work may involve treating mention detection as a more integrated semantic parsing task, potentially linking it with entity linking or relationship extraction.

Summary updated

BibTeX
@misc{wang2022neural,
  author = {Yu Wang and Hongxia Jin},
  title = {{Neural Coreference Resolution based on Reinforcement Learning}},
  year = {2022},
  eprint = {2212.09028},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2212.09028},
}
Figure