From Zero to Hero: Human-In-The-Loop Entity Linking in Low Resource Domains

Jan-Christoph Klie, Richard Eckart de Castilho, Iryna GurevychACL 2020

TL;DR

This paper introduces a domain-agnostic, human-in-the-loop (HITL) framework for Entity Linking (EL) in low-resource environments where training data is non-existent and texts are "noisy" (e.g., historical manuscripts). By combining interactive machine learning with an intuitive annotation interface, the authors demonstrate a 35% increase in annotation speed and a significant reduction in manual search effort, effectively allowing researchers to build EL systems from scratch.

The Problem: Entity Linking in the Wild

Entity Linking—the task of connecting a mention in text (like "The King") to a specific entry in a knowledge base (like "Philip IV of Spain")—is a solved problem for modern, clean text like Wikipedia. However, it breaks down in "low-resource" domains such as the Digital Humanities.

In these fields, researchers face three major hurdles:

  1. Noisy Data: Historical texts often have inconsistent spelling ("Dublin" vs "Dublyn") and OCR errors.
  2. Specific Knowledge: Standard tools are built for Wikipedia, but a historian might need to link entities to a niche database of 17th-century Irish rebels.
  3. The Cold Start Problem: Most state-of-the-art EL models require massive amounts of labeled data to function. If you are the first person annotating a specific corpus, you have zero training data.

Methods: The HITL Pipeline

The authors propose a HITL approach integrated into the INCEpTION annotation platform. Their pipeline follows the standard EL stages but adds an interactive "learning" layer:

The three-stage Entity Linking pipeline: Mention detection, Candidate generation, and Candidate ranking.
  • Mention Detection: Instead of relying on a pre-trained Named Entity Recognizer, the system uses "recommenders." These include simple string matchers and a novel Levenshtein string matcher that suggests mentions even if the spelling is slightly off.
  • Candidate Generation: The system uses fuzzy search to pull potential matches from a Knowledge Base (KB) based on the surface form of the mention.
  • Adaptive Candidate Ranking: As a user selects the correct entity from a list, a Learning-to-Rank model (using algorithms like LightGBM or RankSVM) trains in the background. It uses handcrafted features (like string similarity) and semantic features (Sentence-BERT embeddings) to ensure that for the next mention, the correct entity appears at the top of the list.

Datasets

The researchers evaluated their approach on three distinct datasets:

  • AIDA-YAGO: A standard, high-resource benchmark based on Reuters news stories (used as a control).
  • Women Writers Online (WWO): A collection of pre-Victorian texts (1400–1850) with high spelling variance.
  • 1641 Depositions: 17th-century legal witness statements regarding the Irish Rebellion. This is a "true" low-resource dataset with noisy, non-standardized orthography.

Key Insights and Results

Learning curves for the 1641 Depositions dataset, showing Accuracy@1 and Accuracy@5 as a function of the number of annotations.
  • The Power of Few-Shot Learning: Simulations showed that ranking models (especially RankSVM) reach high accuracy after fewer than 100 annotations. This suggests that HITL is a viable way to bootstrap a model where none existed.
  • Levenshtein is King for Noise: In historical domains, simple string matching is insufficient. The Levenshtein recommender increased recall by 50% for the 1641 Depositions compared to basic string matching.
  • Efficiency Gain: In a real-world user study, the HITL approach allowed users to annotate 35% faster than the baseline. Users needed 15% fewer manual search queries to find the correct entity.
  • Ranking Accuracy: On the difficult 1641 Depositions dataset, the RankNet model achieved an Accuracy@1 of 0.55 and an Accuracy@5 of 0.83, significantly outperforming the "Most Frequently Linked Entity" baseline.

Limitations and Future Work

  • Short Mention Noise: The Levenshtein recommender can be "too helpful," suggesting irrelevant matches for very short words (e.g., matching "Joabe" to "to be"). Future work may involve better filtering for short strings.
  • Speed vs. Complexity: While models train quickly, using more complex deep learning models in real-time was deemed too slow for an interactive UI. Finding a way to use "heavier" models without interface lag remains a challenge.
  • KB Completion: The current system assumes the entity exists in the KB. Future work could involve "Knowledge Base Population," helping users create new entries on the fly.

Summary updated

BibTeX
@inproceedings{klie2020from,
  author = {Jan-Christoph Klie and Richard Eckart de Castilho and Iryna Gurevych},
  title = {{From Zero to Hero: Human-In-The-Loop Entity Linking in Low Resource Domains}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2020},
  doi = {10.18653/v1/2020.acl-main.624},
}
Figure