NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

VACoDe: Visual Augmented Contrastive Decoding

Sihyeon Kim, Boryeong Cho, Sangmin Bae, Sumyeong Ahn, Se-Young Yun

TL;DR

Large Vision-Language Models (LVLMs) often hallucinate or generate inaccurate responses. This paper introduces VACoDe, a method that adaptively selects the best image augmentation for contrastive decoding, significantly improving LVLM output quality across various tasks and models without requiring additional training.

What Problem Does This Paper Address?

Recent Large Vision-Language Models (LVLMs) have shown impressive capabilities in understanding and generating content based on both images and text. However, a persistent challenge is their tendency to "hallucinate" – producing outputs that are not grounded in the provided visual information, often due to biases learned from their vast training data.

Previous attempts to mitigate this issue have involved "contrastive decoding" (CD). The core idea is to generate two sets of potential outputs: one based on the original image and another based on a modified (augmented) version of the image. By comparing these outputs, the model can identify and suppress hallucinated tokens. However, existing CD methods often rely on a single, fixed augmentation strategy (like adding noise) or require external knowledge sources (like bounding box labels), which can be costly and restrictive. The paper argues that the effectiveness of augmentation is highly dependent on the specific query and image, and a one-size-fits-all approach is suboptimal.

Methods

The paper introduces VACoDe (Visual Augmented Contrastive Decoding), a novel approach that tackles the limitations of previous CD methods by adaptively selecting the most effective image augmentation for each query.

Here's how it works:

  1. Multiple Augmentations: Instead of a single augmentation, VACoDe considers a set of diverse visual augmentations (e.g., color inversion, flipping, cropping, sharpening, noise).
  2. Contrastive Augmentation Identification: The key innovation is how VACoDe identifies the "best" augmentation. It hypothesizes that an augmentation is "contrastive" if it significantly alters the LVLM's output distribution for a given query, making it more likely to produce an incorrect answer with the original image. This contrast is measured using a softmax distance metric (specifically, the L2 norm of the difference between output probability distributions).
  3. Adaptive Selection: For each input image-query pair, VACoDe calculates the distance metric for all candidate augmentations. It then selects the augmentation that yields the largest distance, assuming this augmentation creates the most beneficial contrast for CD.
  4. Contrastive Decoding: Once the optimal augmentation is selected, VACoDe applies the standard contrastive decoding process using the original image and the chosen augmented image to generate the final, more accurate output.

Crucially, VACoDe operates without requiring additional training for the LVLM or relying on external models or data.

Datasets

The authors evaluate VACoDe on three established vision-language datasets:

  • MME [9]: A comprehensive benchmark for multimodal large language models, with a focus on perception and cognition tasks. The paper specifically uses the perception categories.
  • MMBench [24]: Another benchmark designed to evaluate LVLM capabilities across various vision-language tasks.
  • VQAv2 [10]: A widely used dataset for Visual Question Answering, which allows for evaluating how well models utilize visual information beyond language priors.

Key Insights and Ideas

  • Augmentation Specificity is Crucial: The effectiveness of image augmentation for contrastive decoding is not universal. Different augmentations have varying impacts depending on the query type and the image's salient features. For instance, color augmentation is effective for color-related queries, while cropping might be better for object existence queries.
  • Distance Metric as a Proxy for Contrast: The paper proposes that the difference in output probability distributions (measured by distance metrics like L2 norm) between an original image and an augmented image can effectively identify augmentations that create beneficial "contrast" for CD.
  • VACoDe's Universality: The method demonstrates robustness across different LVLM architectures (LLaVA, InstructBLIP, Qwen-VL) and model sizes, suggesting it's a generalizable technique for improving LVLM output quality.
  • Eliminating "Noisy" Augmentations: The "selection" strategy, which involves choosing a subset of augmentations based on their effectiveness, outperforms using all augmentations, highlighting the importance of filtering out less useful or even detrimental augmentations.

Key Results

  • Performance Improvement: VACoDe consistently outperforms baseline CD methods and regular decoding across all tested datasets (MME, VQAv2, MMBench) and LVLM models. For example, on the MME dataset, VACoDe with the "selection" strategy achieved the highest scores across various categories and total performance.
  • Quantitative Gains: The paper reports significant improvements in metrics like MME score and accuracy. For instance, in Table 3, VACoDe selection consistently leads to higher scores for LLaVA-1.5 13B, Qwen-VL 7B, and InstructBLIP 13B compared to other methods.
  • Qualitative Examples: The paper provides case studies (Figure 7) where VACoDe successfully corrects incorrect original outputs by selecting appropriate augmentations (e.g., edge augmentation for a "sheep behind car" query, flip augmentation for a "fruit corner" query).

Limitations and Future Work

  • Limitation: If the candidate set of augmentations lacks sufficient contrastive options for a specific task, the performance gain might be limited, even with VACoDe's selection mechanism.
  • Future Work:
    • Automatic Search for Augmentation Sets: Developing methods to automatically discover optimal augmentation sets tailored to specific tasks.
  • Visual vs. Language Contrast: Investigating the interplay between visual contrast and language contrast in LVLMs to further enhance understanding and performance.

Summary updated

BibTeX
@inproceedings{kim2024vacode,
  author = {Sihyeon Kim and Boryeong Cho and Sangmin Bae and Sumyeong Ahn and Se-Young Yun},
  title = {{VACoDe: Visual Augmented Contrastive Decoding}},
  booktitle = {TiFA @ ICML},
  year = {2024},
  url = {https://openreview.net/forum?id=Li4mQaI1H4},
}
Figure