Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

FlexMatch: Boosting Semi-Supervised Learning with Curriculum Pseudo Labeling

About

The recently proposed FixMatch achieved state-of-the-art results on most semi-supervised learning (SSL) benchmarks. However, like other modern SSL algorithms, FixMatch uses a pre-defined constant threshold for all classes to select unlabeled data that contribute to the training, thus failing to consider different learning status and learning difficulties of different classes. To address this issue, we propose Curriculum Pseudo Labeling (CPL), a curriculum learning approach to leverage unlabeled data according to the model's learning status. The core of CPL is to flexibly adjust thresholds for different classes at each time step to let pass informative unlabeled data and their pseudo labels. CPL does not introduce additional parameters or computations (forward or backward propagation). We apply CPL to FixMatch and call our improved algorithm FlexMatch. FlexMatch achieves state-of-the-art performance on a variety of SSL benchmarks, with especially strong performances when the labeled data are extremely limited or when the task is challenging. For example, FlexMatch achieves 13.96% and 18.96% error rate reduction over FixMatch on CIFAR-100 and STL-10 datasets respectively, when there are only 4 labels per class. CPL also significantly boosts the convergence speed, e.g., FlexMatch can use only 1/5 training time of FixMatch to achieve even better performance. Furthermore, we show that CPL can be easily adapted to other SSL algorithms and remarkably improve their performances. We open-source our code at https://github.com/TorchSSL/TorchSSL.

Bowen Zhang, Yidong Wang, Wenxin Hou, Hao Wu, Jindong Wang, Manabu Okumura, Takahiro Shinozaki• 2021

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-100 (test)
Accuracy69.52
3518
Image ClassificationCIFAR-10 (test)
Accuracy87.82
3381
Image ClassificationImageNet 1k (test)--
798
Image ClassificationCIFAR-100--
622
Image ClassificationCIFAR10 (test)--
585
Image ClassificationCIFAR-10--
507
Image ClassificationSVHN
Accuracy89.6
359
Image ClassificationSTL-10 (test)
Accuracy82.67
357
Domain GeneralizationVLCS
Accuracy56.2
238
Domain GeneralizationPACS--
221
Showing 10 of 129 rows
...

Other info

Code

Follow for update