Prediction-Powered Inference

statisticsmachine learning

A researcher may have outcomes for a small sample and predictions for a much larger sample. Averaging the predictions estimates their population mean, which can differ from the mean outcome even when the predictions are accurate. The labeled observations allow the researcher to estimate this difference and account for the uncertainty in the correction.

The exposition below is based on Angelopoulos et al. (2023). They apply this argument to estimating equations by expressing the population score as the sum of a score evaluated at predicted outcomes and a correction estimated from labeled observations. At the target parameter, this sum is zero. A confidence set consists of the parameter values for which the estimated sum is sufficiently close to zero, with uncertainty from both samples included.

1. Sampling and the prediction rule

Let \(P\) be the joint distribution of a feature vector \(X\in\mathcal X\) and an outcome \(Y\in\mathbb R\). Write \(P_X\) for the marginal distribution of \(X\) and \(\mathbb{E}\) for expectation under \(P\).

Assumption 1. (Two independent samples.) The labeled observations \((X_i,Y_i)_{i=1}^n\) are independent and identically distributed according to \(P\). The unlabeled observations \((\widetilde X_j)_{j=1}^N\) are independent and identically distributed according to \(P_X\), and the two samples are independent. The measurable prediction rule \(f:\mathcal X\to\mathbb R\) is fixed independently of both samples.

An independently trained rule satisfies this sampling requirement after conditioning on its training data. In that interpretation, all expectations and coverage statements below are conditional on the training data, and the fitted rule is held fixed as the inference samples grow. The labeled and unlabeled observations come from the same population, so the prediction error measured in the labeled sample provides the correction needed in the unlabeled sample.

For the asymptotic results, take \(n,N\to\infty\) along a sequence satisfying

\[ \frac nN\longrightarrow r\in[0,\infty). \tag{1}\]

The case \(r=0\) allows the unlabeled sample to grow faster than the labeled sample. The distribution \(P\) and the prediction rule \(f\) remain fixed along this sequence. The results are pointwise at this distribution and rule.

For a scalar sample \(a_1,\ldots,a_m\), use the notation

\[ \overline a_m\triangleq\frac1m\sum_{i=1}^m a_i, \qquad \widehat{\operatorname{Var}}_m(a) \triangleq\frac1m\sum_{i=1}^m(a_i-\overline a_m)^2. \]

The divisor \(m\) agrees with the paper’s algorithms. Using \(m-1\) gives the same limits. Let \(z_u\) denote the \(u\) quantile of the standard normal distribution, and fix a coverage level \(1-\alpha\) with \(0<\alpha<1\).

A studentized statistic may be assigned any fixed value when its estimated variance is zero. Under the positive limiting variance conditions below, the probability of this event tends to zero.

2. Correcting the mean

For the target \(\theta^*\triangleq\mathbb{E}[Y]\), define the prediction error \(R\triangleq Y-f(X)\). The identity

\[ \theta^*=\mathbb{E}[f(X)]+\mathbb{E}[R] \tag{2}\]

suggests estimating the prediction mean with the unlabeled sample and the mean prediction error with the labeled sample. This gives the estimator in Algorithm 1 of the paper:

\[ \widehat\theta^{\mathrm{PP}} \triangleq\frac1N\sum_{j=1}^N f(\widetilde X_j) +\frac1n\sum_{i=1}^n\{Y_i-f(X_i)\}. \tag{3}\]

Put \(\sigma_f^2\triangleq\operatorname{Var}(f(X))\) and \(\sigma_R^2\triangleq\operatorname{Var}(R)\). Their estimators, \(\widehat\sigma_f^2\) and \(\widehat\sigma_R^2\), are the empirical variances in the unlabeled and labeled samples, respectively.

Proposition 2. (Mean estimation.) Under Assumption 1, suppose \(\mathbb{E}[Y^2+f(X)^2]<\infty\). Then, for every \(n,N\),

\[ \mathbb{E}[\widehat\theta^{\mathrm{PP}}]=\theta^*, \qquad \operatorname{Var}(\widehat\theta^{\mathrm{PP}}) =\frac{\sigma_R^2}{n}+\frac{\sigma_f^2}{N}. \tag{4}\]

