Posterior Meta-Replay for Continual Learning

Christian Henning, Maria R. Cervera, Francesco D'Angelo, Johannes von Oswald, Regina Traber +4 more
3/1/2021
79 citations
cs.LGcs.AI
bayesian

Official code: chrhenning/posterior_replay_cl (16 stars, Python, Apache-2.0, last commit 2024-11-01).

Abstract

Learning a sequence of tasks without access to i.i.d. observations is a widely studied form of continual learning (CL) that remains challenging. In principle, Bayesian learning directly applies to this setting, since recursive and one-off Bayesian updates yield the same result.

Show full abstract

In practice, however, recursive updating often leads to poor trade-off solutions across tasks because approximate inference is necessary for most models of interest. Here, we describe an alternative Bayesian approach where task-conditioned parameter distributions are continually inferred from data. We offer a practical deep learning implementation of our framework based on probabilistic task-conditioned hypernetworks, an approach we term posterior meta-replay. Experiments on standard benchmarks show that our probabilistic hypernetworks compress sequences of posterior parameter distributions with virtually no forgetting. We obtain considerable performance gains compared to existing Bayesian CL methods, and identify task inference as our major limiting factor. This limitation has several causes that are independent of the considered sequential setting, opening up new avenues for progress in CL.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Continual learning of task-specific approximations of the parameter posterior distribution via a shared hypernetwork.

163Python, Jupyter NotebookMar 1, 20212 years agoApache-2.0

Similar Papers

Cite this paper

@article{henning2021posterior,
  title  = {Posterior Meta-Replay for Continual Learning},
  author = {Christian Henning and Maria R. Cervera and Francesco D'Angelo and Johannes von Oswald and Regina Traber and Benjamin Ehret and Seijin Kobayashi and Benjamin F. Grewe and João Sacramento},
  year   = {2021},
  eprint = {2103.01133},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.01133}
}

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

Discussion