Continual Learning with Weight Interpolation

Jędrzej Kozal, Jan Wasilewski, Bartosz Krawczyk, Michał Woźniak
4/5/2024
cs.LG

Official code: jedrzejkozal/weight-interpolation-cl (3 stars, MIT, last commit 2024-04-08).

Abstract

Continual learning poses a fundamental challenge for modern machine learning systems, requiring models to adapt to new tasks while retaining knowledge from previous ones. Addressing this challenge necessitates the development of efficient algorithms capable of learning from data streams and accumulating knowledge over time. This paper proposes a novel approach to continual learning utilizing the weight consolidation method. Our method, a simple yet powerful technique, enhances robustness against catastrophic forgetting by interpolating between old and new model weights after each novel task, effectively merging two models to facilitate exploration of local minima emerging after arrival of new concepts. Moreover, we demonstrate that our approach can complement existing rehearsal-based replay approaches, improving their accuracy and further mitigating the forgetting phenomenon. Additionally, our method provides an intuitive mechanism for controlling the stability-plasticity trade-off. Experimental results showcase the significant performance enhancement to state-of-the-art experience replay algorithms the proposed weight consolidation approach offers. Our algorithm can be downloaded from https://github.com/jedrzejkozal/weight-interpolation-cl.

View on arXivView PDF

Code Implementations(1)

MIT
31Shell, PythonMar 15, 20232 years agoMIT

Similar Papers

Cite this paper

@article{kozal2024continual,
  title  = {Continual Learning with Weight Interpolation},
  author = {Jędrzej Kozal and Jan Wasilewski and Bartosz Krawczyk and Michał Woźniak},
  year   = {2024},
  eprint = {2404.04002},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.04002v2}
}

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

Discussion