HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

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

David Berthelot Nicholas Carlini Ekin D. Cubuk Alex Kurakin Kihyuk Sohn Han Zhang Colin Raffel

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

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

Code Repositories

google-research/remixmatch
Official
tf
Mentioned in GitHub
zysymu/AdaMatch-pytorch
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
image-classification-on-stl-10ReMixMatch (K=1)
Percentage correct: 93.23
image-classification-on-stl-10CC-GAN
Percentage correct: 77.80
image-classification-on-stl-10ReMixMatch (K=4)
Percentage correct: 93.82
image-classification-on-stl-10MixMatch
Percentage correct: 89.82
image-classification-on-stl-10SWWAE
Percentage correct: 74.30
semi-supervised-image-classification-on-3ReMixMatch
Percentage correct: 93.73
semi-supervised-image-classification-on-cifarReMixMatch
Percentage error: 5.14
semi-supervised-image-classification-on-cifar-6ReMixMatch
Percentage error: 6.27
semi-supervised-image-classification-on-cifar-7ReMixMatch
Percentage error: 19.10
semi-supervised-image-classification-on-cifar-8ReMixMatch
Percentage error: 44.28±2.06
semi-supervised-image-classification-on-cifar-9ReMixMatch
Percentage error: 27.43±0.31
semi-supervised-image-classification-on-stl-1ReMixMatch
Accuracy: 93.82
semi-supervised-image-classification-on-svhnReMixMatch
Accuracy: 97.17

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp