Momentum Based Gradient Stabilization for Transferable Attacks

This direction is split into other directions: momentum-stabilized adversarial optimization. Its last version stays readable and citable here.

Version 1 of 191 papers113 conceptsfrozen 2026-10-04

Adversarial attacks typically rely on the gradients of a model's loss function to find the smallest possible perturbation that flips a classification label. However, there is a fundamental tension in this process: the more effectively an attack "overfits" to the specific geometry of a source model, the less likely it is to "transfer" to a different, unknown black-box model.

Recent research has converged on momentum-based gradient stabilization as the primary solution to this "transferability gap." By treating adversarial generation as a regularized optimization problem rather than a simple search, researchers have found ways to bypass model-specific noise and identify universal adversarial regions.

The Transferability Gap and Local Overfitting

To understand why momentum is necessary, we must look at the loss landscape of a deep neural network. While we often visualize loss surfaces as smooth bowls, they are actually riddled with "local geometric noise"—tiny, sharp peaks and valleys that are unique to a specific model's architecture, weights, and training data.

Standard iterative methods, such as the Basic Iterative Method (BIM), are highly susceptible to these local artifacts. As Yinpeng Dong, Tianyu Pang, and their colleagues noted in Boosting Adversarial Attacks With Momentum, iterative attacks tend to get "trapped" in these narrow, model-specific regions. The resulting adversarial image is perfectly tuned to fool the source model but fails against a target model because those specific "cracks" in the decision boundary don't exist in the same place.

Momentum as a Low-Pass Filter

The core intuition behind using momentum is that it acts as a low-pass filter for gradients. By accumulating a "velocity vector" of gradients from previous steps, the optimization process gains inertia.

In the Momentum Iterative Fast Gradient Sign Method (MI-FGSM) introduced by Yinpeng Dong et al. in Discovering Adversarial Examples with Momentum, the update direction is not just the current gradient, but a weighted average of all previous gradients. This stabilization prevents the perturbation from zig-zagging into local optima. Instead, the "inertia" allows the attack to roll over small, model-specific spikes and follow the broader, more fundamental "slope" of the adversarial subspace that is shared across different neural network architectures.

Looking Ahead with Nesterov Acceleration

If standard momentum provides inertia, Nesterov Accelerated Gradient (NAG) provides "foresight." Chuanbiao Song, Jiadong Lin, and Kun He expanded on this in Nesterov Accelerated Gradient and Scale Invariance for Improving Transferability of Adversarial Examples.

Instead of calculating the gradient at the current point, the Nesterov-based attack calculates the gradient at a "look-ahead" position—the point where the current momentum would take the image. This allows the optimization to "anticipate" the curvature of the loss landscape. If the look-ahead gradient points in a radically different direction (indicating a sharp, model-specific peak), the momentum term naturally corrects itself. This mechanism further ensures that the generated perturbations focus on stable, transferable features rather than brittle, local maxima.

Refining the Gradient through Variance and Ensembles

Beyond simple temporal smoothing, researchers have developed spatial and ensemble-based stabilization techniques:

Generalization Beyond Image Classification

The principle of momentum-based stabilization has proven to be a universal tool for adversarial robustness research across domains:

  • Large Language Models: In Boosting Jailbreak Attack with Momentum, Zeming Wei and Yihao Zhang applied momentum to the Greedy Coordinate Gradient (GCG) method. They found that a moving average of gradients helps identify adversarial suffixes that work across diverse prompts, effectively "averaging out" the noise of individual requests.
  • Graph Neural Networks: Jinyin Chen demonstrated in MGA: Momentum Gradient Attack on Network that momentum can stabilize the discrete process of rewiring graph edges, leading to structural attacks that transfer across different network embedding models.
  • Generative Models: Even in the continuous denoising process of diffusion models, Hui Kuurila-Zhang and Haoyu Chen showed in VENOM that a moving average of gradients is essential to prevent noisy artifacts and maintain the natural image distribution during adversarial synthesis.

By shifting the focus from finding any adversarial point to finding a stable adversarial direction, momentum-based methods have transformed adversarial attacks from model-specific curiosities into robust tools for probing the fundamental vulnerabilities of deep learning.

Papers in this version

Showing 60 of 91 papers.

History & citationVersion 1 · 2026-10-04

Split into other directions · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_momentum_based_gradient_stabilization_fo_fccc0834,
  title = {Momentum Based Gradient Stabilization for Transferable Attacks},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/momentum-based-gradient-stabilization-for-transferable-attacks/rdr_fccc0834ca9c49b592358af6eeec98bd},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-26},
}

This exact version (version 1, frozen text):

@misc{lacuna_momentum_based_gradient_stabilization_fo_fccc0834_v1,
  title = {Momentum Based Gradient Stabilization for Transferable Attacks},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/momentum-based-gradient-stabilization-for-transferable-attacks/rdr_fccc0834ca9c49b592358af6eeec98bd/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-26},
}