SST: Self-training with Self-adaptive Thresholding for Semi-supervised Learning

Shuai Zhao, Heyan Huang, Xinge Li, Xiaokang Chen, Rui WangInformation Processing & Management 2025

Abstract

Semi-supervised learning (SSL) aims to leverage large-scale unlabeled datasets to reduce the dependency on expensive human annotation. However, traditional pseudo-labeling techniques often suffer from confirmation bias due to fixed confidence thresholds or high computational costs from frequent dynamic threshold updates. This paper introduces Self-training with Self-adaptive Thresholding (SST), a framework that utilizes a novel Self-Adaptive Thresholding (SAT) mechanism. By updating class-specific thresholds infrequently based on converged model states, SST achieves state-of-the-art performance on ImageNet-1K, matching full supervision accuracy with only 10% of the labels while being up to 80x more computationally efficient than existing dynamic methods.

Introduction

Deep learning's success is largely predicated on the availability of massive labeled datasets. In many domains, the cost and time required for human annotation represent a significant bottleneck. Semi-supervised learning (SSL) addresses this by training models on a small set of labeled data and a much larger pool of unlabeled data.

The most common approach in SSL is pseudo-labeling, where a model generates labels for unlabeled images. If the model's confidence exceeds a predefined threshold (e.g., 0.95), the image is treated as ground truth for further training. However, fixed thresholds are often suboptimal: high thresholds slow down learning, while low thresholds introduce noisy labels that lead to confirmation bias—a state where the model reinforces its own incorrect predictions. While dynamic thresholding methods like FlexMatch and FreeMatch have been proposed, they typically update thresholds at every iteration, leading to high computational overhead and instability during the early stages of training.

The SST Framework

Self-Adaptive Thresholding (SAT)

SST introduces the Self-Adaptive Thresholding (SAT) mechanism to intelligently select high-quality pseudo-labels. SAT differs from previous dynamic approaches through three primary innovations:

  1. Confidence-Based Derivation: Rather than using complex global statistics, SAT sorts the model's predictions for each class. It filters out the bottom 50% (the cutoff $C$) and calculates the average of the remaining high-confidence probabilities. This average is then scaled by a factor $S$ to determine the class-specific threshold. This ensures that thresholds are grounded in the model's actual performance on specific categories.
  2. Infrequent Updates: A key efficiency gain in SST comes from its update frequency. Unlike methods that update every iteration, SAT updates thresholds only 3 to 6 times throughout the entire training process. By waiting for the model to reach a state of convergence before updating, SST ensures that the thresholds are set by a stable model, reducing the risk of noisy updates.
  3. Algorithmic Flexibility: The framework is implemented in two primary versions:
  4. Super-SST: An iterative offline self-training approach.
  5. Semi-SST: An online framework that integrates SAT into a Teacher-Student (EMA-Teacher) architecture, where the teacher model provides pseudo-labels for the student.

Knowledge Distillation

To maximize the utility of the framework, the authors employ "Huge-to-Small" Knowledge Distillation. A large ViT-Huge model is first trained using SST to generate high-quality labels for the entire unlabeled dataset. These labels are then used to train smaller, deployment-ready models (like ViT-Small), significantly boosting their performance in low-data regimes.

Experimental Results

Performance on ImageNet-1K

SST demonstrates remarkable efficiency in label utilization on the ImageNet-1K benchmark. Using a ViT-Huge architecture, Semi-SST achieved 80.7% Top-1 accuracy with only 1% of labels and 84.9% with 10% of labels. Notably, the SST model trained on 10% of the data outperformed a fully supervised DeiT-III-Huge model (84.8%) that utilized 100% of the labeled data. This represents a tenfold reduction in the human labor required to achieve state-of-the-art results.

Computational Efficiency

Beyond accuracy, SST offers a massive reduction in training costs. On the CIFAR-100 dataset, Super-SST outperformed FreeMatch while being 80x faster (3 GPU hours compared to 240 GPU hours). While previous dynamic methods require over a million threshold updates during a standard training run, SST achieves superior results with fewer than ten updates.

Robustness Across Datasets

The framework was validated across a wide range of benchmarks, including fine-grained classification (Food-101, iNaturalist), noisy labels (Clothing-1M), and digit recognition (SVHN, STL-10). In the case of distillation, a ViT-Small model trained via SST labels outperformed a standard supervised ViT-Small by 6.5% in low-data scenarios, proving that the high-quality pseudo-labels generated by SST are highly transferable.

Discussion and Limitations

SST's primary contribution is the demonstration that "patience" in threshold updates can prevent the feedback loop of inaccuracies that plagues more aggressive dynamic methods. By allowing the model to converge before adjusting the rules for pseudo-label selection, the framework achieves a more stable and accurate learning trajectory.

However, some limitations remain. In scenarios of extreme data scarcity (e.g., only 40 labeled samples in SVHN), the error rates remain relatively high. Additionally, while SST is highly effective for Computer Vision, its application to Natural Language Processing (NLP) or multi-modal tasks has yet to be explored. Finally, while the framework is efficient, the initial training of "Huge" Vision Transformer models still requires substantial computational resources, which may limit accessibility for smaller research institutions.

Conclusion

SST: Self-training with Self-adaptive Thresholding effectively closes the gap between semi-supervised and fully supervised learning. By introducing a stable, infrequent, and class-specific thresholding mechanism, it provides a path toward training high-performance models with a fraction of the traditional annotation cost and computational budget.

Summary updated

BibTeX
@article{zhao2025sst,
  author = {Shuai Zhao and Heyan Huang and Xinge Li and Xiaokang Chen and Rui Wang},
  title = {{SST: Self-training with Self-adaptive Thresholding for Semi-supervised Learning}},
  journal = {Information Processing \& Management},
  year = {2025},
}
Figure