Replay-enhanced Continual Reinforcement Learning

Tiantian Zhang, Kevin Zehua Shen, Zichuan Lin, Bo Yuan, Xueqian Wang +2 more
11/20/2023
cs.LGcs.AI

Official code: Sweety-dm/RECALL (5 stars, MIT, last commit 2023-11-20).

Abstract

Replaying past experiences has proven to be a highly effective approach for averting catastrophic forgetting in supervised continual learning. However, some crucial factors are still largely ignored, making it vulnerable to serious failure, when used as a solution to forgetting in continual reinforcement learning, even in the context of perfect memory where all data of previous tasks are accessible in the current task. On the one hand, since most reinforcement learning algorithms are not invariant to the reward scale, the previously well-learned tasks (with high rewards) may appear to be more salient to the current learning process than the current task (with small initial rewards). This causes the agent to concentrate on those salient tasks at the expense of generality on the current task. On the other hand, offline learning on replayed tasks while learning a new task may induce a distributional shift between the dataset and the learned policy on old tasks, resulting in forgetting. In this paper, we introduce RECALL, a replay-enhanced method that greatly improves the plasticity of existing replay-based methods on new tasks while effectively avoiding the recurrence of catastrophic forgetting in continual reinforcement learning. RECALL leverages adaptive normalization on approximate targets and policy distillation on old tasks to enhance generality and stability, respectively. Extensive experiments on the Continual World benchmark show that RECALL performs significantly better than purely perfect memory replay, and achieves comparable or better overall performance against state-of-the-art continual learning methods.

View on arXivView PDF

Code Implementations(1)

Sweety-dm/RECALLOfficial100%
MIT
52Shell, PythonNov 20, 20232 years agoMIT

Similar Papers

Cite this paper

@article{zhang2023replayenhanced,
  title  = {Replay-enhanced Continual Reinforcement Learning},
  author = {Tiantian Zhang and Kevin Zehua Shen and Zichuan Lin and Bo Yuan and Xueqian Wang and Xiu Li and Deheng Ye},
  year   = {2023},
  eprint = {2311.11557},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.11557v1}
}

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

Discussion