Beyond Supervised vs. Unsupervised: Representative Benchmarking and Analysis of Image Representation Learning

Matthew Gwilliam, Abhinav Shrivastava

The field of Self-Supervised Learning (SSL) has seen a proliferation of methods—such as MoCo, SwAV, and Barlow Twins—that achieve remarkably similar performance on standard ImageNet linear probe benchmarks. This convergence has led to a common practice of treating individual algorithms as interchangeable proxies for "unsupervised learning." However, research by Gwilliam and Shrivastava demonstrates that these methods are far from identical, learning fundamentally different features that manifest in varied performance across diverse tasks.

Benchmarking Beyond ImageNet

While ImageNet accuracy is the standard yardstick, it often masks the nuances of learned representations. The authors evaluated several state-of-the-art SSL methods across six Fine-Grained Visual Categorization (FGVC) datasets (e.g., Aircraft, Cars, Birds) and multiple evaluation protocols, including $k$-nearest neighbor ($k$-NN) and $k$-means clustering.

Figure 2: Performance comparison across different evaluation protocols and datasets. Note how the relative ranking of methods changes between ImageNet and Aircraft tasks, as well as between linear and clustering evaluations.

The results reveal a "No Free Lunch" scenario: no single unsupervised method dominates all benchmarks. For instance, a method excelling on "Cars" might lag on "Flowers." Notably, supervised models still maintain a significant lead in structural grouping tasks like $k$-means clustering, where they achieve ~59% accuracy compared to the ~30-38% range of SSL methods.

Analyzing Representation Divergence

To understand why these methods differ, the authors employed Linear Centered Kernel Alignment (CKA) and novel overlap metrics. They found that while supervised and unsupervised models share similar representations in early layers, they diverge significantly in the final layers due to their specific loss functions (e.g., clustering vs. contrastive objectives).

Furthermore, the analysis of "Linear Prediction Overlap" indicates that different models often succeed or fail on different sets of images. This suggests that each algorithm captures a unique "perspective" of the data, making them potentially complementary rather than redundant.

Figure 6: Prediction overlap heatmap showing the degree to which different models (Supervised, Barlow Twins, DeepCluster, etc.) make identical class predictions. The lack of perfect overlap highlights the complementary nature of these representations.

The Role of Augmentation Invariance

A key insight involves the impact of data augmentation. SSL methods typically rely on heavy augmentations (like color jitter) to learn invariant features. While this aids general object recognition on ImageNet, it can be detrimental for fine-grained tasks where color or texture are critical discriminators (e.g., NABirds). The study confirms that SSL models are significantly more invariant to training augmentations than their supervised counterparts, explaining their performance gaps on specific downstream tasks.

Conclusion

The findings suggest that the research community should move beyond binary "Supervised vs. Unsupervised" comparisons. Instead of searching for a single "winner," future work should focus on developing methods that selectively leverage specific invariances or combine the complementary strengths of diverse SSL algorithms through distillation or ensembling.

Summary updated

BibTeX
@inproceedings{gwilliam2022beyond,
  author = {Matthew Gwilliam and Abhinav Shrivastava},
  title = {{Beyond Supervised vs. Unsupervised: Representative Benchmarking and Analysis of Image Representation Learning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
}
Figure