Prediction-Powered Semi-Supervised Learning with Online Power Tuning

Noa Shoham, Ron Dorfman, Shalev Shaer, Kfir Yehuda Levy, Yaniv Romano

Overview

Semi-supervised learning (SSL) is a powerful tool for training models when labeled data is scarce but unlabeled data is abundant. The standard approach involves using a pre-trained "teacher" model to generate pseudo-labels for the unlabeled data, which are then used to train a "student" model.

However, the Achilles' heel of this approach is bias. If the teacher model is inaccurate—for example, if it performs poorly on a specific minority subpopulation—the pseudo-labels it produces will be wrong. The student model then "inherits" these mistakes, a phenomenon known as confirmation bias. While previous work on Prediction-Powered Inference (PPI) offered a way to correct this bias for statistical estimation, applying it to training deep learning models has been difficult. Specifically, balancing the "trusted" labeled data against the "noisy" pseudo-labeled data requires a tuning parameter ($\lambda$) that is usually impossible to calculate correctly before training starts.

This paper introduces Prediction-Powered Semi-Supervised Learning (PP-SSL), a framework that uses "prediction-powered" gradients to eliminate the bias typically introduced by inaccurate pseudo-labels. By dynamically tuning the balance between labeled and unlabeled data on the fly using online learning, the method achieves faster convergence and superior performance, especially when the initial teacher model is unreliable.

The PP-SSL Methodology

The core of the PP-SSL method is a novel, unbiased gradient estimator. Standard SSL gradients are biased because they rely on potentially incorrect pseudo-labels. PP-SSL constructs a gradient that combines:

  1. The standard gradient from the small, trusted labeled dataset.
  2. A "correction" term that calculates the difference between pseudo-label gradients on unlabeled data versus labeled data.

Mathematically, this ensures the gradient remains unbiased regardless of how bad the teacher model is.

Online Power Tuning

To make this practical, the authors introduce Online Power Tuning. Instead of picking a fixed weight ($\lambda$) for the unlabeled data, they treat $\lambda$ as a parameter to be optimized alongside the model weights. They use a version of the AdaGrad algorithm to update $\lambda$ during every step of training, automatically dialing the influence of the unlabeled data up or down based on its current quality and variance.

MSE vs Lambda Tuning

As illustrated above, traditional PPI methods require manual tuning of $\lambda$ to find the minimum Mean Squared Error (MSE), which varies drastically depending on the noise bias ($\mu$). PP-SSL's online tuning automatically achieves the optimal, flat-line performance without requiring prior knowledge of the teacher's error rate.

Experimental Validation

The authors validated PP-SSL across a diverse range of data types, including synthetic linear regression, tabular data (California Housing), and image datasets (UTKFace, CIFAR-10, and CIFAR-10-C).

Key Insights and Results

  • Unbiasedness is a Safety Net: Unlike standard SSL, which can perform worse than simple supervised learning if pseudo-labels are bad, PP-SSL’s unbiased nature ensures that unlabeled data can only help (by reducing variance) or, at worst, do no harm.
  • The Teacher Doesn't Have to be an Expert: Even a mediocre teacher can significantly speed up training. As long as the teacher's predictions are somewhat correlated with the truth, they help reduce the "noise" in the gradient.
  • Subgroup Robustness: In experiments where the teacher was intentionally biased against a specific subgroup, PP-SSL significantly outperformed standard SSL on those "minority" groups. While standard SSL became blinded by the teacher's bias, PP-SSL used the labeled data to correct the course.
Performance Across Subgroups
  • Faster Convergence: Theoretically and empirically, PP-SSL converges faster than training on labeled data alone. The prediction-powered gradients have lower variance, leading to a smoother and quicker path to the optimum.
  • Superior to Offline Methods: PP-SSL consistently outperformed "PPI++," a baseline that tunes the $\lambda$ parameter offline. This highlights the distinct advantage of adapting to the training dynamics in real-time.

Limitations and Future Work

While PP-SSL presents a significant step forward, the authors identify a few areas for further exploration:

  • Distribution Shift: The current theory assumes that labeled and unlabeled data come from the exact same distribution. In the real world, unlabeled data often comes from a different domain, which might require adding "importance weighting" to the estimator.
  • Self-Training: The paper focuses on a fixed teacher-student setup. Extending the convergence guarantees to "self-training"—where the model generates its own pseudo-labels and evolves—is a more complex theoretical challenge due to the non-stationarity of the process.
  • Computational Overhead: While the $\lambda$ tuning is a simple 1D optimization, calculating the correction term requires extra gradient computations, which could be a factor for extremely large-scale models.

Summary updated

BibTeX
@inproceedings{shoham2025prediction,
  author = {Noa Shoham and Ron Dorfman and Shalev Shaer and Kfir Yehuda 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