Regularizing with Pseudo-Negatives for Continual Self-Supervised Learning

Sungmin Cha, Taesup Moon, Moon, Taesup · DOI

Abstract

We introduce a novel Pseudo-Negative Regularization (PNR) framework for effective continual self-supervised learning (CSSL). Our PNR leverages pseudo-negatives obtained through model-based augmentation in a way that newly learned representations may not contradict what has been learned in the past. Specifically, for the InfoNCE-based contrastive learning methods, we define symmetric pseudo-negatives obtained from current and previous models and use them in both main and regularization loss terms. Furthermore, we extend this idea to non-contrastive learning methods which do not inherently rely on negatives. For these methods, a pseudo-negative is defined as the output from the previous model for a differently augmented version of the anchor sample and is asymmetrically applied to the regularization term. Extensive experimental results demonstrate that our PNR framework achieves state-of-the-art performance in representation learning during CSSL by effectively balancing the trade-off between plasticity and stability.

Introduction

Self-Supervised Learning (SSL) has revolutionized representation learning but remains computationally intensive. Continual Self-Supervised Learning (CSSL) addresses this by enabling models to learn from sequential data streams. However, CSSL is plagued by the stability-plasticity dilemma: models must retain past knowledge (stability) while remaining flexible enough to acquire new features (plasticity). Current methods like CaSSLe rely on knowledge distillation, which often prioritizes stability at the cost of plasticity, leading to suboptimal feature discovery in new tasks.

The PNR Framework

We propose Pseudo-Negative Regularization (PNR), a framework that introduces "pseudo-negatives" to balance this trade-off. A pseudo-negative is defined as a feature generated by the previous task's model from a different augmentation of the same anchor image.

The PNR framework overview showing how pseudo-negatives are generated and used in the loss functions.

In contrastive learning (e.g., SimCLR, MoCo), these pseudo-negatives are added to the set of samples to be pushed apart, preventing the current model from redundantly re-learning representations already captured by its predecessor. In non-contrastive learning (e.g., BYOL, VICReg), PNR introduces a regularization term that maximizes the distance between the current prediction and the previous model's pseudo-negative. This encourages the model to explore novel regions of the representation space.

Experimental Results

PNR was evaluated across diverse benchmarks including CIFAR-100, ImageNet-100, and DomainNet. It consistently outperformed the state-of-the-art CaSSLe method across various SSL backbones.

Comparison of average accuracy ($A_t$) over tasks ($t$) for various SSL methods combined with CaSSLe vs. PNR.

As shown in the results, PNR (solid lines) consistently maintains higher accuracy compared to CaSSLe (dashed lines) as the number of tasks increases. On ImageNet-100, PNR achieved top-1 accuracy gains of 2% to 6% over CaSSLe. Notably, PNR demonstrates superior stability in class-incremental scenarios, where performance on initial tasks remains robust even as new tasks are learned.

Conclusion

PNR provides a simple yet effective "plug-and-play" module for CSSL. By treating the model's "past self" as a negative reference point, it successfully navigates the stability-plasticity trade-off, achieving state-of-the-art performance across multiple architectures and datasets. Future work will explore its application to Vision Transformers and other modalities like NLP.

Summary updated

BibTeX
@inproceedings{cha2024regularizing,
  author = {Sungmin Cha and Taesup Moon and Moon, Taesup},
  title = {{Regularizing with Pseudo-Negatives for Continual Self-Supervised Learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=9jXS07TIBH},
}
Figure