Resilient Semi-Supervised Inference with Heterogeneous Unlabeled Data

Mengyuan Wang, Chengde Qian, Haojie Ren, Changliang ZouNeurIPS 2026

TL;DR

Modern statistical frameworks like Prediction-Powered Inference (PPI) let researchers pair small, expensive labeled datasets with massive, ML-predicted unlabeled datasets to get tighter confidence intervals. However, if even a small fraction of that unlabeled "wild" data is corrupted or out-of-distribution, standard PPI breaks down completely. This paper introduces ReSSI, a resilient upgrade that filters out wild outliers on the fly and includes a built-in safety switch to fall back on clean, labeled data whenever the unlabeled pool is too toxic to trust.

What Problem Does This Paper Address?

Getting ground-truth labels is expensive, slow, and often requires human experts. Meanwhile, unlabeled data is practically falling from the sky. To bridge this gap, statisticians recently developed Prediction-Powered Inference (PPI). The idea is brilliant: use a black-box machine learning model (like a Transformer or XGBoost) to predict labels on the massive unlabeled dataset, and then use your small "gold-standard" labeled dataset to measure and subtract away the ML model's bias. You get valid p-values and confidence intervals with a fraction of the labeling budget.

There is just one catch: PPI assumes your clean labeled data and messy unlabeled data come from the exact same distribution. In reality, unlabeled data scraped in the wild often contains out-of-distribution noise, sensor glitches, or corrupted entries. Because PPI averages across the unlabeled predictions to calibrate its estimates, even a small fraction of outliers ($\epsilon^*$) can yank the average off course.

Figure 1: Motivating example: Fragility of PPI-type methods to contamination.

As shown above, when contamination creeps up to just 5% or 10%, the estimation error of standard PPI variants skyrockets, and their 90% confidence intervals drop to 0% coverage—meaning they miss the true parameter value almost every single time.

Methods

To make semi-supervised inference resilient to bad data—modeled here via the classic Huber contamination model where an adversary corrupts a fraction $\epsilon^*$ of unlabeled samples—the authors propose ReSSI (Resilient Semi-Supervised Inference).

Figure 2: Illustration of the ReSSI procedure.

While standard PPI uses a simple empirical mean to aggregate imputed gradients from the unlabeled data, ReSSI swaps in two novel mechanisms:

  1. Robust Imputation via Filtering: Instead of weighting all unlabeled data points equally, ReSSI uses a high-dimensional robust mean estimator called Filtering. Intuitively, outliers that shift the mean also inflate variance along the direction of that shift. Filtering assigns weights to unlabeled samples to minimize the operator norm (the largest directional variance) of the weighted sample covariance matrix, effectively muting suspected outliers. To avoid expensive grid searches when solving for the final parameter, ReSSI uses a fast one-step Newton update.
  2. Adaptive Cross-Validation (ReSSI-CV): In the real world, nobody hands you the exact contamination rate $\epsilon^*$ on a silver platter. ReSSI-CV partitions the labeled data into folds to test a candidate set of filtering aggressiveness levels ($\epsilon$). Crucially, the candidate set includes $\epsilon = 1$, which ignores the unlabeled data entirely. This acts as a mathematical circuit breaker, guaranteeing "safe learning."

Datasets

No new benchmarks are introduced; instead, the authors evaluate ReSSI on synthetic setups and two established real-world benchmarks from the PPI literature, injecting controlled contamination into the unlabeled splits:

  • Synthetic Tasks: Multivariate mean estimation and linear regression ($n=1,000$ labeled, $N=10,000$ unlabeled) with shifted covariate outliers.
  • American Community Survey (PUMS): California census data via folktables ($n=2,000$ labeled, $N \approx 378,000$ unlabeled) estimating linear regression coefficients relating age and sex to income, using XGBoost trained on prior-year data. Contaminated by duplicating the highest-predicted-income individual.
  • Yeast Gene Expression: 41,651 native yeast promoter DNA sequences ($n=1,000$ labeled, $N=40,651$ unlabeled) paired with a pretrained sequence-to-expression Transformer. Contaminated using out-of-range high-expression sequences.

