Abstract
Semi-supervised learning by self-training heavily relies on pseudo-label selection (PLS). The selection often depends on the initial model fit on labeled data. Early overfitting might thus be propagated to the final model by selecting instances with overconfident but erroneous predictions, often referred to as confirmation bias. This paper introduces BPLS, a Bayesian framework for PLS that aims to mitigate this issue. At its core lies a criterion for selecting instances to label: an analytical approximation of the posterior predictive of pseudo-samples. We derive this selection criterion by proving Bayes optimality of the posterior predictive of pseudo-samples. We further overcome computational hurdles by approximating the criterion analytically. Its relation to the marginal likelihood allows us to come up with an approximation based on Laplace’s method and the Gaussian integral. We empirically assess BPLS for parametric generalized linear and non-parametric generalized additive models on simulated and real-world data. When faced with high-dimensional data prone to overfitting, BPLS outperforms traditional PLS methods.
Introduction
Semi-supervised learning often utilizes self-training, where a model is initially trained on a small labeled dataset and then iteratively expanded by incorporating pseudo-labeled instances from a larger unlabeled pool. However, this process is vulnerable to confirmation bias: if the initial model overfits the small labeled set, it may generate overconfident but incorrect pseudo-labels. These errors are then reinforced in subsequent training rounds, leading to a feedback loop of misinformation.
To address this, we propose Bayesian Pseudo-Label Selection (BPLS). BPLS shifts the selection process into a Bayesian framework to disentangle data uncertainty from parameter uncertainty, making the selection process robust to initial "bad fits."
Methodology
The core of BPLS is the Pseudo Posterior Predictive (PPP) criterion. Unlike traditional methods that rely on a single point estimate (like Maximum Likelihood), BPLS averages the likelihood of a pseudo-label over the entire posterior distribution of model parameters.
- Bayes-Optimality: We formally prove that selecting pseudo-labels via the PPP is the Bayes-optimal decision given the available information.
- Analytical Approximation: Since exact PPP calculation via MCMC is computationally prohibitive, we derive a closed-form approximation using Laplace’s method and the Gaussian integral. The resulting criterion, uBPLS, balances the joint likelihood of the data and a penalty based on the Fisher information (curvature). This naturally favors "flat" regions in the loss landscape, which are associated with better generalization.
Empirical Evaluation
We evaluated BPLS against traditional selection methods, such as "Probability Score" and "Predictive Variance," across simulated and real-world datasets.
Simulated Data
In high-dimensional simulations where the number of features ($p$) is large relative to the labeled sample size ($n$), BPLS demonstrates significant stability.
As shown in the simulation results, BPLS (PPP) maintains competitive accuracy even when $n$ is small, whereas other methods often degrade as they succumb to confirmation bias.
Real-World Benchmarks
We tested BPLS on eight binary classification datasets from the UCI repository, including EEG, Sonar, and Ionosphere.
BPLS shines brightest in "high-risk" overfitting scenarios. For instance, on the EEG and Sonar datasets—which have high feature-to-data ratios—BPLS significantly outperforms traditional confidence-based selection. On simpler datasets like Banknote, where the initial model is already highly accurate, simpler methods may perform slightly better as the Bayesian skepticism of BPLS is less critical.
Key Insights and Conclusion
BPLS provides a formal statistical justification for the "flat minima" heuristic in deep learning through its Fisher information penalty. By successfully separating epistemic and aleatoric uncertainty, it enables smarter label selection in challenging, high-dimensional regimes.
While the analytical approximation is approximately 20,000 times faster than MCMC, BPLS still requires refitting the model for each potential unlabeled instance. Future work will focus on further reducing this computational overhead and extending the framework to non-i.i.d. data structures.
Summary updated