Abstract
We present an LDA approach to entity disambiguation. Each topic is associated with a Wikipedia article and topics generate either content words or entity mentions. Training such models is challenging because of the topic and vocabulary size, both in the millions. We tackle these problems using a novel distributed inference and representation framework based on a parallel Gibbs sampler guided by the Wikipedia link graph, and pipelines of MapReduce allowing fast and memory-frugal processing of large datasets. We report state-of-the-art performance on a public dataset.
Introduction
Entity disambiguation (or "linking") is the task of determining which specific real-world entity a mention in text refers to—for example, deciding if "Michael Jordan" refers to the basketball legend or the Berkeley professor. While topic models like Latent Dirichlet Allocation (LDA) are effective at finding latent structures in text, they typically produce "topics" that are clusters of words without explicit semantic grounding. Furthermore, standard LDA implementations struggle to scale when the number of topics reaches the millions.
The authors address two primary challenges:
- Semantic Grounding: Making topics interpretable by explicitly linking them to Wikipedia articles.
- Massive Scale: Handling a model with approximately 4 million topics and a vocabulary of 12 million words/mentions, creating a parameter space far too large for traditional centralized training.
The Wiki-LDA Model
The proposed Wiki-LDA model extends the standard LDA generative process. In this framework, each Wikipedia article represents a distinct topic. These topics generate two types of outputs: "content words" (standard vocabulary) and "entity mentions" (the specific phrases used to link to an entity).
Key technical innovations include:
- Hybrid Inference: A combination of Stochastic Variational Inference (SVI) for global model updates and Gibbs sampling for local document-level assignments. This allows for online learning while maintaining the sparsity benefits of sampling.
- Sparse Sampler: To avoid the $O(K)$ bottleneck where $K$ is millions of topics, the sampling distribution is decomposed into four components, allowing the system to skip improbable topics and focus on relevant candidates.
- Graph-Guided Coherence: The Wikipedia link graph is incorporated directly into the sampler. A "coherence score" biases the model toward entities that are frequently linked to one another in Wikipedia, improving disambiguation accuracy.
- MapReduce Pipeline: Instead of a centralized parameter server, a "join-based" architecture is used. Documents and their relevant model parameters are joined into self-contained packets, allowing workers to operate independently and in parallel.
Experimental Setup
The model was trained on the English Gigaword Corpus, consisting of 4.8 million news documents and approximately 2 billion tokens. English Wikipedia served as the knowledge base to initialize the 3.8 million topics, the vocabulary (2M words, 10M mentions), and the link graph. Evaluation was performed on the CoNLL-Aida dataset, a gold standard for entity linking based on Reuters news.
Key Insights
- Interpretability via Grounding: By forcing topics to correspond to Wikipedia pages, the LDA model becomes transparent. Topics are no longer abstract clusters but specific entities like "The 2008 Financial Crisis."
- Contextual Disambiguation: Unlike many entity linkers that only analyze mentions, Wiki-LDA uses surrounding "content words" as context, which is crucial for disambiguating highly polysemous names.
- Sparsity and Initialization: At this scale, storing a dense topic-word matrix is impossible. The authors use "centered" variational parameters to fit the model into memory. Furthermore, seeding the sampler with a heuristic (based on the TagMe algorithm) was found to be vital for avoiding poor local optima in the massive parameter space.
Results and Scalability
Wiki-LDA achieved 80.97% micro-accuracy on the CoNLL-Aida test-a set, outperforming previous state-of-the-art systems like Aida and TagMe. In terms of scalability, the system trained on 5 million documents with 50 Gibbs sweeps per document in approximately one hour using 1,000 machines. The memory footprint per machine remained low (a few hundred MBs) due to the distributed join-based pipeline.
Limitations and Future Work
As a bag-of-words model, Wiki-LDA struggles when the same string refers to different entities within the same document (e.g., "Washington" as a city vs. state). Future work may involve distance-based weighting functions. Additionally, the model currently assumes entity mentions are pre-identified; an end-to-end model performing both segmentation and disambiguation is a logical next step.
Summary updated