cs.CVOct 23, 2026

MAGIC: Margin-gated Contrastive Debiasing with Evidence Restoration for VLM Test-time Robustness Scaling

Authors: Shunshun Gu, Enze Zhang, Ming Pei, Hang Zhou, Xiao Luo

Organizations: University of Wisconsin–Madison · University of North Carolina at Chapel Hill

Abstract

This paper studies the problem of test-time robustness scaling for large vision-language models (LVLMs), which aims to mitigate language bias during inference. Existing approaches typically adopt test-time scaling techniques such as contrastive decoding to improve inference performance. Despite the progress, the performance of these approaches is far from satisfactory due to intentional evidence removal during perturbations and redundant inference cost. Towards this end, we propose a novel approach named Margin-gated Contrastive Debiasing with Evidence Restoration (MAGIC). The core of our MAGIC is to evaluate the decision margins of LVLMs to selectively activate textual and visual perturbation branches for efficient debiased inference. In particular, our MAGIC first measures the prediction margins of crucial tokens, and applies a gating function to identify low-confidence responses that are susceptible to language biases. For selected samples, we integrate the token logits from multiple textual and image perturbation branches with the original ones for debiased decision. More importantly, we selectively restore the most informative corrupted views with sharp prediction distributions for ambiguous samples after debiasing, enabling evidence recovery for discriminative decision-making. We further utilize a calibration dataset to actively identify and prune ineffective branches during contrastive debiasing for cost reduction. Extensive experiments on benchmark datasets validate the effectiveness of the proposed MAGIC in comparison with extensive baselines.

Figures & tables

Appendix figures & tables6 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Scaling Test-Time Robustness of Vision-Language Models via Self-Critical Inference Framework

    Mar 8, 2026Kaihua Tang, Jiaxin Qi, Jinli Ou +2VLM RobustnessTest-Time Scaling for VLMs

  2. Mitigating Bias in Large Vision-Language Models via Counterfactual Ensemble Decoding

    Aug 12, 2026Yisong Xiao, Aishan Liu, Yongxin Huang +6Cultural Bias in VLMsVision-Language Models

  3. Language Bias in LVLMs: From In-Depth Analysis to Simple and Effective Mitigation

    May 24, 2026Yangneng Chen, Jing LiVision-Language ModelsVLM Adaptation