atlas

Research map / Optimization / Implicit bias and generalization

Understanding the Generalization of Stochastic Gradient Adam in Learning Neural Networks

NeurIPS 2025 · Optimization › Implicit bias and generalization · approach: SGD noise and flat minima · 0 citations (OpenAlex)

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.

Theoretically analyzes how batch size and weight decay affect generalization of stochastic Adam and AdamW on two-layer CNNs with feature-noise data, showing large-batch variants overfit noise while mini-batch variants generalize, and Adam tolerates a much smaller weight decay than AdamW.

Problem

Full-batch analyses of Adam do not capture stochastic (mini-batch) Adam, which does not converge to its full-batch counterpart even with infinitesimal learning rates; how batch size and weight decay affect Adam/AdamW generalization is unclear.

Approach

Extends the feature-noise two-layer CNN analysis of full-batch Adam to stochastic Adam and AdamW, showing a batch-size threshold (n/B) separates noise-overfitting large-batch solutions from near-zero-test-error mini-batch solutions, and that Adam's effective weight decay bound (sigma_0^{q-2}) is much smaller than AdamW's (B^2/n ∧ 1 to O(1)); mini-batch Adam is approximated by SignSGD.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use mini-batch rather than large-batch trainingAdam · Synthetic image data modeltest error: ≥ 1/2-o(1) -> o(1)Helped
Use mini-batch rather than large-batch trainingAdamW · Synthetic image data modeltest error: ≥ 1/2-o(1) -> o(1)Helped
Increase batch size beyond a critical thresholdAdam and AdamW · CIFAR-10test errorHurt
Set Adam weight decay above 0.05Adam · CIFAR-10, batch size 16test errorHurt
Increase AdamW weight decay up to 0.5AdamW · CIFAR-10, batch size 16test errorNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR-10 ImageNet-1K synthetic feature-noise data

Benchmarks: CIFAR-10 ImageNet-1K

Metrics: test error training error

Baselines: full-batch Adam full-batch AdamW SGD GD

Builds on: Adam AdamW SignSGD feature learning theory of full-batch Adam vs GD

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