Compositional Few-Shot Class-Incremental Learning

Yixiong Zou, Shanghang Zhang, Haichen Zhou, Yuhua Li, Ruixuan Li
2/12/2026

No official code found. Best implementation: Zoilsen/Comp-FSCIL (11 stars, MIT, last commit 2024-09-22).

Abstract

Few-shot class-incremental learning (FSCIL) is proposed to continually learn from novel classes with only a few samples after the (pre-)training on base classes with sufficient data. However, this remains a challenge. In contrast, humans can easily recognize novel classes with a few samples. Cognitive science demonstrates that an important component of such human capability is compositional learning. This involves identifying visual primitives from learned knowledge and then composing new concepts using these transferred primitives, making incremental learning both effective and interpretable. To imitate human compositional learning, we propose a cognitive-inspired method for the FSCIL task. We define and build a compositional model based on set similarities, and then equip it with a primitive composition module and a primitive reuse module. In the primitive composition module, we propose to utilize the Centered Kernel Alignment (CKA) similarity to approximate the similarity between primitive sets, allowing the training and evaluation based on primitive compositions. In the primitive reuse module, we enhance primitive reusability by classifying inputs based on primitives replaced with the closest primitives from other classes. Experiments on three datasets validate our method, showing it outperforms current state-of-the-art methods with improved interpretability. Our code is available at https://github.com/Zoilsen/Comp-FSCIL.

View on arXivView PDF

Code Implementations(1)

Zoilsen/Comp-FSCILCommunity100%
MIT
110PythonMay 27, 20242 years agoMIT

Similar Papers

Cite this paper

@article{zou2026compositional,
  title  = {Compositional Few-Shot Class-Incremental Learning},
  author = {Yixiong Zou and Shanghang Zhang and Haichen Zhou and Yuhua Li and Ruixuan Li},
  year   = {2026},
  eprint = {2405.17022},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2405.17022},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.17022.svg)](https://codeofpaper.com/paper/2405.17022)

Discussion