Surrogate Calibration for Transferable Adversarial Attacks against Black-Box MLLMs

Zhewen Yao, Yao Zhu, Xiangyang Ji, Shiliang ZhangNeurIPS 2026

TL;DR

Fooling a closed-source Multimodal Large Language Model (MLLM) usually requires crafting adversarial images on open-source "surrogate" models and hoping the illusion transfers—a process that often fails because perturbations overfit to the surrogate’s unique quirks. Instead of inventing a more complex attack loop, the authors introduce Surrogate Calibration (SCal), a one-time, plug-and-play tune-up for the surrogate model itself. By stripping away model-specific noise from the surrogate's gradients before an attack even begins, SCal dramatically boosts black-box attack success rates across frontier commercial models.

What Problem Does This Paper Address?

Because attackers cannot see the weights or gradients of proprietary systems like GPT or Gemini, they rely on transfer-based attacks. They take an open-source vision encoder (like CLIP), optimize subtle pixel perturbations on a source image (say, a panda) until its internal representation matches a target image (say, a cat), and feed the result to the black-box victim.

The catch? Off-the-shelf surrogates have quirky, jagged decision boundaries. Optimizing purely in pixel space pushes the image off the natural data manifold—the underlying distribution of real-world images—into weird, surrogate-specific blind spots. CLIP ends up screaming "cat!", while Gemini remains completely unfazed.

Figure 1: Comparison with previous methods. (a) Baseline attacks using off-the-shelf surrogate models, e.g., CLIP. (b) SCal-based attacks utilize calibrated surrogates (marked by ⋆) to rectify adversarial guidance. (c) By constraining updates to the natural data manifold, SCal avoids model- specific overfitting and boosts transferability across black-box models, e.g., Gemini.

Until now, researchers fought this overfitting at the attack level, primarily by ensembling massive groups of diverse surrogates so their individual quirks cancel out. The authors ask an orthogonal question: instead of changing how we attack, can we fix the surrogate itself so a single model naturally guides perturbations along the shared natural image manifold?

Methods

Standard attacks freeze an off-the-shelf surrogate and iteratively nudge image pixels along its gradient field toward a target image. Surrogate Calibration (SCal) intervenes upstream, fine-tuning the surrogate once before any attack takes place (requiring under 60 minutes on a single RTX 3090).

The core insight lies in decomposing the surrogate's gradient update vector into two parts: a genuine target-specific signal, and a systematic drift—the average direction the model pushes an image across all possible natural targets. This systematic drift is what drags adversarial examples off the natural data manifold.

SCal calibrates the surrogate by jointly optimizing two complementary losses:

  • Distributional Regularization (Novel): Estimates the systematic drift by averaging gradients over $K=128$ sampled natural targets, then penalizes its squared $\ell_2$ norm. Mathematically, this upper-bounds the Wasserstein distance between natural images and perturbed ones, forcing gradients to stay on-manifold.
  • Feature-Preserving Loss: Maximizes cosine similarity between the calibrated and original surrogate outputs so the model doesn't suffer representational collapse and forget how to see.

Once calibrated, the surrogate drops right into existing attack pipelines with zero changes to the downstream algorithm.

Datasets

No new benchmarks are introduced; the authors follow established MLLM attack protocols:

  • Attack Evaluation: Adversarial examples are crafted on source images from the NIPS 2017 Adversarial Attacks and Defenses Competition dataset (and MS-COCO for harder scenarios), using MS-COCO validation images as targets.
  • Calibration: In-domain calibration uses the NIPS 2017 development set and MS-COCO training split. ImageNet is used to test out-of-distribution (OOD) calibration under domain shift and zero-shot accuracy.

Key Insights and Ideas

  • Worse classifiers can make better surrogates: Ablations reveal a fascinating decoupling. Calibrating a CLIP surrogate drops its zero-shot ImageNet accuracy from 68.3% to 65.7%, yet boosts its downstream attack success rate from 48.43% to 71.43%. Smoothing out sharp, high-accuracy features makes gradients far more transferable.
  • Calibration mimics ensembling: Amplified perturbations from a single off-the-shelf CLIP model look like TV static. A calibrated CLIP produces structured, coherent outlines of the target object—an effect previously only seen when ensembling multiple models.
