Self-Supervised Continual Learning

Kartik Thakral, Surbhi Mittal, Utkarsh Uppal, Bharat Giddwani, Mayank Vatsa, Richa SinghOpenReview 2023 · Submission to Tiny Papers @ ICLR

This paper, presented as a "Tiny Paper" at ICLR 2023, introduces a clever way to help neural networks learn new tasks without forgetting old ones—a challenge known as "catastrophic forgetting." By combining self-supervised pre-training with a novel label-shuffling trick, the authors achieve state-of-the-art results in class-incremental learning without needing to store a "memory" of old data.

TL;DR

The authors propose Self-Supervised Continual Learning (SCL), a framework that uses a novel "Random Label Augmentation" (RLA) pretext task to extract diverse features from data. By combining this with a task-specific regularizer and orthogonal weight modifications, the model learns new classes effectively while minimizing the loss of previously acquired knowledge.

What Problem Does This Paper Address?

In Class Incremental Learning (CIL), a model is trained on a sequence of tasks (e.g., first learning to identify dogs, then birds, then cats). The "catastrophic forgetting" problem occurs because the model tends to optimize only for the current task.

If a model learns to distinguish dogs from birds based only on "leg count," it might fail when it later encounters a cat. Because the model doesn't have access to the old "dog" and "bird" data anymore (unless it uses a memory-heavy "replay" buffer), it loses the nuanced features needed for joint classification. The authors aim to solve this by forcing the model to learn a richer, more diverse set of features from the start, even when data is limited.

Methods

The SCL framework consists of two main stages for every new task:

SCL Framework Pipeline
  1. Self-Supervised Pre-Training with RLA: Standard self-supervised learning often involves augmenting images (like rotating them), which is computationally expensive. Instead, the authors introduce Random Label Augmentation (RLA). They assign random "makeshift" labels to the images and train the model to predict them across multiple "tasks" simultaneously. This forces the model to mine the images for a wide variety of features that might be useful later, rather than just the easiest features for the current classification task.
  2. Downstream Training with Regularization: Once the model has these "rich" features, it is trained on the actual classification task. To prevent the weights from shifting too drastically and erasing old knowledge, they use:
  3. Orthogonal Weight Modifications (OWM): A backbone that ensures new updates don't interfere with the directions in weight space used by previous tasks.
  4. Incremental Task-Regularizer: A mathematical penalty that keeps the new weights close to the previous task's weights while encouraging "sparsity" (efficient use of parameters).

Key Insights and Ideas

  • Labels over Pixels: The most innovative idea is RLA. By augmenting the targets (labels) rather than the inputs (images), the authors achieve the benefits of self-supervised learning (diverse feature extraction) at a fraction of the computational cost of methods like rotation-based pretext tasks.
  • Feature Diversity as a Defense: The paper argues that forgetting happens because models are too "lazy"—they only learn the bare minimum to solve the current task. By forcing the model to solve "fake" random label tasks first, it builds a more robust library of features that are more likely to be useful for future, unseen classes.
  • No Memory Needed: Unlike many popular CIL methods (like iCaRL), SCL does not require storing a "buffer" of old images, making it much more privacy-friendly and memory-efficient.

Datasets and Key Results

The researchers evaluated their approach on three standard benchmarks for continual learning: split-CIFAR10, split-CIFAR100, and split-SVHN.

Performance Comparison Table

SCL consistently outperformed existing regularization-based methods:

  • CIFAR-10: Achieved 59.02% average accuracy across 5 tasks, significantly beating the OWM baseline (55.71%).
  • SVHN: Achieved 74.94% accuracy, the highest among compared methods.
  • Efficiency: The RLA pretext task proved more effective than traditional self-supervised tasks like image rotation or colorization, while being faster to train.

Limitations and Future Work

  • Architecture Scale: As a Tiny Paper, the experiments were conducted on a relatively small 3-layer CNN. It remains to be seen how well RLA scales to massive architectures like Transformers or ResNet-50.
  • Hyperparameter Sensitivity: The method relies on two hyperparameters to balance forgetting and new learning. Finding the "sweet spot" for these might require significant tuning for different types of data.
  • Complexity of RLA: While computationally efficient, the theoretical reason why predicting random labels leads to better feature representations in a CIL setting could be explored more deeply in future research.

Summary updated

BibTeX
@misc{thakral2023self,
  author = {Kartik Thakral and Surbhi Mittal and Utkarsh Uppal and Bharat Giddwani and Mayank Vatsa and Richa Singh},
  title = {{Self-Supervised Continual Learning}},
  year = {2023},
  url = {https://openreview.net/forum?id=udl9OobOxZu},
  howpublished = {OpenReview},
  note = {Submitted to Tiny Papers @ ICLR},
}
Figure