Abstract
Adversarial Weight Tuning (AWT) is a novel, data-free method that significantly boosts the transferability of adversarial examples by adaptively tuning the surrogate model's weights during the attack process. By optimizing for "flat local maxima" in both the input and parameter spaces simultaneously, AWT bridges the gap between surrogate and target models. Empirical results demonstrate that AWT achieves up to a 10% increase in attack success rates on Transformer-based architectures and consistently outperforms state-of-the-art transfer attacks across various CNN and Transformer models.
Introduction: The Challenge of Adversarial Transferability
Deep neural networks are notoriously vulnerable to adversarial examples (AEs)—inputs specifically crafted to trigger misclassification. In a "black-box" attack scenario, the attacker lacks access to the target model's internal parameters and must rely on a "surrogate" model to craft the AE. The core challenge is transferability: an AE that fools the surrogate often fails to fool the target because it "overfits" the surrogate's specific loss landscape.
While previous research identified that "flatness" in the loss landscape helps AEs generalize, existing solutions were either purely gradient-based (optimizing the input) or model-based (requiring extra training data to smooth the surrogate). AWT offers a unified approach that explains the intrinsic mechanism of transferability and enhances it without needing additional datasets.
Methodology: Adversarial Weight Tuning (AWT)
The authors introduce Adversarial Weight Tuning (AWT), which treats the attack as a bi-level optimization problem. Instead of just moving the input image toward a malicious goal, AWT also "tunes" the surrogate model's weights on-the-fly.
Dual-Space Optimization
AWT seeks flat local maxima in both the input space (the image pixels) and the parameter space (the model weights). By adjusting the surrogate parameters during the attack, the method finds a loss landscape that aligns more closely with the target model's behavior.
Data-Free Tuning
Unlike prior model-based methods that require a separate "tuning" dataset, AWT uses the intermediate adversarial examples generated during the attack to adjust the surrogate's parameters. This makes the method highly practical and broadly applicable.
Experimental Setup
The researchers evaluated AWT using the ImageNet-compatible dataset, a standard benchmark in adversarial robustness research consisting of 1,000 images. They tested transferability across a wide array of architectures:
- CNNs: ResNet-18, ResNet-50, ResNet-101, Inception-v3/v4, DenseNet-121, and VGG-16.
- Transformers: ViT, Swin, ConViT, LeViT, CAiT, DeiT, and PiT.
Key Insights: The Flatness Duality
A central finding of the paper is the strong positive correlation (0.93 Pearson coefficient) between the $L_2$ norm of the input gradient and the parameter gradient. This suggests that making a model "smoother" in its weights naturally leads to more transferable adversarial examples.
Furthermore, the paper formalizes the idea that local perturbations in the input space can "mimic" the architectural differences between a surrogate and a target model. By optimizing for this, the attack becomes less sensitive to the specific quirks of the surrogate. The authors also propose a "transferability score" ($T$) that quantifies how much the loss changes when the surrogate model's parameters are slightly perturbed, showing that a lower score (flatter landscape) strongly correlates with higher transfer success.
Results and Performance
AWT consistently outperformed eight state-of-the-art (SOTA) transfer attacks (such as MI, VMI, PGN, and NCS) across various model combinations.
- Transformer Success: When attacking Transformer-based models, AWT achieved an average increase in Attack Success Rate (ASR) of nearly 10% compared to previous SOTA methods.
- CNN Success: On CNN-based models, the average ASR increased by approximately 5%.
- Synergy with Other Methods: AWT is "plug-and-play." When integrated with existing input-transformation techniques like DIM or Admix, it provided substantial further boosts. For example, combining Admix with AWT raised the ASR on the Inception-v4 model from 49.7% to 61.3%.
Limitations and Conclusion
While powerful, AWT introduces some computational overhead, requiring two backward passes per iteration—one for parameter gradients and one for input gradients. Additionally, while it works well across CNNs and Transformers, extreme differences in training data or hyperparameters can still lead to discrepancies in transferability.
Ultimately, the success of AWT highlights a critical need for more robust defense mechanisms that specifically target the "flatness" of the loss landscape to protect against increasingly sophisticated black-box attacks.
Summary updated