Abstract
Multi-Modal Entity Linking (MEL) is critical for disambiguating mentions in text using visual context. However, Large Language Models (LLMs) often struggle with a "visual knowledge gap" and popularity bias toward well-known entities. This paper introduces GELR, a framework that balances an LLM's internal reasoning with external information from a multi-grained knowledge retriever. By implementing noise-aware instruction tuning and inference-time logit adjustment, GELR significantly improves performance on rare "tail" entities. Our approach achieves state-of-the-art results across major benchmarks, including WikiDiverse and WikiPerson.
Introduction
Entity Linking (EL) involves mapping textual mentions to unique entries in a knowledge base like Wikipedia. Multi-Modal Entity Linking (MEL) extends this task by incorporating images, which is essential for processing visually rich content like news or social media. Current MEL methods generally fall into two categories: retrieval-based methods, which struggle with precision in noisy lists, and generative LLM-based methods, which are limited by their pre-trained internal knowledge.
LLMs often fail to associate specific visual patterns with correct database entries if those entities were underrepresented during training. This leads to "popularity bias," where the model defaults to a famous entity (e.g., "The Avengers") even when visual cues point to a more obscure one. GELR addresses these challenges by bridging the gap between internal reasoning and external fine-grained visual details.
The GELR Framework
The GELR framework consists of three integrated stages designed to manage the trade-off between internal and external knowledge.
1. Multi-modal Knowledge Retrieval
Unlike standard text-only retrievers, GELR utilizes a multi-grained approach. It combines textual queries (captions) with global image features and specific Region-of-Interest (RoI) features. A late-interaction paradigm is used to calculate similarity scores, ensuring that both broad context and specific visual objects are considered when fetching candidates from the knowledge base.
2. Noise-aware Instruction Tuning
To handle the inevitable noise in retrieved results, the authors fine-tune a LLaMA-7B model using Low-Rank Adaptation (LoRA). The model is trained to prioritize external evidence when the retriever is successful. Conversely, when the retriever fails, a KL-divergence loss is applied to ensure the model's output remains consistent with its internal knowledge. This prevents the model from becoming "lazy" and over-relying on potentially incorrect external data.
3. Inference with Logit Adjustment
During the generation phase, GELR does not rely solely on the raw model output. Instead, it calculates a weighted difference between "retrieval-aware" logits (conditioned on external info) and "retrieval-free" logits (based on internal knowledge). A hyperparameter $\epsilon$ controls the level of trust, effectively amplifying the signal from the retriever to improve final entity selection.
Experimental Evaluation
GELR was evaluated on three established benchmarks: WikiDiverse, WikiMEL, and WikiPerson. These datasets represent a wide range of entity types and search spaces, with knowledge bases containing up to 6 million entities.
The results demonstrate that GELR sets a new state-of-the-art across all metrics. On WikiDiverse, the model achieved an 87.4 F1 score, outperforming previous generative methods by 4.9%. Most notably, on the WikiPerson dataset—where visual cues are dominant—GELR reached 81.7% Recall@1, a massive improvement over baseline generative models that often scored below 40%.
Key Insights: The Tail Entity Advantage
A core contribution of GELR is its ability to mitigate popularity bias. While standard LLMs are proficient at identifying "head" (popular) entities, they frequently fail on "tail" (rare) entities.
As shown in the performance analysis, the integration of the multi-modal retriever provides a substantial boost for rare entities. GELR improved performance on these "tail" entities by over 11% compared to a non-retrieval version. Furthermore, ablation studies confirmed that visual inputs are indispensable; removing images resulted in a performance drop of over 7%, proving that text captions alone cannot capture the fine-grained details necessary for accurate MEL.
Conclusion
GELR successfully addresses the visual knowledge gap in generative entity linking. By combining multi-grained retrieval with noise-aware tuning, the framework allows LLMs to effectively leverage external knowledge without losing their internal reasoning capabilities. While the computational cost of LLM generation remains a factor for real-time applications, GELR provides a robust blueprint for high-accuracy multi-modal disambiguation in complex, real-world datasets. Future work will explore scaling to larger models and specialized domains such as medical or scientific entity linking.
Summary updated