Shared Vision Geometry as the Carrier of Cross-Architecture VLM Jailbreaks

Vision-language models (VLMs) — models that read images and text together — inherit a known weakness: their safety training was done on text, so the image channel acts as an unaligned side door. Small pixel changes or a rendered image can make an otherwise well-behaved model produce harmful content, with attack success rates above 90% on models like LLaVA-1.5 (Images are Achilles' Heel of Alignment). A separate line of work on text-only language models found that jailbreaks transfer between different architectures, and that this transfer is not accidental: the more topologically similar two models' internal representation spaces, the more a jailbreak on one works on the other — and benign-only distillation, which pulls two representation spaces closer, causes vulnerabilities to transfer (Jailbreak Transferability Emerges from Shared Representations). Nobody has connected these two findings. We do not know whether continuous adversarial pixel perturbations — as opposed to discrete typography like FigStep — transfer across VLMs with different vision encoders and different image-to-text connectors, what governs that transfer, or whether the answer can be turned into a defense that itself transfers.

This proposal makes a single, testable claim: continuous pixel-level jailbreak perturbations transfer across heterogeneous VLM architectures to the degree that their vision encoders' embedding spaces are topologically similar, and because the attack lives in this shared geometry rather than in architecture-specific weights, geometry-level defenses tuned on one model can be deployed zero-shot on others. The claim matters practically (a transferred attack means one white-box model endangers every similar-geometry model; a transferred defense means one tuning effort covers a fleet) and scientifically (it decides whether the "Platonic" convergence of representations observed among text LLMs survives the cross-modal setting, where Cross-Modal Safety Mechanism Transfer found that visual and textual hidden states diverge in middle layers). The closest prior work either proves the representation-similarity mechanism in unimodal text only (Jailbreak Transferability Emerges from Shared Representations), or demonstrates empirical cross-architecture transfer of discrete typographic attacks without any mechanistic account ($\mathsf{FigStep}$, FigStep, 82.50% average ASR across six open-source VLMs), or crafts continuous pixel attacks but evaluates them white-box on single targets (HADES: 90.26% on LLaVA-1.5, 71.60% on Gemini Pro Vision, 15.07% on GPT-4V, each attacked directly). No reported result found on Lacuna for the cross-architecture transfer rate of continuous pixel perturbations across VLMs.

Core Claim and Its Logic

The mechanism hypothesis is borrowed from graph learning, where the clearest precedent lives. In graph domains, attacks transfer across wildly different models because they perturb a shared object — the graph's topology or spectral signature — rather than model-specific weights: NETTACK's attacks optimized on a linear surrogate transfer to nonlinear graph networks and even non-neural methods (Adversarial Attacks on Neural Networks for Graph Data), and GF-Attack transfers in restricted black-box settings by attacking the spectral filtering common to all target models (A Restricted Black-Box Adversarial Framework Towards Attacking Graph Embedding Models). Ben-Tov et al. established the analogous story for text LLMs: shared representation geometry, measured by mutual k-nearest-neighbors (mKNN — two models are similar if many points that are mutual nearest neighbors in one space are also mutual nearest neighbors in the other), predicts jailbreak transfer monotonically, and benign-only distillation raising similarity from 0.28 to 0.42 caused jailbreak transfer to rise (Jailbreak Transferability Emerges from Shared Representations). Our claim is that the same story holds one level down, in the vision encoder: web-scale-trained encoders (CLIP ViT, SigLIP, ConvNeXt-style) converge toward a shared statistical map of images, and continuous pixel attacks exploit that shared map, which is exactly why they should survive a change of connector (linear projection, Q-Former, cross-attention) and language model. Formally, we hypothesize a monotonic relationship

$$\text{ASR}_{i \to j} \;=\; f\big(s_{ij}\big), \quad f \text{ increasing},$$

where $\text{ASR}_{i \to j}$ is the black-box success rate of a perturbation crafted on model $i$ and evaluated on model $j$, and $s_{ij}$ is the mKNN similarity between the vision encoders of $i$ and $j$ measured on benign images only. The decisive contrast is between layers: if transfer tracks vision-encoder similarity but not similarity of the language models' middle layers — precisely the layers where Cross-Modal Safety Mechanism Transfer found the cross-modal "semantic shift" that defeats safety refusal — then the multimodal safety gap and cross-architecture transfer are two symptoms of one geometric fact.

Research Program

The program has four parts, ordered so each constrains the next. First, we build the transfer matrix: white-box continuous pixel attacks (gradient-optimized jailbreak noise in the HADES style, and cross-prompt universal perturbations that force a fixed malicious output regardless of the text prompt) crafted on a set of source VLMs spanning distinct vision encoders and connector types — LLaVA variants, MiniGPT-4, CogVLM, and a Gemma-based VLM — then evaluated black-box on all other models, using the HADES benchmark (750 harmful instructions across 5 domains), SafeBench/SafeBench-Tiny, and JailBreakV-28K, with harmfulness judged by the StrongREJECT continuous score introduced in Jailbreak Transferability Emerges from Shared Representations. This alone fills the measurement gap, but it is not the contribution.

Second, we compute $s_{ij}$ between every pair of vision encoders on benign images (with cross-model correspondences anchored through shared caption text), and between language-model hidden states at early, middle, and late layers, then test whether vision-encoder similarity ranks the transfer matrix. We run the identical analysis for FigStep's typographic attacks as a control: if typography — which exploits OCR-style reading of rendered text, the "OCR Trap" documented in HADES — obeys the same similarity law, our "shared visual semantics" story is too broad and must be sharpened; if it follows a different law, we have separated two transfer mechanisms that the field currently conflates.

Third, the causal test, mirroring Ben-Tov et al.'s benign-only distillation but in the multimodal setting: fine-tune a student VLM's vision encoder on benign image–caption pairs scored against a teacher encoder's embeddings (no harmful data anywhere), and measure whether the student inherits the teacher's adversarial vulnerabilities — perturbations crafted for the teacher now transferring to the student at rates predicted by the induced similarity gain. This is what elevates the work from correlation to mechanism.

Fourth, the transferable defense. If the attack lives in shared vision geometry, then defenses that act in that geometry should transfer too, while defenses that act in architecture-specific components should not. We take RESTA's hard directional noise — noise injected along the semantic direction of an embedding, which cut LLaVA-1.5-7B ASR on JailBreakV-28K from 50.13% to 25.93% while keeping ScienceQA within three points (64.07% to 61.42%) (Directional Embedding Smoothing for Robust Vision Language Models) — and AOM's anchor-guided linear movement toward a cleaner embedding (On the Zero-shot Adversarial Robustness of Vision-Language Models), and tune each once on a single surrogate, then deploy them zero-shot on the other architectures. We also test a similarity-weighted surrogate-selection rule for attacks: if the geometry story is right, crafting the attack on the most similar available surrogate should beat a uniform ensemble of dissimilar ones at equal compute.

Baselines

The "do nothing" reference point is the untreated target model under transferred attack; the relevant untreated numbers from the literature are an 82.50% average ASR for FigStep across six open-source VLMs on SafeBench (FigStep) and a 50.13% baseline ASR for LLaVA-1.5-7B on JailBreakV-28K before any defense (Directional Embedding Smoothing for Robust Vision Language Models). On the attack side, the strongest existing cross-architecture competitor is FigStep itself, because it is the only method with documented black-box transfer across diverse open and closed VLM architectures (82.50% average open-source ASR, up to 70.00% on GPT-4V with FigSteppro); we will run it on identical models, benchmarks, and judge, and "beating" it means a continuous perturbation achieving comparable or higher transferred ASR without relying on legible rendered text — or, more likely and still valuable, an explained account of when each transfer mechanism dominates. On the defense side, the strongest per-model competitor is TIM, which reduced FigStep ASR to 1.4% on LLaVA-v1.6-Vicuna-7B with 0.0% ASR-50 and an over-defense rate between 0.0% and 2.3% (Test-Time Immunization); we will not beat a tuned TIM on its own model and do not claim to — the comparison is at matched tuning budget (one model's worth) deployed across all architectures, where TIM must be re-run per model. The per-architecture-tuned RESTA is the direct competitor for our zero-shot deployment: we re-implement it, tune it on each target separately with the same search budget our single-surrogate tuning gets, and count success as zero-shot deployment achieving at least the per-model-tuned ASR reduction (the reference point being 50.13% to 25.93% on JailBreakV-28K) with ScienceQA degradation no worse than RESTA's own 2.65-point drop. The key ablation isolating our mechanism is isotropic Gaussian noise in place of directional noise, which RESTA's authors already showed performs like a trivial defense (Directional Embedding Smoothing for Robust Vision Language Models); if isotropic smoothing transfers across architectures as well as directional smoothing does, the "semantic geometry" ingredient is doing no work and the claim collapses to "input noise transfers," which would falsify the proposal. A second ablation replaces the similarity-ranked surrogate with a uniform ensemble at equal compute.

Why not just…?

Why not just run an ensemble attack over many source models? This is the standard recipe for boosting adversarial transfer, and it is a real threat to the attack-side contribution: ensembles raise transferred ASR without any theory. But an ensemble answers "how do I maximize damage," not "what carries the attack" and not "how do I defend." Our similarity-weighted selection experiment is designed to settle this directly: if a uniform ensemble over dissimilar architectures matches a similarity-weighted one at equal compute, the geometry account adds nothing to attack practice, and we will report that honestly — the mechanism and defense halves of the proposal would survive on their own, but the attack half would be correctly read as an incremental engineering result.

Why not just use FigStep, which already transfers? FigStep is discrete: it renders harmful text into an image and exploits the model's faithful reading of that text, the very OCR capability that HADES identified as paradoxically increasing vulnerability in stronger models. It is also transparent to OCR pre-filters in principle (though FigStep's hide variants evade them, per FigStep). Continuous perturbations are invisible to any transcription-based defense and behave differently in transfer — classical vision results show pixel attacks often fail to cross architectures, so whether they transfer in the VLM safety setting is genuinely open. Crucially, we include FigStep as a mechanistic control rather than a rival: if both attack families follow the same similarity law, the distinction blurs and we will say so.

Why not just deploy existing per-model defenses everywhere? Because the literature documents the costs of that path from three directions: fine-tuning for visual competence degrades text safety alignment (the "Inverse Alignment Tax" in HADES, which saw its Contrastive Harmlessness LoRA fix a specific model but not an attack distribution); aggressive safety training buys safety with false refusals (Claude 3.5 Sonnet: 15.57% ASR on USB-Hard but 25.82% refusals of harmless prompts, USB); and the strongest lightweight alignment defense, TGA, reaches only 17–30% defense success rate against roughly 40% for dedicated image filters (Cross-Modal Safety Mechanism Transfer). TIM is genuinely strong (1.4% FigStep ASR), and we treat it as the per-model upper bound; our claim is not superiority on one model but coverage without per-model tuning. The honest residual risk is that zero-shot transferred defenses are weaker than tuned ones by a wide margin — in that case the geometry story still holds for attacks, and the defense result becomes a negative finding about how far shared geometry can be exploited protectively.

Proposed Experiments and Decisive Checks

The experimental core is a 6×6-or-larger transfer matrix over VLMs chosen to vary one component at a time (same encoder, different connector; same connector, different encoder; different language backbone), attacked with HADES-style gradient noise and cross-prompt universal perturbations on the HADES benchmark and SafeBench, judged by StrongREJECT. The decisive checks are, in order: whether the Spearman correlation between vision-encoder mKNN similarity and transferred ASR is high and positive while middle-layer language similarity is not; whether benign-only vision distillation causally raises transfer in the predicted direction (the precedent being the 0.28-to-0.42 similarity gain that raised jailbreak transfer in Jailbreak Transferability Emerges from Shared Representations); whether directional smoothing tuned on one surrogate transfers zero-shot while isotropic noise does not; and whether similarity-weighted surrogate selection beats uniform ensembling at matched compute. Safety evaluation extends beyond crafted attacks to the "Safe Image + Safe Text" regime, where individually benign inputs combine into harmful outputs — 13 of 15 models failed to reach even a 50% safe rate on SIUO, with GPT-4V topping out at 53.26% (Safe Inputs but Unsafe Output) — and to USB-SafeBench with its 3,935 USB-Hard stress samples, so we can test whether geometry-based smoothing also mitigates emergent cross-modal risks that no perturbation crafted, reporting the oversensitivity tax alongside. Clean utility is tracked on ScienceQA (LLaVA-1.5 baselines of 64.07% in RESTA and 66.8% in TGA give the reference band), with the rule that any transferred defense costing more than RESTA's own 2.65-point utility drop is a failure. Two limitations are declared up front: all defense results are against the stated attack suite, not adaptive white-box adversaries aware of the defense (a known open problem for RESTA-class methods as well), and the causal distillation test is budgeted for small student models where it can actually be run to convergence.