Self-Supervised Class Incremental Learning

Zixuan Ni, Siliang Tang, Yueting ZhuangarXiv 2021

Introduction

In the evolving landscape of artificial intelligence, the ability to learn continuously from a stream of data is paramount. Class Incremental Learning (CIL) aims to update models with new classes without retraining from scratch. However, traditional supervised approaches suffer from "catastrophic forgetting," where learning new information leads to the abrupt loss of previously acquired knowledge. This paper introduces Self-Supervised Class Incremental Learning (SSCIL), a paradigm shift that leverages label-free representations to mitigate this issue.

The Problem: Supervised Warping

The authors argue that the root cause of catastrophic forgetting is the supervised classifier itself. Functions like SoftMax aggressively warp the representation space to maximize class separation. When new classes are introduced, this space is reshaped so drastically that features of older classes become unrecognizable. By discarding labels and classifiers during the incremental process, SSCIL focuses on learning robust, label-agnostic representations that remain stable over time.

Methodology: The SSCIL Framework

SSCIL utilizes SimCLR, a self-supervised contrastive learning method, to learn representations. The framework consists of:

  1. Encoder ($f$): A ResNet-50 backbone for feature extraction.
  2. Projector ($g$): A multi-layer perceptron (MLP) that maps features into a high-dimensional space for contrastive loss.
  3. Contrastive Loss: The model pulls "positive pairs" (augmented views of the same image) together while pushing "negative pairs" apart.

To evaluate these label-free models, the authors propose the Linear Evaluation Protocol (LEP), which trains a linear classifier on seen classes post-training, and the Generalization Evaluation Protocol (GEP), which tests the model's "universal" feature quality on the entire dataset, including unseen classes.

Key Insights: Stability and Augmentation

A critical discovery is the "Projector as a Buffer" effect. The projector absorbs volatile parameter updates during incremental phases, shielding the encoder and allowing its representation space to remain stable and linearly separable.

Furthermore, the study highlights the necessity of specific data augmentations. Including a Grayscale operation is vital for filtering "system noise"—color biases introduced in different training phases. This forces the model to prioritize shape and texture, which are more consistent across the incremental stream.

Ablation study showing the impact of different data augmentations on Top-1 accuracy and the performance gap relative to joint learning.

Experimental Results

SSCIL was benchmarked on ImageNet-100 and the full ImageNet dataset using three incremental schemes: Random, Semantic (grouped by meaning), and Cluster (grouped by visual similarity).

Top-1 Accuracy comparison across ImageNet-100 and ImageNet benchmarks under various incremental schemes.

SSCIL consistently outperformed supervised baselines like iCaRL. For instance, on 5-phase ImageNet-100, SSCIL achieved 71.2% top-1 accuracy, significantly higher than iCaRL's ~58%. Notably, SSCIL maintained stability even when semantically similar classes were grouped together, a scenario where supervised methods typically fail. Under the GEP metric, SSCIL’s ability to generalize actually increased as it saw more data, rising from 60% to 70% on ImageNet-100.

Conclusion and Future Work

While SSCIL represents a significant leap forward, a "Joint Learning Gap" of 10-15% remains compared to offline training. Future research will focus on closing this gap and reducing the higher computational cost associated with self-supervised training epochs, which currently require significantly more cycles than supervised counterparts.

Summary updated

BibTeX
@misc{ni2021self,
  author = {Zixuan Ni and Siliang Tang and Yueting Zhuang},
  title = {{Self-Supervised Class Incremental Learning}},
  year = {2021},
  eprint = {2111.11208},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2111.11208},
}
Figure