[Paper Review] Automatic Data Curation for Self-Supervised Learning: A Clustering-Based Approach
The paper presents a hierarchical k-means based data curation pipeline to create large, diverse, and balanced pre-training datasets for self-supervised learning, improving SSL representations across multiple domains.
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.
Motivation & Objective
- Define what makes a good pre-training dataset for self-supervised learning (size, diversity, balance).
- Develop an automatic, task-agnostic data curation pipeline to achieve these properties without labels.
- Show that curated datasets yield better SSL representations than uncurated data and are competitive with manually curated data.
- Demonstrate the method’s effectiveness across multiple data domains (web images, text, satellite imagery).
Proposed method
- Propose a hierarchical k-means approach to partition a large data pool into clusters that distribute uniformly over concepts.
- Introduce a resampling-clustering step to approximate sampling from a uniform distribution over the data support.
- Use centroids from successive k-means levels to form a tree; sample leaves to build a balanced dataset (flat vs hierarchical sampling).
- Demonstrate that centroids of higher-level clusters approximate a uniform distribution over the data support (Lemma 1 and related discussion).
- Provide sampling strategies (random, closest, furthest) and discuss cluster counts per level to balance concepts and sub-concepts.
Experimental results
Research questions
- RQ1Can hierarchical k-means with resampling produce data subsets that are close to uniform over the data support?
- RQ2Does automatically curated data improve self-supervised representations across images and text compared to uncurated data?
- RQ3Is the curated data competitive with manually curated datasets across multiple domains?
- RQ4How do sampling strategies and cluster counts affect the balance and quality of the curated dataset?
Key findings
- Curated datasets yield significant gains on benchmarks compared to raw uncurated data.
- Curated data are competitive with, and often on par with or better than, manually curated datasets.
- The method improves robustness, out-of-distribution generalization, and long-tail performance in SSL.
- The approach is demonstrated across web-based images, text, and satellite imagery domains.
- Hierarchical sampling ensures balance among high-level concepts and sub-concepts in the curated data.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.