NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Highly Parallel Autoregressive Entity Linking with Discriminative Correction

Nicola De Cao, Wilker Aziz, Ivan Titov

Abstract: Nicola De Cao, Wilker Aziz, Ivan Titov. Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing.

2021.

Introduction

Entity Linking (EL) is a fundamental Natural Language Processing task that involves identifying mentions of entities in text and mapping them to unique entries in a knowledge base (KB), such as Wikipedia. Traditionally, EL systems have relied on a two-stage pipeline: Mention Detection (MD) followed by Entity Disambiguation (ED).

Recent advancements have seen the rise of generative models, such as GENRE, which treat EL as a sequence-to-sequence translation task. While these models achieve high accuracy by generating entity identifiers directly, they suffer from a significant computational bottleneck. Because they are autoregressive, they must generate output tokens sequentially for an entire document, preventing parallelization across mentions and making them prohibitively slow for large-scale applications. This paper introduces a novel architecture that overcomes these limitations by combining parallel autoregressive generation with a discriminative correction step.

Methodology

The proposed model breaks the sequential bottleneck of traditional generative EL through three primary innovations:

  1. Parallel Autoregressive Linking: Instead of processing a document as a single sequence, the model first identifies all potential mentions. It then generates the unique identifier for each mention independently. This allows the system to process multiple mentions in parallel, drastically increasing throughput.
  2. Shallow Decoder Architecture: To further optimize speed and memory usage, the authors replace deep Transformer decoders with a shallow LSTM. This reduction in complexity maintains performance while significantly lowering the computational cost per token.
  3. Discriminative Correction: Generative models are typically optimized for next-token prediction, which may not always align with the goal of ranking the correct entity highest. To address this, the authors introduce a "correction term" implemented as a Multi-Layer Perceptron (MLP). This component is trained using a discriminative loss to explicitly ensure the correct entity's score exceeds those of competing candidates.

The system utilizes a Longformer encoder as its backbone, enabling the processing of long-range dependencies in documents that exceed the token limits of standard BERT-based models.

Overview of the proposed architecture featuring parallel autoregressive linking and discriminative correction.

Experimental Setup

The model was rigorously evaluated on the AIDA-CoNLL dataset, a standard benchmark for English Entity Linking. The dataset consists of 942 training documents (18,540 mentions), 216 validation documents, and 230 test documents. The evaluation focused on the "InKB" setting, where only mentions with corresponding entries in the knowledge base (derived from Wikipedia/YAGO) are considered.

Results and Analysis

The proposed approach demonstrates superior performance in both accuracy and efficiency.

Accuracy

As shown in the comparative results, the model achieved a Micro-F1 score of 85.5 on the AIDA test set. This result surpasses the previous state-of-the-art generative model, GENRE, which scored 83.7.

Comparison of Micro-F1 scores on the AIDA-CoNLL dataset against various baseline methods.

Efficiency and Ablations

The most striking result is the gain in processing speed. The model is over 70 times faster than GENRE, processing approximately 8.69 queries per second compared to GENRE's 0.12. This speedup is attributed to the parallelized architecture and the use of a shallow decoder.

Ablation experiments highlight the importance of the hybrid objective. Removing the discriminative correction term (using "LM score only") resulted in a performance drop to 81.5 F1. Furthermore, the model's reliance on candidate sets was noted; without pre-computed candidates, performance in a zero-shot setting dropped to 49.4 F1, indicating that while the model is highly efficient, it currently benefits significantly from candidate-constrained search.

Discussion and Conclusion

This research demonstrates that modeling complex dependencies between every mention in a document is not strictly necessary for high-performance Entity Linking. By treating mentions as conditionally independent given the context, the authors achieved massive parallelization without sacrificing accuracy. The integration of a discriminative "re-ranking" component allows the model to leverage generative pre-training while optimizing for the specific task of entity selection. Future work may explore large-scale pre-training to improve performance in "no-candidate" settings and extending this parallel architecture to multilingual contexts.

Summary updated

BibTeX
@inproceedings{cao2021highly,
  author = {Nicola De Cao and Wilker Aziz and Ivan Titov},
  title = {{Highly Parallel Autoregressive Entity Linking with Discriminative Correction}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  url = {https://openreview.net/forum?id=HS9--b-ZKP},
}
Figure