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

基于分布特征回放的提示学习用于小样本类别增量学习

Learning Prompt with Distribution-Based Feature Replay for Few-Shot Class-Incremental Learning

School of Computer Science and Technology, Harbin Institute of Technology(哈尔滨工业大学计算机科学与技术学院);Megvii Research, Megvii Technology Limited(旷视科技有限公司旷视研究院);Institute of High Performance Computing (IHPC), Agency for Science, Technology and Research (A*STAR)(新加坡科技研究局高性能计算研究所)

Zitong Huang, Ze Chen, Zhixing Chen, Erjin Zhou, Xinxing Xu, Rick Siow Mong Goh, Yong Liu, Wangmeng Zuo, Chunmei Feng

AI总结:

针对小样本类别增量学习中的遗忘问题,提出 LP-DiF 框架,通过提示微调和基于高斯分布的伪特征回放,使 CLIP 在学习新类别时保留旧知识,并在多个基准上达到 SOTA。

摘要:

小样本类别增量学习(FSCIL)旨在基于极其有限的训练数据持续学习新类别,同时不遗忘已遇到的旧类别。现有研究仅依赖纯视觉网络,而本文通过利用视觉-语言模型(例如 CLIP)来解决 FSCIL,并提出了一个简单而有效的框架,名为基于分布特征回放的提示学习(LP-DiF)。我们观察到,简单地使用 CLIP 进行零样本评估,就能大幅超越最具影响力的方法。随后,引入提示微调技术以进一步提升其适应能力,使模型能够持续捕捉每个会话的特定知识。为防止可学习提示在新会话中遗忘旧知识,我们提出了一种伪特征回放方法。具体而言,我们通过维护具有对角协方差矩阵的特征级高斯分布来保留每个类别的旧知识,该分布由训练图像的图像特征以及 VAE 生成的合成特征估计得到。当进入新会话时,从旧类别分布中采样伪特征,并结合当前会话的训练图像来优化提示,从而使模型能够在学习新知识的同时保留旧知识。在三个常用基准(即 CIFAR100、mini-ImageNet、CUB-200)以及本文提出的两个更具挑战性的基准(即 SUN-397 和 CUB-200$^*$)上的实验展示了 LP-DiF 的优越性,在 FSCIL 中取得了新的最先进水平(SOTA)。代码公开于 https://github.com/1170300714/LP-DiF。

英文摘要:

Few-shot Class-Incremental Learning (FSCIL) aims to continuously learn new classes based on very limited training data without forgetting the old ones encountered. Existing studies solely relied on pure visual networks, while in this paper we solved FSCIL by leveraging the Vision-Language model (e.g., CLIP) and propose a simple yet effective framework, named Learning Prompt with Distribution-based Feature Replay (LP-DiF). We observe that simply using CLIP for zero-shot evaluation can substantially outperform the most influential methods. Then, prompt tuning technique is involved to further improve its adaptation ability, allowing the model to continually capture specific knowledge from each session. To prevent the learnable prompt from forgetting old knowledge in the new session, we propose a pseudo-feature replay approach. Specifically, we preserve the old knowledge of each class by maintaining a feature-level Gaussian distribution with a diagonal covariance matrix, which is estimated by the image features of training images and synthesized features generated from a VAE. When progressing to a new session, pseudo-features are sampled from old-class distributions combined with training images of the current session to optimize the prompt, thus enabling the model to learn new knowledge while retaining old knowledge. Experiments on three prevalent benchmarks, i.e., CIFAR100, mini-ImageNet, CUB-200, and two more challenging benchmarks, i.e., SUN-397 and CUB-200$^*$ proposed in this paper showcase the superiority of LP-DiF, achieving new state-of-the-art (SOTA) in FSCIL. Code is publicly available at https://github.com/1170300714/LP-DiF.

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

↑