Introduction
Entity Linking (EL) is a critical task in natural language processing that involves mapping ambiguous mentions within a text to their corresponding unique entries in a knowledge base (KB), such as Wikidata. While modern EL systems perform exceptionally well on popular entities, they frequently falter when encountering the "long tail"—entities that are rare (few-shot) or entirely new (zero-shot).
Standard retrieval methods often rely on dense vector embeddings, which require extensive fine-tuning and can suffer from "representation drift" when faced with entities not seen during training. To address these limitations, this research introduces a "coarse-to-fine" retrieval framework that prioritizes efficient lexicon-based search and robust ensemble methods. This approach secured first place in the NLPCC 2023 Shared Task 6 on Chinese Entity Linking.
Methodology
The proposed framework utilizes a three-stage pipeline designed to balance computational efficiency with high sensitivity to entity names and descriptions.
1. Coarse-to-Fine Lexicon-based Retriever
Rather than relying solely on complex neural networks for initial candidate generation, the authors employ BM25, a classic keyword-matching ranking function. This stage is divided into two layers:
- Coarse Layer: Two separate BM25 models search for the mention within an Alias Table (containing common nicknames and redirections) and the Knowledge Base (official names). This ensures a broad and inclusive set of initial candidates.
- Fine Layer: A third model, Description-BM25, compares the mention's surrounding context against the textual descriptions of the candidates retrieved in the coarse layer. This step is vital for disambiguating entities that share identical names but exist in different contexts.
2. BERT-based Dual Encoder Reranker
Following the retrieval of a candidate subset, a BERT-based dual encoder performs a deep semantic analysis. The model encodes both the mention (including its context) and the entity (including its KB description) into distinct vectors. The similarity between these vectors is calculated via a dot product. This stage is specifically fine-tuned to distinguish subtle nuances between highly similar entities.
3. Ensemble Voting
To mitigate the inherent biases of neural models—which often favor entities seen during training—the system employs an ensemble voting mechanism. The final prediction is determined by combining the top results from the three BM25 models and the BERT reranker. In instances of disagreement, the BERT model serves as the primary tie-breaker, ensuring the system benefits from both keyword precision and semantic depth.
Experimental Setup and Results
The framework was evaluated using the Hansel Dataset, a benchmark for simplified Chinese entity linking. The dataset distinguishes between "Known Entities" (present in a 2018 Wikidata dump) and "New Entities" (added between 2018 and 2021), providing a rigorous test for zero-shot capabilities.
Competition Performance
The model achieved an accuracy of 0.6915 in the NLPCC 2023 Shared Task 6, outperforming the second-place system (0.6009) by over 9% and the third-place system (0.5319) by nearly 16%.
Ablation Study
Ablation tests highlighted the necessity of each component:
- Alias Table BM25: Removing this component caused the most significant performance drop (2.02%), highlighting the importance of mapping nicknames to official entries.
- Ensemble Method: Removing the voting mechanism resulted in a 1.24% decrease in accuracy, confirming that the combination of lexicon-based and neural methods is more robust than either in isolation.
Key Insights
- Lexicon Robustness: For zero-shot scenarios, keyword-based retrieval (BM25) is often more reliable than dense retrieval. It avoids the errors associated with neural models attempting to represent unseen entity names in a vector space.
- Retrieval-time Descriptions: Incorporating entity descriptions during the retrieval phase, rather than just the reranking phase, effectively filters out popular but incorrect entities early in the process.
- Bias Mitigation: The ensemble approach "bridges the gap" between the unbiased nature of lexicon search and the semantic power of neural rerankers.
Conclusion and Future Work
The coarse-to-fine lexicon-based retriever demonstrates that traditional keyword-matching techniques, when properly layered and ensembled with modern transformers, remain highly effective for challenging EL tasks.
One identified limitation was the performance of the Description-BM25 model, which was constrained by the maximum context length allowed by computational resources. Future research will focus on optimizing context selection and summarization to better leverage long entity descriptions without exceeding hardware limits.
Summary updated