NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Self-Supervised Models are Continual Learners

Enrico Fini, Victor G. Turrisi da Costa, Xavier Alameda-Pineda, Elisa Ricci, Karteek Alahari, Julien Mairal

Introduction

Self-supervised learning (SSL) has fundamentally changed computer vision by enabling the extraction of rich representations from vast quantities of unlabeled data. However, most SSL research assumes an "offline" setting where all data is available simultaneously. In contrast, real-world applications often involve streaming data, necessitating Continual Learning (CL). The primary challenge in CL is catastrophic forgetting, where a model loses previously acquired knowledge as it adapts to new data distributions.

While supervised continual learning has seen significant progress, it relies heavily on expensive human-annotated labels. This paper introduces CaSSLe (Continual Self-Supervised Learning), a framework designed to enable models to learn sequentially from unlabeled data streams while maintaining high performance on past tasks.

The CaSSLe Framework

The core philosophy of CaSSLe is to leverage the SSL loss function itself as a mechanism for knowledge distillation. Unlike traditional distillation methods that might use generic metrics like Mean Squared Error (MSE), CaSSLe ensures that the distillation objective is consistent with the original learning objective.

Methodology

The framework operates through a "distillation through time" approach. When the model encounters a new task $t$, a copy of the model from the previous task $t-1$ is frozen. The current model $f^t$ is then trained on the new data $D_t$ using two primary components:

  1. Predictor Network ($g$): To balance stability and plasticity, CaSSLe introduces a small, trainable predictor network (a 2-layer MLP). Instead of forcing the current features to match the old ones exactly—which would hinder the learning of new concepts—the predictor learns to map current representations back to the feature space of the frozen model.
  2. SSL-Loss-as-Distillation: The framework reuses the base SSL loss (e.g., InfoNCE, Cross-entropy, or Cross-correlation) for distillation. The model compares the predicted past representation (from the current model via the predictor) with the actual representation generated by the frozen model.
The CaSSLe framework architecture: A current network learns from new data $D_t$ while a predictor network $g(z)$ maps its features to those of a frozen previous model $f^{t-1}$ using the same SSL loss.

This approach makes CaSSLe highly versatile and "plug-and-play" with various SSL backbones, including SimCLR, MoCo, BYOL, SwAV, Barlow Twins, and VICReg.

Experimental Evaluation

The authors evaluated CaSSLe across several challenging benchmarks:

  • CIFAR100 & ImageNet100: Evaluated in class-incremental settings (learning new categories over 5 tasks).
  • DomainNet: Evaluated in domain-incremental settings, where the model encounters the same classes in different visual styles (e.g., real photos to sketches) across 6 tasks.

Key Insights and Results

The experiments yielded several critical insights into the nature of self-supervised models in continual settings.

Robustness of SSL Representations

A significant finding is that SSL models are inherently more robust to forgetting than their supervised counterparts, even without specific CL interventions. This is attributed to the fact that SSL learns structural, general-purpose features rather than the narrow decision boundaries required for specific classification tasks.

Performance Gains

CaSSLe consistently achieves state-of-the-art performance across all tested SSL methods. On the CIFAR100 benchmark, CaSSLe improved top-1 accuracy by approximately 10% compared to simple sequential fine-tuning. Furthermore, SSL models equipped with CaSSLe often outperformed supervised models trained with established CL techniques like Elastic Weight Consolidation (EWC) or Experience Replay (ER).

Top-1 accuracy across sequential tasks for SimCLR, Barlow Twins, and BYOL. CaSSLe (Ours) consistently maintains higher accuracy and shows better forward transfer compared to baselines like EWC and LUMP.

Forward Transfer and Mappability

Beyond preventing forgetting, CaSSLe facilitates forward transfer, where learning current tasks actually improves the model's ability to handle future data. This is supported by the "Mappability Principle": by requiring that past information remains mappable rather than identical, the model retains the flexibility to evolve its backbone for new tasks while preserving the underlying information content of previous tasks.

Conclusion and Future Directions

CaSSLe demonstrates that self-supervised models are naturally suited for continual learning. By aligning the distillation objective with the SSL loss and utilizing a predictor network, the framework effectively mitigates catastrophic forgetting without requiring labels.

While CaSSLe marks a significant step forward, challenges remain. The current implementation requires explicit task boundaries and introduces a ~30% computational overhead due to the frozen model and predictor. Future research will focus on "boundary-free" online learning and further closing the gap between sequential and offline learning performance.

Summary updated

BibTeX
@inproceedings{fini2021self,
  author = {Enrico Fini and Victor G. Turrisi da Costa and Xavier Alameda-Pineda and Elisa Ricci and Karteek Alahari and Julien Mairal},
  title = {{Self-Supervised Models are Continual Learners}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr52688.2022.00940},
}
Figure