Data-Efficient Contrastive Self-supervised Learning: Most Beneficial Examples for Supervised Learning Contribute the Least

S. Joshi, Baharan Mirzasoleiman
2/12/2026

No official code found. Best implementation: sjoshi804/sas-data-efficient-contrastive-learning (33 stars, last commit 2024-04-16). 1 more below.

Abstract

Self-supervised learning (SSL) learns high-quality representations from large pools of unlabeled training data. As datasets grow larger, it becomes crucial to identify the examples that contribute the most to learning such representations. This enables efficient SSL by reducing the volume of data required. Nevertheless, quantifying the value of examples for SSL has remained an open question. In this work, we address this problem for the first time, by proving that examples that contribute the most to contrastive SSL are those that have the most similar augmentations to other examples, in expectation. We provide rigorous guarantees for the generalization performance of contrastive learning on such subsets. Through extensive experiments, we show that we can safely exclude 20% of examples from CIFAR100 and 40% from STL10 and TinyImageNet, without affecting downstream task performance. In general, subsets selected by our method outperform random subsets by over 3% across these datasets. Interestingly, we also discover the subsets that contribute the most to contrastive learning are those that contribute the least to supervised learning. Code available at https://github.com/bigml-cs-ucla/sas-data-efficient-contrastive-learning.

View on arXivView PDF

Code Implementations(2)

Official Code for ICML 2023 Data-Efficient Contrastive Self-supervised Learning

3312Python, Jupyter NotebookApr 25, 20232 years ago

Official repository for SAS Data Efficient Contrastive Learning ICML '23

92Python, Jupyter NotebookMay 29, 20232 years ago

Similar Papers

Cite this paper

@article{joshi2026dataefficient,
  title  = {Data-Efficient Contrastive Self-supervised Learning: Most Beneficial Examples for Supervised Learning Contribute the Least},
  author = {S. Joshi and Baharan Mirzasoleiman},
  year   = {2026},
  eprint = {2302.09195},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2302.09195},
  journal = {ICML 2023 2023}
}

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/2302.09195.svg)](https://codeofpaper.com/paper/2302.09195)

Discussion