Cross-Model Transfer Attacks against Large Vision-Language Models via Model Diversity Enrichment and Stochastic Parameter Sampling

Zhenze Yang, Xiaowen Cai, Junhao Dong, Guangke Chen, Guiyao Tie, Daizong Liu, Hongyang He, Zhiyuan Ma, Xiang Fang, Dengpan Ye, Jing ZhangNeurIPS 2026

TL;DR

Fooling an open-source Large Vision-Language Model (LVLM) with invisible image noise is easy; getting that same poisoned image to fool a completely different, closed-source model like GPT-4o is notoriously hard. Instead of running a memory-crushing ensemble of multiple giant models to craft universal attacks, the authors mathematically "wiggle" a single model’s internal weights during optimization. This creates a lightweight, "virtual crowd" of models that filters out model-specific quirks and isolates universal blind spots—achieving higher black-box attack success at roughly 9x the speed.

What Problem Does This Paper Address?

Large Vision-Language Models (LVLMs) stitch together visual encoders and large language models to "see" and reason. However, they are vulnerable to adversarial perturbations—tiny, imperceptible pixel changes engineered to hijack the model's output (e.g., forcing it to say "I am sorry" instead of describing a cat).

In the real world, attackers don't have access to the internal weights of proprietary models (a strict "black-box" setting). Instead, they craft the adversarial image on an open-source surrogate model (like LLaVA) and hope the attack transfers to the unseen target model. Usually, it doesn't. Because LVLMs have wildly different architectures and vision-to-language bridges, perturbations tend to overfit to the surrogate's jagged, idiosyncratic loss landscape—chasing sharp "gradient spikes" that simply don't exist in other models.

Standard fixes rely on attacking an ensemble of multiple surrogate models simultaneously to find common weaknesses. While sensible in theory, loading four or eight 7-billion-parameter models into GPU memory at once is computationally brutal and offers only a sparse, patchy map of how LVLMs behave in general.

Methods

Instead of treating a surrogate model as a single static point in weight space—or paying the heavy tax of loading multiple discrete models—the authors turn one surrogate into a dynamic, continuous distribution of virtual models. Their pipeline has two novel components built atop standard momentum-based gradient optimization:

Figure 1: Overall pipeline of our proposed cross-model transfer attack.
  1. Model Diversity Enrichment (MDE): Rather than perturbing all 7B+ parameters, the authors target the vision-language projection layers—the crucial bridge translating visual tokens for the LLM. They apply Singular Value Decomposition (SVD) to these weight matrices, slicing the singular value spectrum into $K$ non-overlapping, orthogonal chunks. By scaling and recombining these chunks, they span a lightweight subspace (or "manifold") around the original model that simulates diverse cross-modal alignments without breaking the model's core reasoning.
  2. Stochastic Parameter Sampling (SPS): Optimizing across that entire subspace at once would still be too expensive. Instead, at each step of crafting the adversarial image, the algorithm flips a coin (Bernoulli sampling) for each of the $K$ orthogonal bases to instantiate a fresh, slightly mutated model configuration on the fly.

Combined with standard momentum updates, this dynamic sampling acts like a low-pass filter: noisy, surrogate-specific gradient spikes cancel each other out over hundreds of iterations, leaving behind only the smooth, universal gradient directions shared across different LVLM families.

Datasets

No new benchmarks are introduced. To evaluate attack transferability across three standard tasks—Image Captioning, Image Classification, and Visual Question Answering (VQA)—the authors sample evaluation images from existing datasets: DALL-E, SVIT, and VQAv2, pairing them with task-specific prompts adapted from the prior CroPA framework.

Key Insights and Ideas

  • Gradient Variance is the True Bottleneck: The authors theoretically prove that transfer failure boils down to cross-model gradient variance. Optimizing on one fixed model incurs a mathematical "variance penalty" that misaligns the attack with unseen targets; averaging over a continuous parameter manifold cancels this penalty out.
  • The Bridge Holds the Keys: You don't need to diversify the massive vision encoder or the LLM backbone. Perturbing just the lightweight cross-modal projection layers via SVD is enough to simulate how entirely different LVLM families align vision and text.
  • Virtual Crowds Beat Real Ensembles: Discrete ensembles hit diminishing returns quickly because separate off-the-shelf models still leave massive gaps in parameter space (and often share biases). Sampling from a continuous SVD subspace explores decision boundaries more thoroughly at a fraction of the memory cost.

Key Results

Tested across four open-source LVLMs (LLaVA-1.5, MiniGPT-4, BLIP-2, InstructBLIP) and two commercial giants (GPT-4o and Claude-3.5-Sonnet), the method consistently beats state-of-the-art transfer attacks.

  • Closed-Source Transfer: Crafting images on MiniGPT-4 to force a target output on GPT-4o and Claude-3.5, the method hits 52.6% and 56.3% Exact Match (EM) rates, respectively—outperforming the strongest baseline (MPTA at 44.7% and 48.6%) while standard PGD scores 0.0%.
Transfer-attack performance from MiniGPT-4 to commercial models GPT-4o and Claude-3.5.
  • Massive Efficiency Gains: An ensemble of $N=8$ standard models runs out of VRAM and crawls at 0.4 iterations/sec, achieving a 58.7% EM transfer rate (LLaVA-1.5 to InstructBLIP). Using $K=8$ SVD bases, the authors' method uses a near-constant 14.8 GB of VRAM (vs. 14.2 GB for a single model), runs nearly 9x faster (3.8 it/s), and achieves a much higher 69.1% EM.
  • Defense Resilience: Against four purification defenses (including JPEG compression and Diffusion Restoration), the generated perturbations suffer the smallest drop in semantic similarity compared to prior attacks.
Figure 2: Investigation on the robustness against defenses.

Limitations and Future Work

While the paper does not include a standalone limitations section, the ablation studies highlight an inherent trade-off in tuning the diversity scale ($\gamma$): if $\gamma$ is too small (e.g., 0.01), the virtual manifold doesn't capture enough cross-model variance to transfer well; if pushed too high (e.g., 0.2), the weight perturbations degrade the surrogate model's core semantic reasoning, hurting both white-box and black-box performance (peaking around $\gamma = 0.1$). Future work is not explicitly discussed in the main text.

Summary updated

Abstract

Large Vision-Language Models (LVLMs) have achieved remarkable multimodal reasoning capabilities but remain critically vulnerable to adversarial perturbations. In practical black-box scenarios, severe architectural discrepancies, misaligned feature spaces, and divergent multimodal fusion strategies often undermine adversarial transferability, preventing perturbations crafted on surrogate models from generalizing to unseen target models. Existing ensemble-based LVLM attacks attempt to mitigate this by integrating multiple surrogates, yet they often fail to bridge the structural generalization gap across heterogeneous LVLM families. In this work, we propose a novel framework that enhances cross-model adversarial transferability via model diversity enrichment and stochastic parameter sampling. We show that transfer success is fundamentally governed by cross-model gradient variance. To mitigate this, we introduce (1) a diversity-induced continuous surrogate manifold that captures cross-model decision variability, and (2) stochastic parameter sampling during optimization to approximate the gradient distribution of unseen LVLM models. We provide a theoretical analysis bounding the expected adversarial transfer gain by gradient variance and prove that stochastic sampling reduces adversarial overfitting to surrogate decision boundaries. Extensive experiments across multiple state-of-the-art LVLMs demonstrate substantial improvements in black-box transferability under strict evaluation protocols.
BibTeX
@inproceedings{yang2026cross,
  author = {Zhenze Yang and Xiaowen Cai and Junhao Dong and Guangke Chen and Guiyao Tie and Daizong Liu and Hongyang He and Zhiyuan Ma and Xiang Fang and Dengpan Ye and Jing Zhang},
  title = {{Cross-Model Transfer Attacks against Large Vision-Language Models via Model Diversity Enrichment and Stochastic Parameter Sampling}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=58sBKazXRE},
}
Figure