Skip to main content
QUICK REVIEW

[Paper Review] MACD: Model-Aware Contrastive Decoding via Counterfactual Data

Qixin Xiao|arXiv (Cornell University)|Feb 2, 2026
Adversarial Robustness in Machine LearningComputer Science0 citations
TL;DR

MACD proposes model-aware counterfactual data to guide contrastive decoding in Video-LLMs, reducing hallucinations by masking evidence-critical objects and frames based on the model’s own loss.

ABSTRACT

Video language models (Video-LLMs) are prone to hallucinations, often generating plausible but ungrounded content when visual evidence is weak, ambiguous, or biased. Existing decoding methods, such as contrastive decoding (CD), rely on random perturbations to construct contrastive data for mitigating hallucination patterns. However, such a way is hard to control the visual cues that drive hallucination or well align with model weaknesses. We propose Model-aware Counterfactual Data based Contrastive Decoding (MACD), a new inference strategy that combines model-guided counterfactual construction with decoding. Our approach uses the Video-LLM's own feedback to identify object regions most responsible for hallucination, generating targeted counterfactual inputs at the object level rather than arbitrary frame or temporal modifications. These model-aware counterfactual data is then integrated into CD to enforce evidence-grounded token selection during decoding. Experiments on EventHallusion, MVBench, Perception-test and Video-MME show that MACD consistently reduces hallucination while maintaining or improving task accuracy across diverse Video-LLMs, including Qwen and InternVL families. The method is especially effective in challenging scenarios involving small, occluded, or co-occurring objects. Our code and data will be publicly released.

Motivation & Objective

  • Motivate and address hallucination in Video-LLMs, especially under weak or biased visual evidence.
  • Introduce a training-free, inference-time method that uses model feedback to create targeted counterfactual inputs.
  • Integrate object- and frame-level counterfactual data into contrastive decoding to enforce grounding.
  • Demonstrate robustness and improvements across diverse benchmarks and backbone models.

Proposed method

  • Detect objects in video frames with a YOLO-style detector and form temporally consistent object tracks.
  • Create masked (perturbed) views by combining object- and frame-level masks into a counterfactual video.
  • Optimize mask strengths by gradient ascent on the Video-LLM’s reconstruction loss to identify evidence-critical regions.
  • Discretize optimized strengths to {0, r0, 1} for stability and interpretability of counterfactuals.
  • Apply contrastive decoding using the base view and the mined counterfactual view with tuned coefficients to promote grounded tokens and suppress hallucinations.
  • Maintain a training-free setting with only one extra forward pass per decoding step.

Experimental results

Research questions

  • RQ1How can model feedback be used to generate targeted, counterfactual visual perturbations that reveal a Video-LLM’s weaknesses?
  • RQ2Does object- and frame-level masking guided by the model improve contrastive decoding over random perturbations or internal token suppression?
  • RQ3Is MACD training-free and compatible with diverse Video-LLMs and benchmarks while maintaining or improving task accuracy?

Key findings

  • MACD consistently outperforms Baseline, VCD, and SID across six backbones and four benchmarks.
  • Object- and frame-level masking guided by the model’s loss leads to higher recall without sacrificing precision, yielding higher F1 and accuracy.
  • MACD improves object-hallucination metrics (Video-POPE) from 0.72 to 0.85 accuracy and from 0.70 to 0.80 F1 in EventHallusion, with reduced false-yes rates (40.0% to 17.0%).
  • Ablation shows full MACD configuration (per-object strengths and frame mask) yields the best balance of Recall and Precision.
  • Human evaluation confirms MACD masks focus on query-relevant evidence better than random occlusions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.