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

FreeMatch: Self-adaptive Thresholding for Semi-supervised Learning

About

Semi-supervised Learning (SSL) has witnessed great success owing to the impressive performances brought by various methods based on pseudo labeling and consistency regularization. However, we argue that existing methods might fail to utilize the unlabeled data more effectively since they either use a pre-defined / fixed threshold or an ad-hoc threshold adjusting scheme, resulting in inferior performance and slow convergence. We first analyze a motivating example to obtain intuitions on the relationship between the desirable threshold and model's learning status. Based on the analysis, we hence propose FreeMatch to adjust the confidence threshold in a self-adaptive manner according to the model's learning status. We further introduce a self-adaptive class fairness regularization penalty to encourage the model for diverse predictions during the early training stage. Extensive experiments indicate the superiority of FreeMatch especially when the labeled data are extremely rare. FreeMatch achieves 5.78%, 13.59%, and 1.28% error rate reduction over the latest state-of-the-art method FlexMatch on CIFAR-10 with 1 label per class, STL-10 with 4 labels per class, and ImageNet with 100 labels per class, respectively. Moreover, FreeMatch can also boost the performance of imbalanced SSL. The codes can be found at https://github.com/microsoft/Semi-supervised-learning.

Yidong Wang, Hao Chen, Qiang Heng, Wenxin Hou, Yue Fan, Zhen Wu, Jindong Wang, Marios Savvides, Takahiro Shinozaki, Bhiksha Raj, Bernt Schiele, Xing Xie• 2022

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-100 (test)
Accuracy62.02
3518
Image ClassificationCIFAR-10 (test)--
3381
Image ClassificationImageNet 1k (test)--
798
Image ClassificationCIFAR10 (test)--
585
Image ClassificationCIFAR-10--
507
Image ClassificationSVHN--
359
Image ClassificationSTL-10 (test)--
357
Domain GeneralizationVLCS
Accuracy61.6
238
Domain GeneralizationPACS--
221
Domain GeneralizationOfficeHome
Accuracy56.2
182
Showing 10 of 92 rows
...

Other info

Code

Follow for update