Abstract
Few-Shot Class-Incremental Learning (FSCIL) presents a significant challenge in computer vision, requiring models to learn new classes from limited data without forgetting previously learned ones. This paper proposes a novel semantic-aware knowledge distillation framework that leverages word embeddings to bridge the gap between base and novel classes. By mapping visual features into a shared semantic space and employing a superclass-based attention mechanism, the model effectively transfers knowledge and mitigates catastrophic forgetting. Experimental results on MiniImageNet, CUB200, and CIFAR100 demonstrate that this approach significantly outperforms existing state-of-the-art methods.
Introduction
The ability to learn continuously from a stream of data is a hallmark of human intelligence but remains a difficult task for deep neural networks. In Class-Incremental Learning (CIL), models must incorporate new classes over time. However, they often suffer from "catastrophic forgetting," where performance on original classes degrades sharply. Few-Shot Class-Incremental Learning (FSCIL) further complicates this by providing only a few examples for each new class. Standard approaches often lead to models that are heavily biased toward well-represented base classes and overfit on sparse novel data.
Methodology
The proposed framework introduces a semantically-guided approach to distillation. Instead of relying solely on visual labels, the model projects visual features into a semantic word-vector space (e.g., word2vec). This shared space allows the model to exploit relationships between classes—for instance, recognizing that a "leopard" is semantically similar to a "cat"—thereby providing a strong prior for learning novel concepts.
The architecture consists of several key components:
- Semantic Mapping: A backbone network (ResNet) extracts features, which are then mapped to fixed word embeddings. This static target space avoids the need for expanding weights for every new task, mitigating weight imbalance issues.
- Superclass Experts: To capture diverse visual characteristics, classes are grouped into "superclasses" using k-means clustering on word vectors. Multiple parallel embedding modules act as experts for these superclasses.
- Attention Mechanism: An attention module learns to weight these experts. For a novel class, the attention mechanism can compose a representation based on known similar superclasses, effectively leveraging shared attributes (e.g., recognizing "four legs" or "fur" on a previously unseen animal).
- Loss Functions: The model is trained using a combination of distillation loss (to preserve old class relationships), classification loss (based on cosine similarity in the semantic space), and attention loss (to refine superclass selection).
Experimental Results
The method was evaluated on three major benchmarks: MiniImageNet, CUB200, and CIFAR100. In all cases, it established new state-of-the-art performance, particularly in later incremental sessions where forgetting is typically most severe.
- MiniImageNet: The model achieved a final accuracy of 39.04%, a substantial improvement over the previous best (TOPIC) of 24.42%.
- CIFAR100: It reached 34.80%, surpassing the previous state-of-the-art (MML) of 29.37%.
- CUB200: On this fine-grained bird dataset, it achieved 32.96%, compared to the previous best (AL-MML) of 26.28%.
Ablation studies confirmed that both the distillation loss and the multi-expert embedding structure were vital for these performance gains. While the model is sensitive to the number of superclusters chosen, it remains robust across different semantic embedding types.
Conclusion
By integrating semantic word embeddings into the distillation process, this work provides a robust solution to the challenges of FSCIL. The use of semantic priors and superclass-based attention allows for effective knowledge transfer from base to novel classes while maintaining a stable architecture. Future work may involve exploring more sophisticated vision-language alignment techniques to further enhance the model's ability to generalize from minimal data.
Summary updated