Sketchy: Memory-efficient Adaptive Regularization with Frequent Directions
Vladimir Feinberg, Xinyi Chen, Y. Jennifer Sun, Rohan Anil, Elad Hazan
摘要
Adaptive regularization methods that exploit more than the diagonal entries exhibit state of the art performance for many tasks, but can be prohibitive in terms of memory and running time. We find the spectra of the Kronecker-factored gradient covariance matrix in deep learning (DL) training tasks are concentrated on a small leading eigenspace that changes throughout training, motivating a low-rank sketching approach. We describe a generic method for reducing memory and compute requirements of maintaining a matrix preconditioner using the Frequent Directions (FD) sketch. While previous approaches have explored applying FD for second-order optimization, we present a novel analysis which allows efficient interpolation between resource requirements and the degradation in regret guarantees with rank : in the online convex optimization (OCO) setting over dimension , we match full-matrix memory regret using only memory up to additive error in the bottom eigenvalues of the gradient covariance. Further, we show extensions of our work to Shampoo, resulting in a method competitive in quality with Shampoo and Adam, yet requiring only sub-linear memory for tracking second moments.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 11 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Purifying Shampoo: Investigating Shampoo's Heuristics by Decomposing its Preconditioner 引用了 Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Purifying Shampoo: Investigating Shampoo's Heuristics by Decomposing its Preconditioner 引用了 ASGO: Adaptive Structured Gradient Optimization
- ASGO: Adaptive Structured Gradient Optimization 引用了 Purifying Shampoo: Investigating Shampoo's Heuristics by Decomposing its Preconditioner
- Better Full-Matrix Regret via Parameter-Free Online Learning 引用了 Extreme Tensoring for Low-Memory Preconditioning
引用它的顶会 Paper11
- Flora: Low-Rank Adapters Are Secretly Gradient CompressorsYongchang Hao, Yanshuai Cao, Lili MouICML 2024 · 113 次引用
- ASGO: Adaptive Structured Gradient OptimizationKang An, Yuxing Liu, Rui Pan, Yi Ren 等NeurIPS 2025 · 58 次引用
- Memory-Efficient LLM Training with Online Subspace DescentKaizhao Liang, Bo Liu, Lizhang Chen, Qiang LiuNeurIPS 2024 · 46 次引用
- MicroAdam: Accurate Adaptive Optimization with Low Space Overhead and Provable ConvergenceIonut-Vlad Modoranu, Mher Safaryan, Grigory Malinovsky, Eldar Kurtic 等NeurIPS 2024 · 32 次引用
- Purifying Shampoo: Investigating Shampoo's Heuristics by Decomposing its PreconditionerRuna Eschenhagen, Aaron Defazio, Tsung-Hsien Lee, Richard E. Turner 等NeurIPS 2025 · 24 次引用
它引用的 Paper5
- Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong 等NeurIPS 2020 · 3,935 次引用
- A Deeper Look at the Hessian Eigenspectrum of Deep Neural Networks and its Applications to RegularizationAdepu Ravi Sankar, Yash Khasbage, Rahul Vigneswaran, Vineeth N. BalasubramanianAAAI 2021 · 60 次引用
- Extreme Tensoring for Low-Memory PreconditioningXinyi Chen, Naman Agarwal, Elad Hazan, Cyril Zhang 等ICLR 2020 · 11 次引用
- When does preconditioning help or hurt generalization?Shun-ichi Amari, Jimmy Ba, Roger Baker Grosse, Xuechen Li 等ICLR 2021 · 11 次引用
- Better Full-Matrix Regret via Parameter-Free Online LearningAshok CutkoskyNeurIPS 2020 · 7 次引用
相关 Paper
- Dimension-Free Adaptive Subgradient Methods with Frequent DirectionsSifan Yang, Yuanyu Wan, Peijia Li, Yibo Wang 等ICML 2025
- Combining Axes Preconditioners through Kronecker Approximation for Deep LearningSai Surya Duvvuri, Devvrit, Rohan Anil, Cho-Jui Hsieh 等ICLR 2024 · 16 次引用
- A Computationally Efficient Sparsified Online Newton MethodDevvrit, Sai Surya Duvvuri, Rohan Anil, Vineet Gupta 等NeurIPS 2023 · 1 次引用
- A New Perspective on Shampoo's PreconditionerDepen Morwani, Itai Shapira, Nikhil Vyas, Eran Malach 等ICLR 2025
- Structured Preconditioners in Adaptive Optimization: A Unified AnalysisShuo Xie, Tianhao Wang, Sashank J. Reddi, Sanjiv Kumar 等ICML 2025
