Introduction
Contrastive self-supervised learning (SSL) models, such as SimCLR and MoCo, require massive unlabeled datasets to learn high-quality representations, which incurs significant computational costs. While supervised learning often relies on pruning "easy" examples and keeping "hard" ones (those with high loss or large gradients) to improve efficiency, applying this logic to SSL is challenging. Without labels, defining a "hard" example is non-trivial. Moreover, contrastive loss couples examples together; removing one data point alters the learning objective for the entire batch.
To address this, researchers introduce SAS (Subsets that maximize Augmentation Similarity), a principled method to identify the most representative examples in a dataset. In doing so, they reveal a counter-intuitive truth about data efficiency in SSL: the data points most beneficial for SSL are actually the ones that contribute the least to traditional supervised learning.
Methodology: SAS and Augmentation Similarity
The core idea behind SAS is to select examples that are most "representative" of their underlying latent classes. The selection process involves three main steps:
- Latent Class Estimation: Because SSL operates on unlabeled data, the authors first approximate "latent classes." This can be done using a tiny fraction of labeled data (e.g., 1%), a zero-shot proxy model like CLIP, or simple k-means clustering on initial representations.
- Augmentation Similarity: The method calculates the "expected augmentation distance"—a measure of how similar different augmented versions of an image are to other images within the same latent class.
- Submodular Optimization: To find the optimal subset, the authors frame the task as a "monotone submodular cover problem." They greedily pick examples that exhibit the highest average similarity to the rest of the data in their class. These selected "prototypes" are mathematically proven to ensure better alignment (keeping similar things together) and divergence (keeping different classes apart) in the latent space.
The "Easy" Paradox
A striking finding of this research is that the "best" examples for SSL are the "easiest" ones for supervised learning.
In supervised learning, outliers and edge cases are crucial for defining precise decision boundaries. Conversely, contrastive SSL benefits most from "prototypes"—the most average, central examples. These prototypes act as strong anchors that pull the rest of the class together. By preserving the "center" of a class, the model can more easily push that entire cluster away from other distinct classes.
Experimental Results
The researchers evaluated SAS across standard computer vision benchmarks (CIFAR10, CIFAR100, STL10, and TinyImageNet) using ResNet-18 and ResNet-50 architectures to verify that the benefits hold across different model scales.
- Massive Data Reduction: On CIFAR100, SAS safely discarded 20% of the data. On STL10 and TinyImageNet, it discarded 40% of the data—all without any loss in downstream accuracy.
- Outperforming Randomness: Subsets selected by SAS consistently outperformed randomly selected subsets by over 3% in accuracy across the various datasets.
- Regularization Effect: In certain scenarios (such as using the BYOL method on STL10), training on an 80% SAS subset actually outperformed training on 100% of the data by 2%. This suggests that pruning "noisy" or unrepresentative examples can act as a beneficial regularizer.
Limitations and Future Work
While highly effective, SAS has a few limitations. Its success depends heavily on the accuracy of the initial latent class approximation; in extremely high-dimensional or unstructured data, finding these classes may prove difficult. Additionally, the method requires an initial pass with a proxy model to calculate similarities, introducing some computational overhead.
Future research will need to explore how SAS scales to massive, "in-the-wild" web datasets (like LAION), where the data is significantly noisier and the number of latent classes is vastly larger.
Summary updated