Few-Shot Class-Incremental Learning with Prompt Alignment and Subspace Prototype Aggregation
Abstract
1. Introduction
- We propose a prompt-based few-shot class-incremental learning framework that addresses the unique stability–plasticity and overfitting challenges in sequential few-shot learning. Specifically, we design a two-stage prompt alignment strategy (TPA) for the base session to decouple task-specific and task-agnostic knowledge learning, and a few-shot prompt alignment strategy (FSPA) for the incremental sessions that leverages the base-session prompt as a cross-task knowledge anchor.
- We propose a subspace prototype aggregation calibration module (SPAC) that alleviates the prototype computation bias caused by the severe sample imbalance between base and incremental sessions. The module operates via QR-decomposition-based subspace projection and similarity-weighted aggregation, requiring no gradient-based optimization during incremental updates.
- We conduct extensive comparative and ablation experiments on three public datasets: CIFAR100, miniImageNet, and CUB200, demonstrating the effectiveness of our proposed method.
2. Related Work
2.1. Class-Incremental Learning
2.2. Few-Shot Class-Incremental Learning
2.3. Prompt Engineering for Vision Transformer
3. Methodology
3.1. Preliminaries
3.2. Subspace Prototype Aggregation
| Algorithm 1 Subspace Prototype Aggregation Algorithm. |
|
3.3. Prompt-Adaptive Alignment Loss
3.3.1. Base-Session Prompt Alignment
3.3.2. Incremental Sessions Prompt Alignment
3.4. Model Training and Evaluation
4. Experiments
4.1. Dataset and Evaluation Indicators
- CIFAR100: This dataset is commonly used in CIL. It consists of 100 categories with 600 RGB images per class. For each category, 500 images were used for training and 100 images for testing. The size of the images is .
- CUB200: This dataset contains about 6000 training images and 6000 test images of over 200 bird categories. The images were resized to and then cropped to for training.
- miniImageNet: This is a subset of the ImageNet with a smaller number of classes. It includes 600 images for each of 100 classes. The size of the images is .
4.2. Model Configurations and Training Details
4.3. Methods for Comparison
4.4. Main Results
4.5. Ablation Studies
4.5.1. Efficacy of the TPA Module
4.5.2. Efficacy of the SPAC Module
4.5.3. Efficacy of the FSPA Module
4.5.4. Efficacy of the SKD Module
4.6. Model Visualization Results
4.6.1. Confusion Matrix
4.6.2. T-SNE Feature Space
4.7. Base-to-Novel Class Generalization
4.8. Further Analysis
4.8.1. Hyperparameter Sensitivity
4.8.2. Subspace Prototype Aggregation Module
4.8.3. Performance on CLIP
4.8.4. Effect of Different Numbers of Incremental Samples
4.8.5. Impact of Trainable Block
4.8.6. Complexity Analysis
5. Conclusions
Funding
Data Availability Statement
Conflicts of Interest
References
- Masana, M.; Liu, X.; Twardowski, B.; Menta, M.; Bagdanov, A.D.; van de Weijer, J. Class-incremental learning: Survey and performance evaluation on image classification. arXiv 2020, arXiv:2010.15277. [Google Scholar] [CrossRef]
- Delange, M.; Aljundi, R.; Masana, M.; Parisot, S.; Jia, X.; Leonardis, A.; Slabaugh, G.; Tuytelaars, T. A continual learning survey: Defying forgetting in classification tasks. TPAMI 2021, in press. [Google Scholar]
- Li, Z.; Hoiem, D. Learning without forgetting. IEEE Trans. Pattern Anal. Mach. Intell. 2017, 40, 2935–2947. [Google Scholar] [CrossRef] [PubMed]
- Rebuffi, S.A.; Kolesnikov, A.; Sperl, G.; Lampert, C.H. icarl: Incremental classifier and representation learning. In Proceedings of the CVPR; IEEE: New York, NY, USA, 2017; pp. 2001–2010. [Google Scholar]
- Kirkpatrick, J.; Pascanu, R.; Rabinowitz, N.; Veness, J.; Desjardins, G.; Rusu, A.A.; Milan, K.; Quan, J.; Ramalho, T.; Grabska-Barwinska, A.; et al. Overcoming catastrophic forgetting in neural networks. Proc. Natl. Acad. Sci. USA 2017, 114, 3521–3526. [Google Scholar] [CrossRef] [PubMed]
- Aljundi, R.; Babiloni, F.; Elhoseiny, M.; Rohrbach, M.; Tuytelaars, T. Memory aware synapses: Learning what (not) to forget. In Computer Vision—ECCV 2018: 15th European Conference, Munich, Germany, 8–14 September 2018, Proceedings, Part III; Springer: Berlin/Heidelberg, Germany, 2018; pp. 144–161. [Google Scholar]
- Mermillod, M.; Bugaiska, A.; Bonin, P. The stability-plasticity dilemma: Investigating the continuum from catastrophic forgetting to age-limited learning effects. Front. Psychol. 2013, 4, 504. [Google Scholar] [CrossRef] [PubMed]
- Tian, S.; Li, L.; Li, W.; Ran, H.; Ning, X.; Tiwari, P. A survey on few-shot class-incremental learning. Neural Netw. 2024, 169, 307–324. [Google Scholar] [CrossRef] [PubMed]
- Chi, Z.; Gu, L.; Liu, H.; Wang, Y.; Yu, Y.; Tang, J. MetaFSCIL: A Meta-Learning Approach for Few-Shot Class Incremental Learning. In IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2022; pp. 14166–14175. [Google Scholar]
- Cheraghian, A.; Rahman, S.; Fang, P.; Roy, S.K.; Petersson, L.; Harandi, M. Semantic-Aware Knowledge Distillation for Few-Shot Class-Incremental Learning. In Proceedings of the CVPR; IEEE: New York, NY, USA, 2021; pp. 2534–2543. [Google Scholar]
- Zhou, D.W.; Ye, H.J.; Ma, L.; Xie, D.; Pu, S.; Zhan, D.C. Few-shot class-incremental learning by sampling multi-phase tasks. IEEE Trans. Pattern Anal. Mach. Intell. 2023, 45, 12816–12831. [Google Scholar] [CrossRef] [PubMed]
- Wang, Z.; Zhang, Z.; Ebrahimi, S.; Sun, R.; Zhang, H.; Lee, C.Y.; Ren, X.; Su, G.; Perot, V.; Dy, J.; et al. Dualprompt: Complementary prompting for rehearsal-free continual learning. In Proceedings of the European Conference on Computer Vision (ECCV); Springer: Cham, Switzerland, 2022. [Google Scholar]
- Wang, Z.; Zhang, Z.; Lee, C.Y.; Zhang, H.; Sun, R.; Ren, X.; Su, G.; Perot, V.; Dy, J.; Pfister, T. Learning to Prompt for Continual Learning. In 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR); IEEE: New York, NY, USA, 2022. [Google Scholar]
- Smith, J.S.; Karlinsky, L.; Gutta, V.; Cascante-Bonilla, P.; Kim, D.; Arbelle, A.; Panda, R.; Feris, R.; Kira, Z. CODA-Prompt: COntinual Decomposed Attention-Based Prompting for Rehearsal-Free Continual Learning. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR); IEEE: New York, NY, USA, 2023. [Google Scholar]
- Liu, C.; Wang, Z.; Xiong, T.; Chen, R.; Wu, Y.; Guo, J.; Huang, H. Few-Shot Class Incremental Learning with Attention-Aware Self-Adaptive Prompt. arXiv 2024, arXiv:2403.09857. [Google Scholar]
- D’Alessandro, M.; Alonso, A.; Calabrés, E.; Galar, M. Multimodal parameter-efficient few-shot class incremental learning. In IEEE/CVF International Conference on Computer Vision; IEEE: New York, NY, USA, 2023; pp. 3393–3403. [Google Scholar]
- Khattak, M.U.; Wasim, S.T.; Naseer, M.; Khan, S.; Yang, M.H.; Khan, F.S. Self-regulating prompts: Foundational model adaptation without forgetting. In IEEE/CVF International Conference on Computer Vision; IEEE: New York, NY, USA, 2023; pp. 15190–15200. [Google Scholar]
- van de Ven, G.M.; Tolias, A.S. Three scenarios for continual learning. arXiv 2019, arXiv:1904.07734. [Google Scholar] [CrossRef]
- Wu, Y.; Chen, Y.; Wang, L.; Ye, Y.; Liu, Z.; Guo, Y.; Fu, Y. Large scale incremental learning. In Proceedings of the CVPR; IEEE: New York, NY, USA, 2019; pp. 374–382. [Google Scholar]
- Chaudhry, A.; Ranzato, M.; Rohrbach, M.; Elhoseiny, M. Efficient Lifelong Learning with A-GEM. In Proceedings of the ICLR; Curran Associates, Inc.: Red Hook, NY, USA, 2019. [Google Scholar]
- Xiang, Y.; Fu, Y.; Ji, P.; Huang, H. Incremental learning using conditional adversarial networks. In Proceedings of the ICCV; IEEE: New York, NY, USA, 2019; pp. 6619–6628. [Google Scholar]
- Iscen, A.; Zhang, J.; Lazebnik, S.; Schmid, C. Memory-efficient incremental learning through feature adaptation. In Proceedings of the ECCV; Springer: Cham, Switzerland, 2020; pp. 699–715. [Google Scholar]
- Hinton, G.; Vinyals, O.; Dean, J. Distilling the knowledge in a neural network. In Proceedings of the NeurIPS Workshop; Neural Information Processing Systems Foundation, Inc.: San Diego, CA, USA, 2015. [Google Scholar]
- Zhao, L.; Lu, J.; Xu, Y.; Cheng, Z.; Guo, D.; Niu, Y.; Fang, X. Few-shot class-incremental learning via class-aware bilateral distillation. In IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2023; pp. 11838–11847. [Google Scholar]
- Tao, X.; Hong, X.; Chang, X.; Dong, S.; Wei, X.; Gong, Y. Few-shot class-incremental learning. In Proceedings of the CVPR; IEEE: New York, NY, USA, 2020; pp. 12183–12192. [Google Scholar]
- Shi, G.; Chen, J.; Zhang, W.; Zhan, L.M.; Wu, X.M. Overcoming catastrophic forgetting in incremental few-shot learning by finding flat minima. In Advances in Neural Information Processing Systems (NeurIPS); Neural Information Processing Systems Foundation, Inc.: San Diego, CA, USA, 2021. [Google Scholar]
- Zhou, D.W.; Wang, F.Y.; Ye, H.J.; Ma, L.; Pu, S.; Zhan, D.C. Forward compatible few-shot class-incremental learning. In IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2022; pp. 9046–9056. [Google Scholar]
- Mazumder, P.; Singh, P.; Rai, P. Few-Shot Lifelong Learning. In Proceedings of the AAAI; AAAI Press: Washington, DC, USA, 2021; pp. 2337–2345. [Google Scholar]
- Hersche, M.; Karunaratne, G.; Cherubini, G.; Benini, L.; Sebastian, A.; Rahimi, A. Constrained few-shot class-incremental learning. In IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2022. [Google Scholar]
- Yang, Y.; Yuan, H.; Li, X.; Lin, Z.; Torr, P.; Tao, D. Neural Collapse Inspired Feature-Classifier Alignment for Few-Shot Class-Incremental Learning. In Proceedings of the Eleventh International Conference on Learning Representations, Virtual, 25–29 April 2022. [Google Scholar]
- Park, K.H.; Song, K.; Park, G.M. Pre-trained Vision and Language Transformers Are Few-Shot Incremental Learners. In IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2024; pp. 23881–23890. [Google Scholar]
- Yoon, I.U.; Choi, T.M.; Lee, S.K.; Kim, Y.M.; Kim, J.H. Image-Object-Specific Prompt Learning for Few-Shot Class-Incremental Learning. arXiv 2023, arXiv:2309.02833. [Google Scholar]
- Tang, Y.M.; Peng, Y.X.; Zheng, W.S. When Prompt-based Incremental Learning Does Not Meet Strong Pretraining. In IEEE International Conference on Computer Vision (ICCV); IEEE: New York, NY, USA, 2023. [Google Scholar]
- Jung, D.; Han, D.; Bang, J.; Song, H. Generating Instance-level Prompts for Rehearsal-free Continual Learning. In IEEE/CVF International Conference on Computer Vision; IEEE: New York, NY, USA, 2023. [Google Scholar]
- Snell, J.; Swersky, K.; Zemel, R. Prototypical networks for few-shot learning. In Proceedings of the NeurIPS; Neural Information Processing Systems Foundation, Inc.: San Diego, CA, USA, 2017; pp. 4080–4090. [Google Scholar]
- Wang, Q.W.; Zhou, D.W.; Zhang, Y.K.; Zhan, D.C.; Ye, H.J. Few-Shot Class-Incremental Learning Via Training-Free Prototype Calibration. In Proceedings of the NeurIPS; Neural Information Processing Systems Foundation, Inc.: San Diego, CA, USA, 2023. [Google Scholar]
- Krizhevsky, A.; Hinton, G. Learning multiple layers of features from tiny images. In 37th Conference on Neural Information Processing Systems (NeurIPS 2023); Neural Information Processing Systems Foundation, Inc.: San Diego, CA, USA, 2009. [Google Scholar]
- Vinyals, O.; Blundell, C.; Lillicrap, T.; Kavukcuoglu, K.; Wierstra, D. Matching networks for one shot learning. In Proceedings of the NeurPIS; Neural Information Processing Systems Foundation, Inc.: San Diego, CA, USA, 2016; pp. 3630–3638. [Google Scholar]
- Cui, Y.; Xiong, W.; Tavakolian, M.; Liu, L. Semi-Supervised Few-Shot Class-Incremental Learning. In Proceedings of the ICIP; IEEE: New York, NY, USA, 2021; pp. 1239–1243. [Google Scholar]
- Kenton, J.D.M.W.C.; Toutanova, L.K. Bert: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies; Association for Computational Linguistics: Stroudsburg, PA, USA, 2019; Volume 1, p. 2. [Google Scholar]
- Zhang, C.; Song, N.; Lin, G.; Zheng, Y.; Pan, P.; Xu, Y. Few-shot incremental learning with continually evolved classifiers. In Proceedings of the CVPR; IEEE: New York, NY, USA, 2021; pp. 12455–12464. [Google Scholar]
- Zhou, K.; Yang, J.; Loy, C.C.; Liu, Z. Conditional prompt learning for vision-language models. In IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2022; pp. 16816–16825. [Google Scholar]








