mlsanityData to 7 Oct 2026

A Walk with SGD

arXiv 1802.08770 ↗First posted 24 Feb 2018stat.ML cs.LGcited by 74

Not on the map. Why?

Abstract (arXiv)

We present novel empirical observations regarding how stochastic gradient descent (SGD) navigates the loss landscape of over-parametrized deep neural networks (DNNs). These observations expose the qualitatively different roles of learning rate and batch-size in DNN optimization and generalization. Specifically we study the DNN loss surface along the trajectory of SGD by interpolating the loss surface between parameters from consecutive textititerations and tracking various metrics during training. We find that the loss interpolation between parameters before and after each training iteration's update is roughly convex with a minimum (textitvalley floor) in between for most of the training. Based on this and other metrics, we deduce that for most of the training update steps, SGD moves in valley like regions of the loss surface by jumping from one valley wall to another at a height above the valley floor. This 'bouncing between walls at a height' mechanism helps SGD traverse larger distance for small batch sizes and large learning rates which we find play qualitatively different roles in the dynamics. While a large learning rate maintains a large height from the valley floor, a small batch size injects noise facilitating exploration. We find this mechanism is crucial for generalization because the valley floor has barriers and this exploration above the valley floor allows SGD to quickly travel far away from the initialization point (without being affected by barriers) and find flatter regions, corresponding to better generalization.

Key facts. Cited by 74 papers in the map (data through 7 Oct 2026). First posted on arXiv 24 Feb 2018.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 9; 2022: 13; 2023: 13; 2024: 10; 2025: 13; 2026: 16.

74 papers.

Sort:

By area:

  1. 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inferencecited by 527
  2. 2021Gradient Descent on Neural Networks Typically Occurs at the Edge of Stabilitycited by 413
  3. 2022Self-Stabilization: The Implicit Bias of Gradient Descent at the Edge of Stabilitycited by 151
  4. 2025Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computationcited by 120
  5. 2024EuroLLM: Multilingual Language Models for Europecited by 103
  6. 2023A Modern Look at the Relationship between Sharpness and Generalizationcited by 91
  7. 2022Understanding the unstable convergence of gradient descentcited by 84
  8. 2022SGD with Large Step Sizes Learns Sparse Featurescited by 66
  9. 2021Stochastic Training is Not Necessary for Generalizationcited by 63
  10. 2022Analyzing Sharpness along GD Trajectory: Progressive Sharpening and Edge of Stabilitycited by 61
  11. 2022Linear Connectivity Reveals Generalization Strategiescited by 55
  12. 2022Understanding Edge-of-Stability Training Dynamics with a Minimalist Examplecited by 54
38 more
  1. 2022Learning threshold neurons via the "edge of stability"cited by 50
  2. 2023Implicit Bias of Gradient Descent for Logistic Regression at the Edge of Stabilitycited by 42
  3. 2023No Train No Gain: Revisiting Efficient Training Algorithms For Transformer-based Language Modelscited by 41
  4. 2021Strength of Minibatch Noise in SGDcited by 39
  5. 2021The Grammar-Learning Trajectories of Neural Language Modelscited by 36
  6. 2021Taxonomizing local versus global structure in neural network loss landscapescited by 34
  7. 2025Straight to Zero: Why Linearly Decaying the Learning Rate to Zero Works Best for LLMscited by 34
  8. 2023Catapults in SGD: spikes in the training loss and their impact on generalization through feature learningcited by 29
  9. 2021Generalization Bounds using Lower Tail Exponents in Stochastic Optimizerscited by 27
  10. 2023Layer-wise Linear Mode Connectivitycited by 22
  11. 2023Gradient Descent Monotonically Decreases the Sharpness of Gradient Flow Solutions in Scalar Networks and Beyondcited by 20
  12. 2022Training Scale-Invariant Neural Networks on the Sphere Can Happen in Three Regimescited by 19
  13. 2022DeepFD: Automated Fault Diagnosis and Localization for Deep Learning Programscited by 16
  14. 2023Loss Spike in Training Neural Networkscited by 15
  15. 2023Outliers with Opposing Signals Have an Outsized Effect on Neural Network Optimizationcited by 13
  16. 2025Hybrid Architectures for Language Models: Systematic Analysis and Design Insightscited by 13
  17. 2022Two Facets of SDE Under an Information-Theoretic Lens: Generalization of SGD via Training Trajectories and via Terminal Statescited by 11
  18. 2022K-SAM: Sharpness-Aware Minimization at the Speed of SGDcited by 10
  19. 2024Don't Blame the Data, Blame the Model: Understanding Noise and Bias When Learning from Subjective Annotationscited by 10
  20. 2025Adaptive Preconditioners Trigger Loss Spikes in Adamcited by 10
  21. 2023Data-dependent Generalization Bounds via Variable-Size Compressibilitycited by 9
  22. 2023Beyond Implicit Bias: The Insignificance of SGD Noise in Online Learningcited by 9
  23. 2021SGD with a Constant Large Learning Rate Can Converge to Local Maximacited by 8
  24. 2022On the Benefits of Large Learning Rates for Kernel Methodscited by 8
  25. 2023Benign Oscillation of Stochastic Gradient Descent with Large Learning Ratescited by 8
  26. 2025Through the River: Understanding the Benefit of Schedule-Free Methods for Language Model Trainingcited by 8
  27. 2026Momentum Further Constrains Sharpness at the Edge of Stochastic Stabilitycited by 8
  28. 2021Cockpit: A Practical Debugging Tool for the Training of Deep Neural Networkscited by 7
  29. 2025Composer: A Search Framework for Hybrid Neural Architecture Designcited by 7
  30. 2022Weight Expansion: A New Perspective on Dropout and Generalizationcited by 6
  31. 2024Where Do Large Learning Rates Lead Us?cited by 6
  32. 2025Minimax Optimal Convergence of Gradient Descent in Logistic Regression via Large and Adaptive Stepsizescited by 5
  33. 2026Universal Dynamics of Warmup Stable Decay: understanding WSD beyond Transformerscited by 5
  34. 2025A Minimalist Example of Edge-of-Stability and Progressive Sharpeningcited by 4
  35. 2026(How) Learning Rates Regulate Catastrophic Overtrainingcited by 4
  36. 2023Inductive biases in deep learning models for weather predictioncited by 3
  37. 2024Reevaluating Theoretical Analysis Methods for Optimization in Deep Learningcited by 3
  38. 2024Stochastic Differential Equations models for Least-Squares Stochastic Gradient Descentcited by 3

50 most cited of 74 All 74 (JSON)