NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Generative Multimodal Entity Linking

Senbao Shi, Zhenran Xu, Baotian Hu, Min Zhang

Abstract

Multimodal Entity Linking (MEL) is the task of mapping mentions with multimodal contexts to the referent entities from a knowledge base. Existing MEL methods mainly focus on designing complex multimodal interaction mechanisms and require fine-tuning all model parameters, which can be prohibitively costly and difficult to scale in the era of Large Language Models (LLMs). In this work, we propose GEMEL, a Generative Multimodal Entity Linking framework based on LLMs, which directly generates target entity names. We keep the vision and language model frozen and only train a feature mapper to enable cross-modality interactions. To adapt LLMs to the MEL task, we leverage the in-context learning capability of LLMs by retrieving multimodal instances as demonstrations. Extensive experiments show that, with only ∼0.3% of the model parameters fine-tuned, GEMEL achieves state-of-the-art results on two well-established MEL datasets (7.7% accuracy gains on WikiDiverse and 8.8% accuracy gains on WikiMEL). The performance gain stems from mitigating the popularity bias of LLM predictions and disambiguating less common entities effectively.

The Multimodal Entity Linking Challenge

Entity Linking (EL) is the foundational task of taking a mention in a text (e.g., "Harry Potter") and mapping it to a specific entry in a knowledge base like Wikipedia. However, text alone is often insufficient for disambiguation. For instance, does a mention of "Harry Potter" refer to the original novel series or the subsequent film franchise?

The MEL task: using visual context to disambiguate mentions.

Multimodal Entity Linking (MEL) addresses this ambiguity by incorporating visual context, such as a photo of the film's cast. Despite its potential, existing MEL methods face two major flaws: they often require complex, computationally expensive "retrieve-and-rank" pipelines, and they suffer from "popularity bias," where models favor well-known entities over less common "tail entities," even when visual evidence suggests otherwise.

Methodology: The GEMEL Framework

The authors introduce GEMEL (Generative Multimodal Entity Linking), which shifts the task from a traditional classification or ranking problem to a generative one. Instead of selecting an entity from a candidate list, the model directly generates the entity name.

Architecture and Training

GEMEL utilizes a Frozen Foundation approach, keeping both the vision encoder (CLIP) and the language model (such as Llama-2 or OPT) completely frozen. To bridge these modalities, the researchers trained a tiny linear layer called a Feature Mapper. This component translates visual features into "visual prefixes"—essentially turning images into a format the LLM understands as a "soft prompt."

In-Context Learning and Constrained Decoding

To adapt the LLM to the MEL task without massive retraining, GEMEL leverages Multimodal In-Context Learning (ICL). A retrieval system (SimCSE) finds similar image-text examples from the training set and feeds them to the LLM as demonstrations. Furthermore, to prevent the LLM from hallucinating non-existent entities, the framework employs Constrained Decoding via a Prefix Trie. This forces the model to only generate sequences of tokens that correspond to valid entity names in the knowledge base.

Key Results and Insights

GEMEL was evaluated on two primary benchmarks: WikiDiverse (diverse topics from Wikinews) and WikiMEL (large-scale data from Wikidata). The framework set new records for performance:

  • State-of-the-Art Accuracy: GEMEL achieved 86.3% accuracy on WikiDiverse (a 7.7% gain) and 82.6% accuracy on WikiMEL (an 8.8% gain).
  • Efficiency: These gains were achieved while fine-tuning only ~0.3% of the model's parameters, proving that adapting the "interface" between sight and language is highly effective.
  • Mitigating Popularity Bias: By integrating visual information, GEMEL significantly improved performance on rare "tail entities." On WikiDiverse, accuracy for these entities jumped from 37.5% (text-only) to 57.5% (multimodal).
  • Visuals as a Tie-Breaker: Case studies demonstrated that when text is short or vague, the visual modality acts as the essential disambiguator, helping the model distinguish between similar entities like specific space shuttles or government seals.

Conclusion and Future Work

GEMEL demonstrates that generative LLMs can be efficiently adapted for multimodal disambiguation tasks with minimal parameter updates. While the current model assumes the entity must exist in the knowledge base (the "In-KB" assumption), future work aims to handle "NIL" predictions for new or missing entities and expand the framework to incorporate other modalities like video and speech.

Summary updated

BibTeX
@inproceedings{shi2024generative,
  author = {Senbao Shi and Zhenran Xu and Baotian Hu and Min Zhang},
  title = {{Generative Multimodal Entity Linking}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2024},
  url = {https://openreview.net/forum?id=fFBQe02dvf},
}
Figure