Abstract
Few-Shot Class-Incremental Learning (FSCIL) requires models to learn new classes from limited data without forgetting previously acquired knowledge. While traditional approaches rely on Convolutional Neural Networks (CNNs), we present ROBUSTA (Robust Transformer Approach), a framework that utilizes the Compact Convolutional Transformer (CCT) architecture. By employing frozen backbones, task-specific delta parameters, and a stochastic classifier, ROBUSTA achieves state-of-the-art performance across multiple benchmarks, significantly outperforming CNN-based methods particularly in data-scarce "small base" scenarios.
Introduction
The field of computer vision has seen remarkable progress, yet the ability to learn incrementally from a few examples remains a significant hurdle. Few-Shot Class-Incremental Learning (FSCIL) presents a "double-edged sword": models must overcome Catastrophic Forgetting (CF)—where new knowledge overwrites old—and Overfitting—where the model memorizes the few available samples of new classes rather than learning generalizable features.
Historically, FSCIL research has been dominated by CNN-based architectures. However, ROBUSTA challenges this status quo by demonstrating that Transformers, with their inherent attention mechanisms, offer a more resilient foundation for the distribution shifts found in incremental learning compared to the rigid spatial hierarchies of CNNs.
Methodology: The ROBUSTA Framework
ROBUSTA is built upon the Compact Convolutional Transformer (CCT). To address the core challenges of FSCIL, the framework introduces several architectural innovations designed to stabilize learning and preserve knowledge.
1. Parameter Isolation via Delta Parameters
To eliminate catastrophic forgetting, ROBUSTA freezes the main Transformer backbone after the initial base training phase. For each subsequent incremental task, the model introduces "delta parameters" (prefix tuning). These are tiny sets of parameters—comprising only 0.27% of the total model—prepended to the Multi-Head Self-Attention layers. This strategy ensures that the base knowledge remains physically untouched while allowing the model to adapt to new classes.
2. Stochastic Classifier
Overfitting is a primary concern when learning from as few as 1 or 5 images. ROBUSTA employs a stochastic classifier where weights are treated as distributions (defined by mean and variance) rather than fixed values. By sampling weights during training, the model effectively utilizes an "infinite classifier," which serves as a powerful regularizer against the memorization of sparse data.
3. Prototype Rectification
When data is limited, the average feature vector (prototype) of a class is often biased. ROBUSTA utilizes a dedicated prediction network to "rectify" or complete these prototypes, making them more representative of the true class distribution.
4. Architectural Refinements
The authors found that standard Transformer components like LayerNorm were less stable for this specific classification task. By replacing LayerNorm with BatchNorm and positioning it strategically between linear layers, the training process was significantly stabilized. Furthermore, the base phase utilizes DINO (self-supervised distillation) to ensure the backbone learns highly generalizable features before encountering few-shot tasks.
Experimental Evaluation
The framework was evaluated on three standard benchmarks: CIFAR100, Mini-ImageNet (MI), and CUB-200-2011 (a challenging dataset of bird species).
Performance Gains
ROBUSTA demonstrated superior accuracy across the board. On Mini-ImageNet, it outperformed the previous state-of-the-art (S3C) by 2.5% in standard settings. On the fine-grained CUB-200 bird dataset, it maintained a lead of 1-3%, showcasing its ability to distinguish between subtle class differences.
The "Small Base" Advantage
A critical finding was ROBUSTA's performance in "small base" scenarios (e.g., starting with only 20 classes instead of 60). In these settings, the margin of improvement over competitors widened to a massive 10.96%. This suggests that the Transformer backbone is inherently better at extracting general features from limited initial data compared to CNN-based counterparts.
Robustness Without Augmentation
Unlike many top-performing FSCIL models that rely on complex data augmentation to "hallucinate" additional samples, ROBUSTA achieves its results using only raw data. This highlights the efficiency of the underlying architecture and the effectiveness of the stochastic classifier as a regularizer.
Discussion and Limitations
While ROBUSTA sets a new benchmark for FSCIL, it is not without trade-offs. Transformers are computationally more intensive and have higher memory requirements than ResNet-style CNNs. Additionally, the model relies on Mahalanobis distance for task inference at test time; a failure in this non-parametric check can lead to the selection of incorrect delta parameters, resulting in accuracy drops.
Conclusion
ROBUSTA proves that Transformers are not only viable but superior for Few-Shot Class-Incremental Learning. By combining parameter isolation with stochastic regularization, the framework effectively mitigates both forgetting and overfitting. Future work will likely explore cross-domain FSCIL, testing the model's ability to transition between vastly different data distributions, such as moving from general objects to specialized medical or industrial imagery.
Summary updated