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

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Huang, Zitong, Chen, Ze, Chen, Zhixing, Zhou, Erjin, Xu, Xinxing, Goh, Rick Siow Mong, Liu, Yong, Zuo, Wangmeng, Feng, Chunmei
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866929614037712896
author Huang, Zitong
Chen, Ze
Chen, Zhixing
Zhou, Erjin
Xu, Xinxing
Goh, Rick Siow Mong
Liu, Yong
Zuo, Wangmeng
Feng, Chunmei
author_facet Huang, Zitong
Chen, Ze
Chen, Zhixing
Zhou, Erjin
Xu, Xinxing
Goh, Rick Siow Mong
Liu, Yong
Zuo, Wangmeng
Feng, Chunmei
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2401_01598
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Learning Prompt with Distribution-Based Feature Replay for Few-Shot Class-Incremental Learning
Huang, Zitong
Chen, Ze
Chen, Zhixing
Zhou, Erjin
Xu, Xinxing
Goh, Rick Siow Mong
Liu, Yong
Zuo, Wangmeng
Feng, Chunmei
Computer Vision and Pattern Recognition
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.
title Learning Prompt with Distribution-Based Feature Replay for Few-Shot Class-Incremental Learning
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2401.01598