Abstract
Contrastive self-supervised learning (SSL) has shown remarkable success on ImageNet, but its generalizability to diverse, non-curated datasets remains under-explored. This paper investigates the efficacy of SSL across four large-scale datasets, analyzing performance along the axes of dataset size, domain specificity, image quality, and task granularity. We find that SSL is not a universal solution; it struggles with fine-grained classification, exhibits high sensitivity to image resolution, and benefits significantly from in-domain pretraining. Furthermore, we identify a saturation point where additional unlabeled data provides diminishing returns.
Introduction
Self-supervised learning (SSL) has emerged as a dominant paradigm in computer vision, with frameworks like SimCLR and MoCo nearly matching supervised performance on ImageNet. This success has led to a widespread assumption that SSL has "solved" the problem of learning robust representations without labels. However, ImageNet is a highly curated, object-centric dataset that may not reflect the complexities of real-world data.
This study addresses this gap by stress-testing contrastive learning across diverse visual domains, including fine-grained natural world images, scene recognition, and satellite imagery. The goal is to determine how SSL scales with data quantity, how it transfers across domains, and its robustness to variations in image quality and task specificity.
Methodology
The researchers conducted a comprehensive "like-for-like" comparison using SimCLR with a ResNet-50 backbone, validated by MoCo and BYOL. The study evaluated representations through linear evaluation (frozen backbone) and fine-tuning on four major datasets:
- ImageNet-1k: The standard object-centric benchmark.
- iNat21: Fine-grained species classification (2.7M images).
- Places365: Scene recognition (1.8M images).
- GLC20: Remote sensing/satellite imagery (1M images).
The analysis focused on four critical dimensions: dataset size, domain shift, image quality (corruption), and task granularity.
Key Insights and Results
The 500k Saturation Point
A significant finding is that the benefits of increasing unlabeled data for SSL diminish rapidly. For most datasets, performance gains plateau after approximately 500,000 images. Doubling the pretraining data from 500k to 1M images typically yielded only a 1-2% improvement in accuracy, suggesting that current contrastive objectives may not effectively leverage massive-scale unlabeled data.
The Granularity Gap
Contrastive learning exhibits a "coarse-grained bias." While it excels at distinguishing broad categories (e.g., dog vs. car), it struggles with fine-grained distinctions (e.g., specific bird species). As shown in the results for iNat21, the performance gap between supervised learning and SSL widens significantly as the task becomes more specialized. In high-data regimes for fine-grained tasks, supervised models outperformed SSL by nearly 30%.
Domain Specificity and Resolution Fragility
The study confirms that "domain is destiny." In-domain pretraining consistently outperformed cross-domain transfer. For instance, pretraining on iNat21 provided a 12% boost over ImageNet-pretrained models when evaluated on natural world tasks. Furthermore, SSL was found to be highly sensitive to image resolution; downsampling images by 2x led to a ~15% drop in SimCLR accuracy, whereas supervised models remained relatively robust. This suggests that SSL relies heavily on high-frequency textures that are easily lost in low-resolution or compressed data.
Discussion and Conclusion
The findings suggest that contrastive SSL is not yet a "plug-and-play" replacement for supervised learning in specialized domains. The "coarse bias" of standard contrastive losses limits their utility for fine-grained recognition. Future research should focus on developing SSL objectives that encourage models to attend to subtle, discriminative features rather than just global shapes. For practitioners, the results emphasize the importance of in-domain data and the potential limitations of relying solely on ImageNet-pretrained models for non-object-centric tasks.
Summary updated