On the Overlooked Structure of Stochastic Gradients
Zeke Xie, Qian-Yuan Tang, Mingming Sun, Ping Li
摘要
Stochastic gradients closely relate to both optimization and generalization of deep neural networks (DNNs). Some works attempted to explain the success of stochastic optimization for deep learning by the arguably heavy-tail properties of gradient noise, while other works presented theoretical and empirical evidence against the heavy-tail hypothesis on gradient noise. Unfortunately, formal statistical tests for analyzing the structure and heavy tails of stochastic gradients in deep learning are still under-explored. In this paper, we mainly make two contributions. First, we conduct formal statistical tests on the distribution of stochastic gradients and gradient noise across both parameters and iterations. Our statistical tests reveal that dimension-wise gradients usually exhibit power-law heavy tails, while iteration-wise gradients and stochastic gradient noise caused by minibatch training usually do not exhibit power-law heavy tails. Second, we further discover that the covariance spectra of stochastic gradients have the power-law structures overlooked by previous studies and present its theoretical implications for training of DNNs. While previous studies believed that the anisotropic structure of stochastic gradients matters to deep learning, they did not expect the gradient covariance can have such an elegant mathematical structure. Our work challenges the existing belief and provides novel insights on the structure of stochastic gradients in deep learning.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Unveiling m-Sharpness Through the Structure of Stochastic Gradient Noise 引用了 A Diffusion Theory For Deep Learning Dynamics: Stochastic Gradient Descent Exponentially Favors Flat Minima
- On the Overlooked Pitfalls of Weight Decay and How to Mitigate Them: A Gradient-Norm Perspective 引用了 Why Gradient Clipping Accelerates Training: A Theoretical Justification for Adaptivity
- On the Overlooked Pitfalls of Weight Decay and How to Mitigate Them: A Gradient-Norm Perspective 引用了 A Diffusion Theory For Deep Learning Dynamics: Stochastic Gradient Descent Exponentially Favors Flat Minima
- The Heavy-Tail Phenomenon in SGD 引用了 A Diffusion Theory For Deep Learning Dynamics: Stochastic Gradient Descent Exponentially Favors Flat Minima
- Model Balancing Helps Low-data Training and Fine-tuning 引用了 The Heavy-Tail Phenomenon in SGD
引用它的顶会 Paper9
- On the Overlooked Pitfalls of Weight Decay and How to Mitigate Them: A Gradient-Norm PerspectiveZeke Xie, Zhiqiang Xu, Jingzhao Zhang, Issei Sato 等NeurIPS 2023 · 38 次引用
- Golden Noise for Diffusion Models: A Learning FrameworkZikai Zhou, Shitong Shao, Lichen Bai, Shufei Zhang 等ICCV 2025 · 9 次引用
- Unveiling m-Sharpness Through the Structure of Stochastic Gradient NoiseHaocheng Luo, Mehrtash Harandi, Dinh Phung, Trung LeNeurIPS 2025 · 2 次引用
- LoRDO: Distributed Low-Rank Optimization with Infrequent CommunicationAndrej Jovanović, Alex Iacob, Mher Safaryan, Ionut-Vlad Modoranu 等ICML 2026 · 2 次引用
- Model Balancing Helps Low-data Training and Fine-tuningZihang Liu, Yuanzhe Hu, Tianyu Pang, Yefan Zhou 等EMNLP 2024 · 2 次引用
它引用的 Paper18
- Why Gradient Clipping Accelerates Training: A Theoretical Justification for AdaptivityJingzhao Zhang, Tianxing He, Suvrit Sra, Ali JadbabaieICLR 2020 · 598 次引用
- On the Origin of Implicit Regularization in Stochastic Gradient DescentSamuel L. Smith, Benoit Dherin, David G. T. Barrett, Soham DeICLR 2021 · 235 次引用
- Bridging Mode Connectivity in Loss Landscapes and Adversarial RobustnessPu Zhao, Pin-Yu Chen, Payel Das, Karthikeyan Natesan Ramamurthy 等ICLR 2020 · 213 次引用
- The Heavy-Tail Phenomenon in SGDMert Gürbüzbalaban, Umut Simsekli, Lingjiong ZhuICML 2021 · 165 次引用
- A Diffusion Theory For Deep Learning Dynamics: Stochastic Gradient Descent Exponentially Favors Flat MinimaZeke Xie, Issei Sato, Masashi SugiyamaICLR 2021 · 165 次引用
相关 Paper
- Emergence of heavy tails in homogenized stochastic gradient descentZhezhe Jiao, Martin Keller-ResselNeurIPS 2024 · 6 次引用
- On the Noisy Gradient Descent that Generalizes as SGDJingfeng Wu, Wenqing Hu, Haoyi Xiong, Jun Huan 等ICML 2020 · 125 次引用
- Strength of Minibatch Noise in SGDLiu Ziyin, Kangqiao Liu, Takashi Mori, Masahito UedaICLR 2022 · 44 次引用
- Eliminating Sharp Minima from SGD with Truncated Heavy-tailed NoiseXingyu Wang, Sewoong Oh, Chang-Han RheeICLR 2022 · 21 次引用
- Stability and Generalization of Nonconvex Optimization with Heavy-Tailed NoiseHongxu Chen, Ke Wei, Xiaoming Yuan, Luo LuoICML 2026
