MagMax: Leveraging Model Merging for Seamless Continual Learning

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Marczak, Daniel, Twardowski, Bartłomiej, Trzciński, Tomasz, Cygert, Sebastian
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866910545907548160
author Marczak, Daniel
Twardowski, Bartłomiej
Trzciński, Tomasz
Cygert, Sebastian
author_facet Marczak, Daniel
Twardowski, Bartłomiej
Trzciński, Tomasz
Cygert, Sebastian
contents 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. The code is available at this URL: https://github.com/danielm1405/magmax.
format Preprint
id arxiv_https___arxiv_org_abs_2407_06322
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle MagMax: Leveraging Model Merging for Seamless Continual Learning
Marczak, Daniel
Twardowski, Bartłomiej
Trzciński, Tomasz
Cygert, Sebastian
Machine Learning
Artificial Intelligence
Computer Vision and Pattern Recognition
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. The code is available at this URL: https://github.com/danielm1405/magmax.
title MagMax: Leveraging Model Merging for Seamless Continual Learning
topic Machine Learning
Artificial Intelligence
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2407.06322