Prediction-Powered Semi-Supervised Learning with Online Power Tuning

Noa Shoham, Ron Dorfman, Shalev Shaer, Kfir Y. Levy, Yaniv Romano

TL;DR

This paper introduces Prediction-Powered Semi-Supervised Learning (PP-SSL), a framework that prevents student models from inheriting the biases of inaccurate teacher pseudo-labels. By utilizing a mathematically unbiased gradient estimator and dynamically tuning the data-balancing parameter on the fly via a 1D online learning algorithm, PP-SSL safely leverages abundant unlabeled data without requiring any prior knowledge of label quality or data variance.

What Problem Does This Paper Address?

Semi-supervised learning (SSL) is a powerful paradigm for training models when labeled data is scarce but unlabeled data is abundant. A standard approach is pseudo-labeling, where a pre-trained "teacher" model generates artificial labels for the unlabeled data, which are then used to train a "student" model.

However, this setup suffers from a major vulnerability: confirmation bias. If the teacher model is inaccurate—for instance, if it performs poorly on a minority subpopulation—it passes these systematic errors onto the student. When trusted labeled data is scarce, the student model becomes overwhelmed by these erroneous pseudo-labels, effectively ignoring the correct minority-group labels and tanking performance on those subgroups.

Recent frameworks like Prediction-Powered Inference (PPI) offer a way to debias pseudo-labels, but they suffer from two critical gaps when applied to practical machine learning training:

  1. Their guarantees are purely asymptotic (evaluating the model only at an idealized population optimum).
  2. They rely on an interpolation parameter ($\lambda$) to balance labeled and unlabeled data, which must be tuned offline using impractical, omniscient knowledge of the pseudo-label quality and data variance.

Methods

The authors propose Prediction-Powered SSL (PP-SSL) to solve these issues through two main innovations:

  1. An Unbiased Gradient Estimator: They construct a prediction-powered stochastic gradient ($g_\lambda^{PP}$) that combines the gradients of the labeled data, the unlabeled data (using teacher pseudo-labels), and a correction term evaluated on the labeled data using teacher predictions. Mathematically, this estimator is proven to be strictly unbiased, meaning it won't drift due to a biased teacher.
  2. Online Power Tuning via AdaGrad: The variance of this gradient depends heavily on an interpolation parameter $\lambda \in [0,1]$. Instead of guessing $\lambda$ offline, the authors cast hyperparameter selection as a 1D online learning problem. They use the AdaGrad algorithm to dynamically update $\lambda$ on the fly during training, minimizing the cumulative variance of the gradients without needing any prior knowledge of the teacher's error rate.

Crucially, the paper provides the first finite-time convergence guarantees for a PPI-based training method under non-convex optimization, proving that learning $\lambda$ online adds only a negligible, fast-decaying error term to the convergence rate.

Datasets

The authors evaluated PP-SSL across a variety of tasks and modalities:

  • Synthetic Linear Regression: A controlled dataset split into two groups (A and B), where Group B features heavily biased additive noise to simulate a flawed teacher model.
  • California Housing Dataset: A real-world tabular dataset where a distribution shift was induced by splitting data based on target house values.
  • UTKFace Dataset: A real-world visual dataset containing over 20,000 face images for age estimation, split by age groups to create a biased teacher scenario.
  • CIFAR-10 & CIFAR-10-C: The classic image classification dataset and its corrupted variant, where specific corruptions (e.g., saturation, spatter, speckle noise) were applied to select classes to simulate class-conditional teacher bias.

Key Insights and Ideas

  • Unbiasedness prevents catastrophic failure: Traditional SSL methods often perform worse than simple supervised learning when the teacher model is biased. By forcing the gradient estimator to remain unbiased, PP-SSL guarantees that unlabeled data can be safely incorporated.
  • Co-optimizing hyperparameters and weights: Treating the interpolation parameter $\lambda$ as a trainable parameter optimized alongside model weights ($w$) via online learning is an elegant way to bypass the need for oracle knowledge.
  • Subgroup Robustness: PP-SSL shines brightest in scenarios where data contains underrepresented or shifted subgroups. It naturally down-weights the unlabeled data (pulling $\lambda$ closer to 0) when the teacher is highly unreliable, protecting minority-group performance.

Key Results

  • Robustness to Bias: In synthetic experiments, as the teacher's noise bias ($\mu$) increased, standard SSL performance degraded severely on the biased subgroup (Group B). In contrast, PP-SSL consistently achieved the lowest Mean Squared Error (MSE), outperforming both standard SSL and the offline-tuned PPI++ baseline.
Figure 1: MSE on synthetic data as a function of noise bias µ. Results are shown for: (a) the full test set; (b) Group A, where the teacher model is accurate (oracle-like); and (c) Group B, which includes additive biased noise. Results evaluated on 100 independent experiments.
  • Near-Oracle Adaptation: The online tuning mechanism successfully matched the performance of an infeasible oracle baseline that used the absolute best fixed $\lambda$ value determined in hindsight.
Figure 2: Final test set MSE for PP-SSL and PPI baseline with constant λ for varying λ values.
  • Real-World Visual Tasks: On the UTKFace age estimation task, standard SSL performed worse than training on labeled data alone due to teacher inaccuracies. PP-SSL successfully corrected for this, yielding significantly lower Mean Absolute Error (MAE). Similarly, on CIFAR-10-C, PP-SSL consistently outperformed all baselines in total accuracy and corrupted-subgroup accuracy.

Limitations and Future Work

  • Identical Distribution Assumption: PP-SSL assumes that both the labeled and unlabeled data are sampled from the same underlying feature distribution. It does not currently account for covariate shift between the labeled and unlabeled sets. The authors suggest that integrating importance weighting could be a promising fix.
  • Fixed Teacher Restriction: The theoretical analysis assumes a static teacher model. Extending these finite-time convergence guarantees to self-training scenarios—where the model dynamically generates its own pseudo-labels and updates over time—remains an open challenge due to the non-stationarity of the optimization process.

Summary updated

BibTeX
@inproceedings{shoham2025prediction,
  author = {Noa Shoham and Ron Dorfman and Shalev Shaer and Kfir Y. Levy and Yaniv Romano},
  title = {{Prediction-Powered Semi-Supervised Learning with Online Power Tuning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=oYIXUwmNig},
}
Figure