Introduction
Large Vision-Language Models (LVLMs) like LLaVA have demonstrated remarkable capabilities in multimodal tasks. However, they are frequently plagued by visual hallucination (VH)—the tendency to describe objects or attributes not present in the input image. Existing mitigation strategies often force a trade-off between efficiency and trustworthiness, requiring secondary decoding passes, expensive rollbacks, or external object detectors that significantly slow down inference.
VASparse (Visual-Aware Sparsification) is a novel "plug-and-play" decoding algorithm designed to break this dilemma. It improves both accuracy and speed by intelligently pruning redundant tokens and penalizing "attention sinks," ensuring the model remains grounded in visual reality without massive computational overhead.
Methodology
VASparse operates through three integrated components that refine the decoding process:
- Visual-Aware Token Selection: While attention in LVLMs is naturally sparse, simply pruning low-attention tokens can discard vital visual information. VASparse employs a "visual saliency score" to preserve image tokens that are visually relevant, even if they currently hold low attention scores.
- Sparse-based Visual Contrastive Decoding (SVCD): To amplify visual context, the model contrasts a "visual-aware" distribution with a "vision-agnostic" one (where image tokens are masked). Unlike traditional contrastive methods that require full-decoder passes, SVCD operates directly on token embeddings and the language head for maximum efficiency.
- Sinking Attention Penalty: LVLMs often over-focus on semantically empty tokens (e.g., periods or start tokens). VASparse identifies these "attention sinks" and applies a penalty, redirecting the model's focus toward meaningful visual and textual content.
Key Insights and Ideas
The Sparsity Paradox
Traditionally, pruning is a technique for speed. In VASparse, it is a tool for accuracy. By removing "noisy" or redundant tokens that contribute to linguistic bias, the model is forced to rely more heavily on the remaining, visually-grounded tokens.
Image Tokens as "Second-Class Citizens"
Analysis reveals that LVLMs naturally prioritize text tokens over image tokens during decoding. This inherent bias is a primary driver of hallucinations, as the model favors linguistic patterns over visual evidence.
Experimental Results
The authors evaluated VASparse across major model families (LLaVA-1.5, MiniGPT-4, and mPLUG-Owl2) using benchmarks like CHAIR, POPE, and MME.
- Hallucination Reduction: On the CHAIR benchmark, VASparse reduced the instance-level hallucination rate of LLaVA-1.5 from 7.22% to 5.82%.
- Efficiency Gains: Compared to the state-of-the-art HALC method, VASparse achieved up to a 12.9x speed improvement. In some configurations, it even outperforms standard greedy decoding speed by reducing the number of tokens processed in the KV cache.
Conclusion
VASparse demonstrates that visual hallucination can be mitigated efficiently by leveraging the inherent sparsity of attention mechanisms. By prioritizing visual saliency and penalizing attention sinks, it provides a robust, architecture-agnostic solution for more trustworthy LVLMs. Future work may extend this visual-aware sparsity logic to video-language models to address the even greater "token explosion" challenges in that domain.
Summary updated