mlsanityData to 7 Oct 2026

Sketchy: Memory-efficient Adaptive Regularization with Frequent Directions

arXiv 2302.03764 ↗First posted 7 Feb 2023stat.ML cs.AI cs.LGcited by 16

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  4. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  5. 2016Layer Normalizationcited by 5,579
  6. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
  7. 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,148
  8. 2020Conformer: Convolution-augmented Transformer for Speech Recognitioncited by 1,838
  9. 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
  10. 2018Relational inductive biases, deep learning, and graph networkscited by 1,341
  11. 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
  12. 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 896
20 more
  1. 2019Introduction to Online Convex Optimizationcited by 793
  2. 2015Optimizing Neural Networks with Kronecker-factored Approximate Curvaturecited by 776
  3. 2014Convex Optimization: Algorithms and Complexitycited by 569
  4. 2018Shampoo: Preconditioned Stochastic Tensor Optimizationcited by 413
  5. 2019An Investigation into Neural Net Optimization via Hessian Eigenvalue Densitycited by 289
  6. 2017Empirical Analysis of the Hessian of Over-Parametrized Neural Networkscited by 283
  7. 2018Gradient Descent Happens in a Tiny Subspacecited by 208
  8. 2016Eigenvalues of the Hessian in Deep Learning: Singularity and Beyondcited by 156
  9. 2020A Deeper Look at the Hessian Eigenspectrum of Deep Neural Networks and its Applications to Regularizationcited by 44
  10. 2015Frequent Directions : Simple and Deterministic Matrix Sketchingcited by 39
  11. 2020Disentangling Adaptive Gradient Methods from Learning Ratescited by 39
  12. 2022On the Factory Floor: ML Engineering for Industrial-Scale Ads Recommendation Modelscited by 34
  13. 2016Efficient Second Order Online Learning by Sketchingcited by 33
  14. 2014Logistic Regression: Tight Bounds for Stochastic and Online Optimizationcited by 30
  15. 2020When Does Preconditioning Help or Hurt Generalization?cited by 30
  16. 2019Memory-Efficient Adaptive Optimizationcited by 19
  17. 2019Lecture Notes: Optimization for Machine Learningcited by 8
  18. 2019Extreme Tensoring for Low-Memory Preconditioningcited by 5
  19. 2016Scalable Adaptive Stochastic Optimization Using Random Projectionscited by 3
  20. 2022Even Simpler Deterministic Matrix Sketchingcited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 10; 2025: 3; 2026: 3.

16 papers.

Sort: