Introduction
Entity Linking (EL) is a fundamental task in natural language processing that involves mapping ambiguous mentions in text to unique entries in a Knowledge Base (KB), such as Wikipedia. For instance, the mention "Jordan" could refer to the athlete Michael Jordan or the country Jordan depending on the context. While local context provides initial clues, "Collective EL" leverages the principle of document coherence—the idea that entities within the same document should be semantically related.
Existing neural models often attempt to learn these dependencies from scratch, frequently overlooking the rich structural information, such as hyperlinks, already present in external KBs. This paper introduces RRWEL (Recurrent Random Walk based EL), an end-to-end neural framework that integrates local mention-to-entity compatibility with global document-wide coherence through recurrent random walk layers.
Methodology
The RRWEL architecture consists of three primary components designed to bridge the gap between local neural representations and global KB structure.
1. Local Mention-to-Entity Compatibility
The model first computes an initial probability distribution for each mention. It employs Convolutional Neural Networks (CNNs) to encode the mention's surface string, its immediate local context, and the broader document context. Additionally, statistical features such as prior probabilities are incorporated to form a comprehensive local feature vector.
2. Global Interdependence via Recurrent Random Walk
To capture document-wide coherence, RRWEL constructs a transition matrix $T$ based on two similarity metrics:
- Link-based similarity: Derived from the frequency with which two entities are hyperlinked together in Wikipedia.
- Semantic similarity: Calculated as the cosine similarity between the neural representations of the entities.
The model then performs $K$ iterations of a random walk. In each step, the probability of a mention being assigned to a specific entity is refined by the probabilities of other mentions in the document, effectively propagating evidence across the graph of candidate entities.
3. Training with a Semantic Regularizer
A key innovation is the inclusion of a semantic regularizer in the loss function. Rather than optimizing only the final output, this regularizer forces the local CNN-based features to align with the global consistency discovered by the random walk during training. This ensures the model learns local features that are inherently aware of global coherence.
Experimental Setup
The model was evaluated across a diverse set of benchmarks:
- AIDA-CoNLL: The standard benchmark for EL (A for validation, B for testing).
- Out-domain datasets: MSNBC, AQUAINT, and ACE2004.
- Large-scale datasets: WNED-WIKI and WNED-CWEB, which provide significantly larger, automatically extracted corpora.
Results and Discussion
RRWEL demonstrates state-of-the-art performance, particularly on out-domain datasets, achieving Micro F1 scores of 94.43 on MSNBC, 91.94 on AQUAINT, and 90.64 on ACE2004. On the AIDA-B test set, it reached a Micro F1 of 92.36, remaining highly competitive with existing top-tier models while exhibiting superior generalization.
The Impact of Iteration
The "recurrent" nature of the random walk is vital for performance. Empirical results suggest that $K=5$ iterations provide an optimal balance, allowing sufficient evidence propagation without the "dilution" effect common in longer walks.
As shown in the qualitative analysis of a document describing horse colors, the local-only model ($K=0$) fails to correctly disambiguate "Bay" and "Equine coat color." However, by incorporating global semantic links between "chestnut," "bay," and "brown" through $K=5$ iterations, RRWEL successfully identifies the correct entities.
Conclusion
RRWEL successfully combines the strengths of neural representation learning with the structural priors of external knowledge bases. By utilizing recurrent random walk layers and a novel semantic regularizer, the model achieves robust performance across multiple datasets. Future work includes exploring Graph Neural Networks (GNNs) for more complex evidence propagation and extending the framework to related tasks like Word Sense Disambiguation.
Summary updated