Remembering for the Right Reasons: Explanations Reduce Catastrophic Forgetting

Sayna Ebrahimi, Suzanne Petryk, Akash Gokul, William Gan, Joseph E. Gonzalez +2 more
10/4/2020
cs.CVcs.AIcs.LG

Official code: SaynaEbrahimi/Remembering-for-the-Right-Reasons (30 stars, Python, MIT, last commit 2021-08-10).

Abstract

The goal of continual learning (CL) is to learn a sequence of tasks without suffering from the phenomenon of catastrophic forgetting. Previous work has shown that leveraging memory in the form of a replay buffer can reduce performance degradation on prior tasks.

Show full abstract

We hypothesize that forgetting can be further reduced when the model is encouraged to remember the \textit{evidence} for previously made decisions. As a first step towards exploring this hypothesis, we propose a simple novel training paradigm, called Remembering for the Right Reasons (RRR), that additionally stores visual model explanations for each example in the buffer and ensures the model has "the right reasons" for its predictions by encouraging its explanations to remain consistent with those used to make decisions at training time. Without this constraint, there is a drift in explanations and increase in forgetting as conventional continual learning algorithms learn new tasks. We demonstrate how RRR can be easily added to any memory or regularization-based approach and results in reduced forgetting, and more importantly, improved model explanations. We have evaluated our approach in the standard and few-shot settings and observed a consistent improvement across various CL approaches using different architectures and techniques to generate model explanations and demonstrated our approach showing a promising connection between explainability and continual learning. Our code is available at \url{https://github.com/SaynaEbrahimi/Remembering-for-the-Right-Reasons}.

View on arXivView PDF

Code Implementations(1)

MIT

Official Implementation of Remembering for the Right Reasons (ICLR 2021)

304PythonOct 4, 20205 years agoMIT
continual-learningcontinual-learning-xailifelong-learningxai

Similar Papers

Cite this paper

@article{ebrahimi2020remembering,
  title  = {Remembering for the Right Reasons: Explanations Reduce Catastrophic Forgetting},
  author = {Sayna Ebrahimi and Suzanne Petryk and Akash Gokul and William Gan and Joseph E. Gonzalez and Marcus Rohrbach and Trevor Darrell},
  year   = {2020},
  eprint = {2010.01528},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.01528}
}

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

Discussion