Abstract
Adversarial examples—inputs modified by imperceptible perturbations that cause deep neural networks (DNNs) to fail—pose a significant security risk. While iterative attacks are powerful in white-box settings, they often fail to transfer to unknown black-box models due to overfitting. This paper introduces the Momentum Iterative Fast Gradient Sign Method (MI-FGSM), which integrates momentum into the iterative process to stabilize update directions and escape poor local maxima. MI-FGSM significantly improves the transferability of adversarial examples, winning first place in the NIPS 2017 Adversarial Attack competitions.
Introduction: The Challenge of Transferability
Adversarial attacks are typically categorized by the attacker's knowledge of the target model. White-box attacks leverage full access to model parameters to finely tune perturbations, often using iterative methods like I-FGSM. However, these methods frequently "overfit" to the specific geometry of the source model, leading to poor performance in black-box attacks, where the target model is unknown. Conversely, single-step attacks like the Fast Gradient Sign Method (FGSM) transfer better but lack the overall strength of iterative approaches. This work seeks to bridge this gap, creating an algorithm that is both powerful and highly transferable.
Methodology: Momentum Iterative FGSM
The proposed MI-FGSM algorithm incorporates a momentum term into the standard iterative gradient attack.
The Momentum Mechanism
In standard iterative attacks, each step follows the current gradient. MI-FGSM instead maintains a "velocity vector" that accumulates gradients from previous iterations. This approach "smooths" the noise generation process, preventing the attack from becoming trapped in narrow, model-specific local maxima. By stabilizing the update direction, the resulting perturbations become more "feature-specific" rather than "model-specific," facilitating better transfer across different architectures.
Ensemble Attacks and Logit Averaging
To further enhance transferability, the authors explored attacking multiple models simultaneously. They found that "Ensemble in Logits"—averaging the raw output scores before the softmax layer—is superior to averaging final probabilities. This ensures that a single highly confident model does not dominate the gradient, leading to a more balanced and effective adversarial direction.
Experimental Evaluation
The authors evaluated MI-FGSM using a dataset of 1,000 ImageNet-compatible images against a variety of state-of-the-art models, including Inception v3, ResNet, and models specifically hardened through adversarial training.
Key Results
- Black-box Success: Against a VGG-16 model (unseen during attack generation), MI-FGSM achieved a success rate of 77.9%, a massive improvement over the 42.8% achieved by standard I-FGSM.
- White-box Dominance: The method maintained near-perfect success rates (99%–100%) against source models.
- Breaking Robust Models: Even models hardened with adversarial training proved vulnerable, especially when targeted by an ensemble-based MI-FGSM attack.
Conclusion
MI-FGSM demonstrates that the lack of transferability in iterative attacks is primarily an optimization challenge. By stabilizing gradients with momentum, the attack generates more robust adversarial examples that generalize across different neural architectures. These findings highlight the ongoing vulnerability of even "robust" models and establish a new benchmark for evaluating future defensive mechanisms in the AI security landscape.
Summary updated