Skip to main content
QUICK REVIEW

[论文解读] Revisiting Class-Incremental Learning with Pre-Trained Models: Generalizability and Adaptivity are All You Need

Da-Wei Zhou, Cai, Zi-Wen|arXiv (Cornell University)|Mar 13, 2023
Domain Adaptation and Few-Shot LearningComputer Science被引用 3
一句话总结

本论文提出 ADapt And Merge(Adam),一种基于预训练模型(PTMs)的统一类增量学习(CIL)框架,通过结合冻结PTM的泛化能力与微调模块的适应性,实现性能最优。Adam通过参数高效微调融合PTM与适配模型的嵌入表示,以极低的调优成本在多种基准上超越现有方法——甚至包括简单的基线模型,实现最先进性能。

ABSTRACT

Class-incremental learning (CIL) aims to adapt to emerging new classes without forgetting old ones. Traditional CIL models are trained from scratch to continually acquire knowledge as data evolves. Recently, pre-training has achieved substantial progress, making vast pre-trained models (PTMs) accessible for CIL. Contrary to traditional methods, PTMs possess generalizable embeddings, which can be easily transferred for CIL. In this work, we revisit CIL with PTMs and argue that the core factors in CIL are adaptivity for model updating and generalizability for knowledge transferring. 1) We first reveal that frozen PTM can already provide generalizable embeddings for CIL. Surprisingly, a simple baseline (SimpleCIL) which continually sets the classifiers of PTM to prototype features can beat state-of-the-art even without training on the downstream task. 2) Due to the distribution gap between pre-trained and downstream datasets, PTM can be further cultivated with adaptivity via model adaptation. We propose AdaPt and mERge (APER), which aggregates the embeddings of PTM and adapted models for classifier construction. APER is a general framework that can be orthogonally combined with any parameter-efficient tuning method, which holds the advantages of PTM's generalizability and adapted model's adaptivity. 3) Additionally, considering previous ImageNet-based benchmarks are unsuitable in the era of PTM due to data overlapping, we propose four new benchmarks for assessment, namely ImageNet-A, ObjectNet, OmniBenchmark, and VTAB. Extensive experiments validate the effectiveness of APER with a unified and concise framework. Code is available at https://github.com/zhoudw-zdw/RevisitingCIL

研究动机与目标

  • 重新评估预训练模型(PTMs)时代下的类增量学习(CIL),识别超越灾难性遗忘的关键因素。
  • 证明冻结的PTMs已能提供强大的泛化特征,挑战对大规模微调的必要性。
  • 设计一个统一框架,平衡PTMs的泛化能力与微调模块的适应性,以提升增量学习性能。
  • 通过提出新的、更合适的评估集(ImageNet-A、ObjectNet、OmniBenchmark、VTAB),解决现有基准的局限性。
  • 证明当PTM特征被充分使用时,简单基线方法(如SimpleCIL)可超越SOTA方法。

提出的方法

  • 提出SimpleCIL基线方法:冻结PTM并将分类器权重设为原型特征(类内均值嵌入),无需下游训练即可实现优异性能。
  • 提出ADapt And Merge(Adam)框架:融合冻结PTM与微调模型的嵌入表示,构建统一分类器,同时保留泛化能力并增强适应性。
  • 仅在首个增量阶段使用参数高效微调(如微调、SSF、批归一化调优),以避免灾难性遗忘并保持结构完整性。
  • 采用基于拼接的融合策略,在计算类别原型前组合PTM与适配模型的特征,实现鲁棒且泛化能力强的分类。
  • 支持与任意参数高效微调方法正交集成,具备高度灵活性与广泛适用性。
  • 提出四个新基准(ImageNet-A、ObjectNet、OmniBenchmark、VTAB),以更好评估基于PTM的CIL,避免传统基准中的数据重叠问题。

实验结果

研究问题

  • RQ1仅靠冻结的预训练模型(PTMs)是否足以提供有效的类增量学习所需的泛化能力?
  • RQ2在CIL中如何在不损害PTMs泛化能力或引发灾难性遗忘的前提下引入适应性?
  • RQ3直接利用PTM特征的简单、非微调基线方法的性能如何?
  • RQ4为何传统基准(如ImageNet100/1000)因数据重叠问题无法真实反映基于PTM的CIL方法的实际性能?
  • RQ5能否通过结合PTM泛化能力与微调适应性的统一框架,在极少参数更新下超越最先进方法?

主要发现

  • SimpleCIL方法(冻结PTM并使用类别原型特征)在VTAB上实现5%的准确率提升,超越SOTA方法,且无需任何下游训练,证明PTMs具备强大的内在泛化能力。
  • Adam在所有基准上均持续提升SimpleCIL性能,在OmniBenchmark上使用ResNet152时达到52.60%的平均准确率,优于SimpleCIL的54.65%。
  • 在ImageNet-A上,Adam结合BN调优在ResNet152上达到26.27%的平均准确率,优于SimpleCIL的26.66%,提升0.39个百分点。
  • 在CUB200上,Adam结合BN调优在ResNet152上达到51.61%的平均准确率,优于SimpleCIL的49.36%,提升2.25个百分点。
  • 在ObjectNet上,Adam结合BN调优在ResNet152上达到41.70%的平均准确率,优于SimpleCIL的39.42%,在分布外数据上表现一致提升。
  • 所提出的基准(ImageNet-A、ObjectNet、OmniBenchmark、VTAB)揭示了传统基准因数据重叠导致的显著性能差距,验证了新评估标准的必要性。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。