Generative replay with feedback connections as a general strategy for continual learning

Gido M. van de Ven, Andreas S. Tolias
9/27/2018
cs.LGcs.AIcs.CV

Official code: GMvandeVen/continual-learning (1,890 stars, MIT, last commit 2025-11-05).

Abstract

A major obstacle to developing artificial intelligence applications capable of true lifelong learning is that artificial neural networks quickly or catastrophically forget previously learned tasks when trained on a new one. Numerous methods for alleviating catastrophic forgetting are currently being proposed, but differences in evaluation protocols make it difficult to directly compare their performance. To enable more meaningful comparisons, here we identified three distinct scenarios for continual learning based on whether task identity is known and, if it is not, whether it needs to be inferred. Performing the split and permuted MNIST task protocols according to each of these scenarios, we found that regularization-based approaches (e.g., elastic weight consolidation) failed when task identity needed to be inferred. In contrast, generative replay combined with distillation (i.e., using class probabilities as "soft targets") achieved superior performance in all three scenarios. Addressing the issue of efficiency, we reduced the computational cost of generative replay by integrating the generative model into the main model by equipping it with generative feedback or backward connections. This Replay-through-Feedback approach substantially shortened training time with no or negligible loss in performance. We believe this to be an important first step towards making the powerful technique of generative replay scalable to real-world continual learning applications.

View on arXivView PDF

Code Implementations(1)

MIT

PyTorch implementation of various methods for continual learning (XdG, EWC, SI, LwF, FROMP, DGR, BI-R, ER, A-GEM, iCaRL, Generative Classifier) in three different scenarios.

1,890344Shell, PythonSep 26, 201811 months agoMIT
artificial-neural-networksclass-incremental-learningcontinual-learningdeep-learningdistillation+11 more

Similar Papers

Cite this paper

@article{ven2018generative,
  title  = {Generative replay with feedback connections as a general strategy for continual learning},
  author = {Gido M. van de Ven and Andreas S. Tolias},
  year   = {2018},
  eprint = {1809.10635},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1809.10635}
}

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

Discussion