Kaijing Ma

Paper Notes

Rethinking the Effectiveness of Contrastive Decoding in Mitigating Hallucinations in MLLMs

Paper Notes

Explore the method

Synthetic teaching values, not paper results. Nothing plays automatically; all steps remain available in the static explanation.

Static explanation and limits

This study asks whether hallucination improvements attributed to contrastive decoding actually come from its contrastive term.

  1. Input: a base distribution and a distribution from a perturbed visual input. Contrastive decoding combines subtraction with a plausibility filter.
  2. Keep tokens whose base probability is at least β times the largest base probability. This operation alone can remove unlikely tokens.
  3. Renormalize the filtered base distribution. This is the APC-S control: it isolates the filter without attributing its gains to subtraction.
  4. Compare a controlled subtraction variant against this control. The paper also probes hallucination and calibration; these synthetic bars do not predict benchmark performance.

Arnav Bendre, Guneesh Gupta, Shreyansh Modi, Kavish Grover, Chayan Aggarwal

Original reading note; cited methods and evidence, not an experimental reproduction. · 2607.25196v2

2607.25196v2

Separate the contrast from the candidate filter

This study asks whether hallucination improvements attributed to contrastive decoding actually come from its contrastive term.

The authors analyze VCD, ICD, and SID, which construct amateur predictions through image corruption, misleading instructions, or internal visual-token selection.

These mechanisms should not be assumed to isolate only hallucination-related information.

z_CD = z_E + α(z_E − z_A); V_head = {y : p_E(y) ≥ β max_w p_E(w)}

The contrast changes scores inside the surviving set, while the adaptive plausibility constraint changes which tokens can be sampled at all.

A fair control therefore samples from the expert under the same filter without any amateur subtraction.

The paper calls this control APC-S and also compares with ordinary sampling and greedy decoding.

1 / 52607.25196v2

Discriminative diagnostics

For yes/no questions, the layer-wise margin is the Yes logit minus the No logit.

m_l = z_l(Yes) − z_l(No); Δ_l = m_l^E − m_l^A

The analysis separates incorrect Yes answers from correct Yes answers before measuring whether the contrast selectively suppresses the former.

AUC measures ranking selectivity, but the sign of the shift determines whether a particular Yes prediction is suppressed or amplified.

On LLaVA-v1.5-7B POPE-COCO, VCD's output-layer AUC is 0.523 with interval [0.49, 0.55].

Its mean shift on hallucinated Yes answers is +3.32 log-odds, and 96.5% of those answers are pushed further toward Yes.

SID ranks better at AUC 0.691 but still has a positive mean shift of +1.61 on hallucinations.

Thus an above-chance ranking alone does not demonstrate corrective direction.

A tuned constant shift reaches 86.86% POPE accuracy versus 85.49% for greedy decoding in the reported control.

This supports a calibration explanation for that setting, rather than a universal impossibility result for contrastive methods.

2 / 52607.25196v2

Free generation and causal attribution

As β increases, APC-S becomes more similar to greedy decoding because fewer candidate tokens survive.

At β = 1, only maximum-probability tokens remain, with possible ties.

The paper measures token-set Jaccard similarity and adds bigram and content-word controls because token sets ignore order.

A second control replaces the structured contrast with magnitude-matched random perturbations while keeping APC fixed.

Together these experiments ask which component deserves credit, rather than only whether a combined decoder beats plain sampling.

3 / 52607.25196v2

Interpretation and reproduction

The strongest design lesson is to hold temperature, support truncation, generated length, and judge protocol fixed when comparing guidance signals.

Linear probes show that information is decodable, but do not by themselves establish that the generation circuit causally uses that information.

Likewise, pooled candidate-level statistics can hide prompt-specific improvements and failures.

The paper should be read as a mechanism audit under its evaluated models and perturbations, not a blanket rejection of all log-ratio steering.

4 / 52607.25196v2

Sources and reading scope

This original note covers the method and selected experimental evidence discussed above. It is not a full-paper translation. No model experiments were run for this note. Source license: https://creativecommons.org/licenses/by/4.0/

Author-code links in the source: No author-code link verified in the inspected source.

5 / 52607.25196v2

Original figures and data come from the cited paper. Explanations and comparisons are reading notes. Source versions and figure labels appear beside the material.