MOS: Model Surgery for Pre-Trained Model-Based Class-Incremental Learning

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Sun, Hai-Long, Zhou, Da-Wei, Zhao, Hanbin, Gan, Le, Zhan, De-Chuan, Ye, Han-Jia
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866915349558984704
author Sun, Hai-Long
Zhou, Da-Wei
Zhao, Hanbin
Gan, Le
Zhan, De-Chuan
Ye, Han-Jia
author_facet Sun, Hai-Long
Zhou, Da-Wei
Zhao, Hanbin
Gan, Le
Zhan, De-Chuan
Ye, Han-Jia
contents Class-Incremental Learning (CIL) requires models to continually acquire knowledge of new classes without forgetting old ones. Despite Pre-trained Models (PTMs) have shown excellent performance in CIL, catastrophic forgetting still occurs as the model learns new concepts. Existing work seeks to utilize lightweight components to adjust the PTM, while the forgetting phenomenon still comes from {\em parameter and retrieval} levels. Specifically, iterative updates of the model result in parameter drift, while mistakenly retrieving irrelevant modules leads to the mismatch during inference. To this end, we propose MOdel Surgery (MOS) to rescue the model from forgetting previous knowledge. By training task-specific adapters, we continually adjust the PTM to downstream tasks. To mitigate parameter-level forgetting, we present an adapter merging approach to learn task-specific adapters, which aims to bridge the gap between different components while reserve task-specific information. Besides, to address retrieval-level forgetting, we introduce a training-free self-refined adapter retrieval mechanism during inference, which leverages the model's inherent ability for better adapter retrieval. By jointly rectifying the model with those steps, MOS can robustly resist catastrophic forgetting in the learning process. Extensive experiments on seven benchmark datasets validate MOS's state-of-the-art performance. Code is available at: https://github.com/sun-hailong/AAAI25-MOS
format Preprint
id arxiv_https___arxiv_org_abs_2412_09441
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle MOS: Model Surgery for Pre-Trained Model-Based Class-Incremental Learning
Sun, Hai-Long
Zhou, Da-Wei
Zhao, Hanbin
Gan, Le
Zhan, De-Chuan
Ye, Han-Jia
Machine Learning
Computer Vision and Pattern Recognition
Class-Incremental Learning (CIL) requires models to continually acquire knowledge of new classes without forgetting old ones. Despite Pre-trained Models (PTMs) have shown excellent performance in CIL, catastrophic forgetting still occurs as the model learns new concepts. Existing work seeks to utilize lightweight components to adjust the PTM, while the forgetting phenomenon still comes from {\em parameter and retrieval} levels. Specifically, iterative updates of the model result in parameter drift, while mistakenly retrieving irrelevant modules leads to the mismatch during inference. To this end, we propose MOdel Surgery (MOS) to rescue the model from forgetting previous knowledge. By training task-specific adapters, we continually adjust the PTM to downstream tasks. To mitigate parameter-level forgetting, we present an adapter merging approach to learn task-specific adapters, which aims to bridge the gap between different components while reserve task-specific information. Besides, to address retrieval-level forgetting, we introduce a training-free self-refined adapter retrieval mechanism during inference, which leverages the model's inherent ability for better adapter retrieval. By jointly rectifying the model with those steps, MOS can robustly resist catastrophic forgetting in the learning process. Extensive experiments on seven benchmark datasets validate MOS's state-of-the-art performance. Code is available at: https://github.com/sun-hailong/AAAI25-MOS
title MOS: Model Surgery for Pre-Trained Model-Based Class-Incremental Learning
topic Machine Learning
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2412.09441