Towards Robust Regularization with Central-difference and Momentum Lookahead

Boyu Wang, Kangkang Deng, Jiachen Jin, Hongxia WangOpenReview 2026 · Submission to ICLR 2026 · Rejected

TL;DR

Sharpness-Aware Minimization (SAM) is a popular technique for finding "flat minima" to improve model generalization, but it becomes notoriously unstable when extended to multi-step optimization. This paper introduces Central-difference Momentum Lookahead Regularization (CMLR), which stabilizes the process by using symmetric "central-difference" probing and a lightweight momentum lookahead mechanism. The result is a more robust optimizer that consistently outperforms SAM and its variants across vision and language tasks with minimal computational overhead.

What Problem Does This Paper Address?

In deep learning, we don't just want a model with low training loss; we want one that generalizes well to new data. Research has shown that models residing in "flat" regions of the loss landscape—where small changes in parameters don't cause huge spikes in error—tend to generalize better. Sharpness-Aware Minimization (SAM) was designed to seek out these flat minima by perturbing weights during training.

However, SAM suffers from a "non-robustness paradox." While it works well for single-step updates, trying to solve its internal optimization problem more accurately (using multiple steps) often makes generalization worse. The authors identify the culprit: SAM relies on a "forward-difference" approximation of the Hessian (the curvature of the loss landscape). This approximation is mathematically noisy and unstable, causing the optimizer to oscillate wildly near saddle points or sharp corners, ultimately degrading performance.

Methods

The authors propose a two-pronged solution to stabilize gradient regularization:

  1. Central-Difference Probing (CR): Instead of looking only "forward" in the direction of the gradient ($w + \rho v$), CMLR probes the landscape symmetrically ($w + \rho v$ and $w - \rho v$). Mathematically, this upgrades the approximation of the loss curvature from first-order accuracy ($O(\rho)$) to second-order accuracy ($O(\rho^2)$).
  2. Momentum Lookahead Mechanism (ML): To make multi-step updates feasible, the authors integrate a "Lookahead" framework (maintaining "fast" and "slow" weights).
  3. Efficiency Hack: Normally, central-difference requires three gradient evaluations (forward, backward, and the base point). CMLR cleverly approximates the base gradient by averaging the two perturbed gradients. This allows the algorithm to maintain the same computational cost as standard SAM (two gradient evaluations per step) while gaining the stability of central-differencing.
  4. Momentum Prediction: The algorithm uses a moving average of previous gradients to anticipate the next perturbation direction, ensuring a smoother optimization trajectory.

Datasets

The authors evaluated CMLR across a wide range of benchmarks to prove its versatility:

  • Computer Vision: CIFAR-10, CIFAR-100, and Tiny-ImageNet.
  • Natural Language Processing (NLP): The GLUE benchmark (including tasks like CoLA, SST-2, MRPC, QQP, MNLI, QNLI, and RTE).
  • Architectures: They tested on classic CNNs (ResNet, VGG, WideResNet, PyramidNet), Vision Transformers (ViT-Ti, ViT-S, ViT-B), and Transformer encoders (DistilBERT).

Key Insights and Ideas

  • The Stability-Generalization Link: The authors demonstrate that the stability of the optimization path (measured by the cosine similarity between consecutive updates) is a strong predictor of generalization. CMLR produces much smoother trajectories than SAM.
  • Solving the Paradox: By using a symmetric probe, CMLR maintains a stable "anchor" for the gradient. In standard multi-step SAM, this anchor is lost, causing the model to drift too far from its starting point.
  • Theoretical Rigor: The paper provides formal convergence guarantees for non-convex objectives and uses spectral analysis to prove that CMLR significantly reduces the variance of gradient estimates compared to forward-difference methods.

Key Results

  • Superior Generalization: CMLR consistently achieved the highest test accuracy across almost all tested models. For example, on CIFAR-100 with a ResNet-18, CMLR reached 81.64% accuracy, compared to SAM's 80.24% and GSAM's 80.86%.
  • Vision Transformer Gains: The improvements were even more pronounced in ViTs. On CIFAR-10, CMLR boosted ViT-Base performance to 88.30%, significantly higher than SAM's 86.82%.
  • NLP Performance: On the GLUE benchmark, CMLR achieved an average score of 82.08, outperforming the baseline AdamW (79.53) and other SAM variants.
  • Efficiency: Compared to a naive implementation of central-difference regularization (which requires three gradient calls), CMLR increased throughput by 45% without sacrificing accuracy.

Limitations and Future Work

  • Hyperparameter Sensitivity: Like most advanced optimizers, CMLR introduces new hyperparameters (like the regularization strength $\lambda$ and the lookahead step $K$). While the authors provide suggested ranges, optimal performance may require tuning for specific new architectures.
  • Computational Floor: While CMLR is efficient compared to other multi-step methods, it still requires two gradient evaluations per step, making it roughly twice as slow as vanilla SGD or AdamW per iteration.
  • Future Directions: The authors suggest exploring adaptive perturbation sizes ($\rho$) and investigating how CMLR behaves in extremely large-scale settings, such as training LLMs with billions of parameters.

Summary updated

Abstract

Sharpness-Aware Minimization (SAM) is an effective technique for improving generalization by guiding optimizers towards flat minima through parameter perturbations. However, extending such regularization strategies to multi-step settings often leads to instability, where naive iterative updates degrade rather than enhance generalization. To overcome this limitation, we propose Central-difference Momentum Lookahead Regularization (CMLR), a framework that performs momentum lookahead through central-difference probing of the loss landscape. By constructing the perturbation direction from symmetric gradient evaluations, CMLR realizes a momentum lookahead update that is inherently more robust and exhibits reduced variance, while requiring no additional gradient evaluations. This design ensures smooth optimization trajectories and reliable improvements at low computational cost. We establish formal convergence guarantees together with a variance reduction analysis for CMLR, and empirically demonstrate that it consistently improves generalization across diverse architectures and datasets.
BibTeX
@misc{wang2026towards,
  author = {Boyu Wang and Kangkang Deng and Jiachen Jin and Hongxia Wang},
  title = {{Towards Robust Regularization with Central-difference and Momentum Lookahead}},
  year = {2026},
  url = {https://openreview.net/forum?id=Y7RcHDKy7h},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}
Figure