Maintaining Plasticity in Deep Continual Learning

Shibhansh Dohare, J. Fernando Hernandez-Garcia, Parash Rahman, A. Rupam Mahmood, Richard S. Sutton
6/23/2023
cs.LG

Official code: shibhansh/loss-of-plasticity (392 stars, MIT, last commit 2025-09-02). 1 more implementation below.

Abstract

Modern deep-learning systems are specialized to problem settings in which training occurs once and then never again, as opposed to continual-learning settings in which training occurs continually. If deep-learning systems are applied in a continual learning setting, then it is well known that they may fail to remember earlier examples. More fundamental, but less well known, is that they may also lose their ability to learn on new examples, a phenomenon called loss of plasticity. We provide direct demonstrations of loss of plasticity using the MNIST and ImageNet datasets repurposed for continual learning as sequences of tasks. In ImageNet, binary classification performance dropped from 89% accuracy on an early task down to 77%, about the level of a linear network, on the 2000th task. Loss of plasticity occurred with a wide range of deep network architectures, optimizers, activation functions, batch normalization, dropout, but was substantially eased by L2-regularization, particularly when combined with weight perturbation. Further, we introduce a new algorithm -- continual backpropagation -- which slightly modifies conventional backpropagation to reinitialize a small fraction of less-used units after each example and appears to maintain plasticity indefinitely.

View on arXivView PDF

Code Implementations(2)

MIT

Demonstrations of Loss of Plasticity and Implementation of Continual Backpropagation

39284TeX, ShellOct 13, 20221 years agoMIT
skumar9876/L2_InitCommunity72%

Code accompanying the paper "Maintaining Plasticity in Continual Learning via Regenerative Regularization"

20PythonMay 10, 20241 years ago

Similar Papers

Cite this paper

@article{dohare2023maintaining,
  title  = {Maintaining Plasticity in Deep Continual Learning},
  author = {Shibhansh Dohare and J. Fernando Hernandez-Garcia and Parash Rahman and A. Rupam Mahmood and Richard S. Sutton},
  year   = {2023},
  eprint = {2306.13812},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.13812v3}
}

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

Discussion