Published October 4, 2024 | Version v1

MagMax: Leveraging Model Merging for Seamless Continual Learning

  • 1. IDEAS NCBR
  • 2. ROR icon Warsaw University of Technology
  • 3. ROR icon Computer Vision Center
  • 4. ROR icon Gdańsk University of Technology

Description

This paper introduces a continual learning approach named MagMax, which utilizes model merging to enable large pre-trained models to continuously learn from new data without forgetting previously acquired knowledge. Distinct from traditional continual learning methods that aim to reduce forgetting during task training, MagMax combines sequential fine-tuning with a maximum magnitude weight selection for
effective knowledge integration across tasks. Our initial contribution is an extensive examination of model merging techniques, revealing that simple approaches like weight averaging and random weight selection surprisingly hold up well in various continual learning contexts. More importantly, we present MagMax, a novel model-merging strategy that enables continual learning of large pre-trained models for successive tasks. Our thorough evaluation demonstrates the superiority of MagMax in various scenarios, including class- and domain-incremental learning settings.

Files

MagMax.pdf

Files (2.6 MB)

Name Size Download all
md5:70010d13de2459e51be4dd92091241e5
2.6 MB Preview Download

Additional details

Funding

European Commission
ELIAS - European Lighthouse of AI for Sustainability 101120237

Software