English

Automatic Data Curation for Self-Supervised Learning: A Clustering-Based Approach

Machine Learning 2024-07-01 v2 Artificial Intelligence Computer Vision and Pattern Recognition

Abstract

Self-supervised features are the cornerstone of modern machine learning systems. They are typically pre-trained on data collections whose construction and curation typically require extensive human effort. This manual process has some limitations similar to those encountered in supervised learning, e.g., the crowd-sourced selection of data is costly and time-consuming, preventing scaling the dataset size. In this work, we consider the problem of automatic curation of high-quality datasets for self-supervised pre-training. We posit that such datasets should be large, diverse and balanced, and propose a clustering-based approach for building ones satisfying all these criteria. Our method involves successive and hierarchical applications of kk-means on a large and diverse data repository to obtain clusters that distribute uniformly among data concepts, followed by a hierarchical, balanced sampling step from these clusters. Extensive experiments on three different data domains including web-based images, satellite images and text show that features trained on our automatically curated datasets outperform those trained on uncurated data while being on par or better than ones trained on manually curated data. Code is available at https://github.com/facebookresearch/ssl-data-curation.

Keywords

Cite

@article{arxiv.2405.15613,
  title  = {Automatic Data Curation for Self-Supervised Learning: A Clustering-Based Approach},
  author = {Huy V. Vo and Vasil Khalidov and Timothée Darcet and Théo Moutakanni and Nikita Smetanin and Marc Szafraniec and Hugo Touvron and Camille Couprie and Maxime Oquab and Armand Joulin and Hervé Jégou and Patrick Labatut and Piotr Bojanowski},
  journal= {arXiv preprint arXiv:2405.15613},
  year   = {2024}
}
R2 v1 2026-06-28T16:39:03.479Z