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

Shrinking Class Space for Enhanced Certainty in Semi-Supervised Learning

About

Semi-supervised learning is attracting blooming attention, due to its success in combining unlabeled data. To mitigate potentially incorrect pseudo labels, recent frameworks mostly set a fixed confidence threshold to discard uncertain samples. This practice ensures high-quality pseudo labels, but incurs a relatively low utilization of the whole unlabeled set. In this work, our key insight is that these uncertain samples can be turned into certain ones, as long as the confusion classes for the top-1 class are detected and removed. Invoked by this, we propose a novel method dubbed ShrinkMatch to learn uncertain samples. For each uncertain sample, it adaptively seeks a shrunk class space, which merely contains the original top-1 class, as well as remaining less likely classes. Since the confusion ones are removed in this space, the re-calculated top-1 confidence can satisfy the pre-defined threshold. We then impose a consistency regularization between a pair of strongly and weakly augmented samples in the shrunk space to strive for discriminative representations. Furthermore, considering the varied reliability among uncertain samples and the gradually improved model during training, we correspondingly design two reweighting principles for our uncertain loss. Our method exhibits impressive performance on widely adopted benchmarks. Code is available at https://github.com/LiheYoung/ShrinkMatch.

Lihe Yang, Zhen Zhao, Lei Qi, Yu Qiao, Yinghuan Shi, Hengshuang Zhao• 2023

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-100 (test)--
3518
Image ClassificationImageNet 1% labeled
Top-5 Accuracy87.4
118
Image ClassificationImageNet 1k (10% labels)
Top-1 Acc74.5
92
Image ClassificationCIFAR-10 40 labels (test)
Top-1 Accuracy94.92
12
Image ClassificationCIFAR-10 250 labels (test)--
10
Image ClassificationSTL-10 40 labels (test)--
10
Image ClassificationSVHN (val)
Top-1 Accuracy (Seed 0)98.08
6
Image ClassificationSVHN 4 labels per class
Accuracy (Seed 0)98
4
Image ClassificationSVHN 25 labels per class
Accuracy98.1
4
Semi-supervised classificationSTL-10 25 labels per class
Accuracy (Seed 0)91.13
4
Showing 10 of 12 rows

Other info

Code

Follow for update