FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidence

Kihyuk Sohn, David Berthelot, Chun-Liang Li, Zizhao Zhang, Nicholas Carlini +4 more
1/21/2020
cs.LGcs.CVstat.ML

Official code: google-research/fixmatch (1,221 stars, Apache-2.0, last commit 2024-07-30).

Abstract

Semi-supervised learning (SSL) provides an effective means of leveraging unlabeled data to improve a model's performance. In this paper, we demonstrate the power of a simple combination of two common SSL methods: consistency regularization and pseudo-labeling. Our algorithm, FixMatch, first generates pseudo-labels using the model's predictions on weakly-augmented unlabeled images. For a given image, the pseudo-label is only retained if the model produces a high-confidence prediction. The model is then trained to predict the pseudo-label when fed a strongly-augmented version of the same image. Despite its simplicity, we show that FixMatch achieves state-of-the-art performance across a variety of standard semi-supervised learning benchmarks, including 94.93% accuracy on CIFAR-10 with 250 labels and 88.61% accuracy with 40 -- just 4 labels per class. Since FixMatch bears many similarities to existing SSL methods that achieve worse performance, we carry out an extensive ablation study to tease apart the experimental factors that are most important to FixMatch's success. We make our code available at https://github.com/google-research/fixmatch.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

A simple method to perform semi-supervised learning with limited data.

1,221191Shell, PythonJan 21, 20202 years agoApache-2.0

Similar Papers

Cite this paper

@article{sohn2020fixmatch,
  title  = {FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidence},
  author = {Kihyuk Sohn and David Berthelot and Chun-Liang Li and Zizhao Zhang and Nicholas Carlini and Ekin D. Cubuk and Alex Kurakin and Han Zhang and Colin Raffel},
  year   = {2020},
  eprint = {2001.07685},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2001.07685}
}

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

Discussion