On Generalization in Coreference Resolution

Shubham Toshniwal, Patrick Xia, Sam Wiseman, Karen Livescu, Kevin GimpelarXiv 2021

Abstract

While coreference resolution is defined independently of dataset domain, most models for performing coreference resolution do not transfer well to unseen domains. We consolidate a set of 8 coreference resolution datasets targeting different domains to evaluate the off-the-shelf performance of models. We then mix three datasets for training; even though their domain, annotation guidelines, and metadata differ, we propose a method for jointly training a single model on this heterogeneous data mixture by using data augmentation to account for annotation differences and sampling to balance the data quantities. We find that in a zero-shot setting, models trained on a single dataset transfer poorly while joint training yields improved overall performance, leading to better generalization in coreference resolution models. This work contributes a new benchmark for robust coreference resolution and multiple new state-of-the-art results.

Introduction

Coreference resolution—the task of identifying all mentions in a text that refer to the same entity—is a fundamental component of natural language understanding. Despite its domain-agnostic definition, existing models often fail to generalize when moved from their training domain (typically news or web text) to diverse areas such as literature, trivia, or transcripts. This "domain shift" is exacerbated by an "annotation gap": different datasets follow conflicting guidelines, particularly regarding the inclusion of singletons (entities mentioned only once). For instance, the widely-used OntoNotes dataset excludes singletons, while others like PreCo and LitBank include them. A model trained on OntoNotes lacks the mechanism to identify "clusters of one," leading to significant performance drops in domains where singletons are prevalent.

Methodology

To address these challenges, we propose a robust training framework centered on two key innovations:

  1. The "longdoc" Architecture: We utilize an entity-ranking model built upon the Longformer-large encoder. This architecture supports a context window of up to 4,096 tokens, which is critical for long-form documents where coreferent mentions may be separated by thousands of words.
  2. Joint Training with Pseudo-Singletons: To bridge the annotation gap, we introduce "pseudo-singletons" into datasets that lack them. Using a mention detector, we identify likely singletons in OntoNotes and treat them as "silver" training data. This augmentation teaches the model to recognize singletons, improving its versatility across datasets with varying guidelines.
  3. Data Balancing: To prevent the model from overfitting to large datasets (e.g., PreCo's 36,000 documents) at the expense of smaller ones (e.g., LitBank's 80 documents), we employ downsampling to maintain a balanced representation of domains during joint training.

Datasets and Heterogeneity

We consolidated eight distinct datasets into a comprehensive benchmark to evaluate generalization. These datasets vary significantly in document length, mention density, and singleton frequency, as shown in the table below.

Table 1: Statistics of the eight datasets used in our benchmark, highlighting the diversity in document length and singleton frequency.

The training mixture includes OntoNotes 5.0, LitBank, and PreCo. Evaluation is conducted on these plus Character Identification (transcripts), WikiCoref (Wikipedia), and Quiz Bowl Coreference (trivia), with GAP and Winograd Schema Challenge serving as diagnostic probes.

Main Results

Our experiments demonstrate that joint training significantly outperforms single-domain training. The "Joint + PS 30K" model, which combines three training sets with 30,000 pseudo-singletons, achieved the most balanced performance across the board.

Table 2: Performance (F1 score) of various models across eight evaluation datasets. Bold values indicate the best performance in each column.

Key findings include:

  • Generalization Gains: Joint training improved the macro average F1 score by 9.5 points over a baseline model trained solely on OntoNotes.
  • State-of-the-Art Results: We established new SOTA benchmarks for LitBank (79.3 F1) and WikiCoref.
  • The Singleton Effect: Adding pseudo-singletons did more than just help with singletons; it improved the overall robustness of mention detection, benefiting the identification of larger clusters as well.

Conclusion and Future Work

While joint training and data augmentation provide a path toward universal coreference resolution, several hurdles remain. Models still struggle with rare entities and instances requiring deep world knowledge—such as recognizing that a specific poetic description refers to a "tiger." Furthermore, fundamentally incompatible annotation guidelines remain a challenge. We hope this 8-dataset benchmark encourages the development of models that truly understand coreference as a linguistic phenomenon rather than a dataset-specific pattern.

Summary updated

BibTeX
@misc{toshniwal2021generalization,
  author = {Shubham Toshniwal and Patrick Xia and Sam Wiseman and Karen Livescu and Kevin Gimpel},
  title = {{On Generalization in Coreference Resolution}},
  year = {2021},
  eprint = {2109.09667},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2109.09667},
}
Figure