HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidence

Kihyuk Sohn David Berthelot Chun-Liang Li Zizhao Zhang Nicholas Carlini Ekin D. Cubuk Alex Kurakin Han Zhang Colin Raffel

FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidence

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.

Code Repositories

google-research/crest
tf
Mentioned in GitHub
A-Telfer/AugKey
Mentioned in GitHub
Zhongying-Deng/NorMatch
pytorch
Mentioned in GitHub
google-research/fixmatch
Official
tf
Mentioned in GitHub
phanav/fixmatch-fastai
pytorch
Mentioned in GitHub
S-HuaBomb/FixMatch-Paddle
paddle
Mentioned in GitHub
CoinCheung/fixmatch-pytorch
pytorch
Mentioned in GitHub
Celiali/FixMatch
pytorch
Mentioned in GitHub
johnchenresearch/SSL
tf
Mentioned in GitHub
KaiyangZhou/ssdg-benchmark
pytorch
Mentioned in GitHub
kekmodel/FixMatch-pytorch
pytorch
Mentioned in GitHub
fbuchert/fixmatch-pytorch
pytorch
Mentioned in GitHub
CoinCheung/fixmatch
pytorch
Mentioned in GitHub
gomezzz/distmsmatch
pytorch
Mentioned in GitHub
valencebond/FixMatch_pytorch
pytorch
Mentioned in GitHub
OFRIN/Tensorflow_FixMatch
tf
Mentioned in GitHub
LeeDoYup/FixMatch-pytorch
pytorch
Mentioned in GitHub
DonghwanKIM0101/CS492I_CV
pytorch
Mentioned in GitHub
gomezzz/MSMatch
pytorch
Mentioned in GitHub
SaraAmd/Semi-Supervised-Learning
pytorch
Mentioned in GitHub
AhmadQasim/FixMatch
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
semi-supervised-image-classification-on-2FixMatch
Top 5 Accuracy: 89.13%
semi-supervised-image-classification-on-cifarFixMatch (CTA)
Percentage error: 4.31
semi-supervised-image-classification-on-cifar-2FixMatch (CTA, WRN-28-8)
Percentage error: 23.18±0.11
semi-supervised-image-classification-on-cifar-2FixMatch (RA, WRN-28-8)
Percentage error: 22.6
semi-supervised-image-classification-on-cifar-36FixMatch
Accuracy: 56.8
semi-supervised-image-classification-on-cifar-37FixMatch
Accuracy: 70.2
semi-supervised-image-classification-on-cifar-38FixMatch
Accuracy: 83.7
semi-supervised-image-classification-on-cifar-6FixMatch (CTA)
Percentage error: 5.07±0.33
semi-supervised-image-classification-on-cifar-7FixMatch (CTA)
Percentage error: 11.39±3.35
semi-supervised-image-classification-on-cifar-8FixMatch (CTA)
Percentage error: 49.95±3.01
semi-supervised-image-classification-on-cifar-9FixMatch (CTA, WRN-28-8)
Percentage error: 28.64±0.24
semi-supervised-image-classification-on-stl-1FixMatch (CTA)
Accuracy: 94.83±0.63
semi-supervised-image-classification-on-svhnFixMatch (CTA)
Accuracy: 97.64±0.19
semi-supervised-image-classification-on-svhn-2FixMatch (CTA)
Percentage error: 7.65±7.65

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