Abstract
This paper introduces a novel framework for Few-Shot Class Incremental Learning (FSCIL) that leverages the semantic power of Vision-Language Models (VLMs) like CLIP. By employing language as a regularizer during initial training and a "semantic anchor" during incremental steps, the proposed model achieves state-of-the-art performance. The approach significantly reduces catastrophic forgetting while effectively learning new classes from limited examples, bridging the gap between visual features and text semantics.
Introduction
In real-world applications, data often arrives in streams rather than all at once. Class Incremental Learning (CIL) aims to update models with new categories over time. However, two major hurdles persist: Catastrophic Forgetting, where learning new classes overwrites parameters for old ones, and the Few-Shot Constraint, where limited examples of new categories lead to severe overfitting. Existing methods often rely on complex optimizers or privacy-sensitive memory buffers. This paper proposes using the inherent semantic relationships between class names—guided by Vision-Language Models—to anchor the learning process and maintain a structured feature space.
Methods
The proposed framework operates in two distinct stages to bridge the gap between visual features and text semantics.
1. Base Model Training (Language Regularizer)
During initial training on abundant "base" class data, a Language Regularizer is introduced. The authors construct a K-Nearest Neighbor (K-NN) graph based on text embeddings from a VLM (CLIP). Through Graph Laplacian Regularization, the model is forced to align visual representations in the latent space with their semantic counterparts. For instance, if "cat" and "tiger" are semantically close in the text domain, their visual features are constrained to be close as well, creating a semantically-aware feature space.
2. Incremental Training (Semantic Subspace Regularizer)
When new classes arrive with only a few samples, the main feature extractor (backbone) is frozen to prevent forgetting. New class weights are then constrained to be near a "semantic prototype." This prototype is a weighted combination of existing base class weights, where the weights are determined by the CLIP semantic similarity between the new class and the base classes. High-quality text embeddings are obtained through prompt engineering, using averaged prompts like "A photo of [label]".
Key Results
The framework was evaluated on standard FSCIL benchmarks including CIFAR-100, miniImageNet, and tieredImageNet. The proposed method achieved state-of-the-art (SOTA) results across all datasets.
On CIFAR-100, the model reached a final session accuracy of 57.57%, outperforming the previous best (Data-free Replay) by over 7%. On miniImageNet, it achieved 49.7% final accuracy. Ablation studies highlighted the importance of the Language Regularizer; removing it caused base accuracy on CIFAR-100 to drop from 80.24% to 70.14%, confirming that semantic alignment is a critical driver of performance.
Key Insights
- Language as an Anchor: Language provides a stable, pre-trained global structure. Anchoring visual features to this structure early on makes the model resistant to the "drift" that causes forgetting.
- VLM Superiority: Embeddings from CLIP significantly outperformed text-only embeddings like GloVe, as CLIP's text space is inherently aligned with visual concepts.
- Structure Preservation: The use of a Graph Laplacian ensures the data manifold is preserved, maintaining relative distances between all classes rather than just focusing on individual accuracy.
Limitations and Future Work
While effective, the method relies on prompt engineering, and more sophisticated tuning could further boost results. Future work could explore swapping CLIP for newer models like BLIP or FLIP. Additionally, while the incremental phase is efficient, the initial base training involves additional computational overhead due to processing text embeddings alongside images.
Summary updated