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

Label-free Monitoring of Self-Supervised Learning Progress

Isaac Xu, Scott C. Lowe, Thomas Trappenberg

TL;DR

This paper introduces novel, label-free metrics to monitor the progress of self-supervised learning (SSL) models without requiring annotated data. By analyzing clustering properties and embedding entropy, they offer a way to assess model quality, especially when labeled datasets are scarce, though their effectiveness varies across different SSL methods.

What Problem Does This Paper Address?

Self-supervised learning (SSL) has become a powerful paradigm for learning rich feature representations from vast amounts of unlabeled data. These learned representations, often captured in an "embedding space," are crucial for downstream tasks like image classification. However, evaluating the quality of these SSL models and monitoring their training progress has traditionally relied on supervised methods, specifically "linear probing" (LP). This involves training a simple linear classifier on top of the learned embeddings using labeled data. The major challenge arises when applying SSL to new domains where obtaining large labeled datasets is prohibitively expensive or impossible. This paper addresses this gap by proposing and evaluating label-free metrics that can assess SSL model quality and training progress using only unlabeled embeddings.

Methods

The authors propose three main label-free metrics:

  • K-means Clustering Quality: They apply k-means clustering to the learned embeddings and evaluate the resulting clusters using:
  • Silhouette Score: Measures how similar a sample is to its own cluster compared to other clusters.
  • Clustering Agreement (AMI): Measures the similarity between two independent k-means clustering runs on the same embeddings. This helps assess the consistency of the clustering.
  • Embedding Entropy: They measure the entropy of the distribution of embeddings. The hypothesis is that as a model learns, embeddings for similar data points should become more concentrated, leading to lower entropy.

These label-free metrics are then compared against the standard supervised metric, Linear Probe (LP) accuracy, to gauge their effectiveness. They also evaluate the metrics on pre-trained models from different architectures to assess their cross-architecture applicability.

Datasets

  • Training: CIFAR-10 and CIFAR-100 datasets were used for training the SSL models (SimSiam, SimCLR, MoCo-v2).
  • Evaluation: The test partitions of CIFAR-10 and CIFAR-100 were used for evaluation.
  • Pre-trained Models: Models pre-trained on ImageNet were used to evaluate the label-free metrics on different architectures (ResNet, EfficientNet, DenseNet).

Key Insights and Ideas

  • Clustering as a Proxy for Quality: The core idea is that as an SSL model learns meaningful representations, embeddings of similar data points should naturally group together, making them amenable to clustering. The quality of these learned clusters should correlate with downstream task performance.
  • Varying Success Across SSL Methods: A critical finding is that the effectiveness of label-free metrics is not uniform across different SSL techniques. While clustering metrics showed good correlation with LP accuracy for SimCLR and MoCo-v2, they were less reliable for SimSiam.
  • Entropy's Nuances: Entropy shows promise as a label-free metric, generally decreasing as learning progresses. However, its correlation with LP accuracy can be unstable, especially in early training stages or with methods like SimSiam, where entropy unexpectedly increases. This suggests entropy might be sensitive to training dynamics and model architecture.
  • Architecture Dependence: Clustering-based metrics appear to be more suitable for comparing models of the same architecture. Entropy, on the other hand, shows some potential for being architecture-independent, a valuable trait for comparing diverse models.

Key Results

  • AMI(C1, CGT) Correlation: The Adjusted Mutual Information (AMI) between k-means clusters (C1) and ground truth labels (CGT) showed a strong correlation with LP accuracy across various SSL methods and datasets. This metric was the most consistent label-free indicator of model quality.
  • Silhouette Score (S1) Variability: The silhouette score (S1) showed weaker and inconsistent correlations with LP accuracy, particularly for MoCo-v2 and certain pre-trained architectures.
  • Entropy Trends: For SimCLR and MoCo-v2, entropy generally decreased with training, correlating positively with LP accuracy. However, SimSiam exhibited an increasing entropy trend, which the authors hypothesize might be due to dimensional collapse.
  • Pre-trained Models: When evaluating pre-trained models, AMI(C1, CGT) remained a strong indicator of quality within the same architecture family. Entropy also showed some promise for cross-architecture comparison, particularly on CIFAR-100.

Limitations and Future Work

  • SimSiam Anomaly: The inconsistent performance of label-free metrics with SimSiam, especially the unexpected increase in entropy, requires further investigation. The authors suggest exploring dimensional collapse as a potential cause.
  • Architecture Dependence of Clustering: Clustering-based metrics are noted to be primarily useful for comparing models of the same architecture. Future work could explore ways to make these metrics more robust to architectural differences.
  • Early Training Instability: The reliability of entropy as a metric is affected by instability in early training stages. Further research is needed to understand and mitigate this.
  • Broader Applicability: The authors call for more research to understand why these metrics work well with certain SSL methodologies and to test them on a wider range of SSL methods and datasets.
  • Outlier Detection: The presence of outlier embeddings in early training stages for SimCLR and MoCo-v2 warrants further study to understand their cause and impact.

Summary updated

BibTeX
@inproceedings{xu2022label,
  author = {Isaac Xu and Scott C. Lowe and Thomas Trappenberg},
  title = {{Label-free Monitoring of Self-Supervised Learning Progress}},
  booktitle = {CCECE},
  year = {2022},
  url = {https://openreview.net/forum?id=UiMqT6kfFq},
}
Figure