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