Abstract
Class-incremental with repetition (CIR), where previously trained classes are repeatedly introduced in future tasks, is a more realistic scenario than the traditional class-incremental setup. CIR assumes access to abundant unlabeled data from external sources. We propose two components to efficiently use this unlabeled data: Multi-Level Knowledge Distillation (MLKD) and Dynamic Self-Supervised Loss (SSL). MLKD distills knowledge from multiple previous models across features and logits to maintain stability. Dynamic SSL utilizes unlabeled data to accelerate learning of new classes while dynamic weighting keeps the focus of training on the primary task. Our approach achieved 2nd place in the CVPR 5th CLVISION Challenge.
Introduction
Traditional Continual Learning (CL) often assumes a strict "Class-Incremental" setup where each new task contains entirely unseen classes. However, real-world scenarios often involve Class-Incremental with Repetition (CIR), where a mix of new and previously seen classes is encountered. The core challenge is the "stability-plasticity dilemma": a model must be plastic enough to learn new information but stable enough to avoid "catastrophic forgetting." This work explores using easily accessible, unlabeled external data to bridge this gap without requiring massive memory buffers for rehearsal.
Proposed Method
The framework consists of two main pillars built upon a feature replay baseline that uses local cross-entropy:
Multi-Level Knowledge Distillation (MLKD)
MLKD ensures stability by distilling knowledge from an ensemble of previous models updated via Exponential Moving Average (EMA).
- Feature-Level: Uses an L2 loss to ensure internal representations stay consistent. The weight of this loss increases as the teacher models mature.
- Logit-Level (Correlation-based): Instead of simple instance-wise comparison, the model uses Gram matrices to capture correlations within a batch and across classes. This makes distillation more robust to distribution shifts between labeled and unlabeled data.
Dynamic Self-Supervised Learning (SSL)
To boost plasticity, the model performs an auxiliary rotation prediction task on unlabeled data. To prevent this auxiliary task from distracting the model from its primary classification goal, a Dynamic Weighting scheme is applied. As shown in the system overview, the SSL loss weight decays over time as the task number increases, ensuring the model prioritizes the primary task in later stages of training.
Experimental Results
The method was evaluated on a 130-class subset of ImageNet-1K over a stream of 50 sequential experiences, each containing 500 labeled and 1,000 unlabeled samples.
As summarized in the results table, the proposed approach achieved a final accuracy of 42.00%, securing 2nd place in the CVPR 2024 CLVISION Challenge. Ablation studies confirmed that MLKD provided the most significant performance jump (from 23.82% to 39.82%). Interestingly, simple rotation prediction outperformed more complex contrastive SSL methods like SimCLR or VICReg, likely because the latter require larger batch sizes and longer training times than the challenge constraints allowed.
Conclusion
By combining multi-level distillation with dynamic self-supervision, we effectively leverage unlabeled data to balance stability and plasticity in the CIR scenario. While the method introduces some computational overhead by maintaining multiple previous models, it significantly outperforms standard baselines. Future work will explore making more powerful contrastive SSL techniques lightweight enough for constrained continual learning environments.
Summary updated