Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

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

About

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.

Federico Cocchi, Nicholas Moratelli, Marcella Cornia, Lorenzo Baraldi, Rita Cucchiara• 2024

Related benchmarks

TaskDatasetResultRank
Visual Question AnsweringEnc-VQA (test)
Single-Hop Accuracy36.8
69
Visual Question AnsweringE-VQA (test)
Accuracy35.5
56
Knowledge-Intensive Visual Question AnsweringInfoSeek (val)
Accuracy (All)40.2
30
Visual Question AnsweringInfoSeek (val)
Unseen-Q Accuracy43.5
28
Visual Question AnsweringInfoSeek
Overall Score40.1
15
Knowledge-Intensive Visual Question AnsweringE-VQA (test)
BEM (Single-Hop)28
15
Visual Question AnsweringE-VQA
Accuracy35.5
15
Entity RetrievalInfoSeek (val)
R@156.1
9
Entity RetrievalE-VQA (test)
Recall@10.156
7
Visual Question AnsweringViQuAE
F1 Score23.2
6
Showing 10 of 11 rows

Other info

Code

Follow for update