In many scientific domains, obtaining "gold-standard" labels is a bottleneck. Whether it is manual forest surveys, protein structure determinations, or door-to-door census counts, high-quality data is expensive and slow to acquire. Conversely, unlabeled features—such as satellite imagery or genomic sequences—are often abundant. Machine learning (ML) offers a tempting shortcut: use a small labeled set to train a model, then use that model to "impute" labels for the massive unlabeled dataset. However, ML models are often biased or imperfect. Treating predicted labels as ground truth in final analyses can lead to invalid p-values and confidence intervals, producing scientific "discoveries" that are merely artifacts of model error.
This paper introduces cross-prediction (CP), a new framework for semi-supervised inference. CP allows researchers to use "black-box" ML models to boost the power of statistical tests without sacrificing mathematical validity. By combining cross-fitting with a clever debiasing step, it produces narrower, more stable confidence intervals than classical methods or previous prediction-powered approaches.
The Cross-Prediction Framework
Cross-prediction builds on the recently proposed "prediction-powered inference" (PPI) but optimizes how labeled data is utilized. The core innovation lies in its handling of the labeled dataset through three main steps:
- Cross-Fitting: Instead of splitting a small labeled dataset into separate training and evaluation sets—which wastes precious data—CP employs a $K$-fold strategy. It trains $K$ different models, each time leaving out one fold of labeled data to be used for evaluation.
- Imputation and Debiasing: For each fold, the model predicts labels for the massive unlabeled set and the held-out labeled fold. The final estimator is constructed by taking the average prediction on the unlabeled data and subtracting an estimate of the model's bias, calculated by comparing predictions to true labels on the held-out folds.
- General M-Estimation: The authors prove a Central Limit Theorem (CLT) that extends this logic to any problem solvable via M-estimation, including quantiles, linear regression, and Generalized Linear Models (GLMs).
Empirical Evaluation
The authors demonstrate the versatility of CP across several distinct domains:
- Amazon Deforestation: Using Google Earth Engine satellite imagery to estimate forest loss, comparing "gold-standard" field visits to ML predictions.
- ACS PUMS (Socioeconomic Data): Analyzing the relationship between age, sex, and income in California census survey data.
- Galaxy Zoo 2: Estimating the prevalence of spiral galaxies using human-annotated images from the Sloan Digital Sky Survey and a ResNet50 computer vision model.
- Synthetic Data: Controlled environments to test mean, quantile, and linear regression performance under varying levels of feature-label correlation.
Key Results and Insights
The primary advantage of cross-prediction is data efficiency. Because of the cross-fitting approach, every single labeled point serves both to improve the model and to provide the data necessary for valid inference. This leads to significantly more "stable" results than its predecessors; the endpoints of CP confidence intervals do not fluctuate as wildly when the data split changes.
In the Amazon deforestation study, cross-prediction significantly reduced the width of confidence intervals compared to "classical" inference that ignored the satellite imagery. Furthermore, when a pre-trained model is not available, CP consistently outperforms the standard PPI approach, providing more precise estimates with the same amount of labeled data. Crucially, the framework is model-agnostic and remains valid even under model misspecification. If the ML model is a poor fit, the debiasing step ensures the confidence intervals still cover the true value at the advertised rate, though the "power boost" (interval narrowing) may be diminished.
Limitations and Future Work
While powerful, the theoretical proofs for CP rely on a "stability" assumption for the ML models. While empirically observed, this can be difficult to formally verify for massive, complex "black-box" models like Large Language Models. Additionally, training $K$ models and performing bootstrapping is computationally more expensive than a single fit, which may pose challenges for extremely large-scale deep learning applications. Future research will explore how the method scales in high-dimensional settings where the number of parameters grows alongside the sample size.
Summary updated