Introduction
Semi-supervised learning (SSL) aims to leverage a small amount of labeled data alongside a vast pool of unlabeled data. A dominant paradigm in SSL is pseudo-labeling, where a model generates labels for unlabeled samples and uses them as training targets. To mitigate the risk of learning from incorrect predictions, state-of-the-art methods like FixMatch typically employ a fixed confidence threshold (e.g., 0.95).
However, this approach suffers from a critical limitation: in the early stages of training, models are rarely confident. A high, rigid threshold causes the model to ignore most unlabeled data, leading it to overfit on the tiny labeled set. This "confirmation bias" prevents the model from discovering new features and refining its decision boundaries effectively.
The SPF Framework
To address these issues, we introduce Self-Adaptive Pseudo-Label Filtering (SPF). Instead of a handcrafted threshold, SPF treats the filtering process as an unsupervised distribution modeling problem.
Beta Mixture Modeling
SPF observes that even when a model is not yet highly confident, there is a discernable difference in the confidence distributions of correct versus incorrect predictions. We fit a Beta Mixture Model (BMM) to the maximum confidence scores of all pseudo-labels at the end of each epoch. The Beta distribution is particularly suited for this task as it is bounded between 0 and 1 and can flexibly represent the skewed distributions typical of neural network outputs.
Soft Weighting and Alternating Updates
Rather than a binary "keep or discard" decision, SPF uses the BMM to calculate a posterior probability for each sample. This probability serves as a soft weight in the unlabeled loss function. This mechanism allows the model to learn from a broader range of samples early in training while still suppressing noise. The process is cyclical: the model trains using weights derived from the BMM, and the BMM is subsequently updated based on the model's evolving confidence scores.
Experimental Results
We evaluated SPF across several benchmarks, including CIFAR-10/100, Mini-ImageNet, and Oxford Flower 102, focusing on regimes with extremely scarce labels (e.g., 4 labels per class).
Performance in Label-Scarce Regimes
SPF demonstrates significant gains over baselines. On CIFAR-10 with only 4 labels per class, SPF-RA reduced the error rate from 13.81% (FixMatch) to 7.46%. On the fine-grained Oxford Flower dataset, SPF-RA achieved a 28.32% error rate, a substantial improvement over FixMatch's 58.40%.
Mitigation of Overfitting
Analysis of the training dynamics reveals that SPF effectively prevents the "test loss bump" often seen in fixed-threshold methods. By allowing the model to utilize unlabeled data more gracefully from the start, SPF ensures a smoother convergence and better generalization.
Conclusion
Self-Adaptive Pseudo-Label Filtering (SPF) provides a robust, "plug-and-play" solution for the limitations of fixed thresholds in SSL. By dynamically modeling confidence distributions, SPF mitigates early-stage overfitting and enables models to thrive even when labeled data is extremely limited. With negligible computational overhead, it represents a significant step toward more flexible and autonomous semi-supervised learning systems.
Summary updated