mlsanityData to 7 Oct 2026

To Clip or not to Clip: the Dynamics of SGD with Gradient Clipping in High-Dimensions

arXiv 2406.11733 ↗First posted 17 Jun 2024stat.ML cs.LGcited by 5

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2020Scaling Laws for Neural Language Modelscited by 6,411
  5. 2016Deep Learning with Differential Privacycited by 2,682
  6. 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
  7. 2021Gradient Descent on Neural Networks Typically Occurs at the Edge of Stabilitycited by 413
  8. 2020Implicit Gradient Regularizationcited by 145
  9. 2015Stochastic modified equations and adaptive stochastic gradient algorithmscited by 141
  10. 2020Understanding Gradient Clipping in Private SGD: A Geometric Perspectivecited by 140
  11. 2020Improved Analysis of Clipping Algorithms for Non-convex Optimizationcited by 88
  12. 2023Revisiting Gradient Clipping: Stochastic bias and tight convergence guaranteescited by 83
6 more
  1. 2019AdaCliP: Adaptive Clipping for Private SGDcited by 77
  2. 2016A Variational Analysis of Stochastic Gradient Algorithmscited by 56
  3. 2022Second-order regression models exhibit progressive sharpening to the edge of stabilitycited by 40
  4. 2022Homogenization of SGD in high-dimensions: Exact dynamics and generalization propertiescited by 26
  5. 2023Hitting the High-Dimensional Notes: An ODE for SGD learning dynamics on GLMs and multi-index modelscited by 25
  6. 2024High dimensional analysis reveals conservative sharpening and a stochastic edge of stabilitycited by 15

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 4.

5 papers.