A Walk with SGD
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
Citing papers per year: 2021: 9; 2022: 13; 2023: 13; 2024: 10; 2025: 13; 2026: 16.
74 papers.
Sort:
By area:
- 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inferencecited by 527
- 2021Gradient Descent on Neural Networks Typically Occurs at the Edge of Stabilitycited by 413
- 2022Self-Stabilization: The Implicit Bias of Gradient Descent at the Edge of Stabilitycited by 151
- 2025Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computationcited by 120
- 2024EuroLLM: Multilingual Language Models for Europecited by 103
- 2023A Modern Look at the Relationship between Sharpness and Generalizationcited by 91
- 2022Understanding the unstable convergence of gradient descentcited by 84
- 2022SGD with Large Step Sizes Learns Sparse Featurescited by 66
- 2021Stochastic Training is Not Necessary for Generalizationcited by 63
- 2022Analyzing Sharpness along GD Trajectory: Progressive Sharpening and Edge of Stabilitycited by 61
- 2022Linear Connectivity Reveals Generalization Strategiescited by 55
- 2022Understanding Edge-of-Stability Training Dynamics with a Minimalist Examplecited by 54
38 more
- 2022Learning threshold neurons via the "edge of stability"cited by 50
- 2023Implicit Bias of Gradient Descent for Logistic Regression at the Edge of Stabilitycited by 42
- 2023No Train No Gain: Revisiting Efficient Training Algorithms For Transformer-based Language Modelscited by 41
- 2021Strength of Minibatch Noise in SGDcited by 39
- 2021The Grammar-Learning Trajectories of Neural Language Modelscited by 36
- 2021Taxonomizing local versus global structure in neural network loss landscapescited by 34
- 2025Straight to Zero: Why Linearly Decaying the Learning Rate to Zero Works Best for LLMscited by 34
- 2023Catapults in SGD: spikes in the training loss and their impact on generalization through feature learningcited by 29
- 2021Generalization Bounds using Lower Tail Exponents in Stochastic Optimizerscited by 27
- 2023Layer-wise Linear Mode Connectivitycited by 22
- 2023Gradient Descent Monotonically Decreases the Sharpness of Gradient Flow Solutions in Scalar Networks and Beyondcited by 20
- 2022Training Scale-Invariant Neural Networks on the Sphere Can Happen in Three Regimescited by 19
- 2022DeepFD: Automated Fault Diagnosis and Localization for Deep Learning Programscited by 16
- 2023Loss Spike in Training Neural Networkscited by 15
- 2023Outliers with Opposing Signals Have an Outsized Effect on Neural Network Optimizationcited by 13
- 2025Hybrid Architectures for Language Models: Systematic Analysis and Design Insightscited by 13
- 2022Two Facets of SDE Under an Information-Theoretic Lens: Generalization of SGD via Training Trajectories and via Terminal Statescited by 11
- 2022K-SAM: Sharpness-Aware Minimization at the Speed of SGDcited by 10
- 2024Don't Blame the Data, Blame the Model: Understanding Noise and Bias When Learning from Subjective Annotationscited by 10
- 2025Adaptive Preconditioners Trigger Loss Spikes in Adamcited by 10
- 2023Data-dependent Generalization Bounds via Variable-Size Compressibilitycited by 9
- 2023Beyond Implicit Bias: The Insignificance of SGD Noise in Online Learningcited by 9
- 2021SGD with a Constant Large Learning Rate Can Converge to Local Maximacited by 8
- 2022On the Benefits of Large Learning Rates for Kernel Methodscited by 8
- 2023Benign Oscillation of Stochastic Gradient Descent with Large Learning Ratescited by 8
- 2025Through the River: Understanding the Benefit of Schedule-Free Methods for Language Model Trainingcited by 8
- 2026Momentum Further Constrains Sharpness at the Edge of Stochastic Stabilitycited by 8
- 2021Cockpit: A Practical Debugging Tool for the Training of Deep Neural Networkscited by 7
- 2025Composer: A Search Framework for Hybrid Neural Architecture Designcited by 7
- 2022Weight Expansion: A New Perspective on Dropout and Generalizationcited by 6
- 2024Where Do Large Learning Rates Lead Us?cited by 6
- 2025Minimax Optimal Convergence of Gradient Descent in Logistic Regression via Large and Adaptive Stepsizescited by 5
- 2026Universal Dynamics of Warmup Stable Decay: understanding WSD beyond Transformerscited by 5
- 2025A Minimalist Example of Edge-of-Stability and Progressive Sharpeningcited by 4
- 2026(How) Learning Rates Regulate Catastrophic Overtrainingcited by 4
- 2023Inductive biases in deep learning models for weather predictioncited by 3
- 2024Reevaluating Theoretical Analysis Methods for Optimization in Deep Learningcited by 3
- 2024Stochastic Differential Equations models for Least-Squares Stochastic Gradient Descentcited by 3
50 most cited of 74 All 74 (JSON)
- 2026From Wrecks to Wisdom: Recovering Crash Mechanics from Real-World Multi-View Photos30 Sep 2026
- 2026The Multiple Timescales of Gradient Descent on the Edge of Stability: A Perturbative Derivation of the Central Flow1 Sep 2026
- 2026The Road Taken: The Role of Optimizers at the Edge of Stability19 Aug 2026
- 2026Training nGPT2 Aug 2026
- 2026Weight-norm Criticality: A Mechanism for Loss Spikes Induced by the Normalization and Weight Decay23 Jul 2026
- 2026Edge of Stability Selectively Shapes Learning Across the Data Distribution2 Jun 2026
- 2026Does Weight Decay Enhance Training Stability?15 May 2026
- 2026SGD at the Edge of Stability: The Stochastic Sharpness Gap22 Apr 2026
- 2026Too Sharp, Too Sure: When Calibration Follows Curvature22 Apr 2026
- 2026Generalization at the Edge of Stability21 Apr 2026
- 2026Momentum Further Constrains Sharpness at the Edge of Stochastic Stability15 Apr 2026
- 2026(How) Learning Rates Regulate Catastrophic Overtraining15 Apr 2026
38 more
- 2026Large Spikes in Stochastic Gradient Descent: A Large-Deviations View10 Mar 2026
- 2026Convex Dominance in Deep Learning I: A Scaling Law of Loss and Learning Rate6 Feb 2026
- 2026On the Superlinear Relationship between SGD Noise Covariance and Loss Landscape Curvature5 Feb 2026
- 2026Universal Dynamics of Warmup Stable Decay: understanding WSD beyond Transformers13 Jan 2026
- 2025TabiBERT: A Large-Scale ModernBERT Foundation Model and A Unified Benchmark for Turkish28 Dec 2025
- 2025Scaling depth capacity via zero/one-layer model expansion7 Nov 2025
- 2025Hybrid Architectures for Language Models: Systematic Analysis and Design Insights6 Oct 2025
- 2025Composer: A Search Framework for Hybrid Neural Architecture Design1 Oct 2025
- 2025Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computation14 Jul 2025
- 2025Through the River: Understanding the Benefit of Schedule-Free Methods for Language Model Training14 Jul 2025
- 2025Optimization-Induced Dynamics of Lipschitz Continuity in Neural Networks23 Jun 2025
- 2025Theoretical guarantees for neural estimators in parametric statistics23 Jun 2025
- 2025Adaptive Preconditioners Trigger Loss Spikes in Adam5 Jun 2025
- 2025Minimax Optimal Convergence of Gradient Descent in Logistic Regression via Large and Adaptive Stepsizes5 Apr 2025
- 2025A Minimalist Example of Edge-of-Stability and Progressive Sharpening4 Mar 2025
- 2025Straight to Zero: Why Linearly Decaying the Learning Rate to Zero Works Best for LLMs21 Feb 2025
- 2025Any-stepsize Gradient Descent for Separable Data under Fenchel-Young Losses7 Feb 2025
- 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inference18 Dec 2024
- 2024Criteria and Bias of Parameterized Linear Regression under Edge of Stability Regime11 Dec 2024
- 2024Diagnosing Medical Datasets with Training Dynamics3 Nov 2024
- 2024Where Do Large Learning Rates Lead Us?29 Oct 2024
- 2024In Search of the Successful Interpolation: On the Role of Sharpness in CLIP Generalization21 Oct 2024
- 2024Dynamical loss functions shape landscape topography and improve learning in artificial neural networks14 Oct 2024
- 2024EuroLLM: Multilingual Language Models for Europe24 Sep 2024
- 2024Stochastic Differential Equations models for Least-Squares Stochastic Gradient Descent2 Jul 2024
- 2024Reevaluating Theoretical Analysis Methods for Optimization in Deep Learning1 Jul 2024
- 2024Don't Blame the Data, Blame the Model: Understanding Noise and Bias When Learning from Subjective Annotations6 Mar 2024
- 2023Outliers with Opposing Signals Have an Outsized Effect on Neural Network Optimization7 Nov 2023
- 2023Benign Oscillation of Stochastic Gradient Descent with Large Learning Rates26 Oct 2023
- 2023Layer-wise Linear Mode Connectivity13 Jul 2023
- 2023No Train No Gain: Revisiting Efficient Training Algorithms For Transformer-based Language Models12 Jul 2023
- 2023Beyond Implicit Bias: The Insignificance of SGD Noise in Online Learning14 Jun 2023
- 2023Catapults in SGD: spikes in the training loss and their impact on generalization through feature learning7 Jun 2023
- 2023Gradient Descent Monotonically Decreases the Sharpness of Gradient Flow Solutions in Scalar Networks and Beyond22 May 2023
- 2023Evolutionary Algorithms in the Light of SGD: Limit Equivalence, Minima Flatness, and Transfer Learning20 May 2023
- 2023Loss Spike in Training Neural Networks20 May 2023
- 2023Implicit Bias of Gradient Descent for Logistic Regression at the Edge of Stability19 May 2023
- 2023Inductive biases in deep learning models for weather prediction6 Apr 2023
50 newest of 74 All 74 (JSON)
- 2026Training nGPTcited by 0
- 2026Training nGPT2 Aug 2026
- 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inferencecited by 527
- 2021Gradient Descent on Neural Networks Typically Occurs at the Edge of Stabilitycited by 413
- 2022Self-Stabilization: The Implicit Bias of Gradient Descent at the Edge of Stabilitycited by 151
- 2025Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computationcited by 120
- 2024EuroLLM: Multilingual Language Models for Europecited by 103
- 2023A Modern Look at the Relationship between Sharpness and Generalizationcited by 91
- 2022Understanding the unstable convergence of gradient descentcited by 84
- 2022SGD with Large Step Sizes Learns Sparse Featurescited by 66
- 2021Stochastic Training is Not Necessary for Generalizationcited by 63
- 2022Analyzing Sharpness along GD Trajectory: Progressive Sharpening and Edge of Stabilitycited by 61
- 2022Linear Connectivity Reveals Generalization Strategiescited by 55
- 2022Understanding Edge-of-Stability Training Dynamics with a Minimalist Examplecited by 54
12 most cited of 72 All 72 (JSON)
- 2026From Wrecks to Wisdom: Recovering Crash Mechanics from Real-World Multi-View Photos30 Sep 2026
- 2026The Multiple Timescales of Gradient Descent on the Edge of Stability: A Perturbative Derivation of the Central Flow1 Sep 2026
- 2026The Road Taken: The Role of Optimizers at the Edge of Stability19 Aug 2026
- 2026Weight-norm Criticality: A Mechanism for Loss Spikes Induced by the Normalization and Weight Decay23 Jul 2026
- 2026Edge of Stability Selectively Shapes Learning Across the Data Distribution2 Jun 2026
- 2026Does Weight Decay Enhance Training Stability?15 May 2026
- 2026SGD at the Edge of Stability: The Stochastic Sharpness Gap22 Apr 2026
- 2026Too Sharp, Too Sure: When Calibration Follows Curvature22 Apr 2026
- 2026Generalization at the Edge of Stability21 Apr 2026
- 2026Momentum Further Constrains Sharpness at the Edge of Stochastic Stability15 Apr 2026
- 2026(How) Learning Rates Regulate Catastrophic Overtraining15 Apr 2026
- 2026Large Spikes in Stochastic Gradient Descent: A Large-Deviations View10 Mar 2026
12 newest of 72 All 72 (JSON)