Weighted Ensemble Models Are Strong Continual Learners

Imad Eddine Marouf, Subhankar Roy, Enzo Tartaglione, Stéphane Lathuilière
12/14/2023
58 citations
cs.LGcs.AIcs.CV

Official code: IemProg/CoFiMA (31 stars, Python, last commit 2025-04-16).

Abstract

In this work, we study the problem of continual learning (CL) where the goal is to learn a model on a sequence of tasks, such that the data from the previous tasks becomes unavailable while learning on the current task data. CL is essentially a balancing act between being able to learn on the new task (i.e., plasticity) and maintaining the performance on the previously learned concepts (i.e., stability).

Show full abstract

Intending to address the stability-plasticity trade-off, we propose to perform weight-ensembling of the model parameters of the previous and current tasks. This weighted-ensembled model, which we call Continual Model Averaging (or CoMA), attains high accuracy on the current task by leveraging plasticity, while not deviating too far from the previous weight configuration, ensuring stability. We also propose an improved variant of CoMA, named Continual Fisher-weighted Model Averaging (or CoFiMA), that selectively weighs each parameter in the weights ensemble by leveraging the Fisher information of the weights of the model. Both variants are conceptually simple, easy to implement, and effective in attaining state-of-the-art performance on several standard CL benchmarks. Code is available at: https://github.com/IemProg/CoFiMA.

View on arXivView PDF

Code Implementations(1)

IemProg/CoFiMAOfficial100%

🔥 🔥 [ECCV 2024 Oral ] Official code for "Weighted Ensemble Models Are Strong Continual Learners"

312PythonNov 21, 20231 years ago
cilclass-incremental-learningcontinual-learning

Similar Papers

Cite this paper

@article{marouf2023weighted,
  title  = {Weighted Ensemble Models Are Strong Continual Learners},
  author = {Imad Eddine Marouf and Subhankar Roy and Enzo Tartaglione and Stéphane Lathuilière},
  year   = {2023},
  eprint = {2312.08977},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.08977v4},
  journal = {ECCV 2024 2024}
}

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

Discussion