Sketchy: Memory-efficient Adaptive Regularization with Frequent Directions
Not on the map. Why?
Abstract (arXiv)
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 k: in the online convex optimization (OCO) setting over dimension d, we match full-matrix d2 memory regret using only dk memory up to additive error in the bottom d-k 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.
Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). Builds on 32 of its 81 references that are in the map. First posted on arXiv 7 Feb 2023.
Builds on
32 of 81 references.
References · 32
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2016Layer Normalizationcited by 5,579
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
- 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,148
- 2020Conformer: Convolution-augmented Transformer for Speech Recognitioncited by 1,838
- 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
- 2018Relational inductive biases, deep learning, and graph networkscited by 1,341
- 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
- 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 896
20 more
- 2019Introduction to Online Convex Optimizationcited by 793
- 2015Optimizing Neural Networks with Kronecker-factored Approximate Curvaturecited by 776
- 2014Convex Optimization: Algorithms and Complexitycited by 569
- 2018Shampoo: Preconditioned Stochastic Tensor Optimizationcited by 413
- 2019An Investigation into Neural Net Optimization via Hessian Eigenvalue Densitycited by 289
- 2017Empirical Analysis of the Hessian of Over-Parametrized Neural Networkscited by 283
- 2018Gradient Descent Happens in a Tiny Subspacecited by 208
- 2016Eigenvalues of the Hessian in Deep Learning: Singularity and Beyondcited by 156
- 2020A Deeper Look at the Hessian Eigenspectrum of Deep Neural Networks and its Applications to Regularizationcited by 44
- 2015Frequent Directions : Simple and Deterministic Matrix Sketchingcited by 39
- 2020Disentangling Adaptive Gradient Methods from Learning Ratescited by 39
- 2022On the Factory Floor: ML Engineering for Industrial-Scale Ads Recommendation Modelscited by 34
- 2016Efficient Second Order Online Learning by Sketchingcited by 33
- 2014Logistic Regression: Tight Bounds for Stochastic and Online Optimizationcited by 30
- 2020When Does Preconditioning Help or Hurt Generalization?cited by 30
- 2019Memory-Efficient Adaptive Optimizationcited by 19
- 2019Lecture Notes: Optimization for Machine Learningcited by 8
- 2019Extreme Tensoring for Low-Memory Preconditioningcited by 5
- 2016Scalable Adaptive Stochastic Optimization Using Random Projectionscited by 3
- 2022Even Simpler Deterministic Matrix Sketchingcited by 2
Built on by
Citing papers per year: 2024: 10; 2025: 3; 2026: 3.
16 papers.
Sort:
- 2024Old Optimizer, New Norm: An Anthologycited by 173
- 2024Flora: Low-Rank Adapters Are Secretly Gradient Compressorscited by 103
- 2024Modular Duality in Deep Learningcited by 71
- 2025ASGO: Adaptive Structured Gradient Optimizationcited by 55
- 2024Memory-Efficient LLM Training with Online Subspace Descentcited by 37
- 2024LoRA Done RITE: Robust Invariant Transformation Equilibration for LoRA Optimizationcited by 31
- 2025Purifying Shampoo: Investigating Shampoo's Heuristics by Decomposing its Preconditionercited by 21
- 20244-bit Shampoo for Memory-Efficient Network Trainingcited by 16
- 2026MuonEq: Balancing Before Orthogonalization with Lightweight Equilibrationcited by 16
- 2024Memory-Efficient Optimization with Factorized Hamiltonian Descentcited by 11
- 2025Low-rank Momentum Factorization for Memory Efficient Trainingcited by 4
- 2024Revisiting Matrix Sketching in Linear Bandits: Achieving Sublinear Regret via Dyadic Block Sketchingcited by 3
4 more
- 2024Ginger: An Efficient Curvature Approximation with Linear Complexity for General Neural Networkscited by 1
- 2024Subspace Langevin Monte Carlocited by 0
- 2026Convergence Rate Analysis of the AdamW-style Shampoo: Unifying One-Sided and Two-Sided Preconditioningcited by 0
- 2026Muse: Representation Geometry of Muon Beyond Normalized Momentumcited by 0
- 2026Muse: Representation Geometry of Muon Beyond Normalized Momentum16 Jul 2026
- 2026MuonEq: Balancing Before Orthogonalization with Lightweight Equilibration30 Mar 2026
- 2026Convergence Rate Analysis of the AdamW-style Shampoo: Unifying One-Sided and Two-Sided Preconditioning12 Jan 2026
- 2025Low-rank Momentum Factorization for Memory Efficient Training10 Jul 2025
- 2025Purifying Shampoo: Investigating Shampoo's Heuristics by Decomposing its Preconditioner4 Jun 2025
- 2025ASGO: Adaptive Structured Gradient Optimization26 Mar 2025
- 2024Subspace Langevin Monte Carlo18 Dec 2024
- 2024Modular Duality in Deep Learning28 Oct 2024
- 2024LoRA Done RITE: Robust Invariant Transformation Equilibration for LoRA Optimization27 Oct 2024
- 2024Revisiting Matrix Sketching in Linear Bandits: Achieving Sublinear Regret via Dyadic Block Sketching14 Oct 2024
- 2024Old Optimizer, New Norm: An Anthology30 Sep 2024
- 2024Memory-Efficient LLM Training with Online Subspace Descent23 Aug 2024
4 more
- 2024Memory-Efficient Optimization with Factorized Hamiltonian Descent14 Jun 2024
- 20244-bit Shampoo for Memory-Efficient Network Training28 May 2024
- 2024Ginger: An Efficient Curvature Approximation with Linear Complexity for General Neural Networks5 Feb 2024
- 2024Flora: Low-Rank Adapters Are Secretly Gradient Compressors5 Feb 2024
- 2024Old Optimizer, New Norm: An Anthologycited by 173
- 2024Flora: Low-Rank Adapters Are Secretly Gradient Compressorscited by 103
- 2024Modular Duality in Deep Learningcited by 71
- 2025ASGO: Adaptive Structured Gradient Optimizationcited by 55
- 2024Memory-Efficient LLM Training with Online Subspace Descentcited by 37
- 2024LoRA Done RITE: Robust Invariant Transformation Equilibration for LoRA Optimizationcited by 31
- 2025Purifying Shampoo: Investigating Shampoo's Heuristics by Decomposing its Preconditionercited by 21
- 20244-bit Shampoo for Memory-Efficient Network Trainingcited by 16
- 2026MuonEq: Balancing Before Orthogonalization with Lightweight Equilibrationcited by 16
- 2024Memory-Efficient Optimization with Factorized Hamiltonian Descentcited by 11
- 2025Low-rank Momentum Factorization for Memory Efficient Trainingcited by 4
- 2024Revisiting Matrix Sketching in Linear Bandits: Achieving Sublinear Regret via Dyadic Block Sketchingcited by 3
12 most cited of 16 All 16 (JSON)
- 2026Muse: Representation Geometry of Muon Beyond Normalized Momentum16 Jul 2026
- 2026MuonEq: Balancing Before Orthogonalization with Lightweight Equilibration30 Mar 2026
- 2026Convergence Rate Analysis of the AdamW-style Shampoo: Unifying One-Sided and Two-Sided Preconditioning12 Jan 2026
- 2025Low-rank Momentum Factorization for Memory Efficient Training10 Jul 2025
- 2025Purifying Shampoo: Investigating Shampoo's Heuristics by Decomposing its Preconditioner4 Jun 2025
- 2025ASGO: Adaptive Structured Gradient Optimization26 Mar 2025
- 2024Subspace Langevin Monte Carlo18 Dec 2024
- 2024Modular Duality in Deep Learning28 Oct 2024
- 2024LoRA Done RITE: Robust Invariant Transformation Equilibration for LoRA Optimization27 Oct 2024
- 2024Revisiting Matrix Sketching in Linear Bandits: Achieving Sublinear Regret via Dyadic Block Sketching14 Oct 2024
- 2024Old Optimizer, New Norm: An Anthology30 Sep 2024
- 2024Memory-Efficient LLM Training with Online Subspace Descent23 Aug 2024
12 newest of 16 All 16 (JSON)