Hansel: A Chinese Few-Shot and Zero-Shot Entity Linking Benchmark

Zhenran Xu, Zifei Shan, Yuxin Li, Baotian Hu, Bing Qin

Introduction

Entity Linking (EL) is a fundamental NLP task that involves mapping textual mentions to unique entries in a Knowledge Base (KB), such as Wikidata. While modern EL systems perform exceptionally well on popular entities, they frequently suffer from a "popularity bias." For instance, a model might correctly link "Michael Jordan" to the legendary basketball player but fail when the context refers to the prominent computer scientist of the same name. This challenge is particularly acute for "tail" entities (Few-Shot EL) and "emerging" entities (Zero-Shot EL) that were added to the KB after a model's training phase.

To address this gap in Chinese NLP, we introduce Hansel, the first large-scale Chinese benchmark specifically designed for Few-Shot and Zero-Shot Entity Linking. Hansel provides a human-annotated dataset of 10,000 documents, revealing that current state-of-the-art (SOTA) models struggle significantly with entities overshadowed by more famous namesakes.

The Hansel Benchmark

The Hansel dataset is structured to simulate real-world challenges in entity disambiguation. To create a robust evaluation for emerging entities, the authors employed a Temporal KB Splitting strategy, dividing Wikidata into a "Known" set (2018 dump) and a "New" set (2021 dump). Models are trained exclusively on the 2018 data, forcing them to generalize to the 4,715 mentions in the Hansel-ZS (Zero-Shot) slice.

For the Hansel-FS (Few-Shot) slice, the benchmark focuses on 5,260 mentions where the ground truth is explicitly not the most popular entity associated with that name. This "adversarial" design ensures that models cannot rely on simple prior probabilities or string matching to succeed.

Table 1: Statistics of the Hansel dataset, showing the distribution of mentions, documents, and entities across training, validation, and the two test slices (Few-Shot and Zero-Shot).

Methodology: Typing-enhanced Dual Encoder (TyDE)

Beyond the benchmark, the authors propose a novel architecture called TyDE (Typing-enhanced Dual Encoder). TyDE addresses the disambiguation problem by incorporating type prediction as an auxiliary supervision task during training.

The model is trained to predict both coarse types (e.g., Person, Location, Organization) and fine-grained "TopSnaks"—a set of 10,000 frequent Wikidata property-value pairs such as "occupation: politician" or "sport: association football." By learning these rich entity representations, the model gains the nuance required to distinguish between entities with identical names but different attributes. Importantly, these type predictions are only utilized to refine the embeddings during training and are not required during inference.

Figure 1: The TyDE architecture, illustrating the joint optimization of mention and entity encoders through coarse and fine-grained typing tasks.

Key Insights and Results

Evaluation on Hansel yielded several surprising insights into the current state of Chinese EL:

  • Few-Shot is Harder than Zero-Shot: Models performed significantly worse on the Few-Shot slice (46.2% R@1) compared to the Zero-Shot slice (76.6% R@1). This suggests that "tail" entities are actively overshadowed by popular entities the model has seen frequently, whereas "new" entities may benefit from more unique contextual descriptions.
  • SOTA Performance Gap: While the authors' baseline achieved 88.1% R@1 on the standard TAC-KBP2015 dataset—comparable to Meta AI’s mGENRE (88.4%)—performance plummeted on Hansel. mGENRE achieved only 36.6% R@1 on the Few-Shot slice, highlighting the benchmark's difficulty.
  • The Retrieval Bottleneck: Error analysis shows that 75% of failures in the Few-Shot slice occurred because the correct entity was not even present in the top-10 candidates generated by the initial alias table. This indicates that improving candidate retrieval is as critical as improving the final disambiguation logic.

Conclusion

Hansel provides a rigorous new standard for Chinese Entity Linking, exposing the limitations of current models in handling non-popular and emerging entities. By emphasizing "hard" mentions and providing a framework for typing-enhanced learning, this work paves the way for more robust and equitable EL systems that can accurately identify the "Michael Jordans" of the world, regardless of their fame.

Summary updated

BibTeX
@inproceedings{xu2023hansel,
  author = {Zhenran Xu and Zifei Shan and Yuxin Li and Baotian Hu and Bing Qin},
  title = {{Hansel: A Chinese Few-Shot and Zero-Shot Entity Linking Benchmark}},
  booktitle = {WSDM},
  year = {2023},
  doi = {10.1145/3539597.3570418},
}
Figure