TL;DR
Multimodal Large Language Models (MLLMs) often suffer from "visual consistency decay," where they gradually ignore the input image and rely too heavily on textual priors during long text generation. To address this, the authors introduce the Vision Inference Former (VIF), a lightweight, plug-and-play module that dynamically injects visual semantics directly into the model's hidden states at every decoding step. VIF consistently boosts performance across 14 benchmarks while introducing negligible computational overhead (only ~4% extra inference time).
What Problem Does This Paper Address?
The dominant paradigm for modern MLLMs (like LLaVA or Qwen-VL) relies on a "vision encoder + connector + LLM" architecture. During inference, visual features are extracted once and statically concatenated as a prefix to the textual sequence.
The authors identify two major limitations with this approach:
- Modality Dilution: Visual tokens are treated on par with textual tokens, diminishing the unique, foundational role of visual evidence.
- Visual Consistency Decay: As the model generates text autoregressively, the context window fills up with newly generated text tokens. The model's attention naturally shifts toward its own expanding textual history, causing its dependence on the initial visual tokens to weaken. Consequently, during long generations, the model tends to drift away from the visual content, leading to severe text-vision misalignment and object hallucinations.
Methods
The authors propose the Vision Inference Former (VIF), a lightweight two-layer Transformer module positioned between the visual representations and the LLM's final output embedding space. Instead of a one-time static injection, VIF dynamically interacts with the evolving textual representations at every single decoding step:
- Intra-visual Self-Attention: The first sub-layer performs self-attention over the visual embeddings ($Z^v$) to refine intra-image dependencies, allowing visual tokens to aggregate local semantic relationships.
- Cross-Attention: The second sub-layer takes the current hidden state of the LLM ($h_l$) as a query ($Q^h$) and cross-attends to the refined visual embeddings ($K^{\hat{v}}, V^{\hat{v}}$). This allows the model to adaptively retrieve contextually relevant visual evidence based on the exact text generated so far.
- Visual-Textual Fusion: The retrieved visual representation ($Z^h$) is combined with the original LLM hidden state ($h_l$) using a simple additive fusion strategy: $$h'_l = \text{Norm}(Z^h + h_l)$$ This visually enhanced representation ($h'_l$) is then fed into the language model head to predict the next token.
VIF introduces no additional supervision and is jointly optimized with the base MLLM using standard next-token prediction loss over a three-stage training pipeline (warm-up, pretraining, and instruction tuning).
Datasets
The authors evaluated VIF across 14 benchmark datasets spanning multiple domains:
- General Reasoning & Knowledge VQA: MMBench, MMMU, MMStar, OK-VQA, GQA, ScienceQA, and MMVP.
- Text-Related & OCR: OCRBench, TextVQA, AI2D, DocVQA, and InfographicVQA.
- Vision-Centric & Hallucination Evaluation: RealWorldQA and POPE.
For the instruction-tuning stage, the authors utilized a refined subset of the Cambrian dataset to enhance instruction-following capabilities without risking data leakage.
Key Insights and Ideas
- Empirical Proof of Visual Decay: By tracking token-level metrics on the RealWorldQA dataset, the authors showed that standard MLLMs exhibit a steady decline in cosine similarity and an increase in $L2$ distance between generated text tokens and visual tokens as the sequence length grows. VIF completely flattens these curves, proving it preserves visual grounding over extended generations.
- Information Theoretic Foundation: The authors justify VIF using mutual information. By introducing a dynamic visual inference variable $A_l$ conditioned on both the image and the current text state, they expand the dependency set. By the monotonicity of mutual information, this ensures that the influence of visual signals does not diminish over time: $$I(o_l; Z^v, A_l \mid Z^t, o_{<l}) \ge I(o_l; Z^v \mid Z^t, o_{<l})$$
Key Results
- Substantial Performance Gains: VIF consistently outperformed base models and standard supervised fine-tuning (SFT) baselines across all architectures (LLaVA-1.5-7B/13B and Qwen2.5-VL-7B).
- On the MMVP benchmark (designed to test fine-grained visual patterns), LLaVA-1.5-7B-VIF scored 53.33%, a massive leap from the baseline LLaVA-1.5-7B score of 24.70%.
- For Qwen2.5-VL-7B, VIF raised the general benchmark average from 70.92% to 73.08%.
- Negligible Computational Overhead: Despite operating at every decoding step, VIF adds minimal cost. Across five benchmarks, the average inference time increased by only 1.04×, and GPU memory consumption increased by just 1.05× compared to the baseline.
Limitations and Future Work
- Static Image Limitation: The current VIF design focuses entirely on static image reasoning. Directly integrating full visual representations using this method could face scalability bottlenecks in high-cost, long-context scenarios like video understanding.
- Simplistic Fusion Strategy: The model relies on a basic additive fusion mechanism ($Z^h + h_l$). While computationally efficient, it may fail to capture highly complex, non-linear cross-modal dependencies. The authors note that future work will explore more adaptive and expressive fusion mechanisms.
Summary updated