Large-Scale Cross-Document Coreference Using Distributed Inference and Hierarchical Models

Sameer Singh, Amarnag Subramanya, Fernando C. N. Pereira, Andrew McCallum

Abstract

Cross-document coreference resolution (CDC) involves grouping millions of mentions of people or things into correct entity clusters across extensive text libraries. As datasets scale, the search space for these groupings grows super-exponentially, presenting a massive computational challenge. This paper introduces a distributed inference system paired with a hierarchical model utilizing "sub-entities" and "super-entities." By evaluating this approach on a novel dataset of 1.5 million mentions, the authors demonstrate a 38% error reduction over standard methods and a tenfold increase in convergence speed.

The Challenge of Scale in Coreference

Coreference resolution is the task of determining when different mentions in text—such as "the President," "Barack Obama," and "he"—refer to the same real-world entity. While intra-document coreference is well-studied, performing this task across documents (CDC) introduces a nightmare of scale. For a system indexing decades of news or web data, the number of possible groupings explodes as more mentions are added. Most prior research has been limited to datasets of a few thousand mentions, whereas real-world applications require handling billions. The primary hurdles are the sheer computational cost of running inference across hundreds of machines and the search inefficiency of exploring a vast hypothesis space.

Methodology: Hierarchical Distributed Inference

To address these hurdles, the authors employ Markov Chain Monte Carlo (MCMC) inference. This method explores possible entity groupings by making "jumps" (e.g., moving a mention from one cluster to another) to find the most likely configuration. To scale this, two major innovations were introduced:

  1. Distributed Inference: Entities are partitioned across multiple machines, each performing local MCMC moves. A periodic "redistribution" stage, implemented via MapReduce, shuffles entities between machines to facilitate global matches.
  2. Hierarchical Modeling: The authors move beyond a flat "mention-to-entity" structure by adding two intermediate layers:
  3. Sub-entities: These are small clusters of highly similar mentions. By moving an entire sub-entity block rather than a single mention, the system performs "block moves" that are more likely to improve the model's state.
  4. Super-entities: These clusters of similar entities ensure that related data is assigned to the same machine during the distributed phase, minimizing wasted computation on unrelated data.
The hierarchical model architecture, showing the relationships between mentions, sub-entities, entities, and super-entities.

Experimental Setup and Datasets

The approach was evaluated on three distinct benchmarks:

  • John Smith Corpus: A standard benchmark with 197 mentions.
  • Person-X Evaluation: A synthetic dataset of 25,000 mentions designed to test context-based disambiguation.
  • Wikipedia Link Corpus: A new, large-scale dataset created for this study. It consists of 1.5 million web links pointing to Wikipedia, where anchor text serves as the mention and the target Wikipedia page provides the ground truth label. This represents a significant increase in scale over previous benchmarks.

Key Results and Insights

The hierarchical model demonstrated clear superiority in both accuracy and efficiency. On the 1.5-million-mention Wikipedia dataset, the combined model achieved a 73.7 F1 score, significantly outperforming baseline clustering (64.8) and simple string matching (57.3). This represents a 38% reduction in error compared to non-hierarchical baselines.

Performance comparison showing that the combined hierarchical approach achieves higher F1 accuracy significantly faster than the pairwise baseline.

Efficiency gains were equally notable; the hierarchical model converged to high accuracy approximately 10 times faster than standard pairwise models. Furthermore, the system exhibited strong scaling properties. Increasing the number of machines (up to 500) did not just reduce wall-clock time; it improved final accuracy by allowing the system to explore the hypothesis space more thoroughly within the same timeframe.

Conclusion and Future Work

By combining distributed processing with a hierarchical data model, the authors have provided a roadmap for scaling coreference resolution to the level required by modern web-scale archives. While the current system uses relatively simple features to maintain speed, future work will explore more sophisticated linguistic features and automated parameter learning to reach the ultimate goal of processing billions of mentions.

Summary updated

BibTeX
@inproceedings{singh2011large,
  author = {Sameer Singh and Amarnag Subramanya and Fernando C. N. Pereira and Andrew McCallum},
  title = {{Large-Scale Cross-Document Coreference Using Distributed Inference and Hierarchical Models}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2011},
}
Figure