Learning Dynamic Context Augmentation for Global Entity Linking

Xiyuan Yang, Xiaotao Gu, Sheng Lin, Siliang Tang, Yueting Zhuang, Fei Wu, Zhigang Chen, Guoping Hu, Xiang Ren

Abstract

Global Entity Linking (EL) models achieve high accuracy by considering all mentions in a document simultaneously, but they suffer from massive computational costs. This paper introduces Dynamic Context Augmentation (DCA), a lightweight, plug-and-play module that processes documents in a single pass by accumulating context from previously linked entities. DCA achieves state-of-the-art accuracy while reducing time complexity from exponential to linear, making highly accurate EL feasible for large-scale production.

Introduction

Entity Linking (EL) is the task of mapping mentions in text (e.g., "Washington") to specific entries in a knowledge base (e.g., George Washington vs. Washington D.C.). Historically, there have been two main approaches: local models, which are fast but struggle with sparse context, and global models, which ensure topical coherence by considering all mentions simultaneously. However, finding the optimal global configuration is an NP-hard problem, making existing global models computationally expensive and memory-intensive.

This paper proposes Dynamic Context Augmentation (DCA) to bridge the gap, providing global-level coherence with local-level efficiency. DCA treats document-level entity linking as a sequential, one-pass process rather than a joint optimization problem.

Methodology

Sequential Memory and Dynamic Context

As the model links mentions one by one, it saves the predicted entities (and their Knowledge Graph neighbors) into a "dynamic context" memory. Future mentions use this accumulated memory to help disambiguate their own candidates. This approach allows the model to maintain global coherence without the need for multi-pass joint optimization.

Comparison between traditional global methods and the proposed sequential DCA method across a raw document.

Attention Mechanisms

Not all previously linked entities are relevant to the current mention. DCA uses soft and hard neural attention to weigh the accumulated entities, filtering out noise and focusing only on topically relevant history. Hard attention is used to keep the top K candidates, while soft attention calculates a weighted sum to create a context embedding for the current mention.

The DCA architecture, illustrating how attention mechanisms aggregate context from linked entities to inform current mention candidates.

Learning Strategies

The authors explore two training strategies for DCA:

  1. Supervised Learning (SL): Trains the model using gold-standard previous entities.
  2. Reinforcement Learning (RL): To prevent error cascades (where an early mistake poisons the context), the authors formulate DCA as a sequential decision-making problem using the REINFORCE algorithm. This teaches the model to optimize for the total number of correctly linked mentions in the document rather than making greedy local decisions.

Key Results and Insights

  • State-of-the-Art Accuracy: The ETHZ-Attn + DCA-SL model achieved 94.64% In-KB accuracy on the AIDA-B dataset, outperforming previous neural systems.
  • Massive Efficiency Gains: DCA's time complexity grows linearly with the number of mentions, whereas baseline global models scale exponentially or quadratically. This leads to up to 80% energy savings compared to heavy global models.
  • Decision Order Matters: Linking "easy" mentions first (those with fewer candidate options) provides a cleaner context for harder mentions. This "Size" ordering strategy consistently outperformed simple left-to-right processing.
  • Robustness via RL: On noisy datasets, the RL approach proved more robust than SL, as it learns to ignore noisy past predictions to maximize the overall document reward.

Conclusion

DCA demonstrates that a single-pass sequential approach can achieve global coherence in Entity Linking with linear time complexity. By utilizing attention and reinforcement learning, the framework offers a scalable, high-accuracy solution that can be easily integrated into existing local models. Future work will explore dynamically learning the optimal linking sequence to further improve performance.

Summary updated

BibTeX
@inproceedings{yang2019learning,
  author = {Xiyuan Yang and Xiaotao Gu and Sheng Lin and Siliang Tang and Yueting Zhuang and Fei Wu and Zhigang Chen and Guoping Hu and Xiang Ren},
  title = {{Learning Dynamic Context Augmentation for Global Entity Linking}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2019},
  doi = {10.18653/v1/d19-1026},
}
Figure