Introduction
Deep learning's rapid advancement is heavily dependent on massive datasets. However, the primary bottleneck in scaling these models is not the availability of raw data, but the high cost and slow pace of human annotation. Coreset selection—the process of identifying a small, representative subset of data that maintains the performance of the full dataset—offers a solution.
Traditionally, coreset selection has been a supervised task, requiring labels to determine which samples are most informative. This creates a "catch-22": labels are needed to decide which data is worth labeling. This paper introduces a novel method to break this cycle by leveraging the internal mechanics of contrastive learning to perform unsupervised coreset selection.
Methodology: Contrastive Learning as a Selection Tool
The researchers bridge the gap between Self-Supervised Learning (SSL) and data selection by utilizing popular contrastive frameworks like SimCLR and MoCo. The core idea is to use the model's own difficulty in recognizing an image as a proxy for that image's informativeness.
The Contrastive Task and Metric
In a standard contrastive learning setup, the model receives an image and creates two augmented versions (e.g., via cropping or color jittering). The goal is to map these two views to similar points in a latent space. The researchers focus on the cosine similarity ($cossim$) between these two views during training:
- High Similarity: The model easily recognizes that both views belong to the same object, suggesting the sample is "easy" or redundant.
- Low Similarity: The model struggles to match the views, indicating a "hard" example that contains unique or complex information.
Coreset Scoring and Selection
Rather than taking a single snapshot, the method accumulates these similarity values over many training epochs. Images are then ranked by their negative accumulated cosine similarity scores. The samples with the lowest similarity (the highest "difficulty") are selected to form the coreset.
Key Insights
Difficulty Equals Informativeness
The paper demonstrates that in the unsupervised domain, low cosine similarity serves as a reliable signal for importance, much like "forgetting events" do in supervised learning. The authors use a "T-shirt intuition": a plain T-shirt is easy to recognize from any small crop, but a T-shirt with a complex pattern requires more information to identify, making it a better candidate for a representative subset.
Model Agnosticism
A critical finding is that coreset selection is model-agnostic. A lightweight model (like ResNet18) can be used to identify the coreset, which can then be used to train a much larger architecture (like ResNet101) without significant performance loss. This significantly reduces the computational overhead of the selection process.
Experimental Results
The method was evaluated on CIFAR10, SVHN, and QMNIST benchmarks with impressive results:
- Outperforming Random Selection: At a 30% subset size, the method improved accuracy over random selection by 1.25% for CIFAR10 and 0.82% for SVHN.
- Closing the Supervised Gap: Despite using no labels, the method performed nearly as well as top-tier supervised methods. On SVHN, it actually outperformed the supervised "forgetting events" method by 2.08%.
- Capturing the Essence: In a cross-test, a model trained on a 30% coreset achieved 94.27% accuracy on the remaining 70% of the data, confirming that the coreset truly captures the essential features of the entire dataset.
Limitations and Future Work
While effective, the method tends to favor "complex" classes (e.g., birds and planes over ships), which can lead to class imbalance in the coreset. Future research may focus on developing dedicated metrics optimized specifically for unsupervised selection rather than relying on loss-function proxies like cosine similarity. Additionally, the researchers suggest extending this logic to salient region detection in high-resolution imagery.
Summary updated