If the sample-size condition holds and \(s^2\triangleq\sigma_R^2+r\sigma_f^2>0\), then

\[ \frac{\widehat\theta^{\mathrm{PP}}-\theta^*} {\sqrt{\widehat\sigma_R^2/n+\widehat\sigma_f^2/N}} \xrightarrow{d}\mathcal{N}(0,1). \tag{5}\]

Proof. Taking expectations in the estimator gives the population identity. Independence makes the covariance between its two averages zero, which proves the variance formula.

To obtain the limit distribution, center each average at its own expectation:

\[ \sqrt n(\widehat\theta^{\mathrm{PP}}-\theta^*) =\frac1{\sqrt n}\sum_{i=1}^n(R_i-\mathbb{E}[R]) +\sqrt{\frac nN}\frac1{\sqrt N}\sum_{j=1}^N \{f(\widetilde X_j)-\mathbb{E}[f(X)]\}. \tag{6}\]

The central limit theorem applies to each sum. Their independence gives independent Gaussian limits, and the multiplier on the second sum converges to \(\sqrt r\). Thus the right-hand side converges to \(\mathcal{N}(0,s^2)\). When \(r=0\), the second term converges to zero in probability because the normalized sum is \(O_P(1)\).

The laws of large numbers for the first and second moments imply

\[ \widehat\sigma_R^2+\frac nN\widehat\sigma_f^2 \xrightarrow{P}s^2. \]

Multiplying the numerator and denominator in the studentized statistic by \(\sqrt n\) and applying Slutsky’s theorem proves the result. \(\square\)

It follows that

\[ \widehat\theta^{\mathrm{PP}} \ \pm\ z_{1-\alpha/2} \sqrt{\frac{\widehat\sigma_R^2}{n}+\frac{\widehat\sigma_f^2}{N}} \tag{7}\]

has coverage converging to \(1-\alpha\). The estimator is unbiased for any fixed prediction rule with the stated moments. Its normal confidence interval uses a large-sample approximation.

If \(r=0\) and \(\sigma_R^2=0\), the positive-scale condition in Proposition 2 fails. Here \(R\) is constant almost surely, so its sample average has no error. If \(\sigma_f^2>0\), the ordinary \(\sqrt N\) central limit theorem for the prediction average validates the same interval. If both variances are zero, the estimator equals \(\theta^*\) almost surely and the zero-width interval covers with probability one.

2.1. Precision relative to the labeled mean

The labeled sample mean has variance \(\operatorname{Var}(Y)/n\). Expanding the residual variance gives the exact difference

\[ n\left\{\operatorname{Var}(\widehat\theta^{\mathrm{PP}}) -\operatorname{Var}(\overline Y_n)\right\} =\left(1+\frac nN\right)\operatorname{Var}(f(X)) -2\operatorname{Cov}(Y,f(X)). \tag{8}\]

Predictions reduce variance precisely when twice their covariance with the outcome exceeds the variance term on the right. Adding a constant to \(f\) leaves the estimator unchanged: the constant added to the prediction average is subtracted from the residual average. Thus a constant prediction bias is corrected exactly, while variation in the prediction errors determines precision.

For example, suppose \(Y=m(X)+\varepsilon\), where \(m(X)\triangleq\mathbb{E}[Y\mid X]\) and \(\mathbb{E}[\varepsilon\mid X]=0\). If \(f(X)=m(X)+c\) for a constant \(c\), then

\[ \operatorname{Var}(\widehat\theta^{\mathrm{PP}}) =\frac{\operatorname{Var}(\varepsilon)}n +\frac{\operatorname{Var}(m(X))}N, \qquad \operatorname{Var}(\overline Y_n) =\frac{\operatorname{Var}(\varepsilon)+\operatorname{Var}(m(X))}n. \]

The larger sample estimates the mean of \(m(X)\), while the labeled sample estimates the mean residual. Their variance contributions are given by the two terms above. With \(N>n\) and \(\operatorname{Var}(m(X))>0\), the corrected estimator has strictly smaller variance. For an arbitrary rule, the variance comparison also permits a loss of precision.