Key Insights and Ideas

  • Covariance inflation gives outliers away: You don't need ground-truth labels on your unlabeled set to spot trouble. By looking at the spectral norm of the imputed gradients' covariance matrix, ReSSI detects when a cluster of unlabeled points is pulling too hard in one direction and downweights them.
  • Safe learning via fallback: Semi-supervised learning shouldn't be a gamble. By baking the standard supervised-only estimator into the cross-validation pool, ReSSI mathematically guarantees (via an oracle inequality) that even under catastrophic unlabeled corruption, your estimator performs nearly as well as if you had never touched the bad data at all.
  • You can tolerate a growing number of outliers: Theoretically, ReSSI achieves asymptotically exact confidence intervals as long as the contamination fraction $\epsilon^*$ shrinks faster than $1/n$—meaning as your unlabeled pool $N$ grows massive relative to $n$, the absolute number of outliers can actually grow to infinity without breaking your inference.

Key Results

Across all tasks, ReSSI and ReSSI-CV maintain valid statistical coverage while delivering tighter confidence regions than purely supervised baselines:

  • Census Data (PUMS): At 5% contamination ($\epsilon^* = 0.05$), standard PPI's estimation error explodes from $0.961$ to $67.649$, and its 90% confidence region coverage crashes to 0.000. ReSSI-CV keeps the error right on target at 0.978 with 91.8% coverage, while yielding a smaller confidence region volume ($0.663$) than using labeled data alone ($0.712$ volume, $1.043$ error).
  • Gene Expression: At 15% contamination ($\epsilon^* = 0.15$), standard PPI's error jumps from $0.026$ to $0.715$ with 0% coverage. Oracle ReSSI holds the error at 0.028 (90.4% coverage), and ReSSI-CV achieves 0.035 error—still beating or matching the supervised baseline's $0.036$ error while producing narrower confidence intervals ($0.118$ vs. $0.150$).

Limitations and Future Work

  • Partial contamination vs. global shift: ReSSI is designed for partial outlier contamination (where a subset of unlabeled data is corrupted), rather than systematic covariate shifts affecting the entire unlabeled distribution. The authors suggest combining ReSSI with domain adaptation tools—like propensity score or density-ratio weighting—to tackle global shifts and adversarial outliers simultaneously.
  • Slight CV undercoverage: In the gene expression task, ReSSI-CV exhibited mild confidence interval undercoverage (dipping to ~82.4%–85.6% instead of the nominal 90% under heavy contamination), which the authors note likely stems from finite-sample variability in the cross-validation selection step.

Summary updated

Abstract

Model-assisted semi-supervised learning offers a powerful paradigm for enhancing the efficiency of statistical estimation and inference by leveraging black-box predictions on unlabeled data. However, the validity of these methods typically relies on the strict assumption that labeled and unlabeled populations share identical distributional characteristics. Consequently, state-of-the-art approaches, such as prediction-powered inference, become fragile when this assumption is violated. To address this fragility, we propose a robust framework for semi-supervised learning that remains reliable under distributional heterogeneity. By embedding a robust statistical calibrator into the prediction-rectification mechanism, the approach effectively reduces the bias arising from shifted or corrupted unlabeled samples. To maximize data utility, we introduce an adaptive cross-validation procedure to select the optimal calibrator, ensuring a reliable trade-off between statistical efficiency and robustness. Theoretical analysis confirms the consistency of the proposed estimator under mild conditions, while empirical results demonstrate its improved performance relative to conventional baselines in heterogeneous environments.
BibTeX
@inproceedings{wang2026resilient,
  author = {Mengyuan Wang and Chengde Qian and Haojie Ren and Changliang Zou},
  title = {{Resilient Semi-Supervised Inference with Heterogeneous Unlabeled Data}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=7ZyMQkmbDz},
}
Figure