Towards Better Entity Linking with Multi-View Enhanced Distillation

Yi Liu, Yuan Tian, Jianxun Lian, Xinlong Wang, Yanan Cao, Fang Fang, Wen Zhang, Haizhen Huang, Weiwei Deng, Qi Zhang

Introduction

Entity Linking (EL) is a critical natural language processing task that involves mapping mentions in text to specific entries within a Knowledge Base. Standard EL systems typically employ a two-stage pipeline: a high-speed retrieval stage to identify potential candidates from millions of entities, followed by a more computationally intensive ranking stage to select the correct match.

The retrieval stage predominantly utilizes dual-encoders, which represent mentions and entities as independent vectors. While efficient, these models suffer from "over-squashing"—an information bottleneck where complex entity descriptions containing diverse facts are compressed into a single fixed-length vector. This often leads to the loss of fine-grained details, causing the system to fail when a mention refers to a specific, niche fact within a long description.

The MVD Framework

To address the over-squashing problem, this paper introduces Multi-View Enhanced Distillation (MVD). MVD bridges the gap between the efficiency of dual-encoders and the precision of cross-encoders by teaching a student model to attend to specific "views" of an entity.

The MVD architecture illustrating multi-view representation and the teacher-student distillation process.

The framework consists of several key components:

  1. Multi-View Representation: Instead of a single vector, MVD decomposes an entity's description into multiple "local views" (sentences) and a "global view" (the entire description). This allows the model to capture both specific details and general context.
  2. Teacher-Student Distillation: A powerful Cross-Encoder acts as a teacher. Since it processes the mention and entity jointly, it can identify which specific view is most relevant. The student (dual-encoder) is then trained to mimic this behavior.
  3. Alignment Mechanisms:
    • Cross-alignment: The student learns to match the teacher’s probability distribution over candidate entities.
  4. Self-alignment: The student is trained to match the teacher’s preference for specific views within a single entity, effectively learning which sentence justifies a match.
  5. Hard Negative Sampling: Training is enhanced by sampling "hard negatives"—incorrect entities that are highly similar to the target—from the top-N retrieved results.

Experimental Evaluation

The MVD framework was evaluated on several benchmarks, most notably the Zero-Shot Entity Linking (ZESHEL) dataset. ZESHEL is particularly challenging as it requires models to generalize across entirely different domains between training and testing. Additional evaluations were conducted on Wikipedia-based datasets including AIDA-CoNLL (AIDA-b), MSNBC, and WNED-CWEB.

Results and Analysis

MVD achieved state-of-the-art (SOTA) performance across all evaluated benchmarks. On the ZESHEL dataset, it significantly outperformed previous methods in retrieval accuracy.

Retrieval performance (Recall@k) on the ZESHEL dataset comparing MVD against existing baselines.

As shown in the results, MVD reached a Recall@1 of 52.51% and a Recall@64 of 91.55% on ZESHEL. The high Recall@64 is particularly important, as it ensures the correct entity is almost always present for the subsequent ranking stage.

Key insights from the results include:

  • Decompression Strategy: Multi-viewing effectively acts as a decompression strategy for divergent entities, overcoming the information bottleneck of single-vector representations.
  • Global-Local Synergy: Maintaining a global view alongside local views is essential, as some mentions are general and require a holistic understanding of the entity.
  • Inference Efficiency: Despite the increased index size due to multiple vectors per entity, modern vector databases allow MVD to maintain low latency during inference, making it suitable for production environments.

Conclusion and Future Work

Multi-View Enhanced Distillation provides a robust solution to the over-squashing problem in entity retrieval. By leveraging a cross-encoder teacher to guide a multi-view dual-encoder student, MVD achieves superior accuracy without sacrificing the speed necessary for large-scale retrieval. Future work may explore improving the cross-encoder's ranking performance, integrating mention detection, and optimizing memory requirements for extremely large knowledge bases.

Summary updated

BibTeX
@inproceedings{liu2023towards,
  author = {Yi Liu and Yuan Tian and Jianxun Lian and Xinlong Wang and Yanan Cao and Fang Fang and Wen Zhang and Haizhen Huang and Weiwei Deng and Qi Zhang},
  title = {{Towards Better Entity Linking with Multi-View Enhanced Distillation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.acl-long.542},
}
Figure