3. Correcting an estimating equation

Let \(\Theta\subseteq\mathbb R^d\) and let \(g_\theta(x,y)\in\mathbb R^d\) be a measurable score. Suppose both \(g_\theta(X,Y)\) and \(g_\theta(X,f(X))\) are integrable for every \(\theta\in\Theta\). The target is a specified, fixed solution of

\[ G(\theta^*)\triangleq\mathbb{E}[g_{\theta^*}(X,Y)]=0. \tag{9}\]

For differentiable convex risk minimization, this equation follows when the minimizer is interior and differentiation can be passed through the expectation. Convexity then makes a zero gradient sufficient for global minimization. For a nondifferentiable loss, the chosen subgradient must satisfy the zero-mean equation; the quantile calculation below verifies this condition directly.

Define

\[ g_\theta^f\triangleq\mathbb{E}[g_\theta(X,f(X))], \qquad \Delta_\theta\triangleq\mathbb{E}[g_\theta(X,Y)-g_\theta(X,f(X))]. \tag{10}\]

The paper calls \(\Delta_\theta\) the rectifier. It measures the error from substituting predictions into this particular score. The identity \(G(\theta)=g_\theta^f+\Delta_\theta\) holds for every \(\theta\in\Theta\), and its value at \(\theta^*\) is zero.

3.1. Finite-sample confidence sets

Suppose \(R_\delta(\theta)\) is a confidence set for \(\Delta_\theta\) and \(T_{\alpha-\delta}(\theta)\) is a confidence set for \(g_\theta^f\). Their Minkowski sum is

\[ R_\delta(\theta)+T_{\alpha-\delta}(\theta) \triangleq\{u+v:u\in R_\delta(\theta),\ v\in T_{\alpha-\delta}(\theta)\}. \]

Theorem 3. (Coverage by score inversion.) Fix \(0<\delta<\alpha<1\). Suppose that, for every fixed \(\theta\in\Theta\),

\[ \mathbb P\{\Delta_\theta\in R_\delta(\theta)\}\ge1-\delta, \qquad \mathbb P\{g_\theta^f\in T_{\alpha-\delta}(\theta)\}\ge1-(\alpha-\delta). \]

Then

\[ C_\alpha^{\mathrm{PP}} \triangleq\{\theta\in\Theta:0\in R_\delta(\theta)+T_{\alpha-\delta}(\theta)\} \tag{11}\]

satisfies \(\mathbb P(\theta^*\in C_\alpha^{\mathrm{PP}})\ge1-\alpha\) for each specified solution \(\theta^*\) of the population score equation.

Proof. Let \(E_R\) be the event that \(R_\delta(\theta^*)\) contains \(\Delta_{\theta^*}\), and let \(E_T\) be the corresponding event for \(g_{\theta^*}^f\). On their intersection,

\[ 0=\Delta_{\theta^*}+g_{\theta^*}^f \in R_\delta(\theta^*)+T_{\alpha-\delta}(\theta^*). \]

Hence \(E_R\cap E_T\subseteq\{\theta^*\in C_\alpha^{\mathrm{PP}}\}\), and

\[ \mathbb P(\theta^*\notin C_\alpha^{\mathrm{PP}}) \le\mathbb P(E_R^c)+\mathbb P(E_T^c) \le\delta+(\alpha-\delta)=\alpha. \]

This proves the claim. \(\square\)

The proof uses the component guarantees only at the fixed target. Consequently, pointwise confidence bounds suffice even though the reported set is obtained by searching over \(\Theta\). Covering all population solutions simultaneously would require a joint guarantee over those solutions. The union bound also allows dependence between the two component sets; independence enters the sampling calculations used to construct them.

3.2. Normal approximation for the corrected score

The paper’s normal-approximation algorithms estimate the variance of the sum directly. Define

