Lune

ICML2023Top-tier venue

Revisiting Gradient Clipping: Stochastic bias and tight convergence guarantees

Anastasia Koloskova, Hadrien Hendrikx, Sebastian U. Stich

Abstract

Gradient clipping is a popular modification to standard (stochastic) gradient descent, at every iteration limiting the gradient norm to a certain value c>0c>0. It is widely used for example for stabilizing the training of deep learning models (Goodfellow et al., 2016), or for enforcing differential privacy (Abadi et al., 2016). Despite popularity and simplicity of the clipping mechanism, its convergence guarantees often require specific values of cc and strong noise assumptions. In this paper, we give convergence guarantees that show precise dependence on arbitrary clipping thresholds cc and show that our guarantees are tight with both deterministic and stochastic gradients. In particular, we show that (i) for deterministic gradient descent, the clipping threshold only affects the higher-order terms of convergence, (ii) in the stochastic setting convergence to the true optimum cannot be guaranteed under the standard noise assumption, even under arbitrary small step-sizes. We give matching upper and lower bounds for convergence of the gradient norm when running clipped SGD, and illustrate these results with experiments.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

41 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Differentially Private SGD Without Clipping Bias: An Error-Feedback Approach cites Deep Learning with Differential Privacy
  • Differentially Private SGD Without Clipping Bias: An Error-Feedback Approach cites Understanding Gradient Clipping in Private SGD: A Geometric Perspective
  • Enhancing High-Resolution 3D Generation through Pixel-wise Gradient Clipping cites Why Gradient Clipping Accelerates Training: A Theoretical Justification for Adaptivity
  • DPZero: Private Fine-Tuning of Language Models without Backpropagation cites Differentially Private SGD Without Clipping Bias: An Error-Feedback Approach
  • DPZero: Private Fine-Tuning of Language Models without Backpropagation cites Deep Learning with Differential Privacy
  • DPZero: Private Fine-Tuning of Language Models without Backpropagation cites Understanding Gradient Clipping in Private SGD: A Geometric Perspective
  • Why are Adaptive Methods Good for Attention Models? cites Stochastic Optimization with Heavy-Tailed Noise via Accelerated Gradient Clipping
  • Why are Adaptive Methods Good for Attention Models? cites Why Gradient Clipping Accelerates Training: A Theoretical Justification for Adaptivity
  • Parameter-free Clipped Gradient Descent Meets Polyak cites Why are Adaptive Methods Good for Attention Models?
  • Parameter-free Clipped Gradient Descent Meets Polyak cites Why Gradient Clipping Accelerates Training: A Theoretical Justification for Adaptivity
  • Stochastic Optimization with Heavy-Tailed Noise via Accelerated Gradient Clipping cites Why Gradient Clipping Accelerates Training: A Theoretical Justification for Adaptivity
  • Correlated Noise Provably Beats Independent Noise for Differentially Private Learning cites Deep Learning with Differential Privacy
  • Understanding Gradient Clipping in Private SGD: A Geometric Perspective cites Why Gradient Clipping Accelerates Training: A Theoretical Justification for Adaptivity
  • Understanding Gradient Clipping in Private SGD: A Geometric Perspective cites Deep Learning with Differential Privacy
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers41

  1. DPZero: Private Fine-Tuning of Language Models without BackpropagationLiang Zhang, Bingcong Li, Kiran Koshy Thekumparampil, Sewoong Oh et al.ICML 2024 · 27 citations
  2. Correlated Noise Provably Beats Independent Noise for Differentially Private LearningChristopher A. Choquette-Choo, Krishnamurthy Dj Dvijotham, Krishna Pillutla, Arun Ganesh et al.ICLR 2024 · 27 citations
  3. Enhancing High-Resolution 3D Generation through Pixel-wise Gradient ClippingZijie Pan, Jiachen Lu, Xiatian Zhu, Li ZhangICLR 2024 · 18 citations
  4. Differentially Private SGD Without Clipping Bias: An Error-Feedback ApproachXinwei Zhang, Zhiqi Bu, Steven Wu, Mingyi HongICLR 2024 · 15 citations
  5. Parameter-free Clipped Gradient Descent Meets PolyakYuki Takezawa, Han Bao, Ryoma Sato, Kenta Niwa et al.NeurIPS 2024 · 11 citations

Builds on11

  1. Deep Learning with Differential PrivacyMartín Abadi, Andy Chu, Ian J. Goodfellow, H. Brendan McMahan et al.CCS 2016 · 7,620 citations
  2. Why Gradient Clipping Accelerates Training: A Theoretical Justification for AdaptivityJingzhao Zhang, Tianxing He, Suvrit Sra, Ali JadbabaieICLR 2020 · 598 citations
  3. Why are Adaptive Methods Good for Attention Models?Jingzhao Zhang, Sai Praneeth Karimireddy, Andreas Veit, Seungyeon Kim et al.NeurIPS 2020 · 397 citations
  4. Understanding Gradient Clipping in Private SGD: A Geometric PerspectiveXiangyi Chen, Zhiwei Steven Wu, Mingyi HongNeurIPS 2020 · 254 citations
  5. Stochastic Optimization with Heavy-Tailed Noise via Accelerated Gradient ClippingEduard Gorbunov, Marina Danilova, Alexander V. GasnikovNeurIPS 2020 · 181 citations

Related papers

  1. Improved Convergence of Differential Private SGD with Gradient ClippingHuang Fang, Xiaoyun Li, Chenglin Fan, Ping LiICLR 2023
  2. Eliminating Solution Bias in Differentially Private OptimizationDONGRUN LI, YUN ZENG, Zibo Wei, Jiacheng Wei et al.ICML 2026
  3. Improved Analysis of Clipping Algorithms for Non-convex OptimizationBohang Zhang, Jikai Jin, Cong Fang, Liwei WangNeurIPS 2020 · 139 citations
  4. An improved analysis of per-sample and per-update clipping in federated learningBo Li, Xiaowen Jiang, Mikkel N. Schmidt, Tommy Sonne Alstrøm et al.ICLR 2024 · 9 citations
  5. Clipping Makes Distributed and Federated Asynchronous SGD Robust to StragglersSamuel Erickson, Mikael JohanssonICML 2026
Dusk over the sea between two cliffs drawn in fine vertical lines