atlas

Research map / Optimization / Implicit bias and generalization

Butterfly Effects of SGD Noise: Error Amplification in Behavior Cloning and Autoregression

ICLR 2024 · 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.

Shows that minibatch SGD noise causes chaotic rollout-reward oscillations in behavior cloning (gradient variance amplification, GVA), and that exponential moving average of iterates mitigates it in continuous control and autoregressive language generation.

Problem

Behavior cloning with deep networks shows large oscillations in long-horizon rollout reward across nearby checkpoints even when the behavior cloning validation loss decreases smoothly, making checkpoint selection unreliable.

Approach

Attributes the oscillations to gradient variance amplification: minibatch SGD noise is benign for the one-step BC loss but is amplified through closed-loop dynamics; an exponential moving average of iterates suppresses it without changing the learning rate schedule or batch size.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add EMA iterate averagingBehavior cloning policies · MuJoCo continuous control, including Walker2d-v4rollout reward oscillationsHelped
Aggressively decay the learning rate (ablation)Behavior cloning training · Walker2d-v4rollout reward oscillationsHelped
Increase batch size through gradient accumulation (ablation)Behavior cloning training · Walker2d-v4rollout reward oscillationsHelped
Change model architecture or scale (ablation)Behavior cloning policies · Walker2d-v4rollout reward oscillationsNo clear effect
Increase standard regularization (ablation)Behavior cloning policies · Walker2d-v4rollout reward oscillationsNo clear effect
Use a larger momentum coefficient (ablation)Behavior cloning optimizer · MuJoCo continuous controltraining stabilityHelped
Add EMA iterate averaging without changing the learning-rate schedule or batch sizeBehavior cloning policies · MuJoCo continuous controlrollout reward oscillationsHelped
Add EMA iterate averaging270M-parameter, 12-layer Transformer · TinyStoriesgeneralizationHelped
Train with EMA rather than relying on full learning-rate decayAutoregressive language model · TinyStoriesperplexityHelped

Surprising findings

Limitations

Experimental setup

Datasets: TinyStories Wikipedia MuJoCo expert trajectories (Walker2d-v4, Hopper-v4, HalfCheetah-v4, Humanoid-v4, Ant-v4)

Benchmarks: Walker2d-v4 Hopper-v4 HalfCheetah-v4 Humanoid-v4 Ant-v4 TinyStories Wikipedia

Metrics: rollout reward validation behavior cloning loss validation loss / perplexity

Baselines: vanilla SGD/AdamW training without EMA learning rate decay larger batch size via gradient accumulation

Builds on: Soft Actor Critic exponential moving average DART DAgger

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