\[ \begin{aligned} A_i(\theta)&\triangleq g_\theta(X_i,Y_i)-g_\theta(X_i,f(X_i)),\\ B_j(\theta)&\triangleq g_\theta(\widetilde X_j,f(\widetilde X_j)),\\ \widehat G(\theta)&\triangleq\overline A_n(\theta)+\overline B_N(\theta). \end{aligned} \tag{12}\]

For coordinate \(k\), put

\[ \widehat v_k(\theta)\triangleq \frac{\widehat{\operatorname{Var}}_n(A_k(\theta))}{n} +\frac{\widehat{\operatorname{Var}}_N(B_k(\theta))}{N}. \]

Proposition 4. (Normal score inversion.) Suppose Assumption 1 and the sample-size condition hold, with fixed \(d\). At \(\theta^*\), each coordinate of \(A_i\) and \(B_j\) has a finite second moment and

\[ s_k^2\triangleq\operatorname{Var}(A_{i,k}(\theta^*)) +r\operatorname{Var}(B_{j,k}(\theta^*))>0. \]

Then the set

\[ C_\alpha^{\mathrm{PP}} \triangleq\bigcap_{k=1}^d \left\{\theta\in\Theta: |\widehat G_k(\theta)| \le z_{1-\alpha/(2d)}\sqrt{\widehat v_k(\theta)}\right\} \tag{13}\]

satisfies \(\liminf_{n,N\to\infty}\mathbb P(\theta^*\in C_\alpha^{\mathrm{PP}})\ge1-\alpha\). When \(d=1\), coverage converges to \(1-\alpha\).

Proof. At the target, \(\mathbb{E}[A_{i,k}]+\mathbb{E}[B_{j,k}]=0\). Centering each summand therefore gives

\[ \sqrt n\,\widehat G_k(\theta^*) =\frac1{\sqrt n}\sum_i(A_{i,k}-\mathbb{E}[A_{i,k}]) +\sqrt{\frac nN}\frac1{\sqrt N}\sum_j(B_{j,k}-\mathbb{E}[B_{j,k}]). \]

As in Proposition 2, this converges to \(\mathcal{N}(0,s_k^2)\) and \(n\widehat v_k(\theta^*)\xrightarrow{P}s_k^2\). The studentized statistic converges to a standard normal variable, so coordinate \(k\) rejects with probability converging to \(\alpha/d\). Applying the union bound to the \(d\) rejection events proves the result. For \(d=1\), membership in the confidence set is exactly the central normal acceptance event. \(\square\)

For scalar interval bounds centered at \(\overline A_n(\theta)\) and \(\overline B_N(\theta)\), with radii \(a\) and \(b\), the finite-sample construction accepts when \(|\widehat G(\theta)|\le a+b\). Proposition 4 instead uses the standard deviation of the sum, obtained by adding the two variance contributions. Its coverage follows from the central limit theorem and does not use an allocation \(\delta\) of the error probability.

4. Quantiles

Write \(F_Y(t)\triangleq\mathbb P(Y\le t)\). For \(\tau\in(0,1)\), let \(q_\tau\triangleq\inf\{t:F_Y(t)\ge\tau\}\) be finite and suppose

\[ F_Y(q_\tau)=\tau. \tag{14}\]

Continuity of \(F_Y\) at \(q_\tau\) is sufficient for this equality. The equality itself is the condition used below. In particular, it excludes a jump that places \(\tau\) strictly between \(F_Y(q_\tau-)\) and \(F_Y(q_\tau)\).

The quantile loss has a subgradient

\[ g_\theta(y)\triangleq\mathbf1\{y\le\theta\}-\tau. \]

Its expectation vanishes at \(q_\tau\) by the quantile condition. For each \(\theta\in\mathbb R\), define

\[ A_i(\theta)\triangleq\mathbf1\{Y_i\le\theta\}-\mathbf1\{f(X_i)\le\theta\}, \qquad H_j(\theta)\triangleq\mathbf1\{f(\widetilde X_j)\le\theta\}. \]

The predicted score is \(B_j(\theta)=H_j(\theta)-\tau\). Consequently,

