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

Huy V. Vo, Vasil Khalidov, Timothée Darcet, Théo Moutakanni, Nikita Smetanin +8 more
5/24/2024
cs.LGcs.AIcs.CV

Official code: facebookresearch/ssl-data-curation (246 stars, last commit 2024-06-21).

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 $k$-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.

View on arXivView PDF

Code Implementations(1)

PyTorch code for hierarchical k-means -- a data curation method for self-supervised learning

24621Python, Jupyter NotebookMay 24, 20242 years agoNOASSERTION

Similar Papers

Cite this paper

@article{vo2024automatic,
  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},
  year   = {2024},
  eprint = {2405.15613},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.15613v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.15613.svg)](https://codeofpaper.com/paper/2405.15613)

Discussion