Prediction-Powered Inference Beyond Convex Losses
A zero population gradient can identify a local maximum or another stationary point when the loss is nonconvex. Inference on a global minimizer therefore requires a comparison of risks. The minimizer’s risk is no larger than the risk at any admissible benchmark, which gives an inequality that can be tested directly.
The exposition below is based on Section 4.1 of Angelopoulos et al. (2023). The authors use predictions to estimate both sides of this comparison. They choose a benchmark on one part of the unlabeled sample and evaluate it on the remaining observations. A parameter value is retained when a lower confidence bound for its risk does not exceed an upper confidence bound for the benchmark’s risk. At a population minimizer, rejection requires at least one of these bounds to fail.
1. Risk minimization and the benchmark
Let \(\Theta\) be a parameter space and let \(\ell_\theta(x,y)\) be a measurable loss. Define
Assume these expectations are finite at every parameter used below, and fix a population minimizer \(\theta^*\in\arg\min_{\theta\in\Theta}L(\theta)\). Neither convexity of the loss nor convexity of \(\Theta\) is required.
Observe an independent and identically distributed labeled sample \((X_i,Y_i)_{i=1}^n\) from \(P\) and an independent unlabeled sample whose observations are independent and identically distributed according to \(P_X\). Hold the prediction rule \(f\) fixed, or condition on independent training data. Split the unlabeled sample into a selection sample \(\mathcal U_1\) of size \(N_1\) and an evaluation sample \(\mathcal U_2\) of size \(N_2\).
Let \(\mathcal F_1\) denote the information in the selection sample and any independent training data. Choose a measurable benchmark \(b\in\Theta\) using only \(\mathcal F_1\). The paper uses a minimizer of predicted empirical loss,
An approximate minimizer, or any other \(\mathcal F_1\)-measurable choice, also suffices for coverage. Conditional on \(\mathcal F_1\), the benchmark is fixed and the evaluation observations retain their sampling distributions.
Estimate the two components of the risk identity by
Write \(E_f(\theta)\triangleq\widetilde L^f(\theta)-L^f(\theta)\) for the error in estimating the predicted risk. Then
The minus sign on \(E_f\) determines which one-sided bound is needed in the coverage proof.
2. Coverage from four one-sided bounds
Fix \(0<\delta<\alpha<1\). Let \(R^l(\theta)\) and \(R^u(\theta)\) be lower and upper bounds for \(\Delta(\theta)\), and let \(T^l(\theta)\) and \(T^u(\theta)\) bound \(E_f(\theta)\).
Assumption 1. (Conditional one-sided coverage.) Conditional on \(\mathcal F_1\), the following inequalities hold almost surely:
These are the four bounds needed at the target and benchmark. They can be obtained from bounds valid for every fixed parameter value under the conditional sampling distribution. Sample splitting permits evaluating such a bound at \(b\): after conditioning, the selected benchmark is fixed independently of the labeled and evaluation samples.
Define the lower and upper risk bounds
Theorem 2. (Coverage of a risk minimizer.) Under Assumption 1, the set
satisfies \(\mathbb P(\theta^*\in C_\alpha\mid\mathcal F_1)\ge1-\alpha\) almost surely. Consequently, \(\mathbb P(\theta^*\in C_\alpha)\ge1-\alpha\).
Proof. Conditional on \(\mathcal F_1\), the probability that at least one event in the four bounds fails is at most
On the event that all four bounds hold, the risk decomposition and population optimality give
Thus \(\theta^*\in C_\alpha\) on this event. Taking expectations of the conditional coverage inequality proves the unconditional statement. \(\square\)
All four bounds can be dependent. For example, the labeled sample is used at both \(\theta^*\) and \(b\). The union bound controls their combined failure probability. Selecting \(b\) with the evaluation sample would require confidence bounds that remain valid after that selection, such as simultaneous bounds over the possible benchmarks.
The theorem covers each specified population minimizer. If the target is the entire set of minimizers, the bounds at the minimizers must hold jointly over that set. The benchmark’s quality affects how many other parameters can be excluded. Let
With exact risk evaluation, the comparison retains precisely the sublevel set \(\{\theta:L(\theta)-L(\theta^*)\le\eta\}\). A benchmark with small excess risk therefore permits a more informative comparison, while the inequality protecting \(\theta^*\) holds for every admissible benchmark.
3. Bounded losses
Suppose a known constant \(B>0\) bounds both the observed and predicted losses:
almost surely, for every \(\theta\in\Theta\). Conditional on \(\mathcal F_1\), each labeled rectifier summand lies in \([-B,B]\). Hoeffding’s one-sided inequality gives
The same bound applies to the opposite tail. Each predicted loss lies in \([0,B]\), so
with the same bound for its opposite tail. Set
Then \(R^l=\widehat\Delta-r_\Delta\), \(R^u=\widehat\Delta+r_\Delta\), \(T^l=-r_f\), and \(T^u=r_f\) satisfy Assumption 1. Each radius assigns the required probability to one tail.
Corollary 3. (Bounded-loss confidence set.) Under the sampling and boundedness conditions above, put \(\widehat L^{\mathrm{PP}}(\theta)\triangleq\widetilde L^f(\theta)+\widehat\Delta(\theta)\). The set
covers \(\theta^*\) with probability at least \(1-\alpha\), conditional on \(\mathcal F_1\) and unconditionally.
Proof. Substituting the four bounds into the risk-comparison set gives the displayed inequality. Theorem 2 supplies its coverage. \(\square\)
The two copies of each radius account for uncertainty at \(\theta\) and at the benchmark \(b\). Testing more parameter values does not increase the error budget needed to cover the fixed \(\theta^*\): the proof uses the bounds for \(\theta\) only at \(\theta^*\). For example, the loss \(\ell_\theta(y)=\mathbf1\{y\ne\theta\}\) on a finite outcome space is bounded by \(B=1\). Its risk is \(1-\mathbb P(Y=\theta)\), so the construction covers any specified population mode.
4. Paired risk differences
Separate bounds at \(\theta\) and at the benchmark \(b\) can be conservative when their estimation errors are positively correlated. Conditioning on \(\mathcal F_1\), define
Their expectations satisfy
The corresponding corrected difference is
When the summands have finite second moments, independence of the evaluation samples gives
To see the effect of pairing, write \(E_a\triangleq\ell_a(X,Y)-\ell_a(X,f(X))\). The labeled variance becomes
Prediction errors shared by the two risk estimates reduce the variance of their difference. A direct bound for this difference can use that covariance.
Proposition 4. (Coverage from a risk difference.) Suppose \(\underline d(\theta)\) satisfies
Then \(C_\alpha^{\mathrm{diff}}\triangleq\{\theta\in\Theta:\underline d(\theta)\le0\}\) covers \(\theta^*\) with conditional probability at least \(1-\alpha\).
Proof. On the event in the hypothesis, \(\underline d(\theta^*)\le L(\theta^*)-L(b)\le0\), so the target belongs to the reported set. \(\square\)
This follows directly from the risk inequality. A normal lower bound based on the paired variance requires a central limit theorem and a consistent variance estimator. If the benchmark changes with the sample sizes, those conditions must hold along the resulting sequence; conditional independence alone does not establish that approximation.
5. A nonconvex example
Take \(\Theta=\mathbb R\) and \(\ell_\theta(Y)=(\theta^2-Y)^2\), with \(\mathbb{E}[Y^2]<\infty\) and \(\mu\triangleq\mathbb{E}[Y]>0\). Expanding the risk gives
The stationary points are \(0\) and \(\pm\sqrt\mu\). Since
only \(\pm\sqrt\mu\) minimize the risk. At zero, \(L''(0)=-4\mu<0\) and the excess risk is \(\mu^2\). The observation-level derivative \(4\theta(\theta^2-Y)\) is identically zero at \(\theta=0\). A test based solely on this derivative has no information with which to exclude zero.
The risk difference has a simpler form. For a benchmark \(b\) fixed by \(\mathcal F_1\),
The squared outcomes cancel when the two losses are subtracted. If \(\mathbb{E}[f(X)^2]<\infty\), the paired difference can therefore be estimated using the corrected mean
Substitution into the paired estimator yields
and
Thus second moments suffice for the paired variance, even though a variance calculation for each separate squared loss can require fourth moments.
A confidence interval for \(\mu\) also gives a lower bound for every risk difference. Suppose \([a,u]\) covers \(\mu\) with conditional probability at least \(1-\alpha\), and put \(c_\theta\triangleq\theta^2-b^2\). Minimizing \(c_\theta(\theta^2+b^2-2m)\) over \(m\in[a,u]\) gives
On the single event \(\mu\in[a,u]\), this bound is valid for all \(\theta\). The set \(\{\theta:\underline d(\theta)\le0\}\) consequently contains both population minimizers on that event. The normal mean interval from the companion post, computed with the evaluation sample size \(N_2\), supplies asymptotic coverage under its stated moment and variance conditions. The deterministic implication remains valid for any benchmark selected independently of these evaluation observations.
For a benchmark with \(b^2=\mu\), the lower bound at zero is \(\mu(2a-\mu)\). If the mean interval shrinks to \(\mu\), this converges to the positive risk gap \(\mu^2\), so zero is eventually excluded with probability approaching one. The comparison can therefore distinguish a global minimizer from a stationary point whose score is identically zero.
All sets above are defined over \(\Theta\). An approximate benchmark preserves the inequality \(L(\theta^*)\le L(b)\) used in the proof. Approximating the confidence set requires separate care: an implementation should return a set containing all parameter values accepted by the defining inequality, or establish a bound on the numerical approximation error.