TL;DR
Vision-Language models (like CLIP and BLIP) can be fooled by subtle pixel-and-word tweaks, but crafting an adversarial attack on one open-source model that reliably fools an unseen "black-box" model is notoriously tricky. This paper introduces GGT, an attack strategy that cleanly separates where to strike from how the damage spreads—using cross-modal gradients to pinpoint an image's semantic Achilles' heel, and a graph of the image's natural geometry to ripple the noise outward. The result is an attack that avoids overfitting to a single model's quirks and breaks unseen vision-language architectures at record rates.
What Problem Does This Paper Address?
Vision-Language Pre-training (VLP) models learn to match images and text, powering everything from search engines to multimodal chatbots. To stress-test their security in realistic scenarios where we don't have access to the target model's weights (the "black-box" setting), researchers use transfer-based attacks: you craft a subtle perturbation on a local surrogate model and hope it transfers to fool an unseen victim model.
Existing transfer attacks run into two traps:
- Imprecise targeting: They either spray noise blindly across the whole image or rely on raw attention maps. Just because a model looks strongly at a background patch doesn't mean perturbing it will actually flip its final decision.
- Surrogate overfitting: When spreading perturbations across an image, prior methods rely on the surrogate model's internal cross-modal representations. This bakes the surrogate's specific architectural biases into the noise, so when a victim model processes the image through a different pathway, the attack fizzles out.
Methods
The authors propose the Graph-Guided Transferable (GGT) attack. While they use a standard text attack—swapping the single most attended word with a plausible BERT-generated substitute (e.g., changing "roof" to "end")—their image attack introduces a clever decoupling of what to perturb and how to propagate.
- What to Perturb (Crux Patch Selection): Instead of raw attention, GGT scores every image patch on two novel criteria and multiplies them to find the top 25% "crux" patches:
- Irreplaceability: Cross-attention weighted by the gradient of the image-text matching loss. This filters out high-attention distractions and isolates patches that genuinely drive the prediction.
- Pervasiveness: The normalized entropy of a patch's attention across all text tokens. A patch referenced by many words acts as a semantic hub; breaking it disrupts the whole sentence, not just one word.
- How to Propagate (Graph-Guided Propagation): Rather than letting the surrogate's fusion layers dictate how noise spreads, GGT builds a graph directly from the clean image. It combines an 8-connected spatial grid (pure geometry) with pre-fusion visual feature similarity (connecting semantically similar patches, like two parts of a roof). Using Breadth-First Search from the crux patches, GGT ripples the perturbation outward along this graph, decaying the strength at each hop ($\lambda = 0.7$).
Finally, the joint perturbation is optimized to break cross-modal alignment while using a structural similarity (SSIM) regularizer to keep the visual noise subtle.
Datasets
No new datasets are introduced; the authors evaluate on four standard vision-language benchmarks:
- Flickr30K and MSCOCO: Used to test image-to-text and text-to-image retrieval.
- RefCOCO+: Used to test zero-shot transfer to visual grounding (locating objects from text).
- SNLI-VE: Used to test zero-shot transfer to visual entailment (deciding if an image logically implies a text hypothesis).
Key Insights and Ideas
- Overfitting the surrogate is a trap: In white-box tests (attacking the surrogate itself), a baseline called HQA-VLAttack actually scores higher than GGT (~99% vs. ~96%). Yet in black-box transfer, GGT crushes it. Building the propagation graph from intrinsic image structure acts as a structural regularizer—sacrificing a tiny bit of surrogate-specific exploitation for massive gains on unseen models.
- Pure geometry does most of the heavy lifting: While GGT's graph uses pre-fusion vision features alongside spatial neighbors, the authors note that stripping out the learned features and using a 100% model-agnostic spatial grid yields nearly identical transferability.
- Patch-based victims feel it most: Because the graph operates at the patch level, Vision Transformer (ViT) victims suffer huge drops. Convolutional victims (like $\text{CLIP}_{\text{CNN}}$) still succumb more to GGT than baselines, but by narrower margins since they don't process images as discrete patch tokens.
Key Results
Testing across six diverse victim models—including aligned architectures ($\text{CLIP}_{\text{ViT}}$, $\text{CLIP}_{\text{CNN}}$) and fused architectures (ALBEF, TCL, X-VLM, BLIP)—GGT takes the crown across the board:
- Retrieval dominance: Beats the strongest baselines by an average of 9.72% in text retrieval and 5.08% in image retrieval Attack Success Rate (ASR), with peak gains of 23.66% and 16.06% (ALBEF $\rightarrow$ TCL on MSCOCO).
- Cross-task disruption: Taking retrieval-crafted adversarial examples and feeding them without retuning into other tasks drops visual grounding accuracy by up to 29.02% and visual entailment by 34.84% (pushing it down to 45.02%, near random 3-way guessing at 33.3%).
- Fooling frontier MLLMs: Qualitatively, querying GPT-4o and Claude Sonnet 4.5 with GGT-perturbed images causes both models to hallucinate wild factual errors (like mistaking a person in formal wear for someone in a bear costume).
Limitations and Future Work
- Architecture sensitivity: As noted, black-box transfer margins are noticeably smaller when attacking convolutional backbones ($\text{CLIP}_{\text{CNN}}$) compared to patch-token-based transformers.
- Visual imperceptibility: Propagating perturbations outward across wider neighborhoods (higher decay factor $\lambda$) boosts attack success, but keeping those spread-out perturbations completely invisible to the human eye remains an open challenge for future work.
Summary updated