cs.CVMar 8, 2025

Boosting the Local Invariance for Better Adversarial Transferability

Authors: Bohan Liu, Xiaosen Wang

Organizations: School of Computer Science and Technology, Xidian University, Xi’an 710126, China · School of Computer Science and Technology, Huazhong University of Science and Technology, Wuhan 430074, China

Abstract

Transfer-based attacks pose a significant threat to real-world applications by directly targeting victim models with adversarial examples generated on surrogate models. While numerous approaches have been proposed to enhance adversarial transferability, existing works often overlook the intrinsic relationship between adversarial perturbations and input images. In this work, we find that the adversarial perturbations often exhibit poor translation invariance for a given clean image and model, which is attributed to local invariance. Through empirical analysis, we demonstrate a positive correlation between the local invariance of adversarial perturbations w.r.t. the input image and their transferability across models. Based on this finding, we propose a general adversarial transferability boosting technique called the Local Invariance Boosting approach (LI-Boost). Extensive experiments on the standard ImageNet dataset demonstrate that LI-Boost significantly enhances five categories of transfer-based attacks, i.e., gradient-based, input transformation-based, model-related, advanced objective function, and ensemble attacks. The improvements hold not only on conventional CNNs, ViTs, and defense mechanisms, but also on real-world commercial vision API systems and vision-language models. Our approach provides a promising direction for future research on improving adversarial transferability across models. Our code is available at https://github.com/Trustworthy-AI-Group/TransferAttack.

Figures & tables

Explore similar work

CardsList
  1. Season: Spectrum-Aware Orthogonal Gradient Refinement for Transfer-Based Adversarial Attacks

    Aug 5, 2026Tianyi Wang, Zhenghao Gao, Shengjie XuAdversarial AttacksTransfer-Based Adversarial Attacks

  2. Improving Adversarial Transferability on Vision-Language Pre-training Models via Surrogate-Specific Bias Correction

    Jun 9, 2026Lijia Yu, Jiuxin Cao, Yuchen Qiang +3Adversarial Attacks on VLMsTransfer-Based Adversarial Attacks