Imagine reading a single, isolated sentence: "The bank was flooded with calls." Without context, the word "bank" is highly ambiguous—it could refer to a financial institution or a river side. Traditional natural language processing models often operate under this exact constraint, processing text sentence-by-sentence. However, human readers rarely struggle with such ambiguities because we naturally leverage the broader document context. If the surrounding article discusses a financial crisis, the meaning of "bank" is instantly clear.
This insight drives a powerful paradigm in NLP: document-level consistency. By expanding the context window from a single sentence to an entire document or corpus, models can resolve local ambiguities using global evidence.
The Core Principle: One Sense Per Discourse
Why does document-level context work so reliably? It relies on a fundamental property of human communication: authors tend to maintain a consistent meaning or reference for a specific term within a single piece of writing.
As Davaajav Jargalsaikhan demonstrates in Building a Corpus for Japanese Wikification with Fine-Grained Entity Classes, a specific mention string almost always points to the exact same entity throughout an entire news article. This is often referred to as the "one-sense-per-discourse" rule.
Furthermore, human authors follow predictable stylistic patterns. Xin Li et al. observe in Robust Reading: Identification and Tracing of Ambiguous Names that authors typically introduce a highly specific, complete name string (an "anchor mention" like "President John F. Kennedy") early in a text before transitioning to ambiguous shorthand ("Kennedy" or "JFK"). By exploiting this stylistic consistency, systems can resolve highly ambiguous local mentions by linking them back to clear global anchors.
Mechanism 1: Feature and Label Propagation
The most direct way to operationalize this intuition is to propagate information from high-confidence, unambiguous mentions to low-confidence, ambiguous ones.
In early foundational work, Hai Leong Chieu et al. in Named Entity Recognition: A Maximum Entropy Approach Using Global Information and Named Entity Recognition with a Maximum Entropy Approach introduced global feature propagation. If a token appears unambiguously elsewhere in a document (e.g., preceded by a title or within a clear corporate suffix), those features are harvested and injected into the local classification of more ambiguous instances of that same token. Similarly, Guodong Zhou et al. in Named Entity Recognition using an HMM-based Chunk Tagger utilized alias resolution to dynamically map shortened or partial mentions back to their full-name counterparts.
This propagation strategy is especially powerful in specialized domains like biology, where nomenclature is highly irregular. Xinglong Wang et al. show in Classifying Relations for Biomedical Named Entity Disambiguation that disambiguation decisions can be safely propagated to all abbreviations of an entity throughout a document.
To make this propagation robust against noise, Geraint Duck et al. in bioNerDS: exploring bioinformatics' database and software use through literature mining proposed intra-document confidence propagation: leveraging high-certainty mentions—such as those accompanied by URLs or located in prominent sections like titles—to validate and correct ambiguous mentions buried deep within the body text. Even simple majority voting, as explored by Chikashi Nobata et al. in Extracting the Names of Genes and Gene Products with a Hidden Markov Model, can rectify local classification errors by re-tagging statistical outliers to match the most frequent label assigned to that term across the document.
Mechanism 2: Context Pooling and Neighborhood Knowledge
Instead of a sequential pipeline where one mention fixes another, a more holistic approach pools all occurrences of a term together to create a unified representation.
The authors of Bootstrapped Text-level Named Entity Recognition for Literature (Julian Brooke et al.) demonstrated that aggregating all contextual windows for a specific entity across a long narrative dramatically improves classification accuracy. By treating the entity's role globally, local sentence-level anomalies are smoothed out. For Word Sense Disambiguation (WSD), Heyan Huang et al. in Unsupervised Word Sense Disambiguation Using Neighborhood Knowledge proposed using "neighborhood knowledge"—retrieving topically related sentences from the same document to build a broader, collaborative context graph that clarifies ambiguous terms.
In modern entity linking, the authors of Clustering-based Inference for Biomedical Entity Linking (Rico Angell et al.) implement this via a constrained clustering approach. Instead of linking mentions independently, they model affinities between all mentions across a document, allowing them to form a "buddy system" that collectively resolves to the correct knowledge-base entity.
Integrating Global Context into Local Representations
To bridge the gap between local sentence parsing and global document structure, researchers have designed explicit architectural mechanisms to inject global context directly into local representations.
Jenny Rose Finkel et al. in Exploring the boundaries: gene and protein identification in biomedical text explicitly retrieved the full document or abstract associated with an isolated target sentence to observe entity behavior across multiple mentions. In textual entailment, Eyal Shnarch et al. in Addressing Discourse and Document Structure in the RTE Search Task treated high-frequency document terms as known global information to resolve implicit references and bridge gaps in isolated sentence parses.
To build better word embeddings, DongLai ZHONG et al. in 基于非线性全局上下文的词嵌入 utilized coreference resolution to explicitly bridge sentence boundaries, weaving global document information directly into local representations. Similarly, Jianfeng Gao et al. in A Class-based Language Model Approach to Chinese Named Entity Identification integrated global tracking into Chinese named entity identification to maintain cross-sentence consistency. Dan Roth 0001 et al. highlight in Wikification and Beyond: The Challenges of Entity and Concept Grounding that evaluating a candidate entity against the overarching theme of a document allows systems to prune irrelevant matches during Wikification.
When local text is deeply corrupted or ambiguous, the authors of Analysis and Repair of Name Tagger Errors (Heng Ji et al.) showed that cross-document corpus consistency can reach back and repair errors made by isolated local taggers. Moving beyond a single document, Muhammad Ali et al. demonstrated in Fine-Grained Named Entity Typing over Distantly Supervised Data Based on Refined Representations that aggregating contextual information across an entire corpus provides an even more robust signal for fine-grained entity typing.
Application to Retrieval and Deep Learning
The value of document-level context extends beyond sequence tagging into search and modern deep learning architectures.
In Information Retrieval (IR), Eneko Agirre et al. in Using Semantic Relatedness and Word Sense Disambiguation for (CL)IR and Elhuyar-IXA: Semantic Relatedness and Cross-lingual Passage Retrieval demonstrated that performing semantic expansion on the document side is vastly superior to expanding the query side. Because documents provide a rich, coherent context, WSD can be executed with high precision before indexing, allowing short, context-poor user queries to match accurately.
Even with the advent of deep learning, the need for explicit document-level modeling remains. While transformer models like BERT capture powerful local semantics, Christian Hadiwinoto et al. emphasize in Improved Word Sense Disambiguation Using Pre-Trained Contextualized Word Representations that incorporating long-range, document-level cues is still vital for resolving deep lexical ambiguities. Jinlan Fu et al. confirm in Interpretable Multi-dataset Evaluation for Named Entity Recognition that expanding context from single sentences to document-level structures is the key to conquering high label ambiguity in NER, provided the underlying text maintains a meaningful semantic flow.
Finally, Martin Gerner et al. noted in LINNAEUS: A species name identification system for biomedical literature that full-text articles are significantly more effective for disambiguation than abstracts alone, because full texts are guaranteed to contain at least one explicit, un-abbreviated mention that acts as a decoding key for the rest of the text. This aligns with the findings of Timothy Baldwin et al. in The Japanese Translation Task: Lexical and Structural Perspectives, who leveraged discourse-level similarity consolidation, using the broad context of a surrounding paragraph to determine the correct translation or sense of an ambiguous target word.
Key Foundational Work
A Knowledge-free Method for Capitalized Word Disambiguation (1999) — contributed 1 concept elements to this direction.
Extracting the Names of Genes and Gene Products with a Hidden Markov Model (2000) — contributed 1 concept elements to this direction.