Augmenting Multimodal LLMs with Self-Reflective Tokens for Knowledge-based Visual Question Answering

Federico Cocchi, Nicholas Moratelli, Marcella Cornia, L. Baraldi, Rita Cucchiara
11/1/2024

No official code found. Best implementation: aimagelab/ReflectiVA (57 stars, Apache-2.0, last commit 2025-07-14).

Abstract

Multimodal LLMs (MLLMs) are the natural extension of large language models to handle multimodal inputs, combining text and image data. They have recently garnered attention due to their capability to address complex tasks involving both modalities. However, their effectiveness is limited to the knowledge acquired during training, which restricts their practical utility. In this work, we introduce a novel method to enhance the adaptability of MLLMs by integrating external knowledge sources. Our proposed model, Reflective LLaVA (ReflectiVA), utilizes reflective tokens to dynamically determine the need for external knowledge and predict the relevance of information retrieved from an external database. Tokens are trained following a two-stage two-model training recipe. This ultimately enables the MLLM to manage external knowledge while preserving fluency and performance on tasks where external knowledge is not needed. Through our experiments, we demonstrate the efficacy of ReflectiVA for knowledge-based visual question answering, highlighting its superior performance compared to existing methods. Source code and trained models are publicly available at https://aimagelab.github.io/ReflectiVA.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[CVPR 2025] Augmenting Multimodal LLMs with Self-Reflective Tokens for Knowledge-based Visual Question Answering

571CSS, HTMLNov 25, 20241 years agoApache-2.0
knowledge-basemllmmultimodalvlmvqa

Similar Papers

Cite this paper

@article{cocchi2024augmenting,
  title  = {Augmenting Multimodal LLMs with Self-Reflective Tokens for Knowledge-based Visual Question Answering},
  author = {Federico Cocchi and Nicholas Moratelli and Marcella Cornia and L. Baraldi and Rita Cucchiara},
  year   = {2024},
  eprint = {2411.16863},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2411.16863},
  journal = {CVPR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.16863.svg)](https://codeofpaper.com/paper/2411.16863)

Discussion