ReMixMatch: Semi-Supervised Learning with Distribution Alignment and Augmentation Anchoring

David Berthelot, Nicholas Carlini, Ekin D. Cubuk, Alex Kurakin, Kihyuk Sohn +2 more
11/21/2019
825 citations
cs.LGcs.CVstat.ML

Official code: google-research/remixmatch (131 stars, Python, Apache-2.0, last commit 2022-11-21). Most starred: google-research/mixmatch, a community implementation (1,136 stars, Python, Apache-2.0, last commit 2023-03-24, 8.7× the official stars). 1 more implementation below.

Abstract

We improve the recently-proposed "MixMatch" semi-supervised learning algorithm by introducing two new techniques: distribution alignment and augmentation anchoring. Distribution alignment encourages the marginal distribution of predictions on unlabeled data to be close to the marginal distribution of ground-truth labels.

Show full abstract

Augmentation anchoring feeds multiple strongly augmented versions of an input into the model and encourages each output to be close to the prediction for a weakly-augmented version of the same input. To produce strong augmentations, we propose a variant of AutoAugment which learns the augmentation policy while the model is being trained. Our new algorithm, dubbed ReMixMatch, is significantly more data-efficient than prior work, requiring between $5\times$ and $16\times$ less data to reach the same accuracy. For example, on CIFAR-10 with 250 labeled examples we reach $93.73\%$ accuracy (compared to MixMatch's accuracy of $93.58\%$ with $4{,}000$ examples) and a median accuracy of $84.92\%$ with just four labels per class. We make our code and data open-source at https://github.com/google-research/remixmatch.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
google-research/remixmatchOfficial131PythonApache-2.02022-11-21
google-research/mixmatchCommunity1,136PythonApache-2.02023-03-24
Apache-2.0
13121Python, ShellJan 10, 20204 years agoApache-2.0
Apache-2.0
1,136159Python, ShellMay 15, 20193 years agoApache-2.0

Similar Papers

Cite this paper

@article{berthelot2019remixmatch,
  title  = {ReMixMatch: Semi-Supervised Learning with Distribution Alignment and Augmentation Anchoring},
  author = {David Berthelot and Nicholas Carlini and Ekin D. Cubuk and Alex Kurakin and Kihyuk Sohn and Han Zhang and Colin Raffel},
  year   = {2019},
  eprint = {1911.09785},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1911.09785}
}

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

Discussion