TL;DR
Making Large Vision-Language Models (LVLMs) resistant to adversarial image attacks comes with a sneaky hidden cost: it makes them hallucinate significantly more. Adversarial training causes the vision encoder to blur distinct spatial regions together into uniform representations, forcing the language model to guess based on text habits rather than actually looking at the image. Fortunately, the authors show we can fix this at inference time—without retraining—by gently steering the language decoder's internal activations back toward visually grounded reality.
What Problem Does This Paper Address?
If you want to deploy a Large Vision-Language Model (LVLM)—a system that takes an image and text to answer questions or write captions—you have two major reliability headaches. First, these models are fragile; imperceptible, maliciously crafted pixel noise (adversarial perturbations) can completely hijack their outputs. Second, they hallucinate, confidently describing objects or details that aren't in the picture.
Usually, researchers tackle these problems in separate silos. A popular, plug-and-play way to fix the adversarial fragility is to swap out the model's standard vision backbone (like CLIP) for an adversarially trained one—an encoder trained on perturbed images so it learns to ignore malicious noise.
The authors ask a simple, previously overlooked question: What happens to hallucination when we make an LVLM adversarially robust? As it turns out, plugging in a robust vision encoder systematically amplifies hallucinations across the board.
Methods
After diagnosing why robust encoders trigger hallucinations—a phenomenon the authors dub spatial token homogenization—they introduce Homogenization-Aware Latent Steering (HALS).
Latent space steering (nudging a model's internal hidden states during generation) is an established concept, and HALS adapts it specifically to counteract blurred visual representations without touching any model weights or altering the robust vision encoder:
- Simulating the Blur (Calibration): Using just 200 calibration images, the authors artificially induce homogenization in clean visual tokens by interpolating them toward their average (mean) token embedding. They generate a grounded caption from the clean tokens, and a hallucinated caption from the artificially homogenized tokens.
- Finding the "Groundedness" Direction: They feed both captions back through the model alongside the homogenized image tokens and record the difference in the language decoder's hidden states at the final token position. Running Principal Component Analysis (PCA) across all 200 shifts extracts a single, generalized vector—a compass needle pointing away from homogenization-induced guessing and toward visual grounding.
- Inference-Time Steering: Whenever the model generates new text at test time, this pre-computed steering vector (scaled by a strength parameter $\lambda$) is simply added to the decoder's hidden states on the fly.
Datasets
No new benchmarks were introduced, as the authors focused on stress-testing existing standard benchmarks:
- Calibration: 200 images from COCO to compute the HALS steering vector (plus 500 validation images for similarity analysis).
- Hallucination Evaluation: Five benchmarks covering yes/no discriminative tasks (POPE, MME) and open-ended generation (CHAIR, AMBER, and MMHal-Bench).
- Adversarial Robustness Evaluation: COCO (image captioning) and OKVQA (visual question answering) subjected to $\ell_\infty$ Auto-PGD adversarial attacks.
Key Insights and Ideas
- Spatial Token Homogenization: Prior work showed that adversarial training makes vision models ignore high-frequency details (like local textures and color variations) in favor of low-frequency global shapes. In an LVLM, high-frequency details are what make one image patch distinct from its neighbor. Suppressing them causes visual tokens from completely different parts of an image (say, a skier vs. snowy trees) to collapse into tight clusters—increasing inter-token cosine similarity by up to 38%, an effect amplified even further after passing through the cross-modal projector.
- When Blinded, Decoders Trust Language Priors: When every patch of an image looks roughly the same to the decoder, visual evidence becomes ambiguous. Facing degraded visual input, the language model falls back on statistical text habits ("language priors"). Show it a picture of a blue pumpkin on a chair, and as you dial up token homogenization, watch the model's probability smoothly flip from the grounded answer (blue) to the conventional, hallucinated guess (orange).
- Test-Time Defenses Suffer Too: Even transformation-based defenses (which inject Gaussian noise or counter-perturbations at test time rather than retraining the encoder) degrade visual info and spike hallucinations—and HALS fixes those, too.
Key Results
Tested across CLIP-based LVLMs (LLaVA-v1.5 7B, LLaVA-Next 13B, ShareGPT4V 7B) with four robust encoders (FARE, TeCoA, SLADE, TGA-ZSR), as well as MiniGPT-4 (13B) for test-time defenses:
- Crushing Hallucinations: On robust LVLMs, HALS reduces sentence-level object hallucination ($\text{CHAIR}_S$) by 31.3 points on average, boosts POPE accuracy by 2.6 points, and cuts hallucinations on AMBER by 30.6%. Under test-time defenses, it reduces open-ended hallucination by 27%.
- Bonus Gains on Standard Models: Surprisingly, HALS also reduces hallucinations on vanilla (non-robust) encoders, suggesting spatial homogenization or similar prior-overreliance naturally lurks in standard models too.
- Zero Robustness Penalty: Evaluating under adversarial attacks ($\epsilon = 4/255$) on COCO and OKVQA confirms HALS preserves the encoders' adversarial robustness—occasionally even nudging clean and robust captioning scores up by ~0.8–1.2 CIDEr points.
- Fastest on the Block: Because the steering vector is pre-computed once offline, HALS runs at 30.1 tokens/second, outperforming per-input steering or contrastive decoding baselines in both accuracy and speed.
Limitations and Future Work
Not explicitly discussed in a dedicated section in the main text (Pages 1–10). However, two practical constraints are apparent from the experimental setup:
- The adversarially trained vision encoders evaluated are all CLIP-based, limiting those specific plug-and-play experiments to CLIP-backbone LVLMs (though the authors do demonstrate generalizability to non-CLIP-based MiniGPT-4 using test-time defenses).
- The steering strength $\lambda$ requires task-type tuning: the authors use $\lambda = 1.2$ for open-ended generation benchmarks, vs. $\lambda = 0.2$ for discriminative tasks, VQA, and short captioning.
Summary updated