Loss of Plasticity in Continual Deep Reinforcement Learning

Zaheer Abbas, Rosie Zhao, Joseph Modayil, Adam White, Marlos C. Machado
3/13/2023
cs.LGcs.AI

No official code found. Best implementation: timoklein/crelu-pytorch (4 stars, last commit 2023-10-03). 1 more below.

Abstract

The ability to learn continually is essential in a complex and changing world. In this paper, we characterize the behavior of canonical value-based deep reinforcement learning (RL) approaches under varying degrees of non-stationarity. In particular, we demonstrate that deep RL agents lose their ability to learn good policies when they cycle through a sequence of Atari 2600 games. This phenomenon is alluded to in prior work under various guises -- e.g., loss of plasticity, implicit under-parameterization, primacy bias, and capacity loss. We investigate this phenomenon closely at scale and analyze how the weights, gradients, and activations change over time in several experiments with varying dimensions (e.g., similarity between games, number of games, number of frames per game), with some experiments spanning 50 days and 2 billion environment interactions. Our analysis shows that the activation footprint of the network becomes sparser, contributing to the diminishing gradients. We investigate a remarkably simple mitigation strategy -- Concatenated ReLUs (CReLUs) activation function -- and demonstrate its effectiveness in facilitating continual learning in a changing environment.

View on arXivView PDF

Code Implementations(2)

MIT

CleanRL implementation of "Mitigating Plasticity Loss in Continual Reinforcement Learning by Reducing Churn"

00PythonOct 29, 202511 months agoMIT
continual-reinforcement-learninglifelong-reinforcement-learningplasticity-stabilityppo-agentreinforcement-learning+1 more

CReLU activation function from the paper "Loss of Plasticity in Continual Deep Reinforcement Learning"

40PythonOct 2, 20233 years ago

Similar Papers

Cite this paper

@article{abbas2023loss,
  title  = {Loss of Plasticity in Continual Deep Reinforcement Learning},
  author = {Zaheer Abbas and Rosie Zhao and Joseph Modayil and Adam White and Marlos C. Machado},
  year   = {2023},
  eprint = {2303.07507},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.07507v1}
}

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

Discussion