Shrinking Class Space for Enhanced Certainty in Semi-Supervised Learning

ICCV 2023  ยท  Lihe Yang, Zhen Zhao, Lei Qi, Yu Qiao, Yinghuan Shi, Hengshuang Zhao ยท

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.

PDF Abstract ICCV 2023 PDF ICCV 2023 Abstract
Task Dataset Model Metric Name Metric Value Global Rank Result Benchmark
Semi-Supervised Image Classification CIFAR-100, 2500 Labels ShrinkMatch Percentage error 25.17 # 3
Semi-Supervised Image Classification CIFAR-100, 400 Labels ShrinkMatch Percentage error 35.36 # 3
Semi-Supervised Image Classification CIFAR-10, 250 Labels ShrinkMatch Percentage error 4.74 # 3
Semi-Supervised Image Classification CIFAR-10, 40 Labels ShrinkMatch Percentage error 5.08 # 5
Semi-Supervised Image Classification STL-10, 40 Labels ShrinkMatch Accuracy 85.98 # 2
Semi-Supervised Image Classification SVHN, 250 Labels ShrinkMatch Accuracy 98.04 # 1
Semi-Supervised Image Classification SVHN, 40 Labels ShrinkMatch Percentage error 2.51 # 1

Methods


No methods listed for this paper. Add relevant methods here