Does the Adam Optimizer Exacerbate Catastrophic Forgetting?

Dylan R. Ashley, Sina Ghiassian, Richard S. Sutton
2/15/2021
cs.LGcs.AIstat.ML
rl

Official code: dylanashley/catastrophic-forgetting (7 stars, Jupyter Notebook, MIT, last commit 2023-03-01).

Abstract

Catastrophic forgetting remains a severe hindrance to the broad application of artificial neural networks (ANNs), however, it continues to be a poorly understood phenomenon. Despite the extensive amount of work on catastrophic forgetting, we argue that it is still unclear how exactly the phenomenon should be quantified, and, moreover, to what degree all of the choices we make when designing learning systems affect the amount of catastrophic forgetting.

Show full abstract

We use various testbeds from the reinforcement learning and supervised learning literature to (1) provide evidence that the choice of which modern gradient-based optimization algorithm is used to train an ANN has a significant impact on the amount of catastrophic forgetting and show that-surprisingly-in many instances classical algorithms such as vanilla SGD experience less catastrophic forgetting than the more modern algorithms such as Adam. We empirically compare four different existing metrics for quantifying catastrophic forgetting and (2) show that the degree to which the learning systems experience catastrophic forgetting is sufficiently sensitive to the metric used that a change from one principled metric to another is enough to change the conclusions of a study dramatically. Our results suggest that a much more rigorous experimental methodology is required when looking at catastrophic forgetting. Based on our results, we recommend inter-task forgetting in supervised learning must be measured with both retention and relearning metrics concurrently, and intra-task forgetting in reinforcement learning must-at the very least-be measured with pairwise interference.

View on arXivView PDF

Code Implementations(1)

MIT

Source code for the experiments in my MSc thesis titled Understanding Forgetting in Artificial Neural Networks.

72Jupyter Notebook, PythonJun 12, 20193 years agoMIT

Similar Papers

Cite this paper

@article{ashley2021does,
  title  = {Does the Adam Optimizer Exacerbate Catastrophic Forgetting?},
  author = {Dylan R. Ashley and Sina Ghiassian and Richard S. Sutton},
  year   = {2021},
  eprint = {2102.07686},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.07686}
}

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

Discussion