atlas

Research map / Optimization / Implicit bias and generalization

Improving Sharpness-Aware Minimization by Lookahead

ICML 2024 · Optimization › Implicit bias and generalization · approach: Sharpness-aware minimization theory

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Adds an extra-gradient-style lookahead to Sharpness-Aware Minimization (SAM), yielding Lookahead-SAM, Opt-SAM and AO-SAM variants that avoid saddle points and reach flatter minima at SAM-level convergence rates.

Problem

SAM can suffer from convergence instability, oscillating around saddle points, which leads to slow convergence and inferior generalization.

Approach

Applies lookahead/extra-gradient and optimistic-gradient ideas to SAM's minimax formulation, simplifying the extrapolation so the perturbation is reduced near saddle points; the optimistic variant reuses past gradients and the adaptive variant (AO-SAM) skips SAM steps using AE-SAM's statistical test.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add a lookahead step to SAMSAM · CIFAR-10, ResNet-18accuracy: 96.52 ±0.12 -> 96.81 ±0.01Helped
Reuse the previous gradient in the lookahead stepSAM · CIFAR-100, ResNet-18accuracy: 80.17 ±0.05 -> 80.76 ±0.15Helped
Use adaptive SAM updates with optimistic lookaheadSAM · CIFAR-10, ResNet-18accuracy: 96.52 ±0.12 -> 96.82 ±0.04Helped
Use adaptive SAM updates with optimistic lookaheadSAM · CIFAR-100, ResNet-18%SAM: 100.0 ±0.0 -> 61.2 ±0.0Helped
Use adaptive SAM updates with optimistic lookaheadSAM · CIFAR-100, ResNet-18accuracy: 80.17 ±0.05 -> 80.70 ±0.14Helped
Use adaptive SAM updates with optimistic lookaheadSAM · MRPCAccuracy: 87.9 -> 88.7Helped
Reuse the previous gradient in the lookahead stepSAM · MRPCF1-score: 91.4 -> 92.2Helped
Use adaptive SAM updates with optimistic lookaheadSAM · ImageNet, ResNet-50accuracy: 77.47 ± 0.12 -> 77.68 ± 0.04Helped
Use adaptive SAM updates with optimistic lookaheadSAM · CIFAR-10, ResNet-18training time (seconds): 6,780 -> 4,704Helped
Use direct extra-gradient updates instead of SAMSAM · CIFAR-100, ResNet-18accuracy: 80.17 ±0.05 -> 79.91 ±0.16Hurt
Use optimistic-gradient updates without the proposed lookahead-SAM constructionSAM · CIFAR-100, ResNet-18accuracy: 80.17 ±0.05 -> 79.92 ±0.08Hurt

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR-10 CIFAR-100 ImageNet MRPC

Benchmarks: CIFAR-10 CIFAR-100 ImageNet MRPC

Metrics: testing accuracy %SAM (fraction of SAM updates) training time GPU memory Hessian eigenvalue (lambda1, lambda1/lambda5) F1-score

Baselines: SAM ESAM ASAM GSAM SS-SAM AE-SAM ERM EG OG

Builds on: Sharpness-Aware Minimization Extra-gradient Optimistic gradient AE-SAM

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy