Abstract
Large Vision-Language Models (LVLMs) have shown remarkable performance on many visual-language tasks. However, these models still suffer from multimodal hallucination, which means the generation of objects or content that violates the images. Many existing work detects hallucination by directly judging whether an object exists in an image, overlooking the association between the object and semantics. To address this issue, we propose Hierarchical Feedback Learning with Vision-enhanced Penalty Decoding (HELPD). This framework incorporates hallucination feedback at both object and sentence semantic levels. Remarkably, even with a marginal degree of training, this approach can alleviate over 15% of hallucination. Simultaneously, HELPD penalizes the output logits according to the image attention window to avoid being overly affected by generated text. HELPD can be seamlessly integrated with any LVLMs. Our experiments demonstrate that the proposed framework yields favorable results across multiple hallucination benchmarks. It effectively mitigates hallucination for different LVLMs and concurrently improves their text generation quality.
Introduction
Large Vision-Language Models (LVLMs) like LLaVA and mPLUG-Owl2 represent a significant leap in multimodal AI. However, a persistent challenge remains: multimodal hallucination. This occurs when a model generates descriptive text that contradicts the visual evidence provided in an image. While current research often focuses on simple object existence, hallucinations frequently arise from complex semantic inferences where the model generates plausible but incorrect narratives based on context rather than sight.
The Problem: Semantic Context and Textual Over-trust
Two primary issues drive these hallucinations:
- Semantic Misalignment: Models often correctly identify a primary object but hallucinate surrounding details to create a coherent story. For instance, seeing a squirrel jumping in the snow might lead a model to hallucinate "predators" or "trees" to explain the action.
- Textual Over-trust: During the auto-regressive decoding process, models tend to shift their attention away from the image and toward the text they have already generated. This internal feedback loop causes the model to "forget" the visual input, leading to increasingly fabricated content as the sentence grows longer.
The HELPD Framework
To address these challenges, we introduce Hierarchical Feedback Learning with Vision-enhanced Penalty Decoding (HELPD). This framework operates through two distinct mechanisms: hierarchical training feedback and a novel inference-time decoding strategy.
Hierarchical Feedback Learning
HELPD employs Reinforcement Learning (REINFORCE) to fine-tune models using a dual-reward system:
- Object-level Reward: Calculates an F1 score by comparing generated objects against ground-truth labels.
- Sentence-level Reward: Utilizes GPT-4 to perform a semantic comparison, identifying hallucinations that involve incorrect relationships or contexts rather than just missing objects.
Vision-enhanced Penalty Decoding (VEP)
To combat textual over-trust, we analyzed attention matrices and found that visual grounding often degrades as generation progresses.
VEP introduces a penalty during inference that adjusts output logits based on the attention window. By penalizing tokens that rely too heavily on prior text at the expense of visual features, VEP forces the model to maintain strong visual grounding throughout the entire generation process.
Experimental Results
HELPD was evaluated across several benchmarks, including POPE, CHAIR, and MMHal-Bench. Key findings include:
- Significant Hallucination Reduction: On the CHAIR benchmark, HELPD reduced sentence-level hallucinations ($CHAIR_s$) by up to 19.4% for mPLUG-Owl2.
- Improved Accuracy: The framework consistently improved F1 scores on the POPE benchmark across random and adversarial settings.
- Quality Preservation: Unlike other methods that simplify output to avoid errors, HELPD maintains linguistic richness and caption length while improving accuracy.
Conclusion
HELPD provides a robust, plug-and-play framework for mitigating hallucinations in LVLMs. By combining hierarchical semantic feedback with a decoding strategy that re-prioritizes visual evidence, HELPD significantly improves the reliability of multimodal AI without requiring massive retraining or sacrificing text quality.
Summary updated