Abstract
Audio-Visual Large Language Models (AV-LLMs) frequently suffer from hallucinations, generating content that contradicts sensory inputs. We present Audio-Visual Contrastive Decoding (AVCD), a training-free method designed to mitigate these errors. By dynamically masking less-dominant modalities based on internal attention patterns and contrasting the resulting biased outputs, AVCD enhances factual accuracy across video, audio, and image tasks. Our approach includes an entropy-guided mechanism to maintain computational efficiency, achieving significant improvements on benchmarks like AVHBench and MUSIC-AVQA.
Introduction
Multimodal Large Language Models (MLLMs) have demonstrated impressive capabilities in interpreting complex scenes. However, they are prone to "hallucinations"—generating plausible but factually incorrect descriptions. In the audio-visual domain, this often manifests as the model ignoring one modality in favor of another or relying too heavily on linguistic priors. For instance, a model might describe a man playing a piano simply because it sees a keyboard-like structure, even if the audio clearly features a cello.
While Contrastive Decoding (CD) has been effective for Vision-Language Models by contrasting "blind" and "sighted" outputs, extending this to trimodal (audio, video, text) settings is non-trivial. AV-LLMs face complex interactions where any combination of modalities can lead to bias.
Methodology: Audio-Visual Contrastive Decoding
AVCD generalizes contrastive decoding for trimodal inputs through three primary components:
1. Dominance-aware Attentive Masking
Rather than applying static noise, AVCD utilizes the model's own attention maps to identify which modality is dominating the current prediction. Typically, the language modality accounts for nearly 70% of the attention, effectively "drowning out" sensory evidence. AVCD applies masking to the less dominant sensory modalities (audio and video) by zeroing out high-attention tokens. This generates "biased" logits that represent the model's prediction when sensory evidence is suppressed.
2. Trimodal Contrastive Formulation
The framework employs a mathematical objective that contrasts the original "clean" logits against three perturbed versions: audio-masked, video-masked, and dual-masked (AV-masked). This forces the model to integrate evidence from all modalities more equitably, effectively subtracting the linguistic or unimodal biases.
3. Entropy-guided Adaptive Decoding (EAD)
To address the computational cost of multiple forward passes, AVCD introduces EAD. If the model's initial prediction has low entropy (high confidence), it skips the contrastive steps. The model only "thinks harder" using the full AVCD process when the output is ambiguous, reducing inference latency by over 30% while maintaining accuracy gains.
Experimental Results
The researchers evaluated AVCD across several benchmarks, including AVHBench (hallucination testing), MUSIC-AVQA (audio-visual reasoning), and standard video/image benchmarks.
- Hallucination Reduction: AVCD improved accuracy on the AVHBench dataset by 2% for VideoLLaMA2 and a significant 7% for video-SALMONN.
- Generalization: The method proved robust even on video-only tasks like MSVD-QA, outperforming base models by approximately 1%.
- Efficiency: The EAD mechanism successfully maintained accuracy gains while significantly lowering the computational overhead compared to full contrastive decoding.
Conclusion
AVCD provides a powerful, training-free solution to the hallucination problem in AV-LLMs. By leveraging internal attention for dynamic masking, it ensures that models remain grounded in sensory evidence rather than linguistic shortcuts. Future research will focus on refining confidence measures to catch "confidently wrong" hallucinations and further reducing the computational requirements for real-time applications.
Summary updated