Abstract
Adversarial examples often fail to transfer from a surrogate model to a black-box target model due to overfitting to the surrogate's specific loss landscape. We present LGV (Large Geometric Vicinity), a method that enhances transferability by collecting multiple weight sets from a pretrained model using a high, constant learning rate. This approach exploits the flatness of the loss landscape, creating a diverse surrogate ensemble that significantly outperforms existing state-of-the-art transferability techniques.
Introduction
Deep Neural Networks (DNNs) are notoriously vulnerable to adversarial examples—tiny, invisible perturbations that cause misclassification. In "black-box" settings, attackers must craft an attack on a surrogate model and hope it transfers to a hidden target model. The primary challenge is that adversarial examples often "overfit" to the specific surrogate. While existing techniques focus on input transformations or optimizer tweaks, LGV investigates how the geometry of the weight space influences transferability.
Methodology: Large Geometric Vicinity (LGV)
The LGV method operates in two distinct phases:
- Weight Collection: Starting from a pretrained surrogate, the model is trained for a few additional epochs (typically 5–10) using a high, constant learning rate. Weights are collected at regular intervals (e.g., 4 times per epoch). This high learning rate allows the optimizer to explore a wider, flatter region of the loss landscape rather than getting stuck in a sharp local minimum.
- Iterative Attack: During a standard iterative attack (e.g., I-FGSM), a weight set is randomly sampled from the collected ensemble at each iteration to calculate the gradient. This essentially treats the collected weights as a diverse ensemble.
This approach is computationally efficient, requiring minimal extra training and adding negligible overhead during the attack phase.
The Flatness Hypothesis
The core insight of LGV is that sampling weights from "flatter" regions of the loss landscape improves transferability. Surrogate and target models are often "shifted" versions of each other. An adversarial example that works only in a sharp, narrow region of the feature space is likely to fail on a shifted target model. Conversely, a "flat" or "wide" adversarial example is more robust to such shifts. LGV demonstrates that flatness in the weight space directly correlates to flatness in the feature space, facilitating better generalization of the attack.
Experimental Results
The researchers evaluated LGV using a ResNet-50 surrogate on a subset of 2,000 ImageNet images, testing against eight diverse target architectures including ResNet-152, Inception v3, and VGG-19.
As shown in the results, LGV establishes a new state-of-the-art for transfer-based attacks:
- Dominance over SOTA: LGV alone outperformed established techniques by 1.8 to 59.9 percentage points.
- Average Gains: LGV improved success rates by an average of 35.6 points compared to individual SOTA methods.
- Synergy: Combining LGV with Input Diversity (DI) and Momentum (MI) yielded success rates as high as 97.1% on some target models.
Conclusion
LGV provides a simple yet effective way to boost adversarial transferability by leveraging the geometric properties of the surrogate's loss landscape. While the method requires careful tuning of the "high constant learning rate" hyperparameter and a small amount of additional training, its performance gains are substantial. Future research may further explore the "volume" of the weight space to deepen our understanding of natural generalization and transferability.
Summary updated