Introduction
Large Vision-Language Models (LVLMs), such as LLaVA and GPT-4o, have demonstrated remarkable capabilities in understanding and describing visual content. However, these models frequently suffer from "hallucinations"—generating descriptions of objects, attributes, or relationships that do not exist in the source image. This paper introduces Decoding with Generative Feedback (DeGF), a training-free framework designed to mitigate these errors by leveraging the generative capabilities of text-to-image models to provide a visual "sanity check" during the decoding process.
The Challenge of Hallucination in LVLMs
Hallucinations in LVLMs typically arise from two primary sources:
- Language Priors: The model relies too heavily on statistical patterns learned during text-only training (e.g., assuming a kitchen must contain a toaster) rather than the actual visual evidence.
- Visual Deficiencies: The model fails to accurately resolve complex scenes, leading to errors in counting, spatial positioning, or attribute identification.
While existing solutions often involve fine-tuning models on specialized datasets, these methods are computationally expensive and may lead to catastrophic forgetting. DeGF addresses these issues through a training-free approach that grounds textual output in visual reality in real-time.
Methodology: The DeGF Pipeline
The fundamental insight behind DeGF is that image-to-text description and text-to-image generation are inverse processes. If an LVLM's description is accurate, a generative model should be able to reconstruct a scene that aligns with the original image. DeGF implements this through a two-step pipeline:
1. Visual Reference Generation
When an LVLM generates an initial response, a pre-trained diffusion model (such as Stable Diffusion XL) is used to "visualize" that response. This creates a secondary visual reference ($v'$). If the LVLM has hallucinated an object—for instance, a duckling that isn't there—the generated image will likely include that hallucinated object, creating a visual representation of the model's error.
2. Self-Correcting Decoding
During the final response generation, the system evaluates the probability distribution for the next token by comparing the original image context with the generated "hallucinated" image context. The model uses Jensen-Shannon (JS) divergence as a signal to determine the decoding strategy:
- Complementary Decoding: If the probability distributions for both images agree (low divergence), the model is confident in its prediction and boosts the probability of that token.
- Contrastive Decoding: If the distributions diverge significantly (high divergence), it indicates a likely hallucination. In this case, the model treats the generated image as a "negative constraint." It penalizes tokens present in the hallucinated context and prioritizes those supported by the original visual input.
Experimental Evaluation
The authors evaluated DeGF across six diverse benchmarks to test its robustness against various hallucination types:
- POPE & CHAIR: Focused on object existence and open-ended captioning.
- MME-Hallucination: Evaluated existence, count, position, and color.
- MMBench & MMVP: Tested general multi-modal reasoning and fine-grained visual patterns.
- LLaVA-Bench: Assessed detailed descriptions of complex scenes.
Key Results
DeGF consistently outperformed state-of-the-art training-free methods like VCD and M3ID. On the POPE benchmark, DeGF improved accuracy by up to 5.24% and precision by 6.33%. It also showed significant gains in the MMVP benchmark, boosting LLaVA-1.5 performance from 22.67% to 27.33%, demonstrating its effectiveness in resolving fine-grained visual details that CLIP-based models often miss.
Qualitative evaluations aided by GPT-4V confirmed that DeGF produces responses that are not only more factually accurate but also more detailed than standard decoding methods.
Limitations and Future Work
The primary trade-off for the accuracy gains provided by DeGF is increased computational overhead. The requirement to generate an image and perform a secondary decoding pass results in approximately a 4x increase in latency (increasing from ~3.4 seconds to ~13.9 seconds per instance). Additionally, running a diffusion model alongside the LVLM increases GPU memory usage by roughly 21%.
Future research may focus on "distilling" this generative feedback into the model during the instruction-tuning phase. This would allow the model to benefit from the accuracy of generative grounding without the inference-time latency of running a separate diffusion model.
Summary updated