Abstract
Adversarial Weight Tuning (AWT) is a novel, data-free method that significantly improves the transferability of adversarial examples by fine-tuning surrogate model weights during the attack process. By optimizing for "flat local maxima" in both the input and parameter spaces, AWT generates perturbations that generalize better to unknown black-box models. Our evaluation shows that AWT outperforms state-of-the-art attacks by up to 10% on Vision Transformers and 5% on CNNs, while remaining compatible with existing input-augmentation techniques.
Introduction
Deep Neural Networks (DNNs) are vulnerable to adversarial examples (AEs)—inputs specifically designed to cause misclassification. In black-box settings, attackers generate AEs on a surrogate model, hoping they "transfer" to a target model. A major bottleneck in this process is overfitting: attacks often find sharp loss peaks unique to the surrogate model. Adversarial Weight Tuning (AWT) addresses this by ensuring the generated attacks reside in "flat" regions of the loss landscape, which are more likely to be shared across different model architectures.
Methodology: Adversarial Weight Tuning
AWT employs a bi-level optimization framework that bridges gradient-based image perturbations and model-based weight adjustments. Unlike standard attacks that keep the surrogate model fixed, AWT adaptively tunes the surrogate's weights during the generation of the adversarial example.
The Bi-Level Optimization
The process consists of two nested loops:
- Inner Loop: Optimizes the adversarial perturbation in the input space.
- Outer Loop: Adjusts the surrogate model's weights to ensure the loss at the adversarial point is part of a "flat" maximum.
Crucially, AWT is data-free. It uses the intermediate adversarial examples generated during the attack to tune the model weights, removing the need for the original training dataset and making it highly practical for real-world applications.
Key Insights and Empirical Foundation
The core premise of AWT is that transferability can be treated as a generalization problem. An adversarial example must generalize from the surrogate model to the target model.
Gradient Correlation
A key theoretical and empirical finding of the paper is the high positive correlation (Pearson coefficient of 0.93) between the $L_2$ norm of the input gradient and the parameter gradient. This strong relationship justifies using input-space optimization as a proxy for finding stable, transferable regions in the weight-space.
The Importance of Flatness
By forcing the surrogate model to have a flatter loss landscape around the adversarial point, the resulting attack becomes more "stable." These flat regions are more likely to overlap with the loss peaks of unknown target models, thereby increasing the success rate of the transfer attack.
Experimental Evaluation
The researchers evaluated AWT using the ImageNet-compatible dataset, testing transferability across a diverse suite of models including CNNs (ResNet, VGG, Inception, DenseNet) and Transformers (ViT, Swin, DeiT, and PiT).
Key Results
- Performance Gains: AWT consistently outperformed eight state-of-the-art transferable attacks. On Vision Transformer targets using a ResNet-50 surrogate, AWT achieved an average Attack Success Rate (ASR) increase of 10%. On CNN targets, improvements were approximately 5%.
- Synergy with Existing Attacks: AWT is "plug-and-play." When integrated with established techniques like Input Diversity (DIM) or Translation-Invariance (TIM), it provided a complementary boost to performance, demonstrating that weight tuning addresses a different aspect of transferability than input-space augmentations.
Conclusion and Limitations
AWT provides a robust framework for enhancing adversarial transferability without requiring access to training data. However, it does involve higher computational costs due to the bi-level optimization requiring two backward passes per iteration. Future work may explore reducing this overhead and investigating the method's performance across even more diverse architectural gaps.
Summary updated