\[ \begin{aligned} \widehat G(\theta)&=\overline A_n(\theta)+\overline H_N(\theta)-\tau,\\ \widehat v(\theta)&= \frac{\widehat{\operatorname{Var}}_n(A(\theta))}{n} +\frac{\widehat{\operatorname{Var}}_N(H(\theta))}{N}. \end{aligned} \tag{15}\]

The corrected distribution estimate \(\overline A_n(\theta)+\overline H_N(\theta)\) has expectation \(F_Y(\theta)\). Algorithm 2 inverts the tests of \(F_Y(\theta)=\tau\).

Proposition 5. (Quantile coverage.) Under Assumption 1, the sample-size condition, and the quantile condition, suppose

\[ \operatorname{Var}(A_i(q_\tau))+r\operatorname{Var}(H_j(q_\tau))>0. \]

Then

\[ C_\alpha^{\mathrm{PP}} \triangleq\{\theta\in\mathbb R: |\widehat G(\theta)|\le z_{1-\alpha/2}\sqrt{\widehat v(\theta)}\} \tag{16}\]

has coverage converging to \(1-\alpha\) for \(q_\tau\).

Proof. The correction \(A_i(q_\tau)\) is bounded by one in absolute value, and \(H_j(q_\tau)\) takes values in \(\{0,1\}\). Their second moments are finite. Subtracting the constant \(\tau\) from \(H_j\) leaves its variance unchanged. Proposition 4, with \(d=1\), therefore applies. \(\square\)

The labeled contribution to uncertainty depends on how often \(Y_i\) and \(f(X_i)\) fall on different sides of the threshold. For example, a large numerical prediction error contributes zero to \(A_i(\theta)\) if both values exceed \(\theta\). The coverage proof evaluates a bounded score at the fixed quantile and therefore requires no density estimate.

The corrected distribution estimate can decrease at a predicted value from the labeled sample, so the confidence set can have several components. It can nevertheless be computed over the full real line without approximating the parameter by a fixed grid. Sort the distinct values among \(Y_i\), \(f(X_i)\), and \(f(\widetilde X_j)\). Both the score and its estimated variance are constant on each interval between successive values. With the convention \(\mathbf1\{y\le\theta\}\), each such interval includes its left endpoint and excludes its right endpoint. Evaluate one point per interval, including the two exterior intervals, and retain the entire accepted intervals. Taking the smallest interval containing this set preserves at least its coverage, although it can include rejected values between components.

5. Logistic regression

Let \(Y\in\{0,1\}\), \(X\in\mathbb R^d\), and \(f(X)\in[0,1]\). Define the logistic risk and fitted probability by

\[ L(\theta)\triangleq\mathbb{E}[\log(1+\exp(X^\top\theta))-YX^\top\theta], \qquad \mu_\theta(x)\triangleq\frac1{1+\exp(-x^\top\theta)}. \]

Suppose \(\mathbb{E}\|X\|^2<\infty\) and \(L\) has a finite minimizer \(\theta^*\in\mathbb R^d\). The gradient of the observation-level loss is bounded in norm by \(\|X\|\), so differentiation under the expectation is justified. The first-order condition is

\[ G(\theta^*)=\mathbb{E}[X\{\mu_{\theta^*}(X)-Y\}]=0. \tag{17}\]

This defines the population logistic regression target. A correctly specified logistic conditional mean is a sufficient condition for interpreting \(\theta^*\) as its coefficient; risk minimization also defines the target under misspecification.

Substituting \(g_\theta(x,y)=x(\mu_\theta(x)-y)\) into the rectifier gives

\[ g_\theta(X,Y)-g_\theta(X,f(X))=X\{f(X)-Y\}. \tag{18}\]

The fitted probabilities cancel, so the same correction applies at every parameter value. In sample form,

\[ A_i=X_i\{f(X_i)-Y_i\}, \qquad B_j(\theta)=\widetilde X_j\{\mu_\theta(\widetilde X_j)-f(\widetilde X_j)\}. \]

Use these vectors to form \(\widehat G_k(\theta)\) and \(\widehat v_k(\theta)\). Algorithm 3 reports the coordinatewise confidence set.

