Introduction
Deep learning models often suffer from catastrophic forgetting—the tendency to overwrite knowledge of previously learned tasks when trained on new ones. Class Incremental Learning (CIL) aims to mitigate this by maintaining a small memory buffer of past samples. However, existing methods often focus disproportionately on either the encoder or the decoder in Vision Transformer (ViT) architectures. This imbalance leads to fragility, especially in "small memory" scenarios where data from past tasks is extremely scarce.
SEDEG (Sequential Enhancement of Decoder and Encoder’s Generality) addresses this by sequentially refining both components to ensure robust performance across evolving data streams.
Methodology: A Two-Stage Framework
SEDEG operates through a two-stage training process designed to balance feature extraction and classification.
Stage 1: Enhancing the Decoder
In the first stage, the goal is to provide the decoder with richer features to improve its classification robustness. SEDEG employs an Ensembled Encoder, combining a frozen old encoder with a trainable new one.
Key components of Stage 1 include:
- Feature Boosting: Fusing outputs from the ensembled encoders to provide a more comprehensive data representation.
- Balanced Softmax: A specialized loss function to counteract the class imbalance between abundant new data and sparse old samples.
- Task Embedding Distillation (TED): A novel loss that ensures the model doesn't forget the specific "task-level" representations it learned previously.
Stage 2: Enhancing the Encoder
To maintain computational efficiency, the ensemble from Stage 1 is compressed back into a single high-performance encoder. This stage utilizes Knowledge Distillation (KD), specifically "Feature Distillation," to ensure the single encoder inherits the rich extraction capabilities of the ensemble. Additionally, Balanced Logits Distillation (BLD) prevents the model from becoming biased toward new classes during this compression.
Experimental Evaluation
The researchers evaluated SEDEG on three major benchmarks: CIFAR-100, Tiny-ImageNet200, and ImageNet100. The experiments focused on "small memory" constraints, storing only 200 or 500 total images from past tasks.
Key Results
SEDEG consistently outperformed existing state-of-the-art (SOTA) methods, particularly in the most constrained settings.
On CIFAR-100 (10 tasks, 200-sample memory), SEDEG achieved 53.71% accuracy, outperforming the previous leader, DyTox, by over 21 percentage points. Similar trends were observed on ImageNet100, where SEDEG maintained a lead of approximately 11.7 points over the nearest competitor.
Insights and Discussion
- Sequential vs. Simultaneous: The two-stage approach proves superior to simultaneous optimization. By boosting features first and then distilling them, the model achieves a better balance between old and new knowledge.
- Small Memory Specialist: SEDEG's architectural innovations are most effective when memory is limited. While the performance gap narrows as the memory buffer increases, SEDEG remains the superior choice for resource-constrained environments.
- Visualizing Feature Space: t-SNE visualizations confirm that SEDEG produces tighter, more distinct class clusters compared to baseline methods, which often suffer from overlapping feature representations.
Conclusion and Future Work
SEDEG demonstrates that sequential enhancement of both encoder and decoder generality is a powerful strategy for Class Incremental Learning. While it excels in small-memory scenarios, future work will focus on scaling these benefits to larger memory buffers and further reducing the computational overhead of the two-stage training process.
Summary updated