Robustness to Unbounded Smoothness of Generalized SignSGD
Michael Crawshaw, Mingrui Liu, Francesco Orabona, Wei Zhang, Zhenxun Zhuang
摘要
Traditional analyses in non-convex optimization typically rely on the smoothness assumption, namely requiring the gradients to be Lipschitz. However, recent evidence shows that this smoothness condition does not capture the properties of some deep learning objective functions, including the ones involving Recurrent Neural Networks and LSTMs. Instead, they satisfy a much more relaxed condition, with potentially unbounded smoothness. Under this relaxed assumption, it has been theoretically and empirically shown that the gradient-clipped SGD has an advantage over the vanilla one. In this paper, we show that clipping is not indispensable for Adam-type algorithms in tackling such scenarios: we theoretically prove that a generalized SignSGD algorithm can obtain similar convergence rates as SGD with clipping but does not need explicit clipping at all. This family of algorithms on one end recovers SignSGD and on the other end closely resembles the popular Adam algorithm. Our analysis underlines the critical role that momentum plays in analyzing SignSGD-type and Adam-type algorithms: it not only reduces the effects of noise, thus removing the need for large mini-batch in previous analyses of SignSGD-type algorithms, but it also substantially reduces the effects of unbounded smoothness and gradient norms. We also compare these algorithms with popular optimizers on a set of deep learning tasks, observing that we can match the performance of Adam while beating the others.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 53 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training 引用了 Why are Adaptive Methods Good for Attention Models?
- Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training 引用了 Why Gradient Clipping Accelerates Training: A Theoretical Justification for Adaptivity
- Heavy-Tailed Class Imbalance and Why Adam Outperforms Gradient Descent on Language Models 引用了 Why are Adaptive Methods Good for Attention Models?
- Heavy-Tailed Class Imbalance and Why Adam Outperforms Gradient Descent on Language Models 引用了 Why Gradient Clipping Accelerates Training: A Theoretical Justification for Adaptivity
- Why are Adaptive Methods Good for Attention Models? 引用了 Momentum Improves Normalized SGD
- Why are Adaptive Methods Good for Attention Models? 引用了 Stochastic Optimization with Heavy-Tailed Noise via Accelerated Gradient Clipping
- Why are Adaptive Methods Good for Attention Models? 引用了 Why Gradient Clipping Accelerates Training: A Theoretical Justification for Adaptivity
- Stochastic Optimization with Heavy-Tailed Noise via Accelerated Gradient Clipping 引用了 Why Gradient Clipping Accelerates Training: A Theoretical Justification for Adaptivity
- Convergence of Adam Under Relaxed Assumptions 引用了 Why are Adaptive Methods Good for Attention Models?
- Convergence of Adam Under Relaxed Assumptions 引用了 Why Gradient Clipping Accelerates Training: A Theoretical Justification for Adaptivity
- Convergence of Adam Under Relaxed Assumptions 引用了 Convex and Non-convex Optimization Under Generalized Smoothness
- Convex and Non-convex Optimization Under Generalized Smoothness 引用了 Convergence of Adam Under Relaxed Assumptions
- Convex and Non-convex Optimization Under Generalized Smoothness 引用了 Why Gradient Clipping Accelerates Training: A Theoretical Justification for Adaptivity
- Why Transformers Need Adam: A Hessian Perspective 引用了 Why are Adaptive Methods Good for Attention Models?
- Why Transformers Need Adam: A Hessian Perspective 引用了 Why Gradient Clipping Accelerates Training: A Theoretical Justification for Adaptivity
- Why Transformers Need Adam: A Hessian Perspective 引用了 Convergence of Adam Under Relaxed Assumptions
引用它的顶会 Paper53
- Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-trainingHong Liu, Zhiyuan Li, David Leo Wright Hall, Percy Liang 等ICLR 2024 · 264 次引用
- Why Transformers Need Adam: A Hessian PerspectiveYushun Zhang, Congliang Chen, Tian Ding, Ziniu Li 等NeurIPS 2024 · 149 次引用
- Convergence of Adam Under Relaxed AssumptionsHaochuan Li, Alexander Rakhlin, Ali JadbabaieNeurIPS 2023 · 132 次引用
- Heavy-Tailed Class Imbalance and Why Adam Outperforms Gradient Descent on Language ModelsFrederik Kunstner, Alan Milligan, Robin Yadav, Mark Schmidt 等NeurIPS 2024 · 100 次引用
- Convex and Non-convex Optimization Under Generalized SmoothnessHaochuan Li, Jian Qian, Yi Tian, Alexander Rakhlin 等NeurIPS 2023 · 93 次引用
它引用的 Paper10
- Adaptive Federated OptimizationSashank J. Reddi, Zachary Charles, Manzil Zaheer, Zachary Garrett 等ICLR 2021 · 1,917 次引用
- Why Gradient Clipping Accelerates Training: A Theoretical Justification for AdaptivityJingzhao Zhang, Tianxing He, Suvrit Sra, Ali JadbabaieICLR 2020 · 598 次引用
- Why are Adaptive Methods Good for Attention Models?Jingzhao Zhang, Sai Praneeth Karimireddy, Andreas Veit, Seungyeon Kim 等NeurIPS 2020 · 397 次引用
- Stochastic Optimization with Heavy-Tailed Noise via Accelerated Gradient ClippingEduard Gorbunov, Marina Danilova, Alexander V. GasnikovNeurIPS 2020 · 181 次引用
- Momentum Improves Normalized SGDAshok Cutkosky, Harsh MehtaICML 2020 · 177 次引用
相关 Paper
- Improved Analysis of Clipping Algorithms for Non-convex OptimizationBohang Zhang, Jikai Jin, Cong Fang, Liwei WangNeurIPS 2020 · 139 次引用
- Stability and Convergence of Stochastic Gradient Clipping: Beyond Lipschitz Continuity and SmoothnessVien V. Mai, Mikael JohanssonICML 2021 · 53 次引用
- Provable Adaptivity of Adam under Non-uniform SmoothnessBohan Wang, Yushun Zhang, Huishuai Zhang, Qi Meng 等KDD 2024 · 4 次引用
- ADOPT: Modified Adam Can Converge with Any β2 with the Optimal RateShohei Taniguchi, Keno Harada, Gouki Minegishi, Yuta Oshima 等NeurIPS 2024 · 32 次引用
- A Communication-Efficient Distributed Gradient Clipping Algorithm for Training Deep Neural NetworksMingrui Liu, Zhenxun Zhuang, Yunwen Lei, Chunyang LiaoNeurIPS 2022 · 29 次引用
