GRASP: A Rehearsal Policy for Efficient Online Continual Learning

Md Yousuf Harun, Jhair Gallardo, Junyu Chen, Christopher Kanan
8/25/2023
cs.LGcs.CLcs.CV

No official code found. Best implementation: yousuf907/GRASP (3 stars, MIT, last commit 2024-06-11).

Abstract

Continual learning (CL) in deep neural networks (DNNs) involves incrementally accumulating knowledge in a DNN from a growing data stream. A major challenge in CL is that non-stationary data streams cause catastrophic forgetting of previously learned abilities. A popular solution is rehearsal: storing past observations in a buffer and then sampling the buffer to update the DNN. Uniform sampling in a class-balanced manner is highly effective, and better sample selection policies have been elusive. Here, we propose a new sample selection policy called GRASP that selects the most prototypical (easy) samples first and then gradually selects less prototypical (harder) examples. GRASP has little additional compute or memory overhead compared to uniform selection, enabling it to scale to large datasets. Compared to 17 other rehearsal policies, GRASP achieves higher accuracy in CL experiments on ImageNet. Compared to uniform balanced sampling, GRASP achieves the same performance with 40% fewer updates. We also show that GRASP is effective for CL on five text classification datasets.

View on arXivView PDF

Code Implementations(1)

yousuf907/GRASPCommunity67%
MIT

PyTorch implementation of the GRASP algorithm from our CoLLAs-2024 paper "GRASP: A Rehearsal Policy for Efficient Online Continual Learning"

31Shell, PythonMay 1, 20242 years agoMIT
continual-learningrehearsal-policysampling-policy

Similar Papers

Cite this paper

@article{harun2023grasp,
  title  = {GRASP: A Rehearsal Policy for Efficient Online Continual Learning},
  author = {Md Yousuf Harun and Jhair Gallardo and Junyu Chen and Christopher Kanan},
  year   = {2023},
  eprint = {2308.13646},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.13646v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2308.13646.svg)](https://codeofpaper.com/paper/2308.13646)

Discussion