Corollary 6. (Logistic regression coverage.) Suppose Assumption 1 and the sample-size condition hold. Under the conditions in this section, let \(d\) be fixed and assume \(s_k^2>0\) at \(\theta^*\) for every coordinate. Then Algorithm 3 satisfies

\[ \liminf_{n,N\to\infty}\mathbb P(\theta^*\in C_\alpha^{\mathrm{PP}})\ge1-\alpha. \]

Proof. Because \(Y\), \(f(X)\), and \(\mu_\theta(X)\) lie in \([0,1]\), both score vectors have norm bounded by the corresponding feature norm. The assumption \(\mathbb{E}\|X\|^2<\infty\) gives the required second moments. The first-order condition supplies the zero-mean restriction, so Proposition 4 proves the claim. \(\square\)

The coordinates share observations and can be dependent. Bonferroni’s inequality accounts for their joint rejection probability. The construction estimates the variance of each score coordinate and inverts the resulting tests, so it does not require estimating an inverse Hessian. To obtain a confidence set for one coefficient, project the joint accepted set onto that coordinate. Any numerical approximation used for coverage should contain the accepted set; retaining only accepted grid points can omit a parameter between them.

6. Linear regression

Let \(X\in\mathbb R^d\) and suppose \(\Sigma\triangleq\mathbb{E}[XX^\top]\) is positive definite. The population least-squares coefficient is

\[ \beta^*\triangleq\Sigma^{-1}\mathbb{E}[XY]. \]

Linearity of the projection gives

\[ \beta_f\triangleq\Sigma^{-1}\mathbb{E}[Xf(X)], \qquad \beta_R\triangleq\Sigma^{-1}\mathbb{E}[X\{Y-f(X)\}], \qquad \beta^*=\beta_f+\beta_R. \tag{19}\]

Algorithm 4 estimates these two projections separately. Write

\[ \widehat\Sigma_U\triangleq\frac1N\sum_j\widetilde X_j\widetilde X_j^\top, \qquad \widehat\Sigma_L\triangleq\frac1n\sum_iX_iX_i^\top, \]

and, on the event that both matrices are invertible, define

\[ \widehat\beta_f\triangleq\widehat\Sigma_U^{-1}\frac1N\sum_j\widetilde X_j f(\widetilde X_j), \qquad \widehat\beta_R\triangleq\widehat\Sigma_L^{-1}\frac1n\sum_iX_i\{Y_i-f(X_i)\}, \qquad \widehat\beta^{\mathrm{PP}}\triangleq\widehat\beta_f+\widehat\beta_R. \tag{20}\]

The paper fits the labeled response \(f(X_i)-Y_i\) and subtracts its coefficient, which yields the same estimator. Positive definiteness of \(\Sigma\) and convergence of the sample Gram matrices imply that the invertibility event has probability approaching one. On its complement, the estimator may be assigned any fixed value and the reported confidence set taken to be \(\mathbb R^d\).

6.1. The two projection errors

Define the population residuals

\[ e_f\triangleq f(X)-X^\top\beta_f, \qquad e_R\triangleq Y-f(X)-X^\top\beta_R, \]

and their sandwich covariance matrices

\[ V_f\triangleq\Sigma^{-1}\mathbb{E}[XX^\top e_f^2]\Sigma^{-1}, \qquad V_R\triangleq\Sigma^{-1}\mathbb{E}[XX^\top e_R^2]\Sigma^{-1}. \]

Proposition 7. (Least-squares limit.) Suppose Assumption 1 and the sample-size condition hold, \(d\) is fixed, \(\Sigma\) is positive definite, and

\[ \mathbb{E}[(\|X\|+|Y|+|f(X)|)^4]<\infty. \]

Then

\[ \sqrt n(\widehat\beta^{\mathrm{PP}}-\beta^*) \xrightarrow{d}\mathcal{N}(0,V_R+rV_f). \tag{21}\]

Proof. The sample normal equations imply the exact identities

