Multilingual End to End Entity Linking

Mikhail Plekhanov, Nora Kassner, Kashyap Popat, Louis Martin, Simone Merello, Borislav Kozlovskii, Frédéric A. Dreyer, Nicola CanceddaarXiv 2023 · DOI

Introduction

Entity Linking (EL) is the process of mapping textual mentions to specific entries in a knowledge base. Scaling EL systems to handle multiple languages efficiently is a significant challenge in NLP. Traditional approaches often rely on complex, multi-stage pipelines that are slow and difficult to maintain. This paper presents BELA (Bi-encoder Entity Linking Architecture), a unified, transformer-based system that performs end-to-end entity detection and linking across 97 languages in a single pass.

Architecture and Methodology

BELA utilizes a bi-encoder architecture based on XLM-R, optimized for high-speed retrieval. Unlike generative models that produce entity names token-by-token, BELA uses a retrieval-based approach. The architecture consists of three primary components:

  1. Mention Detection (MD): The system identifies potential entity spans by scoring every possible start and end position within the input text, rather than relying on a separate Named Entity Recognition (NER) model.
  2. Entity Disambiguation (ED): For each detected mention, the model generates a vector embedding and performs a k-nearest neighbor (kNN) search against a massive, pre-computed index of 16 million entities.
  3. Rejection (R) Head: To manage the high recall of the previous stages, a final Rejection Head filters candidates by analyzing the mention and the top retrieved entity together to confirm the link's validity.
The BELA architecture overview, illustrating the flow from mention detection to kNN-based disambiguation and final rejection.

Evaluation Framework

The researchers evaluated BELA across several diverse benchmarks, including Mewsli-9 (9 languages), TAC-KBP2015 (Spanish and Chinese), and AIDA (English). A key insight from the evaluation is the "False False Positive" phenomenon: many EL datasets are under-labeled, meaning the model often identifies correct entities that were simply missed by human annotators. To address this, the authors introduced Mewsli-9'-test, an exhaustively labeled version of the benchmark that provides a more accurate measure of end-to-end performance.

Key Results

BELA demonstrates significant improvements in both speed and scale. It is approximately 50 times faster than leading generative models like mGENRE, capable of processing 53 samples per second on a single GPU.

Performance metrics (F1, Recall, Precision) for BELA across nine languages in the Mewsli-9 benchmark.

As shown in the table above, BELA maintains high performance across a wide range of languages. On the TAC-KBP benchmark, it outperformed all baselines for Spanish and remained highly competitive for Chinese. On the English AIDA benchmark, it achieved an F1 score of 74.5, proving its effectiveness even against monolingual specialists.

Discussion and Limitations

While BELA offers a scalable solution for global entity linking, it has certain limitations. The entity index is a static snapshot of Wikipedia/Wikidata, meaning it requires periodic updates to include new entities. Furthermore, the model inherits the geographical and gender biases present in its training data. To achieve its high inference speed, BELA avoids word-for-word cross-attention, which may result in missing some fine-grained nuances captured by more computationally expensive models.

BELA's open-source release provides a robust foundation for building global, entity-aware applications that require real-time performance across nearly 100 languages.

Summary updated

BibTeX
@misc{plekhanov2023multilingual,
  author = {Mikhail Plekhanov and Nora Kassner and Kashyap Popat and Louis Martin and Simone Merello and Borislav Kozlovskii and Frédéric A. Dreyer and Nicola Cancedda},
  title = {{Multilingual End to End Entity Linking}},
  year = {2023},
  eprint = {2306.08896},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.08896},
}
Figure