Prompt-Aware Adapter: Towards Learning Adaptive Visual Tokens for Multimodal Large Language Models
Yue Zhang, Hehe Fan, Yi Yang
TL;DR
The paper addresses the inefficiency of prompt-agnostic adapters in multimodal LLMs, where visual tokens are generated without regard to the concrete objects highlighted by the prompt. It introduces a prompt-aware adapter that uses global and local attention to dynamically embed visual inputs according to the prompt, aligning visual cues with textual semantics. Across COCO-QA and the MME benchmark, the approach yields significant improvements in perception and cognition tasks, with ablations confirming the complementary roles of global and local attention. The method reduces the cognitive load on LLMs and enhances robust visual reasoning in complex scenes, offering a practical path toward more reliable multimodal understanding.
Abstract
To bridge the gap between vision and language modalities, Multimodal Large Language Models (MLLMs) usually learn an adapter that converts visual inputs to understandable tokens for Large Language Models (LLMs). However, most adapters generate consistent visual tokens, regardless of the specific objects of interest mentioned in the prompt. Since these adapters distribute equal attention to every detail in the image and focus on the entire scene, they may increase the cognitive load for LLMs, particularly when processing complex scenes. To alleviate this problem, we propose prompt-aware adapters. These adapters are designed with the capability to dynamically embed visual inputs based on the specific focus of the prompt. Specifically, prompt-aware adapters utilize both global and local textual features to capture the most relevant visual clues from the prompt at both coarse and fine granularity levels. This approach significantly enhances the ability of LLMs to understand and interpret visual content. Experiments on various visual question answering tasks, such as counting and position reasoning, demonstrate the effectiveness of prompt-aware adapters.