\[ \widehat\beta_f-\beta_f =\widehat\Sigma_U^{-1}\frac1N\sum_j\widetilde X_j e_{f,j}, \qquad \widehat\beta_R-\beta_R =\widehat\Sigma_L^{-1}\frac1n\sum_iX_i e_{R,i}. \tag{22}\]

The population normal equations give \(\mathbb{E}[Xe_f]=\mathbb{E}[Xe_R]=0\). The fourth-moment assumption ensures that these score vectors have finite second moments and that each Gram matrix converges to \(\Sigma\). Hence

\[ (\widehat\Sigma_U^{-1}-\Sigma^{-1}) \frac1{\sqrt N}\sum_j\widetilde X_j e_{f,j}=o_P(1), \]

because the matrix difference is \(o_P(1)\) and the normalized score sum is \(O_P(1)\). Applying the same argument to the labeled sample yields

\[ \begin{aligned} \sqrt n(\widehat\beta^{\mathrm{PP}}-\beta^*) ={}&\Sigma^{-1}\frac1{\sqrt n}\sum_iX_i e_{R,i}\\ &+\sqrt{\frac nN}\Sigma^{-1}\frac1{\sqrt N}\sum_j\widetilde X_j e_{f,j} +o_P(1). \end{aligned} \tag{23}\]

Independent multivariate central limit theorems give the two covariance contributions \(V_R\) and \(rV_f\). This proves the claimed limit, including \(r=0\). \(\square\)

6.2. Estimating the covariance

Use the residual from each fitted projection to estimate its covariance:

\[ \widehat V_f\triangleq\widehat\Sigma_U^{-1} \left(\frac1N\sum_j\widetilde X_j\widetilde X_j^\top \{f(\widetilde X_j)-\widetilde X_j^\top\widehat\beta_f\}^2\right) \widehat\Sigma_U^{-1}, \]
\[ \widehat V_R\triangleq\widehat\Sigma_L^{-1} \left(\frac1n\sum_iX_iX_i^\top \{Y_i-f(X_i)-X_i^\top\widehat\beta_R\}^2\right) \widehat\Sigma_L^{-1}. \tag{24}\]

To verify consistency, put \(h_f\triangleq\widehat\beta_f-\beta_f\). The difference between the fitted and population squared residuals is

\[ \{e_{f,j}-\widetilde X_j^\top h_f\}^2-e_{f,j}^2 =-2e_{f,j}\widetilde X_j^\top h_f+(\widetilde X_j^\top h_f)^2. \]

Thus the operator norm of the change in the middle matrix is at most

\[ 2\|h_f\|\frac1N\sum_j\|\widetilde X_j\|^3|e_{f,j}| +\|h_f\|^2\frac1N\sum_j\|\widetilde X_j\|^4. \]

The sample averages are \(O_P(1)\) by the fourth-moment assumption and Hölder’s inequality, while \(h_f=o_P(1)\) by the projection expansion. The displayed bound therefore converges to zero in probability. The law of large numbers applies to the matrix using population residuals, and \(\widehat\Sigma_U^{-1}\xrightarrow{P}\Sigma^{-1}\). These facts prove \(\widehat V_f\xrightarrow{P}V_f\). Replacing the predicted response by \(Y-f(X)\) proves \(\widehat V_R\xrightarrow{P}V_R\).

For coordinate \(k\) with \((V_R+rV_f)_{kk}>0\), Slutsky’s theorem now gives the interval

\[ \widehat\beta_k^{\mathrm{PP}} \ \pm\ z_{1-\alpha/2} \sqrt{\frac{(\widehat V_R)_{kk}}n+\frac{(\widehat V_f)_{kk}}N}, \tag{25}\]

whose coverage converges to \(1-\alpha\). The two covariance estimates follow from the two independent projection errors in the expansion. A residual formed from the final combined coefficient describes a different regression error and does not estimate these two contributions.

Angelopoulos, Anastasios N., Stephen Bates, Clara Fannjiang, Michael I. Jordan, and Tijana Zrnic. 2023. “Prediction-Powered Inference.” arXiv. http://arxiv.org/abs/2301.09633.

← All posts