Cross-document coreference (CDC) extends traditional coreference resolution beyond a single document to an entire corpus. While within-document coreference links pronouns like 'she' to 'Angela Merkel', CDC connects 'Merkel' in a news article, 'Angela Dorothea Merkel' in a Wikipedia entry, and 'the former German Chancellor' in a diplomatic cable, unifying them under a single canonical entity identifier. This process is foundational for knowledge base population and multi-document summarization.
Glossary
Cross-document Coreference

What is Cross-document Coreference?
Cross-document coreference is the computational task of identifying and clustering textual mentions that refer to the same real-world entity across a collection of separate documents, enabling unified knowledge base construction from heterogeneous sources.
The primary challenge is scaling pairwise comparison across millions of mentions while maintaining precision. Systems employ a two-stage pipeline: a candidate generation phase using entity embeddings or inverted indices for efficient recall, followed by a collective entity linking phase that clusters mentions using agglomerative clustering or graph partitioning algorithms. Modern neural approaches leverage pre-trained transformer models to encode mention context and entity descriptions into a shared dense vector space, enabling high-fidelity identity resolution across document boundaries.
Key Characteristics of Cross-document Coreference
Cross-document coreference (CDC) extends standard within-document coreference to a corpus scale, clustering millions of entity mentions into a single, unified identity. The following characteristics define its architectural complexity.
Global Entity Clustering
Unlike within-document resolution, CDC operates on a corpus-wide scale to merge mentions across thousands of documents. The core mechanism is a clustering algorithm (e.g., hierarchical agglomerative clustering or Chinese Whispers) that groups mentions based on pairwise similarity scores.
- Input: All extracted mentions from a document collection.
- Output: A set of clusters, where each cluster represents a unique real-world entity.
- Challenge: Scaling O(n²) pairwise comparisons to millions of mentions requires blocking and approximate nearest neighbor techniques.
Cross-context Disambiguation
CDC must resolve the same surface form to different entities based on document context. The word 'Jordan' might refer to the country in a geopolitics article, the basketball player in a sports report, and a river in a geography paper.
- Uses document-level topic vectors to weight entity candidates.
- Leverages temporal signals (publication dates) to constrain entity lifespan.
- Applies entity linking as a prerequisite step to normalize mentions to a knowledge base ID before cross-document clustering.
Multi-source Information Fusion
CDC systems aggregate evidence from heterogeneous sources to build a unified entity profile. A person entity might be referenced by name in one document, by pronoun in another, and by a Twitter handle in a third.
- Name variants: 'Barack Obama', 'President Obama', 'Obama'.
- Attributes: Aggregated properties like birth dates, job titles, and affiliations.
- Relations: Connections to other entities that provide structural constraints for disambiguation.
- This fusion process is the foundation of Knowledge Base Population (KBP).
Singulation and Nil Handling
A critical CDC function is singulation—ensuring that two distinct entities with the same name are not incorrectly merged. The system must also handle nil entities that have no corresponding entry in the target knowledge base.
- Singulation: Uses biographical attributes (e.g., different birth dates for 'John Smith') to split clusters.
- Nil prediction: Identifies mentions that refer to entities absent from the KB, preventing false linkage.
- Confidence scoring: Each cluster assignment carries a probability, allowing downstream systems to threshold based on precision/recall requirements.
Streaming and Incremental Resolution
Production CDC systems often operate on real-time document streams rather than static corpora. New documents require incremental cluster updates without full re-computation.
- Online clustering: Algorithms like threshold-based nearest-neighbor that assign incoming mentions to existing clusters or create new ones.
- Cluster splitting: A previously merged cluster may need to be divided as new, disambiguating evidence arrives.
- Temporal decay: Older, less-confident clusters may be pruned to manage storage and computational complexity.
Evaluation Metrics
CDC is evaluated using standard coreference metrics adapted for the cross-document scale, primarily B³ F1, CEAF, and MUC. The key metric is Cluster F1, which measures the harmonic mean of precision and recall over entity clusters.
- B³ (Bagga & Baldwin): Computes precision and recall for each mention, then averages.
- CEAF (Constrained Entity-Alignment F-Measure): Aligns predicted clusters to gold clusters using a similarity metric.
- LEA (Link-based Entity-Aware): Designed to resolve the metric bias against large entities present in MUC and B³.
Frequently Asked Questions
Clear, technical answers to the most common questions about identifying and clustering entities across disparate documents.
Cross-document coreference (CDC) is the natural language processing task of identifying and clustering all textual mentions that refer to the same real-world entity across a collection of separate documents. Unlike within-document coreference, which links 'she' to 'Alice' in a single article, CDC operates at corpus scale. The process typically involves three stages: mention detection to extract all entity references, candidate generation using surface form dictionaries or dense retrieval to propose possible matches, and pairwise or global clustering using entity embeddings and graph-based algorithms to group mentions into coherent clusters. Modern systems leverage pre-trained transformer models to encode mention contexts into dense vectors, then apply agglomerative clustering or spectral clustering to partition the mention space. A critical challenge is the singleton problem—correctly identifying entities that appear only once in the corpus and should not be linked to any other mention.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Cross-document coreference relies on a stack of complementary NLP and data management techniques. These related terms form the end-to-end pipeline for resolving identity across heterogeneous text corpora.
Coreference Resolution
The foundational within-document task that cross-document coreference extends. It identifies all expressions—pronouns, definite noun phrases, and named mentions—that refer to the same entity in a single text. For example, linking 'she', 'the CEO', and 'Jane Smith' to the same individual. Modern systems use span-based neural architectures that score antecedent-mention pairs. Without robust within-document resolution, cross-document clustering lacks coherent mention chains to connect.
Record Linkage
The statistical discipline of identifying records across structured databases that refer to the same real-world entity when no shared unique key exists. Unlike coreference, which operates on unstructured text, record linkage works on tabular data with defined attributes. The Fellegi-Sunter model provides the probabilistic framework, calculating match weights based on attribute agreement patterns. Key techniques include:
- Blocking to reduce quadratic comparison complexity
- Fuzzy string matching for typo-tolerant field comparison
- Expectation-Maximization for unsupervised parameter estimation
Knowledge Base Population (KBP)
The automated pipeline that ingests unstructured text, extracts entities and relations, and inserts them into a structured knowledge base. Cross-document coreference is the clustering backbone of KBP—it ensures that facts extracted from different articles about the same person are merged under a single entity node. The TAC KBP benchmark evaluates systems on:
- Entity discovery and linking
- Slot filling for attributes like birth dates
- Event and sentiment tracking across documents
Identity Resolution
The enterprise discipline of creating a 360-degree customer view by merging identity fragments from CRM, transactional, and web interaction systems. It applies cross-document coreference principles to structured and semi-structured data. Modern implementations use graph-based entity resolution where nodes represent records and edges represent match probabilities. This enables:
- Fraud detection by linking synthetic identities
- Personalization by unifying browsing and purchase history
- Compliance with GDPR right-to-access requests
Event Coreference
A specialized variant that clusters mentions of the same real-world occurrence across documents, distinguishing between event instances and generic classes. For example, determining that 'the explosion at the Beirut port' in one article and 'Tuesday's devastating blast in Lebanon' in another refer to the same event. This requires modeling:
- Spatiotemporal arguments (where and when)
- Participant overlap (who was involved)
- Event subtyping hierarchies for granular classification

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us