To Clip or not to Clip: the Dynamics of SGD with Gradient Clipping in High-Dimensions
Not on the map. Why?
Abstract (arXiv)
The success of modern machine learning is due in part to the adaptive optimization methods that have been developed to deal with the difficulties of training large models over complex datasets. One such method is gradient clipping: a practical procedure with limited theoretical underpinnings. In this work, we study clipping in a least squares problem under streaming SGD. We develop a theoretical analysis of the learning dynamics in the limit of large intrinsic dimension-a model and dataset dependent notion of dimensionality. In this limit we find a deterministic equation that describes the evolution of the loss and demonstrate that this equation predicts the path of clipped SGD on synthetic, CIFAR10, and Wikitext2 data. We show that with Gaussian noise clipping cannot improve SGD performance. Yet, in other noisy settings, clipping can provide benefits with tuning of the clipping threshold. We propose a simple heuristic for near optimal scheduling of the clipping threshold which requires the tuning of only one hyperparameter. We conclude with a discussion about the links between high-dimensional clipping and neural network training.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 18 of its 27 references that are in the map. First posted on arXiv 17 Jun 2024.
Builds on
18 of 27 references.
References · 18
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2016Deep Learning with Differential Privacycited by 2,682
- 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
- 2021Gradient Descent on Neural Networks Typically Occurs at the Edge of Stabilitycited by 413
- 2020Implicit Gradient Regularizationcited by 145
- 2015Stochastic modified equations and adaptive stochastic gradient algorithmscited by 141
- 2020Understanding Gradient Clipping in Private SGD: A Geometric Perspectivecited by 140
- 2020Improved Analysis of Clipping Algorithms for Non-convex Optimizationcited by 88
- 2023Revisiting Gradient Clipping: Stochastic bias and tight convergence guaranteescited by 83
6 more
- 2019AdaCliP: Adaptive Clipping for Private SGDcited by 77
- 2016A Variational Analysis of Stochastic Gradient Algorithmscited by 56
- 2022Second-order regression models exhibit progressive sharpening to the edge of stabilitycited by 40
- 2022Homogenization of SGD in high-dimensions: Exact dynamics and generalization propertiescited by 26
- 2023Hitting the High-Dimensional Notes: An ODE for SGD learning dynamics on GLMs and multi-index modelscited by 25
- 2024High dimensional analysis reveals conservative sharpening and a stochastic edge of stabilitycited by 15
Built on by
Citing papers per year: 2025: 1; 2026: 4.
5 papers.
- 2025On the Interaction of Batch Noise, Adaptivity, and Compression, under (L0,L1)-Smoothness: An SDE Approachcited by 4
- 2026How Controlling the Variance can Improve Training Stability of Sparsely Activated DNNs and CNNscited by 1
- 2026Adaptive Methods Are Preferable in High Privacy Settings: An SDE Perspectivecited by 1
- 2026Can Entry-Wise Clipping Give Spectral Control of Stochastic Gradients?cited by 0
- 2026Clipped or Unclipped? Finite-Sample Trade-offs for Averaged SGD under Heavy-Tailed Noisecited by 0
- 2026Clipped or Unclipped? Finite-Sample Trade-offs for Averaged SGD under Heavy-Tailed Noise26 Sep 2026
- 2026Can Entry-Wise Clipping Give Spectral Control of Stochastic Gradients?26 May 2026
- 2026Adaptive Methods Are Preferable in High Privacy Settings: An SDE Perspective3 Mar 2026
- 2026How Controlling the Variance can Improve Training Stability of Sparsely Activated DNNs and CNNs5 Feb 2026
- 2025On the Interaction of Batch Noise, Adaptivity, and Compression, under (L0,L1)-Smoothness: An SDE Approach30 May 2025