mlsanityData to 14 Oct 2026

SketchOGD: Memory-Efficient Continual Learning

arXiv 2305.16424 ↗First posted 25 May 2023cs.LG cs.AI stat.MLcited by 1

Not on the map. Why?

Abstract (arXiv)

When machine learning models are trained continually on a sequence of tasks, they are often liable to forget what they learned on previous tasks--a phenomenon known as catastrophic forgetting. Proposed solutions to catastrophic forgetting tend to involve storing information about past tasks, meaning that memory usage is a chief consideration in determining their practicality. This paper develops a memory-efficient solution to catastrophic forgetting using the idea of matrix sketching, in the context of a simple continual learning algorithm known as orthogonal gradient descent (OGD). OGD finds weight updates that aim to preserve performance on prior datapoints, using gradients of the model on those datapoints. However, since the memory cost of storing prior model gradients grows with the runtime of the algorithm, OGD is ill-suited to continual learning over long time horizons. To address this problem, we propose SketchOGD. SketchOGD employs an online sketching algorithm to compress model gradients as they are encountered into a matrix of a fixed, user-determined size. In contrast to existing memory-efficient variants of OGD, SketchOGD runs online without the need for advance knowledge of the total number of tasks, is simple to implement, and is more amenable to analysis. We provide theoretical guarantees on the approximation error of the relevant sketches under a novel metric suited to the downstream task of OGD. Experimentally, we find that SketchOGD tends to outperform current state-of-the-art variants of OGD given a fixed memory budget.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 26 of its 52 references that are in the map. First posted on arXiv 25 May 2023.

Builds on

26 of 52 references.

References · 26

  1. 2016Overcoming catastrophic forgetting in neural networkscited by 4,787
  2. 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,621
  3. 2016iCaRL: Incremental Classifier and Representation Learningcited by 2,333
  4. 2016Progressive Neural Networkscited by 1,361
  5. 2018Continual Lifelong Learning with Neural Networks: A Reviewcited by 1,330
  6. 2017Continual Learning with Deep Generative Replaycited by 1,158
  7. 2018Experience Replay for Continual Learningcited by 1,095
  8. 2018Efficient Lifelong Learning with A-GEMcited by 1,058
  9. 2018A Convergence Theory for Deep Learning via Over-Parameterizationcited by 787
  10. 2019Wide Neural Networks of Any Depth Evolve as Linear Models Under Gradient Descentcited by 738
  11. 2019Orthogonal Gradient Descent for Continual Learningcited by 369
  12. 2018Learning Overparameterized Neural Networks via Stochastic Gradient Descent on Structured Datacited by 261
14 more
  1. 2018Interactive Supercomputing on 40,000 Cores for Machine Learning and Data Analysiscited by 110
  2. 2020A Theoretical Analysis of Catastrophic Forgetting through the NTK Overlap Matrixcited by 103
  3. 2019Latent Replay for Real-Time Continual Learningcited by 97
  4. 2020R-GAP: Recursive Gradient Attack on Privacycited by 97
  5. 2020Efficient Continual Learning with Modular Networks and Task-Driven Priorscited by 88
  6. 2020Generalisation Guarantees for Continual Learning with Orthogonal Gradient Descentcited by 68
  7. 2021Continual Learning via Local Module Compositioncited by 63
  8. 2019Stochastic Mirror Descent on Overparameterized Nonlinear Models: Convergence, Implicit Regularization, and Generalizationcited by 40
  9. 2016Practical sketching algorithms for low-rank matrix approximationcited by 38
  10. 2018HOUDINI: Lifelong Learning as Program Synthesiscited by 38
  11. 2021Sketching Curvature for Efficient Out-of-Distribution Detection for Deep Neural Networkscited by 32
  12. 2018Stochastic Gradient/Mirror Descent: Minimax Optimality and Implicit Regularizationcited by 29
  13. 2015The Fast Convergence of Incremental PCAcited by 15
  14. 2022ORFit: One-Pass Learning via Bridging Orthogonal Gradient Descent and Recursive Least-Squarescited by 12

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.