Gradient based sample selection for online continual learning

Rahaf Aljundi, Min Lin, Baptiste Goujaud, Yoshua Bengio
3/20/2019
cs.LGcs.AIcs.CV

Official code: rahafaljundi/Gradient-based-Sample-Selection (75 stars, last commit 2022-12-08).

Abstract

A continual learning agent learns online with a non-stationary and never-ending stream of data. The key to such learning process is to overcome the catastrophic forgetting of previously seen data, which is a well known problem of neural networks. To prevent forgetting, a replay buffer is usually employed to store the previous data for the purpose of rehearsal. Previous works often depend on task boundary and i.i.d. assumptions to properly select samples for the replay buffer. In this work, we formulate sample selection as a constraint reduction problem based on the constrained optimization view of continual learning. The goal is to select a fixed subset of constraints that best approximate the feasible region defined by the original constraints. We show that it is equivalent to maximizing the diversity of samples in the replay buffer with parameters gradient as the feature. We further develop a greedy alternative that is cheap and efficient. The advantage of the proposed method is demonstrated by comparing to other alternatives under the continual learning setting. Further comparisons are made against state of the art methods that rely on task boundaries which show comparable or even better results for our method.

View on arXivView PDF

Code Implementations(1)

7513Shell, PythonOct 22, 20193 years ago

Similar Papers

Cite this paper

@article{aljundi2019gradient,
  title  = {Gradient based sample selection for online continual learning},
  author = {Rahaf Aljundi and Min Lin and Baptiste Goujaud and Yoshua Bengio},
  year   = {2019},
  eprint = {1903.08671},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1903.08671}
}

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/1903.08671.svg)](https://codeofpaper.com/paper/1903.08671)

Discussion