Figure 2: Visual comparison across surrogates. From left to right, we show the target image, the adversarial image with heatmap [12], and the amplified perturbation across different surrogate settings. All adversarial examples are constructed by M-Attack [5]. The attack that leverages a single off-the-shelf surrogate exhibits no response for the ‘building’, and its perturbation is relatively noisy. In contrast, those using ensemble or calibrated surrogates yield higher responses, and their corresponding perturbations better reflect natural image statistics, as highlighted by the red boxes.
  • Abstention as a natural defense: When attacks failed on Gemini 3.1, it rarely described the original source image. Instead, it recognized something was off—calling one adversarial road scene a "truck-like illusion" and abstaining from a concrete answer, pointing toward abstention as a promising defense mechanism.

Key Results

Evaluated across eight black-box MLLMs (GPT-5.4 Mini, Claude Opus 4.7, Gemini 3.1, Grok 4.20, Llama-3.2-11B, Phi-3.5-Vis-4.2B, Qwen3-VL-8B, and InternVL3.5-8B):

  • Beating giant ensembles with less compute: Adding SCal to the baseline M-Attack (262M parameters) lifts Attack Success Rate (ASR) on GPT-5.4 Mini from 23.2% to 53.5%, handily beating state-of-the-art MPCAttack (29.7%), which relies on 1,390M parameters of uncalibrated surrogates.
  • New state-of-the-art: Pairing SCal with M-Attack-V2 reaches 56.1% ASR on GPT-5.4 Mini, 89.4% on Claude Opus 4.7, 82.7% on Grok 4.20, and 80%+ across nearly all open-source victims.
  • Defense resilience: Because perturbations stay closer to natural image statistics, SCal attacks survive input purification. Under DiffPure defense, M-Attack + SCal retains 66.8% average ASR (only a 6.5% relative drop), whereas uncalibrated M-Attack drops by 24.2% down to 36.7%.

Limitations and Future Work

  • Smaller gains on unrestricted attacks: While SCal improves diffusion-based unrestricted attacks (e.g., lifting PSI from 49.47% to 54.25% ASR), the jump is much smaller than in $\ell_p$-bounded attacks, likely because built-in denoising steps during generation dampen the calibrated gradient signals.
  • Domain shift sensitivity: Calibrating on OOD data (ImageNet) dips average ASR from 71.43% to 63.11%, though a single low-cost adaptation step per sample restores it to 71.85%.
  • Future directions: The authors highlight their findings—particularly Gemini's abstention behavior—as motivation to build stronger abstention-based and manifold-aware defenses for trustworthy multimodal systems.

Summary updated

Abstract

Transfer-based attacks expose serious adversarial vulnerabilities in closed-source Multimodal Large Language Models (MLLMs) by crafting adversarial examples on off-the-shelf surrogate models. However, this paradigm often drives adversarial examples toward surrogate-specific local optima, where they deceive only the surrogate model but fail to transfer to black-box MLLMs. Although existing methods mitigate this issue at the attack level, they leave the surrogate itself unchanged. To address this gap, we propose Surrogate Calibration (SCal), a novel model-level refinement that enhances downstream transfer-based adversarial attacks in a plug-and-play manner. Specifically, SCal employs a feature-preserving loss to maintain the surrogate's representational utility, while a distributional regularizer encourages its gradient field to stay closer to the natural data manifold. With calibrated surrogates, downstream attacks generate update directions that exhibit superior generalization across black-box MLLMs. Extensive experiments demonstrate that SCal boosts current attacks to new heights across various surrogates. For instance, it elevates baseline M-Attack's ASR on GPT-5.4 Mini to 53.5\%, substantially surpassing the state-of-the-art MPCAttack (29.7\%). These results expose critical vulnerabilities that must be addressed for trustworthy multimodal systems. Code is at: https://github.com/zhewen-yao/SCal
BibTeX
@inproceedings{yao2026surrogate,
  author = {Zhewen Yao and Yao Zhu and Xiangyang Ji and Shiliang Zhang},
  title = {{Surrogate Calibration for Transferable Adversarial Attacks against Black-Box MLLMs}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=Nla00lCEuD},
}
Figure