Skip to content

yousuf907/GRASP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GRASP: A Rehearsal Policy for Efficient Online Continual Learning

This is a PyTorch implementation of the GRASP algorithm from our CoLLAs-2024 paper. An arXiv pre-print of our paper is available.

GRASP

GRASP is based on the hypothesis that choosing only easy or hard samples are both suboptimal and that the DNN would benefit from a curriculum that combines both. GRASP first selects the most prototypical (easy) samples from the rehearsal buffer and then gradually selects harder samples, where easy samples are closest to the class mean and hard samples are farthest. We illustrate how GRASP works compared to uniform random policy. Class mean is denoted by ⭐. Selected samples are indicated by 🔴.

Pre-trained DNNs and OPQ Models

Download pre-trained MobileNetV3-L, MobileViT-Small, and Optimized Product Quantization (OPQ) models form this link.

Citation

If you find this code useful, please cite our paper.

@article{harun2023grasp,
  title     = {GRASP: A Rehearsal Policy for Efficient Online Continual Learning},
  author    = {Harun, Md Yousuf and Gallardo, Jhair and Chen, Junyu and Kanan, Christopher},
  journal   = {arXiv preprint arXiv:2308.13646},
  year      = {2023}
  }

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors