Learning to Learn without Forgetting by Maximizing Transfer and Minimizing Interference

Matthew Riemer, Ignacio Cases, Robert Ajemian, Miao Liu, Irina Rish +2 more
10/29/2018
cs.LGcs.AIstat.ML

Official code: mattriemer/MER (147 stars, Apache-2.0, last commit 2021-03-29).

Abstract

Lack of performance when it comes to continual learning over non-stationary distributions of data remains a major challenge in scaling neural network learning to more human realistic settings. In this work we propose a new conceptualization of the continual learning problem in terms of a temporally symmetric trade-off between transfer and interference that can be optimized by enforcing gradient alignment across examples. We then propose a new algorithm, Meta-Experience Replay (MER), that directly exploits this view by combining experience replay with optimization based meta-learning. This method learns parameters that make interference based on future gradients less likely and transfer based on future gradients more likely. We conduct experiments across continual lifelong supervised learning benchmarks and non-stationary reinforcement learning environments demonstrating that our approach consistently outperforms recently proposed baselines for continual learning. Our experiments show that the gap between the performance of MER and baseline algorithms grows both as the environment gets more non-stationary and as the fraction of the total experiences stored gets smaller.

View on arXivView PDF

Code Implementations(1)

mattriemer/MEROfficial100%
Apache-2.0

Fork of the GEM project (https://github.com/facebookresearch/GradientEpisodicMemory) including Meta-Experience Replay (MER) methods from the ICLR 2019 paper (https://openreview.net/pdf?id=B1gTShAct7)

14733Shell, PythonFeb 22, 20195 years agoApache-2.0

Similar Papers

Cite this paper

@article{riemer2018learning,
  title  = {Learning to Learn without Forgetting by Maximizing Transfer and Minimizing Interference},
  author = {Matthew Riemer and Ignacio Cases and Robert Ajemian and Miao Liu and Irina Rish and Yuhai Tu and Gerald Tesauro},
  year   = {2018},
  eprint = {1810.11910},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1810.11910}
}

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

Discussion