Bayesian continual learning and forgetting in neural networks

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Bonnet, Djohan, Cottart, Kellian, Hirtzlin, Tifenn, Januel, Tarcisius, Dalgaty, Thomas, Vianello, Elisa, Querlioz, Damien
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917989788418048
author Bonnet, Djohan
Cottart, Kellian
Hirtzlin, Tifenn
Januel, Tarcisius
Dalgaty, Thomas
Vianello, Elisa
Querlioz, Damien
author_facet Bonnet, Djohan
Cottart, Kellian
Hirtzlin, Tifenn
Januel, Tarcisius
Dalgaty, Thomas
Vianello, Elisa
Querlioz, Damien
contents Biological synapses effortlessly balance memory retention and flexibility, yet artificial neural networks still struggle with the extremes of catastrophic forgetting and catastrophic remembering. Here, we introduce Metaplasticity from Synaptic Uncertainty (MESU), a Bayesian framework that updates network parameters according their uncertainty. This approach allows a principled combination of learning and forgetting that ensures that critical knowledge is preserved while unused or outdated information is gradually released. Unlike standard Bayesian approaches -- which risk becoming overly constrained, and popular continual-learning methods that rely on explicit task boundaries, MESU seamlessly adapts to streaming data. It further provides reliable epistemic uncertainty estimates, allowing out-of-distribution detection, the only computational cost being to sample the weights multiple times to provide proper output statistics. Experiments on image-classification benchmarks demonstrate that MESU mitigates catastrophic forgetting, while maintaining plasticity for new tasks. When training 200 sequential permuted MNIST tasks, MESU outperforms established continual learning techniques in terms of accuracy, capability to learn additional tasks, and out-of-distribution data detection. Additionally, due to its non-reliance on task boundaries, MESU outperforms conventional learning techniques on the incremental training of CIFAR-100 tasks consistently in a wide range of scenarios. Our results unify ideas from metaplasticity, Bayesian inference, and Hessian-based regularization, offering a biologically-inspired pathway to robust, perpetual learning.
format Preprint
id arxiv_https___arxiv_org_abs_2504_13569
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Bayesian continual learning and forgetting in neural networks
Bonnet, Djohan
Cottart, Kellian
Hirtzlin, Tifenn
Januel, Tarcisius
Dalgaty, Thomas
Vianello, Elisa
Querlioz, Damien
Machine Learning
Biological synapses effortlessly balance memory retention and flexibility, yet artificial neural networks still struggle with the extremes of catastrophic forgetting and catastrophic remembering. Here, we introduce Metaplasticity from Synaptic Uncertainty (MESU), a Bayesian framework that updates network parameters according their uncertainty. This approach allows a principled combination of learning and forgetting that ensures that critical knowledge is preserved while unused or outdated information is gradually released. Unlike standard Bayesian approaches -- which risk becoming overly constrained, and popular continual-learning methods that rely on explicit task boundaries, MESU seamlessly adapts to streaming data. It further provides reliable epistemic uncertainty estimates, allowing out-of-distribution detection, the only computational cost being to sample the weights multiple times to provide proper output statistics. Experiments on image-classification benchmarks demonstrate that MESU mitigates catastrophic forgetting, while maintaining plasticity for new tasks. When training 200 sequential permuted MNIST tasks, MESU outperforms established continual learning techniques in terms of accuracy, capability to learn additional tasks, and out-of-distribution data detection. Additionally, due to its non-reliance on task boundaries, MESU outperforms conventional learning techniques on the incremental training of CIFAR-100 tasks consistently in a wide range of scenarios. Our results unify ideas from metaplasticity, Bayesian inference, and Hessian-based regularization, offering a biologically-inspired pathway to robust, perpetual learning.
title Bayesian continual learning and forgetting in neural networks
topic Machine Learning
url https://arxiv.org/abs/2504.13569