PL-FSCIL: Harnessing the Power of Prompts for Few-Shot Class-Incremental Learning

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Tian, Songsong, Li, Lusi, Li, Weijun, Ran, Hang, Li, Li, Ning, Xin
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866912113842192384
author Tian, Songsong
Li, Lusi
Li, Weijun
Ran, Hang
Li, Li
Ning, Xin
author_facet Tian, Songsong
Li, Lusi
Li, Weijun
Ran, Hang
Li, Li
Ning, Xin
contents Few-Shot Class-Incremental Learning (FSCIL) aims to enable deep neural networks to learn new tasks incrementally from a small number of labeled samples without forgetting previously learned tasks, closely mimicking human learning patterns. In this paper, we propose a novel approach called Prompt Learning for FSCIL (PL-FSCIL), which harnesses the power of prompts in conjunction with a pre-trained Vision Transformer (ViT) model to address the challenges of FSCIL effectively. Our work pioneers the use of visual prompts in FSCIL, which is characterized by its notable simplicity. PL-FSCIL consists of two distinct prompts: the Domain Prompt and the FSCIL Prompt. Both are vectors that augment the model by embedding themselves into the attention layer of the ViT model. Specifically, the Domain Prompt assists the ViT model in adapting to new data domains. The task-specific FSCIL Prompt, coupled with a prototype classifier, amplifies the model's ability to effectively handle FSCIL tasks. We validate the efficacy of PL-FSCIL on widely used benchmark datasets such as CIFAR-100 and CUB-200. The results showcase competitive performance, underscoring its promising potential for real-world applications where high-quality data is often scarce. The source code is available at: https://github.com/TianSongS/PL-FSCIL.
format Preprint
id arxiv_https___arxiv_org_abs_2401_14807
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle PL-FSCIL: Harnessing the Power of Prompts for Few-Shot Class-Incremental Learning
Tian, Songsong
Li, Lusi
Li, Weijun
Ran, Hang
Li, Li
Ning, Xin
Computer Vision and Pattern Recognition
Few-Shot Class-Incremental Learning (FSCIL) aims to enable deep neural networks to learn new tasks incrementally from a small number of labeled samples without forgetting previously learned tasks, closely mimicking human learning patterns. In this paper, we propose a novel approach called Prompt Learning for FSCIL (PL-FSCIL), which harnesses the power of prompts in conjunction with a pre-trained Vision Transformer (ViT) model to address the challenges of FSCIL effectively. Our work pioneers the use of visual prompts in FSCIL, which is characterized by its notable simplicity. PL-FSCIL consists of two distinct prompts: the Domain Prompt and the FSCIL Prompt. Both are vectors that augment the model by embedding themselves into the attention layer of the ViT model. Specifically, the Domain Prompt assists the ViT model in adapting to new data domains. The task-specific FSCIL Prompt, coupled with a prototype classifier, amplifies the model's ability to effectively handle FSCIL tasks. We validate the efficacy of PL-FSCIL on widely used benchmark datasets such as CIFAR-100 and CUB-200. The results showcase competitive performance, underscoring its promising potential for real-world applications where high-quality data is often scarce. The source code is available at: https://github.com/TianSongS/PL-FSCIL.
title PL-FSCIL: Harnessing the Power of Prompts for Few-Shot Class-Incremental Learning
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2401.14807