MOS:基于预训练模型的类增量学习中的模型手术
MOS: Model Surgery for Pre-Trained Model-Based Class-Incremental Learning
AI总结:
针对预训练模型类增量学习中的参数与检索双重遗忘,提出模型手术方法,通过适配器合并与免训练自精炼检索机制,在七个基准上取得最优性能。
摘要:
类增量学习(CIL)要求模型在不遗忘旧知识的情况下持续获取新类别的知识。尽管预训练模型(PTMs)在CIL中表现出优异的性能,但随着模型学习新概念,灾难性遗忘仍然会发生。现有工作试图利用轻量级组件来调整PTM,但遗忘现象仍然来自参数和检索层面。具体来说,模型的迭代更新会导致参数漂移,而错误地检索不相关的模块会导致推理期间的不匹配。为此,我们提出了模型手术(MOS)来拯救模型免于遗忘先前的知识。通过训练任务特定的适配器,我们持续地将PTM调整到下游任务。为了缓解参数层面的遗忘,我们提出了一种适配器合并方法来学习任务特定的适配器,旨在弥合不同组件之间的差距,同时保留任务特定的信息。此外,为了解决检索层面的遗忘,我们在推理期间引入了一种无需训练的自精炼适配器检索机制,利用模型固有的能力进行更好的适配器检索。通过联合修正这些步骤,MOS可以在学习过程中稳健地抵抗灾难性遗忘。在七个基准数据集上的大量实验验证了MOS的最先进性能。代码可在以下网址获取:https://github.com/sun-hailong/AAAI25-MOS
英文摘要:
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
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。