- Year
- 1998 (scoring foundations); 2019 (neural joint model)
- Type
- NLP pipeline — cross-document coreference resolution
What does it do?
Cross-document entity tracking, formally known as cross-document coreference resolution, identifies and merges all references to the same real-world entity scattered across a collection of documents.
The B-cubed (B3) scoring algorithm introduced by Bagga and Baldwin (1998) is one of the standard metrics for evaluating the resulting clusters, and Barhom et al. (2019) proposed a neural model that resolves cross-document entity and event coreference jointly. Together these approaches build entity clusters that span document boundaries, supporting multi-document understanding, knowledge-base population, and corpus-wide entity analysis.
The intuition behind the method
Imagine reading ten news articles about a corporate merger. Each article may refer to the same CEO as 'John Smith', 'the company's chief executive', 'Smith', or 'he'. Within a single article a pronoun resolver handles this; but across ten documents each article's resolver works in isolation and never connects 'Smith' in article 1 to 'the CEO' in article 7. Cross-document entity tracking is the step that stitches these isolated mentions together into one unified record for each real-world person, organisation, or place — so that downstream analyses can count, trace, and compare entities reliably across the whole collection rather than one document at a time.
History
Bagga and Baldwin (1998) introduced the B3 scoring algorithm at the LREC Linguistic Coreference Workshop. B3 measures precision and recall at the level of individual mentions rather than whole chains, and it is one of the standard metrics for coreference evaluation; other metrics, such as MUC and CEAFe, are also in use. Barhom et al. (2019) proposed a neural architecture that models cross-document entity and event coreference jointly.
When to use it
Choose cross-document entity tracking when the analysis covers a defined collection of documents and you need to know that different surface forms in different documents refer to the same entity, for example a full name in one article and a title or descriptive reference in another. It suits knowledge-base construction, multi-document summarisation where each entity should be counted once, tracking a person or organisation across news coverage, and consolidating gene or protein mentions in biomedical literature. Do not use it on a single document, where within-document coreference is the relevant task, or before NER has been completed across the collection, since the method cannot start without it. No cited study establishes a minimum collection size. Very small collections yield few cross-document mention pairs, so cluster and B3 scores can be unstable and should be interpreted with caution. If no gold-standard annotations are available, clusters can be produced but not rigorously evaluated.
Limitations and considerations
- Requires NER and within-document coreference resolution as completed upstream steps; errors in those steps propagate into the cross-document clusters.
- The document set must be defined before the analysis begins; the method does not self-select relevant documents.
- Evaluation requires gold-standard coreference annotations, which are expensive to produce for new domains or languages.
- Computational cost scales with the number of mention pairs across the collection; very large corpora need approximate indexing strategies.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Enables entity-level analysis across entire document collections, not just within individual documents.
- Produces structured entity clusters that can serve as input to knowledge graphs, event timelines, and multi-document summaries.
- Joint models such as Barhom et al. (2019) resolve entity and event coreference together rather than in separate passes.
- The B3 metric of Bagga and Baldwin (1998) scores precision and recall for each mention, so cluster quality can be assessed at the level of individual mentions rather than only whole chains.
Applications
- Knowledge-base population: consolidating all document mentions of a person, organisation, or location into a single unified record.
- Multi-document news analysis: tracking how coverage of a specific entity evolves across articles and time periods.
- Biomedical literature mining: linking gene, protein, and disease mentions across PubMed abstracts to build entity-centric views of the literature.
- Legal and investigative document analysis: connecting references to the same actor across case files, reports, and testimony transcripts.
- Multi-document summarisation: ensuring that the same entity is represented as one consistent record across a generated summary.
How it works
How it works
Named entity recognition (NER) is applied to every document to identify candidate entity mentions, meaning spans of text that refer to a named person, organisation, location, or other entity type. Within-document coreference resolution then groups mentions inside each document that clearly refer to the same entity. These two steps are prerequisites: the cross-document stage begins only after each document has its own mention inventory and local coreference chains.
Each entity mention is encoded as a vector built from its lexical span and surrounding context and, in some approaches, from its structural relations to other mentions. Barhom et al. (2019) model cross-document entity and event coreference jointly with a neural architecture. Dense sentence-transformer embeddings are a common choice for the lexical and contextual part of this encoding, mapping heterogeneous signals into a shared numeric space where mentions of the same entity can be compared across documents. The choice of encoder is an implementation decision and is not attributed to a specific cited study here.
The mention vectors are clustered so that mentions describing the same real-world entity are placed in the same cluster regardless of which document they appear in. Agglomerative or approximate nearest-neighbour approaches (e.g., FAISS-based retrieval over sentence-transformer embeddings) are common choices. Mention vectors are typically compared with a similarity measure such as cosine similarity, and a merge or linkage threshold determines how similar mentions must be before they share a cluster. Cluster outcomes are sensitive to both the linkage method and this threshold, so results should be checked against a labelled sample where one is available. The result is a set of entity clusters, each treated as a single unified entity record spanning the document collection.
Cluster quality is measured against gold-standard coreference annotations using metrics derived from Bagga and Baldwin (1998), most notably B3 (B-cubed). For each mention, B3 precision is the share of the predicted cluster containing that mention that belongs to its gold cluster, and B3 recall is the share of its gold cluster that appears in the predicted cluster. Both values are averaged over all mentions, so the score reflects individual mentions rather than whole chains. Other metrics, MUC and CEAFe, are also used for coreference evaluation; they are named here for reference and are not defined on this page. Evaluation requires a labelled reference corpus; without gold annotations, only indirect quality proxies are available.
Common pitfalls
- Skipping within-document coreference before the cross-document step leads to fragmented mention representations and inflated cluster counts.
- Using a single surface-form string match (exact name matching) instead of vector-based clustering misses paraphrased or abbreviated entity references.
- Applying a model or embedding trained on one domain (e.g., newswire) to a different domain (e.g., clinical notes) without fine-tuning causes systematic linking errors.
- Treating B3 precision and recall in isolation rather than reading them together can obscure whether the system over-merges (high recall, low precision) or over-splits (high precision, low recall).
- Running the method on a very small collection gives few cross-document mention pairs, so cluster and evaluation scores can vary strongly from one sample of documents to another.
Frequently asked questions
What is the difference between within-document and cross-document coreference?
Within-document coreference resolution groups mentions that refer to the same entity inside a single document, for example linking 'Barack Obama', 'the President', and 'he' within one article. Cross-document coreference extends this to a collection of documents, linking mentions that appear in different documents but refer to the same real-world entity. The cross-document step depends on within-document resolution being completed first.
Why is B3 the standard metric rather than simple accuracy?
Simple accuracy does not handle the cluster structure of coreference well. B3, introduced by Bagga and Baldwin (1998), computes precision and recall for every individual mention by examining the overlap between the predicted cluster containing that mention and the gold cluster. This mention-level view is more informative than chain-level scoring and penalises both over-merging (putting too many mentions in one cluster) and over-splitting (creating too many small clusters).
Can the method work without gold-standard annotations?
It can produce clusters without annotations, but it cannot be rigorously evaluated. Without a gold standard, you can only inspect clusters manually or use indirect proxies such as internal cluster cohesion. For any research or production use where quality guarantees matter, a labelled reference set is necessary to measure B3, MUC, or CEAFe.
How large does the document collection need to be?
No cited study establishes a minimum collection size. With very small collections the number of cross-document mention pairs is low, so cluster quality metrics can be unstable. There is no strict upper limit, but very large collections usually require approximate nearest-neighbour indexing (such as FAISS) to keep computation tractable.
Related methods
Sources
Bagga, A. & Baldwin, B. (1998). Algorithms for Scoring Coreference Chains. In Proceedings of the LREC 1998 Linguistic Coreference Workshop, pp. 563–566.
Open publication referenceBarhom, S., Shwartz, V., Eirew, A., Bugert, M., Reimers, N. & Dagan, I. (2019). Revisiting Joint Modeling of Cross-document Entity and Event Coreference Resolution. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics (ACL), pp. 4179–4189.
Open publication reference