Variational Prototype Replays for Continual Learning

Mengmi Zhang, Tao Wang, Joo Hwee Lim, Gabriel Kreiman, Jiashi Feng
5/23/2019
cs.CVcs.AI

Official code: kreimanlab/VariationalPrototypeReplaysCL (10 stars, Python, last commit 2020-10-17).

Abstract

Continual learning refers to the ability to acquire and transfer knowledge without catastrophically forgetting what was previously learned. In this work, we consider \emph{few-shot} continual learning in classification tasks, and we propose a novel method, Variational Prototype Replays, that efficiently consolidates and recalls previous knowledge to avoid catastrophic forgetting.

Show full abstract

In each classification task, our method learns a set of variational prototypes with their means and variances, where embedding of the samples from the same class can be represented in a prototypical distribution and class-representative prototypes are separated apart. To alleviate catastrophic forgetting, our method replays one sample per class from previous tasks, and correspondingly matches newly predicted embeddings to their nearest class-representative prototypes stored from previous tasks. Compared with recent continual learning approaches, our method can readily adapt to new tasks with more classes without requiring the addition of new units. Furthermore, our method is more memory efficient since only class-representative prototypes with their means and variances, as well as only one sample per class from previous tasks need to be stored. Without tampering with the performance on initial tasks, our method learns novel concepts given a few training examples of each class in new tasks.

View on arXivView PDF

Code Implementations(1)

Continual learning using variational prototype replays

103Python, ShellFeb 14, 20206 years ago
classification-taskcontinual-learningfew-shot-learningvariational-prototypes

Similar Papers

Cite this paper

@article{zhang2019variational,
  title  = {Variational Prototype Replays for Continual Learning},
  author = {Mengmi Zhang and Tao Wang and Joo Hwee Lim and Gabriel Kreiman and Jiashi Feng},
  year   = {2019},
  eprint = {1905.09447},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1905.09447}
}

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

Discussion