Skip to main content
QUICK REVIEW

[Paper Review] ReMixMatch: Semi-Supervised Learning with Distribution Alignment and Augmentation Anchoring

David Berthelot, Nicholas Carlini|arXiv (Cornell University)|Nov 21, 2019
Domain Adaptation and Few-Shot LearningComputer Science321 citations
TL;DR

ReMixMatch improves MixMatch by adding distribution alignment and augmentation anchoring, achieving state-of-the-art SSL accuracy with far less labeled data and using CTAugment for strong augmentations.

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\ imes$ and $16\ imes$ 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.

Motivation & Objective

  • Motivate improvements to MixMatch to improve data efficiency in semi-supervised learning.
  • Introduce distribution alignment to align unlabeled prediction distribution with ground-truth label distribution.
  • Propose augmentation anchoring to stabilize strong data augmentations via weak-augmentation anchors.
  • Develop CTAugment to learn strong augmentation policies online without labeled proxies.
  • Demonstrate state-of-the-art performance across standard SSL benchmarks and analyze contribution of each component.

Proposed method

  • Integrate distribution alignment by maintaining a running average of unlabeled predictions and reweighting guesses using the ratio p(y)/p̃(y).
  • Replace MixMatch's consistency regularization with augmentation anchoring, using a weakly augmented anchor to supervise multiple strongly augmented views.
  • Introduce CTAugment, a control-theory-based online augmentation policy learner that avoids supervised proxy tasks.
  • Apply multiple strong augmentations (K) per unlabeled example and Sharpen/temper the guessed labels.
  • Use MixUp on augmented labeled and unlabeled data, with an additional pre-mixup unlabeled loss and rotation-based self-supervision.
  • Train with Adam, fixed learning rate and weight decay, and employ exponential moving average for final weights.

Experimental results

Research questions

  • RQ1Does distribution alignment improve SSL by aligning unlabeled predictions with the marginal label distribution?
  • RQ2Can augmentation anchoring stabilize strong augmentations and improve performance over MixMatch?
  • RQ3What is the impact of online CTAugment-based augmentation policies in SSL?
  • RQ4How does ReMixMatch perform with varying amounts of labeled data across standard benchmarks?
  • RQ5What is the contribution of each component through ablation studies?

Key findings

  • ReMixMatch achieves state-of-the-art accuracy across labeled data quantities on CIFAR-10 and SVHN.
  • With 250 labels on CIFAR-10, ReMixMatch reaches 93.73% accuracy, matching MixMatch performance with 4,000 labels but using far less data.
  • In STL-10, ReMixMatch with K=1 and higher K values substantially reduces error rates compared to MixMatch.
  • Ablation shows distribution alignment, pre-mixup unlabeled loss, and higher K positively impact performance; rotation loss is helpful in very low-label regimes.
  • Across CIFAR-10 and SVHN, ReMixMatch demonstrates up to 16x data efficiency relative to MixMatch.
  • Under few-shot settings (e.g., 4 labels per class on CIFAR-10), ReMixMatch achieves competitive median accuracies.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.