Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

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

About

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

Hai-Long Sun, Da-Wei Zhou, Hanbin Zhao, Le Gan, De-Chuan Zhan, Han-Jia Ye• 2024

Related benchmarks

TaskDatasetResultRank
Class-incremental learningCIFAR-100
Averaged Incremental Accuracy93.3
248
Class-incremental learningImageNet-R
Average Accuracy82.96
112
Class-incremental learningImageNet A
Average Accuracy67.08
86
Class-incremental learningImageNet-R B0 Inc20
Last Accuracy78.94
79
Class-incremental learningCUB200 10 Tasks
FN (Final Acc)48.93
59
Class-incremental learningCIFAR-100 B0_Inc5
Average Accuracy93.45
47
Class-incremental learningObjectNet
Average Accuracy74.69
40
Class-incremental learningCUB (B0 Inc10)
Last Accuracy90.07
39
Class-incremental learningVTAB B0 Inc10
Last Accuracy92.74
38
Class-incremental learningClass-Incremental Learning Sequences Hard
Accuracy89.13
36
Showing 10 of 30 rows

Other info

Follow for update