MOLEMAN: Mention-Only Linking of Entities with a Mention Annotation Network

Nicholas FitzGerald, Jan A. Botha, Daniel Gillick, Daniel M. Bikel, Tom Kwiatkowski, Andrew McCallum

Abstract

We present an instance-based nearest neighbor approach to entity linking. In contrast to most prior entity retrieval systems which represent each entity with a single vector, we build a contextualized mention-encoder that learns to place similar mentions of the same entity closer in vector space than mentions of different entities. This approach allows all mentions of an entity to serve as "class prototypes" as inference involves retrieving from the full set of labeled entity mentions in the training set and applying the nearest mention neighbor's entity label. Our model is trained on a large multilingual corpus of mention pairs derived from Wikipedia hyperlinks, and performs nearest neighbor inference on an index of 700 million mentions. It is simpler to train, gives more interpretable predictions, and outperforms all other systems on two multilingual entity linking benchmarks.

Introduction

Entity Linking (EL) is the critical task of mapping a text "mention" (e.g., "The Big Apple") to a specific entry in a knowledge base (e.g., New York City). Modern systems typically employ a dual-encoder architecture that matches a mention against a single textual description of the entity. However, this "mention-to-description" approach has significant flaws:

  1. Contextual Narrowness: A single summary often fails to capture an entity's diverse facets. For instance, an actor's Wikipedia summary might not help link a mention of their earlier college football career.
  2. The Cold Start Problem: Creating high-quality descriptions for new or "zero-shot" entities is labor-intensive.
  3. Multilingual Friction: Choosing a primary language for entity descriptions creates a bottleneck in global systems.

MOLEMAN (Mention-Only Linking of Entities with a Mention Annotation Network) addresses these issues by reimagining entity linking as a massive-scale nearest neighbor search between mentions, rather than matching mentions to static descriptions.

Figure 1: MOLEMAN represents entities as a collection of mention vectors in a shared space, allowing for better disambiguation than single-description models.

Methods

MOLEMAN treats every labeled mention in a training set as an exemplar or "class prototype." The architecture utilizes a dual-encoder setup where both sides share a 4-layer BERT-based Transformer mention-encoder.

Training involves 557 million mention pairs derived from Wikipedia hyperlinks across 104 languages. The model uses an in-batch sampled softmax loss, refined by hard negative mining and positive resampling—pairing a mention with the most similar other mention of the same entity. At inference time, the system performs a Maximum Inner Product Search (MIPS) against an index of 700 million mentions, assigning the entity label of the nearest neighbor found in the vector space.

Key Results

MOLEMAN achieves state-of-the-art performance, particularly excelling in "few-shot" scenarios where entities have limited mentions. On the Mewsli-9 benchmark, MOLEMAN outperformed the description-based "Model F+" baseline.

Table 1: Performance comparison on Mewsli-9. MOLEMAN (B, Y) achieves superior Recall@10 and Recall@100 compared to description-based models.

Beyond raw metrics, the model demonstrates remarkable language agnosticism. For 21.4% of queries in Mewsli-9, MOLEMAN’s top prediction was a mention from a different language, proving it effectively leverages multilingual data without explicit translation. Furthermore, the system is highly efficient; despite the 700M vector index, inference takes just 2.9ms per query on a single CPU using the ScaNN library.

Discussion and Interpretability

Unlike traditional black-box models, MOLEMAN is "case-based" and inherently interpretable. Developers can inspect the specific indexed mention that triggered a link, making the system's decisions easier to audit.

While the approach requires a significant memory footprint to store 700 million vectors, it provides a robust solution for rare entity mastery. On entities removed from the training set and only added to the index at inference time, MOLEMAN achieved a +5.6 R@10 improvement over baselines. Future work may extend this instance-based approach to entity discovery and cross-document coreference resolution.

Summary updated

BibTeX
@inproceedings{fitzgerald2021moleman,
  author = {Nicholas FitzGerald and Jan A. Botha and Daniel Gillick and Daniel M. Bikel and Tom Kwiatkowski and Andrew McCallum},
  title = {{MOLEMAN: Mention-Only Linking of Entities with a Mention Annotation Network}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2021},
  url = {https://openreview.net/forum?id=qtBsfAUao59},
}
Figure