arXiv:2412.09441cs.LGcs.CV2024-12AAAI被引 49

通过模块手术缓解预训练模型增量学习中的遗忘问题。

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

  • 设计可适配的模块,动态调整预训练模型以应对新任务。
  • 在7个基准数据集上达到当前最优,显著减少旧知识遗忘。
  • 无需额外训练,推理时自适应优化模块选择,适合实际部署。

类增量学习(CIL)要求模型在不遗忘旧类的前提下持续学习新类。尽管预训练模型(PTMs)在CIL中表现优异,但灾难性遗忘仍普遍存在,其根源在于参数与检索层面的失准。迭代更新导致参数漂移,错误调用无关模块则引发推理不匹配。为此,我们提出模型手术(MOS),通过训练任务专用适配器持续调整预训练模型。为缓解参数遗忘,提出适配器融合方法,保留任务特异性信息并弥合组件差异;为解决检索遗忘,引入无需训练的自精炼适配器检索机制,利用模型内在能力提升适配器选择精度。联合应用这两步,MOS能有效抵抗学习过程中的灾难性遗忘。在七个基准数据集上的大量实验验证了其领先性能。代码已公开于:https://github.com/sun-hailong/AAAI25-MOS。

原文摘要 · Abstract (English)

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

增量学习预训练模型遗忘抑制适配器

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。