Introduction
Self-supervised learning (SSL) has achieved remarkable success, often rivaling supervised methods on standard benchmarks. However, a significant "curation gap" exists: these models perform substantially worse when trained on raw, uncurated datasets compared to highly polished ones like ImageNet. This paper introduces Divide and Contrast (DnC), a framework designed to bridge this gap by leveraging the inherent structure of uncurated data through clustering and expert distillation.
The Curation Gap in SSL
Most SSL breakthroughs rely on curated datasets that are balanced and feature centered objects. In contrast, real-world data is often heavy-tailed and extremely diverse. On uncurated datasets like YFCC100M, state-of-the-art models like BYOL see performance drops of up to 9% on downstream tasks. The authors hypothesize that in massive, diverse datasets, random negative samples are often too dissimilar from the anchor, leading the model to learn only coarse features rather than the fine-grained details necessary for robust visual representations.
The DnC Framework
To address these challenges, the DnC framework employs a multi-stage pipeline that recovers "local consistency" within large-scale uncurated data.
- Base Model Training: A standard SSL model is trained on the full uncurated dataset. The authors utilize MoCLR, a hybrid baseline combining momentum encoders with contrastive loss, which proves more effective for uncurated data.
- Divide (Clustering): The base model extracts features used for $k$-means clustering, grouping images into semantically coherent subsets (e.g., specific animal types or landscape categories).
- Contrast (Expert Training): Separate "expert" models are trained on these clusters. By contrasting similar images within a cluster, the learning task becomes more challenging, forcing the experts to capture nuanced, fine-grained features.
- Distillation: The knowledge from the base model and all experts is distilled into a single student model using a regression loss on the projected features.
Experimental Results
The DnC framework was evaluated on several large-scale datasets, including YFCC100M and Google's internal JFT-300M.
On YFCC100M, DnC achieved 68.5% Top-1 accuracy on ImageNet linear classification, outperforming BYOL (67.0%). The performance gap widened on the larger JFT-300M dataset, where DnC reached 70.7%, nearly 3% higher than BYOL. Furthermore, DnC showed superior transferability across 12 downstream tasks, including object detection and depth estimation. Notably, in COCO object detection, DnC-trained models surpassed ImageNet-supervised pre-training, suggesting that learning from uncurated data can yield more generalizable features.
Conclusion
Divide and Contrast demonstrates that the "curation gap" in self-supervised learning can be mitigated by explicitly modeling the local structure of uncurated data. By partitioning diverse datasets into semantically related clusters and training specialized experts, DnC enables the learning of high-quality representations that scale effectively with data volume. Future work may explore more complex hierarchical clustering or end-to-end implementations to further streamline the process.
Summary updated