| Base Session | Incremental Session | ||||
|---|---|---|---|---|---|
| #Class | #Samples | #Class | #Samples | Incremental Pattern | |
| CIFAR100 | 60 | 500 | 40 | 5 | 5-way 5-shot |
| miniImageNet | 60 | 500 | 40 | 5 | 5-way 5-shot |
| CUB200 | 100 | 30 | 100 | 5 | 10-way 5-shot |
| Method | Backbone | Acc. in Each Session↑ (%) | AVG (↑) | PD (↓) | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | ||||
| TOPIC [25] | ResNet18 | 64.1 | 55.9 | 47.1 | 45.2 | 40.1 | 36.4 | 34.0 | 31.6 | 29.4 | 42.6 | 34.7 |
| CEC [41] | ResNet18 | 73.1 | 68.9 | 65.3 | 61.2 | 58.1 | 55.6 | 53.2 | 51.3 | 49.1 | 59.5 | 23.9 |
| LIMIT [11] | ResNet18 | 73.8 | 72.1 | 67.9 | 63.9 | 60.7 | 57.8 | 55.7 | 53.5 | 51.2 | 61.8 | 22.6 |
| FACT [27] | ResNet18 | 74.6 | 72.1 | 67.6 | 63.5 | 61.4 | 58.4 | 56.3 | 54.2 | 52.1 | 62.2 | 22.5 |
| CLIP ZSL | ViT-B/16 | 73.8 | 71.6 | 72.0 | 70.71 | 69.8 | 68.5 | 67.8 | 67.3 | 66.9 | 69.8 | 6.9 |
| CoCoOp [42] | ViT-B/16 | 82.2 | 77.4 | 73.7 | 71.7 | 69.1 | 67.7 | 65.5 | 63.8 | 62.1 | 70.4 | 20.1 |
| IOS [32] | ViT-B/16 | 86.2 | 82.3 | 79.6 | 77.5 | 75.9 | 75.3 | 74.1 | 73.6 | 72.8 | 77.5 | 13.4 |
| CEC [41] | ViT-B/16 | 74.20 | 71.49 | 70.11 | 67.34 | 65.96 | 65.14 | 64.74 | 63.48 | 61.48 | 67.10 | 12.72 |
| L2P [13] | ViT-B/16 | 84.7 | 82.3 | 80.1 | 77.5 | 77.0 | 76.0 | 75.6 | 74.1 | 72.3 | 77.7 | 12.4 |
| DualPrompt [12] | ViT-B/16 | 86.0 | 83.6 | 82.9 | 80.2 | 80.6 | 80.2 | 80.5 | 79.0 | 77.4 | 81.1 | 8.5 |
| PriViLege [31] | ViT-B/16 | 90.88 | 89.39 | 88.97 | 87.55 | 87.83 | 87.35 | 87.53 | 87.15 | 86.06 | 88.08 | 4.82 |
| ASP [15] | ViT-B/16 | 92.2 | 90.7 | 90.0 | 88.7 | 88.7 | 88.2 | 88.2 | 87.8 | 86.7 | 89.0 | 5.5 |
| Ours | ViT-B/16 | |||||||||||
| Method | Backbone | Acc. in Each Session↑ (%) | AVG (↑) | PD (↓) | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | ||||
| TOPIC [25] | ResNet18 | 68.7 | 62.5 | 54.8 | 50.0 | 45.3 | 41.4 | 38.4 | 35.4 | 32.2 | 28.3 | 26.3 | 43.9 | 42.4 |
| CEC [41] | ResNet18 | 75.9 | 71.9 | 68.5 | 63.5 | 62.4 | 58.3 | 57.7 | 55.8 | 54.8 | 53.5 | 52.3 | 61.3 | 23.6 |
| LIMIT [11] | ResNet18 | 75.9 | 73.6 | 72.0 | 68.1 | 67.4 | 63.6 | 62.4 | 61.4 | 59.9 | 58.7 | 57.4 | 65.5 | 18.5 |
| FACT [27] | ResNet18 | 75.9 | 73.2 | 70.8 | 66.1 | 65.6 | 62.2 | 61.7 | 59.8 | 58.4 | 57.9 | 56.9 | 64.4 | 19.0 |
| CLIP ZSL | ViT-B/16 | 65.5 | 64.2 | 63.2 | 62.4 | 59.9 | 60.3 | 59.8 | 58.4 | 56.3 | 54.9 | 53.5 | 59.9 | 12.0 |
| CoCoOp [42] | ViT-B/16 | 80.3 | 72.1 | 68.8 | 65.4 | 63.4 | 61.2 | 58.2 | 56.9 | 54.5 | 52.3 | 50.1 | 62.1 | 30.2 |
| IOS [32] | ViT-B/16 | 81.3 | 77.4 | 75.8 | 73.3 | 72.6 | 70.4 | 68.7 | 67.3 | 65.9 | 64.4 | 63.8 | 71.0 | 17.5 |
| CEC [41] | ViT-B/16 | 75.40 | 73.23 | 72.00 | 68.70 | 69.35 | 67.78 | 67.01 | 66.40 | 65.78 | 65.57 | 65.70 | 72.41 | 9.7 |
| L2P [13] | ViT-B/16 | 82.4 | 81.2 | 79.0 | 76.8 | 76.2 | 74.7 | 74.1 | 74.1 | 72.7 | 73.0 | 73.6 | 76.2 | 8.7 |
| DualPrompt [12] | ViT-B/16 | 83.5 | 82.2 | 80.9 | 79.5 | 78.6 | 77.0 | 76.3 | 77.0 | 75.7 | 76.1 | 76.5 | 78.5 | 7.1 |
| PriViLeg [31] | ViT-B/16 | 82.21 | 81.25 | 80.45 | 77.76 | 77.78 | 75.95 | 75.69 | 76.00 | 75.19 | 75.19 | 75.08 | 77.50 | 7.13 |
| ASP [15] | ViT-B/16 | 87.1 | 86.0 | 84.9 | 83.4 | 83.6 | 82.4 | 82.6 | 83.0 | 82.6 | 83.0 | 83.5 | 83.8 | 3.6 |
| Ours | ViT-B/16 | |||||||||||||
| Method | Backbone | Acc. in Each Session↑ (%) | AVG (↑) | PD (↓) | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | ||||
| TOPIC [25] | ResNet18 | 61.3 | 50.1 | 45.2 | 41.2 | 37.5 | 35.5 | 32.2 | 29.5 | 24.4 | 39.6 | 36.9 |
| CEC [41] | ResNet18 | 72.0 | 66.8 | 63.0 | 59.4 | 56.7 | 53.7 | 51.2 | 49.2 | 47.6 | 57.7 | 24.4 |
| LIMIT [11] | ResNet18 | 72.3 | 68.5 | 64.3 | 60.8 | 58.0 | 55.1 | 52.7 | 50.7 | 49.2 | 59.1 | 23.1 |
| FACT [27] | ResNet18 | 72.6 | 69.6 | 66.4 | 62.8 | 60.6 | 57.3 | 54.3 | 52.2 | 50.5 | 60.7 | 22.1 |
| CLIP ZSL | ViT-B/16 | 85.8 | 85.5 | 84.9 | 84.8 | 84.2 | 84.2 | 84.0 | 83.9 | 83.7 | 84.6 | 2.1 |
| CoCoOp [42] | ViT-B/16 | 94.2 | 91.7 | 88.9 | 87.8 | 86.3 | 84.3 | 82.5 | 81.9 | 81.3 | 86.5 | 12.9 |
| IOS [32] | ViT-B/16 | 95.4 | 94.4 | 93.4 | 93.1 | 92.1 | 91.4 | 90.8 | 90.0 | 89.1 | 92.2 | 6.3 |
| CEC [41] | ViT-B/16 | 87.43 | 85.99 | 84.03 | 83.21 | 83.11 | 81.64 | 80.66 | 80.72 | 80.74 | 83.06 | 6.69 |
| L2P [13] | ViT-B/16 | 93.05 | 92.31 | 90.51 | 87.07 | 86.38 | 85.19 | 84.45 | 84.15 | 81.44 | 87.172 | 11.61 |
| DualPrompt [12] | ViT-B/16 | 95.05 | 93.81 | 91.51 | 90.07 | 88.38 | 86.19 | 85.45 | 84.15 | 83.14 | 88.638 | 11.91 |
| PriViLege [31] | ViT-B/16 | 96.68 | 96.49 | 95.65 | 95.54 | 95.54 | 94.91 | 94.33 | 94.19 | 94.10 | 95.27 | 2.58 |
| ASP [15] | ViT-B/16 | 96.72 | 96.59 | 96.05 | 95.74 | 95.54 | 95.11 | 94.72 | 94.59 | 94.33 | 95.607 | 2.39 |
| Ours | ViT-B/16 | |||||||||||
| Ablation | CUB200 | |||||
|---|---|---|---|---|---|---|
| TPA | SPAC | FSPA | SKD | ABase | ALast | AAvg |
| 81.532 | 74.095 | 76.31 | ||||
| ✓ | 87.5 | 81.693 | 82.654 | |||
| ✓ | ✓ | 87.5 | 82.325 | 83.309 | ||
| ✓ | ✓ | ✓ | 87.5 | 83.034 | 84.138 | |
| ✓ | ✓ | ✓ | 81.416 | 79.264 | 78.5 | |
| ✓ | ✓ | ✓ | 87.256 | 82.418 | 83.657 | |
| ✓ | ✓ | ✓ | 87.256 | 82.057 | 83.102 | |
| ✓ | ✓ | 87.5 | 81.827 | 82.702 | ||
| ✓ | ✓ | ✓ | 87.314 | 82.813 | 83.895 | |
| ✓ | ✓ | ✓ | ✓ | 87.256 | 83.086 | 84.171 |
| Dataset | PriViLeg | ASP | L2P | DualPrompt | Ours | Δ | |
|---|---|---|---|---|---|---|---|
| Average on 3 datasets | Base | 84.09 | 89.83 | 86.43 | 84.04 | 90.64 | +0.81 |
| Novel | 80.22 | 82.43 | 71.24 | 71.85 | 85.59 | +3.16 | |
| HM | 82.54 | 86.34 | 78.17 | 78.44 | 88.67 | +2.33 | |
| CUB200 | Base | 79.47 | 81.84 | 82.15 | 76.66 | 86.56 | +4.41 |
| Novel | 69.45 | 75.34 | 63.96 | 64.54 | 78.19 | +2.85 | |
| HM | 74.12 | 80.75 | 71.80 | 72.47 | 82.16 | +1.41 | |
| cifar100 | Base | 82.48 | 90.46 | 84.07 | 84.24 | 90.47 | +0.01 |
| Novel | 80.95 | 80.25 | 66.60 | 66.76 | 84.68 | +3.73 | |
| HM | 81.71 | 85.05 | 74.32 | 74.37 | 87.48 | +2.43 | |
| miniimagenet | Base | 92.32 | 95.20 | 93.08 | 93.23 | 95.87 | +0.67 |
| Novel | 91.27 | 92.69 | 84.15 | 84.26 | 92.90 | +0.21 | |
| HM | 91.79 | 94.23 | 88.39 | 88.48 | 94.36 | +0.13 |
| Dataset | CUB 200 | |||
|---|---|---|---|---|
| # of Layers | ABase | ALast | AAvg | AHM |
| 0 Layers | 82.367 | 70.504 | 75.550 | 70.33 |
| 2 Layers | 87.256 | 83.224 | 84.203 | 83.150 |
| 3 Layers | 87.360 | 82.879 | 84.153 | 82.770 |
| 5 Layers | 87.221 | 83.000 | 84.04 | 82.880 |
| 8 Layers | 87.954 | 83.218 | 84.169 | 82.460 |
| 12 Layers | 88.478 | 83.034 | 84.082 | 82.850 |
| Methods | Params (M) | Training Time (min) | Inference Time (min) | Memory (MB) |
|---|---|---|---|---|
| PriViLege | 14.33 | 10.64 | 7.64 | 4581 |
| ASP | 2.08 | 15.21 | 8.10 | 2692 |
| Ours | 1.38/14.5 | 11.65 | 7.72 | 3253 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Huang, Q. Few-Shot Class-Incremental Learning with Prompt Alignment and Subspace Prototype Aggregation. Algorithms 2026, 19, 407. https://doi.org/10.3390/a19050407
Huang Q. Few-Shot Class-Incremental Learning with Prompt Alignment and Subspace Prototype Aggregation. Algorithms. 2026; 19(5):407. https://doi.org/10.3390/a19050407
Chicago/Turabian StyleHuang, Qiang. 2026. "Few-Shot Class-Incremental Learning with Prompt Alignment and Subspace Prototype Aggregation" Algorithms 19, no. 5: 407. https://doi.org/10.3390/a19050407
APA StyleHuang, Q. (2026). Few-Shot Class-Incremental Learning with Prompt Alignment and Subspace Prototype Aggregation. Algorithms, 19(5), 407. https://doi.org/10.3390/a19050407
