Abstract: Deep neural networks are widely known to be vulnerable to adversarial examples, especially showing significantly poor performance on adversarial examples generated under the white-box setting. However, most white-box attack methods rely heavily on the target model and quickly get stuck in local optima, resulting in poor adversarial transferability. The momentum-based methods and their variants are proposed to escape the local optima for better transferability. In this work, we notice that the transferability of adversarial examples generated by the iterative fast gradient sign method (I-FGSM) exhibits a decreasing trend when increasing the number of iterations. Motivated by this finding, we argue that the information of adversarial perturbations near the benign sample, especially the direction, benefits more on the transferability. Thus, we propose a novel strategy, which uses the Scheduled step size and the Dual example (SD), to fully utilize the adversarial information near the benign sample. Our proposed strategy can be easily integrated with existing adversarial attack methods for better adversarial transferability. Empirical evaluations on the standard ImageNet dataset demonstrate that our proposed method can significantly enhance the transferability of existing adversarial attacks.
Introduction
Adversarial examples—inputs specifically crafted to deceive neural networks—often fail to transfer between different architectures. An attack optimized for a ResNet might be ignored by a Vision Transformer (ViT). This lack of "transferability" is a major hurdle for black-box attacks where the target model's internal weights are unknown.
Existing research has focused on momentum or input transformations to improve transferability. However, this study identifies a fundamental phenomenon: in iterative attacks, transferability often peaks early and then degrades. This suggests that the most universal adversarial directions are found close to the original, benign image. As iterations continue, the attack "overfits" to the specific quirks of the source model.
The "Near-is-Better" Hypothesis
The core motivation for this work is the observation that adversarial perturbations are most effective across different models when they remain near the benign state. As shown in Figure 1, while the white-box success rate (ResNet-18) remains at 100%, the success rates for black-box target models like DenseNet121 or ViT show a distinct decreasing trend after just a few iterations.
This decline suggests that as the image moves further from its original state, the optimization process begins to exploit model-specific "garbage" features that do not exist in other architectures.
Methodology: The SD Strategy
To address this, the researchers propose the Scheduled Step Size and Dual Example (SD) strategy, which can be integrated into existing iterative attacks like I-FGSM or MI-FGSM.
1. Scheduled Step Size
Unlike standard attacks that use a constant step size, the SD strategy employs an increasing sequence (e.g., logarithmic or linear). Small steps at the beginning keep the image near the benign state longer, allowing the algorithm to sample more transferable gradient directions. Larger steps later in the process help the algorithm escape local optima and ensure the final perturbation is strong enough to flip the model's prediction.
2. Dual Example
The algorithm maintains two versions of the adversarial image in parallel:
- The Decoy: Explores the landscape to find new gradient information.
- The Dual: The actual adversarial example, updated using a moving average of the gradients found by the decoy.
This dual-track approach stabilizes the model's "feature attention." As visualized in Figure 3, standard attacks cause erratic shifts in what the model focuses on. The Dual Example approach maintains significantly more stable attention (indicated by lower standard deviation values), which correlates with higher transferability.
Experimental Results
The SD strategy was evaluated using the ImageNet (ILSVRC 2012) validation set across six popular architectures, including CNNs (ResNet, DenseNet) and Transformers (ViT, Swin).
Key findings include:
- Significant Performance Gains: Integrating SD improved the average transferability of the baseline I-FGSM by 19.4%.
- State-of-the-Art Results: When combined with already advanced attacks like NI-FGSM, it provided an additional 6.7% boost, consistently outperforming previous transferability methods.
- Robustness Against Defenses: The method proved highly effective against advanced defensive techniques. Against "Random Smoothing," SD improved the attack success rate from approximately 21% to over 50%.
- Cross-Architecture Transfer: The strategy was particularly successful at bridging the gap between CNN-generated attacks and Vision Transformer targets.
Conclusion
By rethinking the optimization schedule and stabilizing feature attention through a dual-example system, the SD strategy effectively captures universal adversarial directions found near benign samples. This approach offers a simple yet powerful plug-and-play enhancement for existing adversarial attacks, significantly increasing their threat level in black-box scenarios.
Summary updated