Contextualized End-to-End Neural Entity Linking

Haotian Chen, Xi Li, Andrej Zukov Gregoric, Sahil Wadhwa2020 · DOI

Abstract

Haotian Chen, Xi Li, Andrej Zukov Gregoric, Sahil Wadhwa. Proceedings of the 1st Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics and the 10th International Joint Conference on Natural Language Processing.

2020.

Introduction

Entity Linking (EL) is a critical task in natural language processing that involves mapping textual mentions to unique entries in a knowledge base. Traditionally, this process is decomposed into two distinct sub-tasks: Mention Detection (MD), which identifies entity spans, and Entity Disambiguation (ED), which resolves the specific identity of the detected entity.

Conventional pipelines often rely on "candidate generation"—a rule-based step that narrows down potential matches. However, this approach is inherently brittle; if the candidate generator fails to include the correct entity, the subsequent disambiguation step cannot recover. Furthermore, decoupling MD and ED prevents the model from leveraging the semantic identity of an entity to refine its boundaries in the text. Researchers from BlackRock and UIUC address these issues with a joint neural architecture.

Methodology

The authors propose a Contextualized End-to-End Neural EL model that jointly learns MD and ED using shared representations. The architecture utilizes a pre-trained BERT-BASE encoder to produce contextualized token embeddings for the input sequence.

Architecture of the Contextualized End-to-End Neural EL model featuring shared BERT embeddings and joint MD/ED heads.

Two task-specific feed-forward neural network (FFN) heads are integrated on top of the shared BERT layer:

  1. Mention Detection Head: Performs sequence labeling using the standard IOB (Inside, Outside, Beginning) format to identify entity spans.
  2. Entity Disambiguation Head: Projects the BERT embedding into a vector space and uses cosine similarity to find the closest match in a pre-trained entity embedding matrix (Wikipedia2vec).

The model is fully differentiable and trained end-to-end using a multi-task loss function that balances the cross-entropy of mention detection with the cosine similarity of entity disambiguation.

Experimental Setup and Results

The model was trained and evaluated on the AIDA/CoNLL dataset. To test robustness, the authors compared performance using standard candidate sets versus forcing the model to select from the "entire universe" of the one million most frequent Wikipedia entities without any pre-filtered list.

Comparison of the proposed model against previous state-of-the-art methods on the AIDA/CoNLL dataset.

As shown in the results table, the fine-tuned BERT model with candidate sets achieved new state-of-the-art (SOTA) performance on the AIDA/testb set, reaching a Micro F1 score of 87.7 (surpassing the previous best of 85.0) and a Macro F1 of 87.5. Even when candidate sets were removed entirely, the model maintained a Micro F1 of 69.4, establishing a strong baseline for open-world entity linking where pre-defined candidate lists might not exist.

Discussion and Key Insights

The research highlights several critical findings regarding neural entity linking:

  • Synergy in Joint Learning: By training MD and ED together, the model's final prediction is informed by both tasks. For example, knowing a span refers to a specific entity helps the model more accurately define the start and end of that entity's name.
  • BERT as a Knowledge Base: A surprising finding was that the model performed well even when specialized Wikipedia2vec embeddings were replaced with generic FastText embeddings. This suggests that BERT’s internal representations already capture significant entity-specific knowledge from its language modeling pre-training.
  • The Candidate Set "Crutch": While candidate sets improve performance, they often contain very few items, which can artificially inflate a model's perceived accuracy. This work demonstrates that while performance drops without these sets, the model remains viable.

Limitations and Future Work

Despite its success, the model shows signs of overfitting, evidenced by the performance gap between the validation set (AIDA/testa) and the test set (AIDA/testb) when candidate sets are not used. Additionally, while 1 million entities is a large subset, it does not cover the "long tail" of rare entities. Future work should focus on understanding how BERT internalizes entity knowledge and developing more challenging EL datasets that move beyond high-frequency surface-form matches.

Summary updated

BibTeX
@misc{chen2020contextualized,
  author = {Haotian Chen and Xi Li and Andrej Zukov Gregoric and Sahil Wadhwa},
  title = {{Contextualized End-to-End Neural Entity Linking}},
  year = {2020},
  doi = {10.18653/v1/2020.aacl-main.64},
}
Figure