Boosting Adversarial Transferability through Enhanced Momentum

Xiaosen Wang, Jiadong Lin, Han Hu, Jingdong Wang, Kun He

Abstract

Adversarial examples often fail to transfer across different neural network architectures due to overfitting on the source model's specific loss landscape. This paper introduces EMI-FGSM (Enhanced Momentum Iterative Fast Gradient Sign Method), a technique designed to significantly improve adversarial transferability. By sampling and averaging gradients in a "look-ahead" direction, EMI-FGSM identifies more stable and generalizable perturbation directions. Experimental results on ImageNet demonstrate that EMI-FGSM outperforms existing momentum-based attacks, achieving an average success rate of 86.6% against state-of-the-art defenses when combined with other transformation methods.

Introduction

Deep neural networks (DNNs) are vulnerable to adversarial perturbations—small, often imperceptible changes to input images that lead to incorrect classifications. While white-box attacks are highly effective, their success often drops sharply in black-box scenarios where the target model is unknown. This lack of "transferability" is a major hurdle for assessing the real-world security of DNNs.

Existing iterative attacks use momentum to stabilize the optimization process and escape local maxima. However, these methods typically rely on a single-point gradient calculation at each step. Such gradients can be noisy and overly specific to the geometry of the source model, leading the attack to "overfit" and fail when transferred to a different architecture.

Methods: Enhanced Momentum

The proposed EMI-FGSM method addresses the brittleness of single-point gradients by smoothing the optimization landscape. The core innovation involves two main steps:

  1. Look-Ahead Direction: Instead of calculating the gradient at the current point $x_t$, the algorithm projects forward in the direction of the previous iteration's gradient.
  2. Gradient Averaging: At this look-ahead point, the algorithm samples $N$ data points along the direction of the previous gradient (using a sampling interval $\eta$). It then calculates the average gradient across these $N$ points.
Comparison of gradient calculation methods across different FGSM variants, highlighting the EMI-FGSM sampling approach.

This averaging process acts as a "consensus" mechanism, identifying broader features of the loss landscape that are likely shared across different models. The authors also introduced PI-FGSM (Pre-gradient guided momentum) as a precursor, finding that using the raw previous gradient for the look-ahead provided a more precise neighborhood for sampling than the accumulated momentum history.

Experimental Evaluation

The researchers evaluated EMI-FGSM using 1,000 images from the ILSVRC 2012 validation set. The attack was tested against a variety of models, including normally trained architectures (e.g., Inception-v3, ResNet) and models specifically hardened with adversarial training and advanced defenses like high-level representation guided denoisers (HGD).

Key Results

EMI-FGSM demonstrates superior performance across multiple benchmarks:

  • Baseline Improvements: It improved the transferability of standard momentum-based attacks by an average of 11.1%.
  • Superiority over NI-FGSM: Against advanced ensemble-defense models, EMI-FGSM outperformed the previous state-of-the-art (NI-FGSM) by over 20% in certain configurations.
  • Synergy with Transformation Methods: EMI-FGSM is highly compatible with other techniques like Diverse Input (DIM), Translation-Invariant (TIM), and Scale-Invariant (SIM) methods.
Performance comparison showing significant gains in attack success rates when integrating EMI with existing transformation methods.

When integrated into a combined attack called EMI-DTS, the method reached a record-breaking average success rate of 86.6% against seven top-tier defense models from the NIPS 2017 competition.

Discussion and Conclusion

The success of EMI-FGSM highlights that single-point gradients are often too "brittle" for effective transfer attacks. By averaging gradients in a specific "look-ahead" neighborhood, the attack discovers more robust directions in the loss landscape.

While highly effective, the method does come with a computational trade-off: sampling $N$ points per iteration (typically $N=11$) requires significantly more backpropagation passes than standard methods. Future work may explore adaptive sampling intervals or non-linear sampling distributions to improve efficiency while maintaining high transferability.

Summary updated

BibTeX
@inproceedings{wang2021boosting,
  author = {Xiaosen Wang and Jiadong Lin and Han Hu and Jingdong Wang and Kun He},
  title = {{Boosting Adversarial Transferability through Enhanced Momentum}},
  booktitle = {BMVC},
  year = {2021},
}
Figure