NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Self-Supervised Learning for Large-Scale Unsupervised Image Clustering

Evgenii Zheltonozhskii, Chaim Baskin, Alex M. Bronstein, Avi MendelsonOpenReview 2020

TL;DR

This paper proposes a straightforward method to evaluate self-supervised learning (SSL) models by using their learned representations for unsupervised image clustering. They demonstrate that this approach can achieve competitive results on ImageNet, suggesting it as a valuable addition to standard SSL evaluation benchmarks.

What Problem Does This Paper Address?

Deep learning models excel at tasks like image classification, but their success hinges on massive amounts of labeled data. Acquiring these labels is expensive and time-consuming. Unsupervised learning, particularly self-supervised learning (SSL), offers a way to train models without labels by having them learn from the data's inherent structure. While SSL has shown great promise for learning powerful image representations, evaluating these representations in a truly unsupervised manner has been challenging. Existing methods often rely on fine-tuning the model for a downstream task (like classification) using a small fraction of labels, or training a linear classifier on top of the learned features. This paper argues that these evaluation methods don't fully capture the unsupervised potential of SSL representations and proposes a direct unsupervised clustering evaluation.

Methods

The core of the paper's contribution lies in its evaluation methodology. They take pre-trained self-supervised models and extract their feature representations. These features are then fed into a standard k-means clustering algorithm. To handle the high dimensionality of these features, they first apply Principal Component Analysis (PCA) for dimensionality reduction. The k-means algorithm is then trained on these reduced-dimension features. They also explore "overclustering," where the number of clusters is intentionally set higher than the number of known classes, a technique that has shown promise in prior work.

Datasets

  • ImageNet: Used for training and evaluating the self-supervised models and for the primary clustering experiments.
  • ObjectNet: A dataset designed to test model robustness in real-world conditions, used to evaluate the generalization capabilities of the learned representations.

Key Insights and Ideas

  • Unsupervised Clustering as a Direct SSL Evaluation: The paper advocates for using unsupervised clustering directly on SSL features as a more direct and informative evaluation metric than traditional fine-tuning or linear probing.
  • SSL Features are Surprisingly Good for Clustering: Even simple k-means on PCA-reduced features from SSL models can achieve surprisingly competitive results on a large-scale dataset like ImageNet, highlighting the quality of the learned representations.
  • Overclustering Can Improve Results: Increasing the number of clusters beyond the ground truth number of classes can lead to better clustering performance (measured by metrics like ARI), suggesting that SSL representations capture finer-grained distinctions.
  • ObjectNet Reveals Generalization Challenges: While SSL models perform well on ImageNet, their performance on the more challenging ObjectNet dataset is significantly weaker, indicating that current SSL methods may not fully generalize to out-of-distribution scenarios.

Key Results

  • The proposed unsupervised clustering approach achieved up to 39% accuracy on ImageNet with 1000 clusters and 46% accuracy with overclustering, using features from self-supervised models. These results are competitive with specialized unsupervised clustering methods.
  • For ObjectNet, performance was generally poor, with only BigBiGAN showing significantly better-than-random results. This highlights the difficulty of achieving robust generalization across different datasets.
  • The paper found a strong correlation between linear evaluation accuracy and k-means accuracy on ImageNet, with some notable exceptions.

Limitations and Future Work

  • Dimensionality Reduction: The paper acknowledges that the choice of PCA for dimensionality reduction might not be optimal and could potentially harm results if too many dimensions are kept. The question of whether higher-dimensional feature spaces inherently lead to poorer clustering performance remains open.
  • ObjectNet Generalization: The significant drop in performance on ObjectNet, even for supervised models, points to a broader challenge in achieving robust generalization. The authors are interested in understanding why BigBiGAN performs well on ObjectNet while others struggle.
  • Improving the Approach: Future work could explore better dimensionality reduction techniques, investigate how to integrate clustering objectives directly into the self-supervised training process, and study the effect of data augmentation specifically for the clustering phase.

Summary updated

BibTeX
@misc{zheltonozhskii2020self,
  author = {Evgenii Zheltonozhskii and Chaim Baskin and Alex M. Bronstein and Avi Mendelson},
  title = {{Self-Supervised Learning for Large-Scale Unsupervised Image Clustering}},
  year = {2020},
  eprint = {2008.10312},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2008.10312},
}
Figure