Abstract
Previous work has shown promising results in performing entity linking by measuring not only the affinities between mentions and entities but also those amongst mentions. In this paper, we present novel training and inference procedures that fully utilize mention-to-mention affinities by building minimum arborescences (i.e., directed spanning trees) over mentions and entities across documents in order to make linking decisions. We also show that this method gracefully extends to entity discovery, enabling the clustering of mentions that do not have an associated entity in the knowledge base. We evaluate our approach on the Zero-Shot Entity Linking dataset and MedMentions, the largest publicly available biomedical dataset, and show significant improvements in performance for both entity linking and discovery compared to identically parameterized models. We further show significant efficiency improvements with only a small loss in accuracy over previous work, which use more computationally expensive models.
1. Introduction
In natural language processing, Entity Linking (EL) is the task of mapping a mention in text (e.g., "chest pain") to a specific entry in a Knowledge Base (KB) like Wikipedia or UMLS. However, real-world data is often incomplete, leading to the need for Entity Discovery (ED). In ED, the system must recognize that several different mentions refer to the same new entity not yet recorded in the KB.
Traditional methods often look at mentions in isolation, comparing a single mention to a list of candidate entities. While recent "cross-encoder" models are highly accurate because they compare mentions to each other, they are computationally expensive, scaling quadratically with the number of mentions. This makes them impractical for large-scale, cross-document tasks. This work seeks to achieve the accuracy of mention-to-mention comparisons with the speed of a "bi-encoder" architecture.
2. Methodology
We propose a graph-based clustering framework utilizing arborescence-based supervised clustering:
- Graph Construction: A graph is built where nodes represent both mentions and KB entities. Edges represent the "affinity" (similarity) between them.
- Arborescence-based Inference: Instead of simply picking the closest entity for every mention, the system builds a directed version of a minimum spanning tree, known as an arborescence. In this structure, every mention eventually "points" toward an entity node. If a group of mentions clusters together without pointing to an existing KB entity, a new entity is "discovered."
- The "Bottleneck Edge": Dissimilarity between nodes is defined based on the "minimax path"—the path where the highest-weight edge is minimized. This allows for "chains" of coreference (e.g., Mention A links to Mention B, which links to Entity X), even if Mention A is not directly similar to Entity X.
- Supervised Training: The model uses a supervised clustering objective to train the bi-encoder, ensuring that mentions referring to the same entity are connected by low-weight edges in the graph.
3. Datasets
The model was evaluated on two challenging benchmarks:
- MedMentions: A massive biomedical dataset based on PubMed abstracts, characterized by highly technical and ambiguous terminology.
- ZeShEL (Zero-Shot Entity Linking): A dataset based on Fandom Wikias (e.g., Star Trek, World of Warcraft) that tests "zero-shot" capabilities on entities unseen during training.
4. Results
The arborescence-based approach demonstrates significant performance gains over standard baselines:
- Accuracy Leap: On MedMentions, accuracy improved by 13.1 percentage points over standard bi-encoder baselines. On ZeShEL, it outperformed baselines by up to 11.1 points.
- Efficiency Gains: The approach was more than 2x faster at inference than state-of-the-art cross-encoder clustering models, while maintaining accuracy within 2%.
- Discovery: The model showed a 10-point improvement in Adjusted Rand Index (ARI) on MedMentions for "NIL clustering" (grouping mentions of entities not in the KB).
5. Conclusion
While a small accuracy gap remains between bi-encoders and cross-encoders, the arborescence-based method significantly narrows it while offering superior efficiency. Future work may explore model distillation to further bridge this gap or optimize clustering metrics directly during training to refine entity discovery in open-world settings.
Summary updated