Rethinking Self-Supervised Learning: Small is Beautiful

Yun-Hao Cao, Jianxin Wu

Abstract

Self-supervised learning (SSL), in particular contrastive learning, has made great progress in recent years. However, a common theme in these methods is that they inherit the learning paradigm from the supervised deep learning scenario. Current SSL methods are often pretrained for many epochs on large-scale datasets using high resolution images, which brings heavy computational cost and lacks flexibility. In this paper, we demonstrate that the learning paradigm for SSL should be different from supervised learning and the information encoded by the contrastive loss is expected to be much less than that encoded in the labels in supervised learning via the cross entropy loss. Hence, we propose scaled-down self-supervised learning (S3L), which include 3 parts: small resolution, small architecture and small data. On a diverse set of datasets, SSL methods and backbone architectures, S3L achieves higher accuracy consistently with much less training cost when compared to previous SSL learning paradigm. Furthermore, we show that even without a large pretraining dataset, S3L can achieve impressive results on small data alone.

Introduction

In recent years, Self-Supervised Learning (SSL) has exploded in popularity, allowing models to learn from unlabeled data using contrastive losses like InfoNCE. However, the field has largely inherited its training "recipe" from supervised learning: using high-resolution images (224x224), massive datasets (ImageNet), complex backbones (ResNet-50), and extremely long training runs (800+ epochs).

This paper challenges the "bigger is better" dogma, arguing that this paradigm creates a "compute privilege" and ignores the fundamental differences between SSL and supervised learning. The authors hypothesize that the information encoded by contrastive loss is "thinner" than human-provided labels. In SSL, high-resolution details can act as noise, and complex architectures can easily overfit when data is scarce.

The S3L Framework

The authors propose S3L (Scaled-down Self-Supervised Learning), which rethinks SSL across three dimensions:

  1. Small Resolution: Instead of the standard 224x224, models are pretrained on 112x112 or even 56x56 resolutions.
  2. Small Architecture: SSL often fails to learn deep layers effectively on small datasets. S3L proposes training only the shallower parts of the backbone (e.g., excluding the conv5 block in ResNet) during the SSL phase and re-introducing the full network during fine-tuning.
  3. Small Data: Rather than requiring a massive external dataset like ImageNet, S3L shows that performing SSL directly on the target "small" dataset (e.g., CUB200, Stanford Cars) can be more effective.

Key Insights: The Resolution Paradox

In supervised learning, higher resolution almost always improves performance. In SSL, the opposite is often true. Lower resolutions (56 or 112) make the "pretext task" of matching different views of the same image easier to learn and less prone to being distracted by fine-grained noise.

Performance across datasets for ResNet-18 and ResNet-50

As illustrated in the figure above, pre-training at 112 resolution consistently outperforms the standard 224 resolution across a variety of fine-grained datasets for both ResNet-18 and ResNet-50 architectures.

Furthermore, using Grad-CAM, the authors found that models trained on smaller resolutions produce better localized feature maps, focusing more accurately on the object of interest rather than the background. Contrastive loss provides a weaker signal than cross-entropy labels; consequently, deep models like ResNet-50 are often "too big" for the signal available in small-data SSL, leading to poor representation learning in the final layers.

Empirical Results

The S3L approach yields significant improvements in both accuracy and efficiency. On the CUB200 dataset, SimCLR trained at 56x56 resolution achieved 71.0% accuracy (ResNet-18), compared to 67.3% at the standard 224x224 resolution. This was achieved with a 58.8% reduction in training time.

Accuracy vs. Training Time on CUB200

The scatter plot above highlights the efficiency of S3L. Models using smaller resolutions (represented by triangles and stars) occupy the upper-left region of the graph, indicating higher accuracy achieved in significantly fewer training hours compared to the high-resolution baselines (circles).

Other notable results include:

  • Architecture Pruning: For ResNet-50 on CUB200, removing the conv5 block during SSL pretraining improved final accuracy by 17.3% relative to the baseline.
  • Small Data Power: A MoCov2 model trained on just 10,000 ImageNet images (less than 1%) at 112x112 resolution outperformed a supervised model on downstream object detection tasks.

Conclusion

S3L demonstrates that "small is beautiful" in the context of self-supervised learning. By scaling down resolution, architecture, and data, researchers can achieve state-of-the-art results on specialized datasets using a single GPU in a few hours. While textures (like the DTD dataset) remain a challenge due to their self-similarity, S3L provides a more accessible and effective path for representation learning in data-constrained environments.

Summary updated

BibTeX
@misc{cao2021rethinking,
  author = {Yun-Hao Cao and Jianxin Wu},
  title = {{Rethinking Self-Supervised Learning: Small is Beautiful}},
  year = {2021},
  eprint = {2103.13559},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.13559},
}
Figure