Question Aware Vision Transformer for Multimodal Reasoning
Roy Ganz, Yair Kittenplon, Aviad Aberdam, Elad Ben Avraham, Oren Nuriel, Shai Mazor, Ron Litman
TL;DR
This paper tackles the misalignment between vision encodings and user queries in vision-language models by introducing QA-ViT, a lightweight, model-agnostic approach that conditions the vision transformer on the question. It computes a question representation, projects it per ViT layer, and fuses it into the frozen vision backbone via a late-fusion, cross-attention mechanism, preserving visual understanding while guiding attention to query-relevant regions. Extensive experiments across ViT+T5 and state-of-the-art VL models (BLIP2, InstructBLIP, LLaVA-1.5) on general and scene-text tasks show consistent improvements, including zero-shot settings, with ablations highlighting late fusion, question-encoder choice, and multi-task training as key factors. The results indicate QA-ViT’s strong potential to enhance OCR-aware visual reasoning in a broad range of VL applications, while remaining compatible with diverse architectures and scales.
Abstract
Vision-Language (VL) models have gained significant research focus, enabling remarkable advances in multimodal reasoning. These architectures typically comprise a vision encoder, a Large Language Model (LLM), and a projection module that aligns visual features with the LLM's representation space. Despite their success, a critical limitation persists: the vision encoding process remains decoupled from user queries, often in the form of image-related questions. Consequently, the resulting visual features may not be optimally attuned to the query-specific elements of the image. To address this, we introduce QA-ViT, a Question Aware Vision Transformer approach for multimodal reasoning, which embeds question awareness directly within the vision encoder. This integration results in dynamic visual features focusing on relevant image aspects to the posed question. QA-ViT is model-agnostic and can be incorporated efficiently into any VL architecture. Extensive experiments demonstrate the effectiveness of applying our method to various multimodal architectures, leading to consistent improvement across diverse tasks and showcasing its potential for enhancing visual and scene-text understanding.
