Vision-language models (systems that take an image plus a text prompt and write a text answer) can be jailbroken through the image. Two kinds of image attack matter. The first adds tiny pixel noise that a human cannot see. The second puts harmful meaning in plain sight, for example a forbidden instruction written as text inside the picture. The usual answer to the first kind is adversarial purification: add noise to the image, then let a diffusion model (a generator trained to turn noisy images back into clean ones) restore it, so the attacker's fragile pattern is washed out. Purification forces a choice of strength. Too little noise and the attack survives. Too much and the restored image loses detail or drifts to different content. Under adaptive attackers, who know the defense and optimize against it, purification at any single strength has already been broken on image classifiers.
This note proposes to stop picking one strength. We purify the same image at several strengths, ask the target model the same question about each version, and use the disagreement among the answers as the alarm. A benign image's answer barely changes when it is gently purified. An answer produced by an invisible perturbation changes as soon as the perturbation is dissolved. An attacker who wants to evade this test must make the attack survive purification at every strength. On classifiers that pushes them toward large, low-frequency, meaningful changes. Our bet is that in vision-language safety those changes are the kind a separate meaning-level check (a caption read by a safety-aligned text model) can see. The research question is whether these two checks together leave the adaptive attacker no room. The work is designed so that a negative answer is just as publishable.
Core Claim
Let $P_t$ be a diffusion purifier run at noise strength $t$, and let $r(\cdot)$ be the target model's text response to a fixed prompt. Let $d$ be a semantic distance between two responses, such as embedding distance or judge-scored contradiction. We score each input by
$$D(x) = \max_{t \in T} \; d\big(r(x),\, r(P_t(x))\big),$$
where $T$ is a small set of strengths running from very light to moderately heavy. Inputs with $D(x)$ above a threshold calibrated on benign data are handled in one of two ways: the system answers from the most-purified version, or it refuses. Every input, flagged or not, also goes through a meaning-level check that captions the image and gives the caption and prompt to an aligned text model.
The claim has two parts. First, $D$ separates perturbation-driven jailbreaks from benign inputs without touching model weights, gradients or activations, so it works on closed APIs. Second, its weakness is complementary to the meaning-level check. To drive $D$ down, the attacker has to plant content that survives the strongest purification. Content that survives heavy denoising is, roughly by construction, content a captioner can describe.
What would be new is the joint adaptive evaluation. No paper in our file tests a vision-language jailbreak defense against an attacker who back-propagates exactly through the purifier, across all strengths, while also evading a meaning-level filter. Whether that attacker succeeds is the central empirical question.
Where This Sits
Several papers motivate the gap. On the Adversarial Robustness of Multi-Modal Foundation Models shows that pixel perturbations as small as 1/255 can steer generation. MM-SafetyBench reports that LLaVA-1.5-7B's attack success on illegal-activity queries rises from 5.25% with text alone to 79.38% when the instruction is set in typography. FigStep makes the same point across commercial models. Together these establish that the image channel bypasses text-trained refusal. They also establish that the image channel carries two very different threats: removable noise and readable meaning.
Several papers constrain the design. DiffBreak introduces exact gradients through the diffusion purifier, which cut DiffPure's CIFAR-10 robust accuracy from about 62% to 17.19%. It also introduces a low-frequency attack that drives robust accuracy to about 0% even under majority voting. Any single-strength purifier for vision-language models should therefore be presumed broken until it is tested this way. That is why we treat purification as a source of evidence rather than as the defense itself.
The directional-bias defense in Adversarial Attacks Already Tell the Answer reports a split result on CLIP classification. Under adaptive attacks that combine a differentiable stand-in for the defense with averaging over its randomness, its feature reconstruction fails. Its detection score still flags about 81% of those attacks. We read this as evidence that detection is harder to evade than repair, and we build on it. Our setting differs from theirs in four ways: we score generated responses rather than CLIP features, we vary diffusion strength rather than applying hand-picked transforms, we target safety rather than classification accuracy, and we need only black-box access.
CAMO splits harmful intent into a benign text puzzle and benign image clues. It reaches 81.82% attack success on GPT-4o and evades perplexity, OCR-toxicity and moderation filters 100% of the time. It marks the boundary of our meaning-level check, and we include it as an explicit stress test rather than claim to solve it.
Several papers supply methods we reuse. DiffCAP shows that diffusion purification can restore LLaVA's COCO CIDEr from 3.1 under attack to 116.9, against a clean score of 115.5. It does this by stopping noise injection when the vision encoder's representation stabilizes. That is evidence that light purification preserves benign answers, which our score depends on. DiffCAP picks one stopping point and was evaluated on captioning and VQA, not jailbreaks, and not against exact-gradient attacks. Consistency Purification gives single-step purification, which keeps a multi-strength sweep affordable. Diffusion Models for Adversarial Purification and (Certified!!) Adversarial Robustness for Free! supply the frozen off-the-shelf purifier.
The meaning-level check is the LLM-Pipeline from The VLLM Safety Paradox. It routes the prompt and an image caption through an aligned Llama 3.1 and reports 0.7% attack success on VLSafe. Retention Score also runs inputs through diffusion variations, but it uses them to audit a model's jailbreak risk offline. We use similar variations as an online, per-input detector.
Research Program
The system is built from frozen parts: an off-the-shelf image diffusion model run at four to six strengths, the target model, a captioner, and an aligned text model. Nothing is trained except two thresholds, which are fit on benign data only.
The first stage measures the gap in $D$. On benign queries from MM-Vet, ScienceQA and COCO, we measure how $D$ is distributed. On static attacks (perturbation jailbreaks in the style of Schlarmann and UniGuard, FigStep, MM-SafetyBench typography and combined images, and the image-bearing part of JailBreakV-28K) we measure how $D$ separates benign from attacked inputs. The expectation is that perturbation attacks score high and typography scores low. Typography scores low because its harm is real content, so that case belongs to the meaning-level check.
The second stage is an adaptive attack written specifically against the combined system, and it is the main deliverable. The attacker has white-box access to the purifier, the strength set, the distance $d$, the captioner and the target (LLaVA-1.5-7B). The attacker optimizes a perturbation with four aims at once. It should maximize the probability of a harmful target response. It should minimize $D$, using DiffGrad-style exact gradients through every $P_t$ with replayed randomness. It should keep the caption's harm score from the text model low. It should stay within a perceptual budget. We run this optimization in both the high-frequency and the low-frequency parameterization from DiffBreak, and we sweep the weights on the four aims.
The output is an empirical frontier: attack success against the perturbation budget, at each detection threshold. This frontier is the evidence that settles the core claim.
The third stage covers transfer and compositional attacks. Perturbations from the second stage are transferred to Qwen2-VL. CAMO-style decomposed prompts are run in a black-box setting against GPT-4o through its public interface. In this stage we report failures as plainly as successes.
Baselines
The naive reference point is the undefended model. File values for LLaVA-1.5-7B are 50.13% attack success on JailBreakV-28K (RESTA) and 79.38% under MM-SafetyBench typography. We reproduce both rather than trusting them.
The strongest existing method on static benchmarks is SafeSteer (SafeSteer). It extracts a refusal direction from the model's internal activations, projects it onto a low-rank safety subspace, and scales its strength with a harm classifier. It reports reducing average attack success on LLaVA-v1.5, across MM-SafetyBench and JailbreakV-28k, from 62.8% to 5.9%, with a 1.7-point MM-Vet gain. It is the strongest competitor because it is the best number in the file. It also needs activation access, so it is not a peer on black-box deployment. We run it from its released settings on the same LLaVA checkpoint and prompt splits. Under our adaptive attacker it gets an equal optimization budget, with the harm classifier and steering included in the attacker's gradient path. Beating it means matching its static attack success within a few points while staying black-box, and having lower attack success than it under the matched adaptive attack.
The strongest black-box competitor is the LLM-Pipeline from the VLLM Safety Paradox (0.7% on VLSafe). We run it with the same captioner and the same aligned text model that our meaning-level check uses, so the only difference between the systems is the $D$ score.
A fixed-strength purifier is the direct test of the tradeoff. We run DiffCAP with its stopping rule, and DiffPure at the single strength that maximizes benign MM-Vet minus static attack success on a held-out split. EigenShield (EigenShield) reports up to a 63-point reduction on LLaVA-v1.5-7B, and RESTA reports 25.93% on JailBreakV-28K with ScienceQA falling from 64.07% to 61.42%. Both serve as embedding-access reference points. UniGuard (UniGuard) is the static-noise reference.
The no-purification ablation is an output-only judge: the same aligned text model reads the model's response and refuses if it is harmful. That isolates the key ingredient. Further ablations remove the meaning-level check, and replace the strength sweep with a single strength. All methods share the same benign false-refusal budget, fixed at 5% on a held-out mix of MM-Vet and VLGuard-safe queries, and the same attacker compute.
For adaptive attacks on any vision-language purification defense, no reported result found on Lacuna. Our adaptive numbers for the baselines are therefore our own, produced under the matched protocol.
Why not just…?
Why not just pick one good purification strength, as DiffCAP does? DiffBreak's low-frequency attack is direct evidence against single-strength purification on classifiers: robust accuracy goes to about 0%, even with voting. A fixed-strength purifier gives the attacker one known function to differentiate through. Our second stage tests this on vision-language safety directly. If fixed-strength purification holds up under exact gradients as well as the sweep does, the sweep is unnecessary and we will say so.
Why not just filter the output with an aligned text model? This is the most serious alternative. On static attacks it may match us, because a harmful response is usually obviously harmful. Two things argue against it being enough. First, the output judge is itself a target. CAMO shows that inputs can be crafted to pass moderation filters entirely, and an adaptive attacker can add "phrase it so the judge passes it" to the objective. Second, $D$ checks agreement between responses, not harmfulness, so fooling a harm classifier does not lower it. The output-only ablation, run under the full adaptive attacker with the judge inside the gradient path, settles the question. If it matches the full system, we drop $D$ and report that result.
Why not just caption the image and run a text safety check (the LLM-Pipeline)? It handles typography well, which is why it is part of our system. A captioner, however, describes what an image shows, not what invisible noise does to a different model. A perturbation tuned on LLaVA can leave the caption benign while still driving the target's response. The perturbation-attack rows of the first and second stages, comparing the pipeline alone with the pipeline plus $D$, show whether that gap is real.
Why not just steer activations, as SafeSteer does? Where weights are available it is a strong option, and we compare against it as such. It does not apply to API-served models, and it has not been tested against attackers who optimize to evade its harm classifier. Our matched adaptive comparison addresses that second question.
Proposed Experiments and Decisive Checks
The primary metric is attack success, judged by the same aligned judge for every method and spot-checked by humans on 300 samples. It is reported together with the benign false-refusal rate, MM-Vet, ScienceQA and A-OKVQA utility, and wall-clock latency. Latency is reported against Agentic Moderation's roughly 1.5 s reflection loop (Agentic Moderation) and SafeSteer's 2.42 s per response.
The decisive check is the second-stage frontier. The proposal succeeds if, at a perceptual budget where undefended attack success exceeds 50%, the jointly adaptive attacker stays more than 20 points below its success against the output-only and LLM-Pipeline baselines run under the same attack. It fails if the attacker can lower $D$ and pass the caption check together. A secondary check examines adaptive images that survive purification. If they are visibly or captionably harmful, the pincer argument holds. If they are near-invisible low-frequency shifts that captioners ignore, the argument fails, and that failure is a useful finding about how far purification can go for multimodal safety.
CAMO-style compositional attacks are reported separately. We expect neither part of our system to stop them. This is stated as a limit of the method, not hidden.
References
- On the Adversarial Robustness of Multi-Modal Foundation Models
- MM-SafetyBench: A Benchmark for Safety Evaluation of Multimodal Large Language Models
- $\mathsf{FigStep}$ : Jailbreaking Large Vision-Language Models via Typographic Visual Prompts
- DiffBreak: Is Diffusion-Based Purification Robust?
- Adversarial Attacks Already Tell the Answer: Directional Bias-Guided Test-time Defense for Vision-Language Models
- Cross-Modal Obfuscation for Jailbreak Attacks on Large Vision-Language Models
- Diffusion-based Cumulative Adversarial Purification for Vision Language Models
- Consistency Purification: Effective and Efficient Diffusion Purification towards Certified Robustness
- Diffusion Models for Adversarial Purification
- (Certified!!) Adversarial Robustness for Free!
- The VLLM Safety Paradox: Dual Ease in Jailbreak Attack and Defense
- Retention Score: Quantifying Jailbreak Risks for Vision Language Models
- Directional Embedding Smoothing for Robust Vision Language Models
- SafeSteer: Adaptive Subspace Steering for Efficient Jailbreak Defense in Vision-Language Models
- EigenShield: Inference-Time, Model-Agnostic Jailbreaking Defense via Causal Subspace Filtering
- UniGuard: Towards Universal Safety Guardrails for Jailbreak Attacks on Multimodal Large Language Models
- Agentic Moderation: Multi-Agent Design for Safer Vision-Language Models