ExtEnD: Extractive Entity Disambiguation

Edoardo Barba, Luigi Procopio, Roberto NavigliACL 2022

Abstract

Entity Disambiguation (ED) is traditionally framed as a classification or generative task. We introduce ExtEnD (Extractive Entity Disambiguation), a novel approach that reimagines ED as a text extraction problem. By treating candidate entities as a "document" and the mention context as a "query," ExtEnD achieves state-of-the-art results, particularly in out-of-domain scenarios and low-resource settings, demonstrating remarkable data efficiency and generalization to rare entities.

Introduction

Entity Disambiguation involves linking a text mention (e.g., "Metropolis") to its corresponding entry in a knowledge base like Wikipedia. Existing methods typically fall into two categories: classification-based bi-encoders, which often fail to capture complex interactions between mention and entity context, and generative models, which can be computationally slow and lack access to the full candidate list during decoding.

ExtEnD addresses these limitations by framing ED as a span extraction task, similar to extractive Question Answering. This allows the model to perform cross-encoding across the entire candidate set simultaneously, asking which entity fits best compared to the others rather than evaluating each in isolation.

Overview of the ExtEnD framework, illustrating the transformation of entity disambiguation into a span extraction task.

Methods

The ExtEnD architecture utilizes a "query" (the sentence containing the mention) and a "context" (a concatenated string of candidate entity titles). The model's objective is to predict the start and end tokens of the correct entity title within this concatenated string.

To handle long candidate lists, the primary model employs a Longformer backbone with a linear attention mechanism. A key innovation is the use of a custom "global attention" pattern activated on the [CLS] token and the first token of every candidate entity. This configuration enables the model to compare all candidates against each other and the mention context efficiently without the quadratic computational cost of standard attention.

Results

ExtEnD was evaluated in both low-resource (AIDA-only) and high-resource (Wikipedia+AIDA) regimes across several benchmarks, including MSNBC, AQUAINT, and ACE2004.

Comparison of ExtEnD against baseline models across in-domain (AIDA) and various out-of-domain datasets.

In high-resource settings, ExtEnD set new state-of-the-art (SOTA) performance on 4 out of 6 benchmarks, achieving an average improvement of 1.1 $F_1$ points on out-of-domain data. Notably, in low-resource settings, the "Base" version of ExtEnD (139M parameters) outperformed much larger generative models (406M parameters) by nearly 5 points, demonstrating superior data efficiency.

Key Insights

A significant advantage of the extractive framing is its performance on the "long tail" of entities. Analysis shows that ExtEnD significantly outperforms traditional models on Least Frequent Candidates (LFC) and Unseen entities. By treating the task as extraction rather than memorization, the model generalizes better to rare cases where traditional models often rely on memorized patterns.

Conclusion

ExtEnD demonstrates that framing entity disambiguation as an extractive task is both effective and efficient. While current versions rely on Wikipedia titles, future work may incorporate entity descriptions to resolve even finer-grained ambiguities. Additionally, extending the model to "global" ED—enforcing consistency across multiple mentions in a document—remains a promising direction for future research.

Summary updated

BibTeX
@inproceedings{barba2022extend,
  author = {Edoardo Barba and Luigi Procopio and Roberto Navigli},
  title = {{ExtEnD: Extractive Entity Disambiguation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.acl-long.177},
}
Figure