Pushing the Frontier of Black-Box LVLM Attacks via Fine-Grained Detail Targeting

Xiaohan Zhao, Zhaoyi Li, Yaxin Luo, Jiacheng Cui, Zhiqiang ShenarXiv 2026

TL;DR

M-Attack-V2 introduces a powerful gradient-denoising framework that drastically improves black-box adversarial transfer attacks against state-of-the-art Large Vision-Language Models (LVLMs). By addressing the extreme gradient instability inherent to Vision Transformers (ViTs) during local image cropping, the method achieves unprecedented success rates, including 100% on GPT-5 and boosting Claude-4.0 success rates from 8% to 30%.

What Problem Does This Paper Address?

Adversarial attacks on black-box Large Vision-Language Models (LVLMs) typically rely on transferability: generating an adversarial perturbation on accessible "surrogate" models and hoping it successfully misleads the hidden target model. Recent state-of-the-art methods like M-Attack achieved high success rates by matching local image crops between source and target images.

However, the authors identify a critical, previously overlooked flaw in this approach: extreme gradient instability. Even when two local image crops overlap significantly, their calculated gradients are often nearly orthogonal (uncorrelated). This gradient variance severely destabilizes the optimization process. The paper traces this issue back to two root causes:

  1. ViT Translation Sensitivity: Vision Transformers tokenize images on fixed grids. Even sub-pixel shifts alter how pixels mix into tokens, causing dramatic, spike-like changes in self-attention weights and pixel-level gradients.
  2. Structural Asymmetry: Prior methods cropped both source and target images symmetrically, ignoring that source cropping alters the pixel-space perturbation while target cropping shifts the semantic reference point in feature space ("moving the goalpost").

Methods

To counter this gradient noise, the authors reformulate local matching as an asymmetric expectation over source transformations and target semantics, introducing M-Attack-V2:

  • Multi-Crop Alignment (MCA): Instead of calculating gradients from a single random crop per iteration, MCA samples and averages gradients from multiple independent local views ($K=10$). This acts as a Monte Carlo estimator that smooths out the translation-induced noise of ViTs.
  • Auxiliary Target Alignment (ATA): Rather than applying aggressive, distorting crops to the target image, ATA uses a small set of semantically similar auxiliary images as stable reference anchors. This creates a low-variance embedding subspace that preserves target semantics while providing rich gradient signals.
  • Patch Momentum (PM): Classic momentum is re-engineered to act as a replay mechanism, recycling historical gradients across random crops to ensure consistent optimization directions over time.
  • Patch Ensemble+ (PE+): A refined surrogate ensemble strategy that pre-selects models with diverse patch sizes. The authors show that successful surrogates naturally focus attention on the core object rather than background details.

Datasets

The framework was evaluated using the following datasets:

  • NIPS 2017 Adversarial Attacks and Defenses Competition Dataset: Used as the primary benchmark for sampling source images.
  • COCO Training Set: Used to retrieve semantically similar auxiliary images via CLIP-B/16 embedding similarity for the ATA module.
  • ChestMNIST & PatternNet: Utilized for rigorous cross-domain evaluation (medical imaging and remote sensing overhead imagery) to test the attack's robustness outside general-domain datasets.

Key Insights and Ideas

  • The Gradient-Pixel Disconnect: High similarity in pixel or embedding space does not guarantee similarity in gradient space for ViT-based architectures. Sub-pixel translations completely redirect gradient vectors.
  • Asymmetric Optimization Roles: Source and target image manipulations serve entirely different optimization purposes. Source transformations sculpt the perturbation, while target transformations define the adversarial goal. Treating them symmetrically introduces harmful variance.
  • Semantic Anchoring Beats Augmentation: Exploring the local neighborhood of a target image is better achieved by leveraging actual, semantically correlated images (auxiliary data) rather than forcing radical geometric transformations on a single target image.

Key Results

M-Attack-V2 achieves substantial performance gains over prior state-of-the-art attacks across premier commercial black-box models:

Figure 1. Improvement of M-Attack-V2 over M-Attack on strong and up-to-date commercial black-box models (Claude 4, Gemini 2.5 and GPT-5). ASR and KMR stand for attack success rate and keyword matching rate, respectively.
  • Frontier LVLM Success Rates: Boosts Attack Success Rates (ASR) on GPT-5 from 98% to 100%, on Gemini-2.5-Pro from 83% to 97%, and on Claude-4.0 from 8% to 30%.
  • Faster Convergence: The gradient-denoising approach allows the optimization to converge much faster, achieving optimal results within 300 steps, whereas previous methods required significantly more budget or stalled entirely.
  • Maintained Imperceptibility: Human user studies confirmed that despite the higher optimization efficiency and slightly increased $\ell_p$ norms, the generated adversarial images remained visually indistinguishable from those generated by weaker attacks.

Limitations and Future Work

While M-Attack-V2 sets a new benchmark for transfer-based attacks, the authors note a few limitations and areas for exploration:

  • Perturbation Norms: The optimization strategy slightly increases the raw $\ell_1$ and $\ell_2$ perturbation magnitudes to better explore the $\ell_\infty$ ball. Future work could integrate stricter perceptual constraints directly into the optimization loop.
  • The Rise of Vision-Reasoning Models: Advanced models featuring explicit visual reasoning (like GPT-o3) demonstrate a slight edge in robustness. When encountering uncertain or "glitchy" regions, these models tend to use tools (like zooming in) to verify details. Developing attacks that can deceive or bypass these active reasoning loops remains an open challenge.

Summary updated

BibTeX
@misc{zhao2026pushing,
  author = {Xiaohan Zhao and Zhaoyi Li and Yaxin Luo and Jiacheng Cui and Zhiqiang Shen},
  title = {{Pushing the Frontier of Black-Box LVLM Attacks via Fine-Grained Detail Targeting}},
  year = {2026},
  eprint = {2602.17645},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.17645},
}
Figure