arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.07338cs.LGcs.CV
收藏

重新审视基于预训练模型的类别增量学习:泛化性与适应性就是你所需的一切

Revisiting Class-Incremental Learning with Pre-Trained Models: Generalizability and Adaptivity are All You Need

S-Lab, Nanyang Technological University(南洋理工大学S-Lab)

Da-Wei Zhou, Zi-Wen Cai, Han-Jia Ye, De-Chuan Zhan, Ziwei Liu

AI总结:

本文重新审视预训练模型时代的类别增量学习,提出SimpleCIL基线与可结合参数高效调优的APER框架,并构建四个新基准验证其有效性。

摘要:

类别增量学习(CIL)旨在适应不断出现的新类别,同时不遗忘旧类别。传统CIL模型从头开始训练,以便随着数据演进而持续获取知识。近年来,预训练取得了实质性进展,使大量预训练模型(PTM)可用于CIL。与传统方法相反,PTM具有可泛化的嵌入,这些嵌入能够轻松迁移到CIL中。在本工作中,我们重新审视基于PTM的CIL,并认为CIL中的核心因素是用于模型更新的适应性和用于知识迁移的泛化性。1)我们首先揭示,冻结的PTM已经能够为CIL提供可泛化的嵌入。令人惊讶的是,一个简单基线(SimpleCIL)持续将PTM的分类器设置为原型特征,即使不在下游任务上进行训练,也能击败最先进方法。2)由于预训练数据集与下游数据集之间存在分布差距,PTM可以通过模型适配进一步培养适应性。我们提出AdaPt and mERge(APER),它聚合PTM和适配模型的嵌入以构建分类器。APER是一个通用框架,可与任何参数高效调优方法正交结合,兼具PTM泛化性和适配模型适应性的优势。3)此外,考虑到以往基于ImageNet的基准因数据重叠而不再适用于PTM时代,我们提出四个新的评估基准,即ImageNet-A、ObjectNet、OmniBenchmark和VTAB。大量实验以统一且简洁的框架验证了APER的有效性。代码可在https://github.com/zhoudw-zdw/RevisitingCIL获取。

英文摘要:

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

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