Boosting Adversarial Attacks With Momentum

Yinpeng Dong, Fangzhou Liao, Tianyu Pang, Hang Su, Jun Zhu, Xiaolin Hu, Jianguo Li

Abstract

Deep Neural Networks (DNNs) are highly susceptible to adversarial examples—inputs crafted with subtle perturbations to mislead models. A major challenge in adversarial research is the "black-box" scenario, where an attacker lacks access to the target model's internal parameters. This paper introduces the Momentum Iterative Fast Gradient Sign Method (MI-FGSM), which integrates a momentum term into iterative attacks to enhance the transferability of adversarial examples. By stabilizing update directions and avoiding poor local maxima, MI-FGSM significantly outperforms previous methods, securing first place in the NIPS 2017 adversarial competition.

Introduction: The Challenge of Black-Box Attacks

Adversarial examples reveal a fundamental weakness in modern AI: small, often invisible changes to an image can cause a model to fail spectacularly. While "white-box" attacks (where the model is known) are highly effective, real-world security often involves "black-box" systems. The goal is to create adversarial examples that transfer—meaning an attack designed for one model successfully fools another.

Adversarial examples generated by MI-FGSM fooling models into high-confidence misclassifications.

Previously, researchers faced a trade-off: simple one-step attacks like the Fast Gradient Sign Method (FGSM) transferred well but were weak, while strong iterative attacks (I-FGSM) tended to "overfit" to the source model, failing to transfer to different architectures.

Methodology: Momentum and Ensembles

The authors propose MI-FGSM, applying the concept of momentum from optimization to adversarial generation. Instead of relying solely on the gradient at the current step, the algorithm maintains a "velocity" vector that accumulates gradients from previous iterations.

Momentum Iterative FGSM

In standard iterative attacks, the update direction can be noisy and specific to the local geometry of the source model's decision boundary. By adding momentum, the update direction becomes more stable, effectively "smoothing" the path. This allows the adversarial perturbation to find more "universal" directions of failure that are shared across different model architectures, rather than getting stuck in model-specific local maxima.

Ensemble-Based Attacks

To further boost transferability, the researchers utilized ensemble attacks. By attacking multiple models simultaneously, they found that fusing the logits (the raw, unnormalized scores) of several models was more effective than averaging final probabilities. Logits preserve more granular information about class relationships, which is often lost after the Softmax function squashes values.

Experimental Results

The study evaluated MI-FGSM using the ImageNet (ILSVRC 2012) dataset, testing against various architectures including Inception and ResNet.

  • Significant Transferability Gains: MI-FGSM frequently doubled the success rates of previous iterative methods in black-box settings. For instance, an attack generated on Inception-v3 fooled a ResNet-152 model approximately 35% of the time, compared to just 16% for standard I-FGSM.
  • Overcoming Defenses: The method proved effective even against "adversarially trained" models—the industry standard for defense. Using an ensemble approach, MI-FGSM achieved over a 40% success rate against these hardened models in black-box tests.
  • Competition Success: The effectiveness of this approach was validated at the NIPS 2017 Adversarial Attacks and Defenses competition, where it won both the Non-targeted and Targeted Attack tracks.

Conclusion

MI-FGSM represents a significant advancement in understanding and generating adversarial examples. By treating the attack process as an optimization problem that requires regularization (via momentum), the authors bridged the gap between white-box and black-box vulnerabilities. While defensive techniques continue to evolve, this work highlights the persistent challenge of securing DNNs against sophisticated, transferable attacks.

Summary updated

BibTeX
@inproceedings{dong2018boosting,
  author = {Yinpeng Dong and Fangzhou Liao and Tianyu Pang and Hang Su and Jun Zhu and Xiaolin Hu and Jianguo Li},
  title = {{Boosting Adversarial Attacks With Momentum}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  doi = {10.1109/cvpr.2018.00957},
}
Figure