Semi-Supervised Risk Control via Prediction-Powered Inference

Bat-Sheva Einbinder, Liran Ringel, Yaniv Romano

TL;DR

Standard risk-controlling prediction frameworks provide rigorous error guarantees but become overly conservative and unstable when labeled calibration data is scarce. This paper introduces a semi-supervised framework that leverages abundant unlabeled data via Prediction-Powered Inference (PPI) to dramatically reduce this conservatism and variance. Crucially, the method maintains mathematically rigorous, distribution-free risk control even if the machine learning model used to label the unlabeled data makes mistakes.

What Problem Does This Paper Address?

As machine learning models are increasingly deployed in high-stakes applications like autonomous driving and healthcare, providing rigorous guarantees about their reliability is paramount. Frameworks like Conformal Prediction and Risk-Controlling Prediction Sets (RCPS) address this by transforming standard model outputs into uncertainty sets that are guaranteed to contain the true answer with high probability (e.g., controlling the miscoverage rate below 10%). They achieve this distribution-free guarantee by tuning a hyperparameter on a hold-out dataset of labeled calibration data.

However, acquiring labeled data can be expensive or practically impossible in settings like few-shot learning or when auditing performance for niche demographic sub-populations. When standard calibration methods are forced to work with small labeled datasets, the hyperparameter tuning becomes highly volatile. To ensure safety, the framework becomes overly conservative, resulting in unnecessarily large, uninformative prediction sets. This paper addresses a key question: How can we leverage cheap, plentiful unlabeled data to stabilize calibration and reduce conservatism without losing our ironclad statistical guarantees?

Methods

The authors build upon Prediction-Powered Inference (PPI), a recent framework designed to estimate statistical parameters by combining a small amount of labeled data with a large amount of unlabeled data. A machine learning model is used to "impute" (predict) labels for the unlabeled data, and the small labeled dataset is used to mathematically correct the bias of these imputations.

The paper introduces two novel semi-supervised calibration algorithms:

  1. Semi-Supervised RCPS for General Loss: The authors elegantly rewrite the prediction-powered risk estimator as a sum of independent and identically distributed (i.d.d.) random variables. This allows them to apply advanced concentration inequalities, specifically the Waudby-Smith-Ramdas (WSR) bound, to find a tight Upper Confidence Bound (UCB) on the risk without needing to split the statistical error budget ($\delta$).
  2. Specialized Semi-Supervised RCPS for Binary Loss: For common binary losses (like checking if a true label is missing from a prediction set), breaking the risk into i.i.d. blocks destroys the binary structure, preventing the use of exact binomial bounds. The authors introduce a "clipping" operator to keep the rectifying risk binary, allowing them to use the exact finite-sample Clopper-Pearson UCB via an error budget-splitting strategy ($\delta = \delta_1 + \delta_2$).

Bonus Theoretical Contribution: As a foundational step, the authors prove that the vanilla RCPS framework inherently controls non-monotonic risk functions (where risk doesn't steadily decrease as a hyperparameter changes), expanding its utility to complex objectives like False Discovery Rate (FDR) control.

Datasets

The proposed methods were evaluated on two real-world tasks:

  • ImageNet: The classic 1,000-class image classification dataset. The authors simulated a few-shot calibration setting to construct adaptive prediction sets that control the miscoverage rate, using a pre-trained ResNet50 model to generate imputed labels.
  • IMDb Movie Reviews: A binary text sentiment dataset used for an Early Time Series Classification (ETSC) task. The goal was to determine when a Large Language Model (Phi-3-Mini-4K-Instruct) could safely stop reading a review early while strictly controlling the accuracy gap between full and partial text scanning.

Key Insights and Ideas

  • A Provable Safety Net: The most powerful aspect of this approach is its robustness. If your imputation model is highly accurate, the variance drops, and you get much tighter, more useful prediction sets. If the imputation model is terrible, the statistical guarantees still hold—the method simply degrades gracefully back to the performance of standard labeled calibration.
  • Structure Trumps Budget Splitting: While splitting the statistical error budget ($\delta$) usually incurs a penalty, preserving the binary structure of the loss via the authors' clipping technique allows the use of the exact Clopper-Pearson bound. This drastically outperforms general concentration bounds when labeled data is extremely scarce.
  • Duality of Testing and Bounds: By proving that RCPS is mathematically equivalent to multiple hypothesis testing frameworks (like "Learn then Test"), the authors simplified the process of extending risk control to non-monotonic risks.

Key Results

  • ImageNet Few-Shot Calibration: When labeled data was extremely limited (e.g., only 80 samples), the specialized binary method (SS-RCPS BIN) significantly reduced the over-conservatism of the prediction sets, bringing empirical coverage closer to the target 85% nominal level while shrinking the average prediction set size.
  • Sample Size Trade-offs: As shown in Figure 1, standard RCPS (RCPS lab) exhibits high coverage variance and overly large prediction sets when labeled data is scarce. The semi-supervised methods successfully reduce this conservatism. As the labeled calibration set size grows past 1,000 samples, the general method (SS-RCPS WSR) catches up and provides even tighter bounds than the binary variant, as it avoids the budget-splitting penalty.
Fig. 1. ImageNet classification experiment: the effect of labeled calibration set size. The top panel shows the coverage rate of the constructed prediction sets, while the bottom panel displays the average size of the prediction sets. Both performance metrics are presented as a function of the number of labeled calibration samples and evaluated over 100 different random splits of the data. Refer to the main text for a description of the five different methods compared.
  • Early LLM Exiting: In the IMDb task with 300 labeled samples, SS-RCPS BIN enabled the LLM to halt significantly earlier in the text sequence compared to vanilla RCPS, while strictly maintaining the target accuracy gap.
  • The Danger of Naivety: A naive baseline (RCPS imp) that blindly trusted imputed labels without the PPI correction completely failed, violating the risk guarantees and delivering invalid coverage.

Limitations and Future Work

  • The I.I.D. Assumption: The proofs rely on the calibration and test data being drawn from the same distribution. The authors note that extending this framework to handle covariate or label shift (e.g., via weighted loss functions) is a crucial next step.
  • Imputation Quality Dependency: While the method is always statistically safe, it offers no efficiency gains if the imputation model is highly inaccurate. Developing better imputation strategies or alternative score functions is necessary for noisy domains.
  • Trinomial UCBs: For the binary loss variant, the clipping operator introduces some conservative bias. The authors suggest that deriving an exact UCB for a trinomial variable (since the unclipped difference of two binary variables can take values in $\{-1, 0, 1\}$) could eliminate the need for clipping entirely.

Summary updated

BibTeX
@article{einbinder2025semi,
  author = {Bat-Sheva Einbinder and Liran Ringel and Yaniv Romano},
  title = {{Semi-Supervised Risk Control via Prediction-Powered Inference}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2025},
  url = {https://openreview.net/forum?id=okS4gwZJzR},
}
Figure