Introduction
Large Vision-Language Models (LVLMs) have demonstrated remarkable capabilities in multi-modal tasks by aligning vision encoders with powerful Large Language Models (LLMs). However, these models frequently suffer from hallucinations—generating descriptions of objects or attributes that do not exist in the visual input. This paper investigates the root causes of these hallucinations and introduces PAI (Pay More Attention to Image), a training-free inference-time intervention designed to rebalance the influence of visual and textual data.
The Challenge of "Text Inertia"
The authors identify a phenomenon termed "text inertia" as a primary driver of hallucinations. Because LLMs are significantly larger and trained on vast corpora of text, they often develop strong internal language priors. In LVLMs, this can lead to an imbalance where the model relies more on its "stubborn" language generation capabilities than on the provided image.
To demonstrate this, the researchers conducted an experiment where the visual input was removed mid-generation. They observed that the models often continued to produce the same hallucinated descriptions, indicating that the output was driven solely by context and language probability rather than visual evidence. This "auto-complete" behavior suggests that the image tokens are being overshadowed by the LLM's internal momentum.
The PAI Method
The proposed PAI algorithm is a dual-pronged, training-free approach that intervenes during the decoding process to ensure the model remains grounded in the visual input.
1. Exciting Image Attention
During the forward pass, PAI identifies the self-attention weights assigned to image tokens. By adaptively amplifying these weights (governed by a hyperparameter $\alpha$), the method forces the model to grant greater prominence to visual elements. This ensures that when the LLM generates the next token, the visual features are more influential in the calculation.
2. Image-Centric Logit Refinement
PAI employs a contrastive decoding strategy to penalize language-only biases. The model performs two parallel inferences:
- A multi-modal inference (image + text).
- A "blind" inference (text only).
By subtracting the text-only logits from the multi-modal logits (weighted by $\gamma$), the system effectively suppresses outputs that are purely the result of language priors. This process is conceptually similar to Classifier-Free Guidance (CFG) used in generative diffusion models, steering the model away from "hallucinated" text that would be generated even without an image.
Additionally, the method utilizes an "attention mode prior" by monitoring "attention sinks" (such as the BOS token). This allows the algorithm to determine the optimal timing for intervention, specifically targeting moments when the LLM's internal auto-complete begins to dominate the visual input.
Experimental Evaluation
The effectiveness of PAI was evaluated across several rigorous benchmarks:
- MSCOCO 2014 (CHAIR): Evaluates the rate of object hallucinations in long-form image descriptions.
- POPE (Polling-based Object Probing Evaluation): A VQA-based benchmark testing the model's ability to confirm or deny the presence of specific objects.
- MMHal-Bench: A dataset focusing on complex queries across categories like counting and object attributes.
- GPT-4V Assisted Evaluation: Utilizing GPT-4V to score the accuracy and detail of model responses.
Results and Discussion
The PAI method demonstrated substantial improvements across various LVLMs, including LLaVA, MiniGPT-4, and Shikra.
- Hallucination Reduction: On the LLaVA model using greedy decoding, the sentence-level hallucination rate (CHAIR$_S$) was reduced from 46.6 to 24.8, representing a near 50% improvement.
- Improved Accuracy: In multi-turn dialogues on the POPE benchmark, LLaVA’s F1 score rose from 84.27 to 86.83.
- Qualitative Grounding: Qualitative analysis showed that PAI successfully corrected instances where the base model hallucinated common objects (e.g., "motorboats" or "handbags") based on context, instead correctly identifying the actual objects present (e.g., "boats" or "umbrellas").
Conclusion
PAI offers a powerful, training-free solution to the problem of text inertia in LVLMs. By amplifying visual attention and penalizing language-only logits, it significantly reduces hallucinations without the need for expensive fine-tuning or RLHF. While the method is currently bounded by the resolution capabilities of the underlying vision encoder, it sets a new precedent for inference-time interventions in multi-modal AI.
Summary updated