Sam Babichenko

Reading notes / Missing and selective labels

Prediction-powered inference with LLM judges

Angelopoulos et al., 2023; Saad-Falcon et al., 2024

Data and estimates
xxan item to be scored (in ARES, a question, retrieved passage and answer)
yyhuman label of an item: 1 pass, 0 fail, or any number
f(x)f(x)the judge's score of item xx; the judge is fixed in advance
n,n, NNnumbers of labeled and of unlabeled items
(xi,yi)(x_i,y_i)labeled pair ii, i=1,…,ni=1,\dots,n
x~j\tilde x_junlabeled item jj, j=1,…,Nj=1,\dots,N
θ\thetatarget E[y]\mathbb E[y]; the success rate for a pass/fail label
yˉ\bar yclassical estimate, the mean of the nn labels
fˉn,\bar f_n, fˉN\bar f_Njudge means on the nn labeled and on the NN unlabeled items
Δ\Deltarectifier E[f(x)−y]\mathbb E[f(x)-y], the judge's mean error; Dudík et al.'s reward-model error Δ\Delta, averaged over items
θ^PP\hat\theta_{\rm PP}PPI estimate: judge mean on the unlabeled items minus the mean residual on the labeled ones
σy2,\sigma_y^2, σf2,\sigma_f^2, σf−y2\sigma_{f-y}^2variances of yy, of f(x)f(x) and of the residual f(x)−yf(x)-y for one item; hats are sample variances
λ,\lambda, λ∗\lambda^*PPI++ weight on the judge, and its variance-minimizing value
θ^λ\hat\theta_\lambdaPPI++ estimate with weight λ\lambda
ρ\rhocorrelation between f(x)f(x) and yy
τ\tauKendall's rank correlation between estimated and true orderings of systems
Pass/fail judges
η\etaprobability that a judge flips a label, the same for both labels (Step 2)
aaprobability that the judge passes a bad output (Step 4)
bbprobability that the judge fails a good output (Step 4)
θlab\theta_{\rm lab}success rate of the outputs in the labeled set (Step 4)
The papers' symbols
X,X, Y,Y, X~\tilde XAngelopoulos et al. write capitals for xx, yy, x~\tilde x
θ∗,\theta^*, θ^class\hat\theta^{\rm class}Angelopoulos et al. write these for θ\theta and yˉ\bar y
ppAngelopoulos et al. write pp for the success rate θ\theta in Appendix G
human preference validation setARES's name for its labeled set

Context. Evaluating a language-model system usually reduces to estimating a mean, such as the share of answers faithful to retrieved passages. Human labels estimate that mean without bias, though cost limits a team to a few hundred. An a language model, prompted or fine-tuned, that scores each output of the system being evaluated, typically 1 for pass and 0 for fail scores every output cheaply, but its average is off by the net bias of its mistakes. Angelopoulos et al. (2023) combine both in a method for valid confidence intervals from a few labeled items plus a model's predictions on many unlabeled ones, for any model. PPI averages the judge over many unlabeled outputs, then subtracts the average of judge minus human on the few labeled ones. That second average estimates the the judge's mean error, judge score minus human label, over the whole population of items; its average over the labeled items estimates it, and subtracting that corrects the judge's mean, the judge's mean error on the same population. Subtracting it makes the estimate unbiased whatever the judge gets wrong.

The estimator's variance equals the per-item variance of judge minus human divided by the human label count, plus a small term from the unlabeled items. A judge narrows the confidence interval only when this residual varies less than the human label itself. Constant bias, such as a judge that always scores two points high, costs nothing because it leaves the residual's variance unchanged.

Saad-Falcon et al. (2024) build ARES around PPI to evaluate a system in which a retriever fetches passages from a corpus and a language model answers from them systems. ARES synthesizes questions and answers from the corpus, fine-tunes small judges for three answer properties, and turns a few hundred human labels into a confidence interval for each system. In practice, a team labels a random sample of the exact outputs being scored, keeps those labels out of judge development, and reports the rectified mean and interval. PPI stops helping once the residual varies as much as the labels. When labeled and scored items come from different populations, its interval centers on the wrong value.

Setting. Let an item to be scored; in ARES, a question, the passage retrieved for it, and the generated answer be an item and the human label of an item: 1 for pass and 0 for fail, or any number its human label. A judge the judge: a fixed map from an item xx to a score f(x)f(x), a verdict, a probability or any number, why: then each labeled residual f(xi)−yif(x_i)-y_i is an independent draw with mean E[f(x)−y]\mathbb E[f(x)-y]; a judge tuned on the labeled items fits them better than new ones, assigns each item a score f(x)f(x). The data hold nn labeled pairs (xi,yi)(x_i,y_i) and NN unlabeled items x~j\tilde x_j, typically with N≫nN\gg n, why: the rectifier measured on the labeled items must equal the judge's mean error on the unlabeled ones. The target is θ=E[y]\theta=\mathbb E[y], which is the success rate for a pass/fail label. The classical estimator is the labeled mean yˉ=1n∑iyi\bar y=\frac1n\sum_iy_i. Write σy2\sigma_y^2, σf2\sigma_f^2, and σf−y2\sigma_{f-y}^2 for the per-item variances of yy, f(x)f(x), and the residual f(x)−yf(x)-y.

Step 1

Subtracting the judge's measured mean error makes its mean unbiased. Rewrite the target as the judge's population mean minus the rectifier Δ=E[f(x)−y]\Delta=\mathbb E[f(x)-y]. Estimating the judge's mean on the NN unlabeled items and the rectifier on the nn labeled ones givesθ=Ef(x)−Δ,θ^PP=1N∑jf(x~j)−1n∑i(f(xi)−yi),E θ^PP=θ,Var θ^PP=σf2N+σf−y2n.\begin{aligned}\theta&=\mathbb E f(x)-\Delta,\\\hat\theta_{\rm PP}&=\frac1N\sum_jf(\tilde x_j)\\&\quad-\frac1n\sum_i\big(f(x_i)-y_i\big),\\\mathbb E\,\hat\theta_{\rm PP}&=\theta,\\\mathrm{Var}\,\hat\theta_{\rm PP}&=\frac{\sigma_f^2}N+\frac{\sigma_{f-y}^2}n.\end{aligned}Each sample average estimates its own population term without bias, so θ^PP\hat\theta_{\rm PP} is unbiased for any fixed judge. Because the labeled and unlabeled samples are independent, their variances add.

Compute sample variances σ^f2\hat\sigma_f^2 on the unlabeled scores f(x~j)f(\tilde x_j), σ^f−y2\hat\sigma_{f-y}^2 on the labeled residuals f(xi)−yif(x_i)-y_i, and σ^y2\hat\sigma_y^2 on the labels yiy_i. Plugging them into the variance formula yields, by the central limit theorem, the asymptotic 95% confidence intervals:PPI: θ^PP±1.96σ^f−y2n+σ^f2N,Labels alone: yˉ±1.96σ^y2n.\begin{aligned}\text{PPI: }&\hat\theta_{\rm PP}\pm1.96\sqrt{\frac{\hat\sigma_{f-y}^2}{n}+\frac{\hat\sigma_f^2}{N}},\\\text{Labels alone: }&\bar y\pm1.96\sqrt{\frac{\hat\sigma_y^2}{n}}.\end{aligned}Coverage holds as nn and NN grow. For bounded labels and scores, Angelopoulos et al. also derive finite-sample intervals valid at every sample size.

Survey statisticians know θ^PP\hat\theta_{\rm PP} as the a model's prediction averaged over the population, plus the sample mean of true value minus prediction; used in model-assisted survey sampling, and it is also a 1n+N∑k[f(xk)+Ik (yk−f(xk))/p]\frac1{n+N}\sum_k\big[f(x_k)+I_k\,(y_k-f(x_k))/p\big] over all n+Nn+N items, with Ik=1I_k=1 if item kk is labeled and pp its probability of being labeled: a model's prediction plus an inverse-propensity-weighted correction on its residual, unbiased if either the model or pp is right. Reading note: Doubly robust policy evaluation with the judge as outcome model. Pool all n+Nn+N labeled and unlabeled items into one set. Because the labeled items form a uniform random subset, every item has known labeling propensity p=n/(n+N)p=n/(n+N), making the propensity error zero. A doubly robust estimator's bias is the product of outcome-model error and propensity error, so the bias vanishes regardless of judge quality. PPI averages ff over the unlabeled items alone rather than all n+Nn+N. The two forms differ by a zero-mean term, and the split keeps PPI's two averages independent.

Step 2

The interval narrows only when the residual varies less than the label. Step 1's variances show that PPI beats labels alone when σf2/N+σf−y2/n<σy2/n\sigma_f^2/N+\sigma_{f-y}^2/n\lt\sigma_y^2/n. When N≫nN\gg n, the first term drops out, leaving σf−y2<σy2\sigma_{f-y}^2\lt\sigma_y^2. Consider a pass/fail metric with success rate θ\theta and a judge that flips each label with probability η\eta. The residual f(x)−yf(x)-y takes +1+1 with probability (1−θ)η(1-\theta)\eta, −1-1 with probability θη\theta\eta, and 00 otherwise, giving mean η(1−2θ)\eta(1-2\theta) and second moment η\eta. Thusσf−y2=η−η2(1−2θ)2,σy2=θ(1−θ).\begin{aligned}\sigma_{f-y}^2&=\eta-\eta^2(1-2\theta)^2,\\\sigma_y^2&=\theta(1-\theta).\end{aligned}At θ=0.5\theta=0.5, the judge must err on fewer than 25% of items. At θ=0.1\theta=0.1, the threshold falls to about 9.6% (Appendix G rounds it to 9.5%), so rare outcomes demand a stronger judge. Inside that range, gains can be large. A judge that flips 10% of the labels on a balanced metric has σf−y2=0.1\sigma_{f-y}^2=0.1 against σy2=0.25\sigma_y^2=0.25, so nn labels do the work of 2.5n2.5n. When NN is close to nn, by contrast, σf2/N\sigma_f^2/N rivals the labels' own variance and PPI cannot win.

Step 3

A tuned weight on the judge prevents PPI from losing to the labels in large samples. Write fˉn=1n∑if(xi)\bar f_n=\frac1n\sum_if(x_i) and fˉN=1N∑jf(x~j)\bar f_N=\frac1N\sum_jf(\tilde x_j). PPI++ (Angelopoulos et al., 2026) treats the judge as a a quantity whose mean is known or cheaply estimated, subtracted from an estimator with a coefficient chosen to cancel shared noise; here the judge's labeled mean, whose expectation the unlabeled mean estimates with weight λ\lambda:θ^λ=yˉ+λ(fˉN−fˉn).\hat\theta_\lambda=\bar y+\lambda\big(\bar f_N-\bar f_n\big).Because E[fˉN−fˉn]=0\mathbb E[\bar f_N-\bar f_n]=0, θ^λ\hat\theta_\lambda is unbiased for every λ\lambda. Here λ=0\lambda=0 is the labeled mean, λ=1\lambda=1 is PPI, and λ=1/(1+n/N)=N/(n+N)\lambda=1/(1+n/N)=N/(n+N) is the pooled doubly robust form of Step 1. Its variance is quadratic in λ\lambda, Var θ^λ=σy2n+λ2(1N+1n)σf2−2λnCov(y,f)\mathrm{Var}\,\hat\theta_\lambda=\frac{\sigma_y^2}{n}+\lambda^2\big(\frac1N+\frac1n\big)\sigma_f^2-\frac{2\lambda}{n}\mathrm{Cov}(y,f), yielding minimizer and minimum varianceλ∗=Cov(y,f)(1+n/N) σf2,Var θ^λ∗=σy2n(1−ρ21+n/N).\begin{aligned}\lambda^*&=\frac{\mathrm{Cov}(y,f)}{(1+n/N)\,\sigma_f^2},\\\mathrm{Var}\,\hat\theta_{\lambda^*}&=\frac{\sigma_y^2}{n}\Big(1-\frac{\rho^2}{1+n/N}\Big).\end{aligned}Here the correlation between the judge's score f(x)f(x) and the human label yy over items is the correlation between f(x)f(x) and yy; the first line is the paper's and the second is computed here from it.

The optimal weight λ∗\lambda^* is the regression slope of yy on ff, shrunk by 1+n/N1+n/N. A useless judge gets λ∗≈0\lambda^*\approx0, recovering the classical interval. With N≫nN\gg n, the nn human labels act like n/(1−ρ2)n/(1-\rho^2) labels. Plugging sample moments into λ∗\lambda^* gives an interval proven valid as nn and NN grow, making PPI++ the safer default. Since only the correlation ρ\rho enters the variance, the judge's scale drops out; ff can be an uncalibrated probability or a 1-to-10 score. Both papers extend rectification beyond means to any convex-loss minimizer, such as quantiles or regression coefficients, by rectifying the loss gradient.

Step 4

A rectifier measured on one population does not transfer to another. Every result above requires the labeled items to be drawn at random from the scored population. Reusing one shared labeled set across systems of different quality breaks that assumption. Consider a pass/fail judge that passes a bad answer with probability aa and fails a good one with probability bb. On a system with success rate θ\theta, its mean score is Ef=θ+(1−θ)a−θb\mathbb Ef=\theta+(1-\theta)a-\theta b, so its mean error (1−θ)a−θb(1-\theta)a-\theta b depends on θ\theta. With a rectifier estimated on labeled outputs at rate θlab\theta_{\rm lab}, as nn and NN growθ^PP→θ+(θlab−θ)(a+b)=(1−a−b) θ+(a+b) θlab.\begin{aligned}\hat\theta_{\rm PP}&\to\theta+(\theta_{\rm lab}-\theta)(a+b)\\&=(1-a-b)\,\theta+(a+b)\,\theta_{\rm lab}.\end{aligned}Every system's estimate gets pulled toward the labeled set's rate. The Natural Questions: real search-engine questions with answers in Wikipedia passages walkthrough in ARES's repository rectifies a system with θ=0.525\theta=0.525 using labels from a split with θlab=0.7\theta_{\rm lab}=0.7. For an assumed judge with a=b=0.1a=b=0.1, n=300n=300, and N=10,000N=10{,}000, the estimate runs 3.5 points high, and the nominal 95% interval covers the truth in only about 53% of repeated samples (computed here).

The safe design labels a random sample from each system's own outputs. If the judge's error rates aa and bb given the true label stay constant across systems, one labeled set can estimate aa and bb instead. Inverting the relation then recovers θ=(Ef−a)/(1−a−b)\theta=(\mathbb Ef-a)/(1-a-b), the pass/fail case of PPI's correction for a change in how often each label occurs between the labeled and the scored items, with the distribution of items given the label unchanged. Reading note: Black-box shift estimation. Importance-weighting the labeled items handles a known a change in the distribution of items between the labeled and the scored sets, with the distribution of the label given the item unchanged. Reading note: Conformal Prediction Under Covariate Shift. The judge must also remain independent of the labeled items. A prompt or checkpoint chosen because it agreed best with them fits those items better than fresh outputs, so the rectifier understates its true error.

ARES. Saad-Falcon et al. (2024) score RAG systems on three properties: whether the retrieved passage is relevant to the question, whether the answer says only what the retrieved passage supports, with nothing invented or extrapolated, and whether the answer addresses the question, given the passage. ARES takes a corpus, at least five example question-answer pairs, and roughly 150 or more human-labeled triples. It prompts an instruction-tuned T5 language model with 11 billion parameters to write synthetic questions and answers for sampled passages, keeping only questions whose own passage retrieves first. Half the negative examples are easy, drawn from unrelated passages or answers to other passages. The other half are hard: other passages from the same document or among the ten nearest by a classical keyword-matching retrieval score, plus contradictory answers written by FLAN-T5. ARES fine-tunes one an encoder language model with 304 million parameters, here with a binary classification head binary classifier per property on these synthetic triples. Each judge then scores a sample of each system's outputs, PPI combines those scores with the human labels into 95% intervals, and ARES ranks systems by interval midpoint.

Main result. Fine-tuned judges paired with 300 human labels rank systems more accurately than 150 human labels drawn from each system's outputs. Across six datasets from a benchmark of knowledge-intensive tasks over Wikipedia: question answering, fact checking, dialogue and a benchmark of language-understanding tasks, two of which (MultiRC, ReCoRD) are turned into retrieval tasks here, the authors build nine mock systems per dataset by mixing real examples with sampled negatives at success rates from 70% to 90% in 2.5-point steps. Rankings are scored by (concordant pairs minus discordant pairs) over all pairs of systems, comparing the estimated order with the true one; ARES counts ties as discordant. Averaged across the six datasets and two properties, ARES reaches τ=0.92\tau=0.92 against 0.83 for 150 labels per system, or 1,350 total (averages computed here from Table 1). Among 36 system pairs, τ=0.94\tau=0.94 means one pair out of order against three at 0.83. Labels alone struggle because 150 binary labels near an 80% rate have a standard error of about 3.3 points (computed here), wider than the 2.5-point gap between adjacent systems.

A small pilot of labeled pairs lets a team estimate ρ\rho and forecast PPI's gain before committing to a design. With real LLM judges, reported gains are smaller than on PPI's scientific benchmarks. Boyeau et al. (2025, including two PPI authors) used gpt-4o-mini to judge 16,000 a public site where users put one prompt to two anonymous models and vote for the better answer comparisons and found PPI++ raised the number of human labels that the labels-only interval would need to be as narrow by 20 to 25%. Fisch et al. (2024, Google DeepMind) judged whether summaries are supported by their source documents using a fine-tuned a multilingual T5 language model with 13 billion parameters rater. They stratified items by rater score and allocated more human labels to less reliable strata. At their largest gain on that task, stratification narrowed intervals by about 20% over labels alone, compared with about 10% for PPI++.

The authors' package ppi_py implements both PPI and PPI++. ARES sees much less adoption than RAGAS, a prompt-based RAG evaluator without confidence intervals, with about 740 versus 16,400 GitHub stars in November 2026.

Step 5

With strong predictors on scientific data, PPI reaches the same conclusion with fewer labels, while a weak predictor or a small unlabeled set reverses that. Angelopoulos et al. repeatedly split each fully labeled dataset at random into labeled and unlabeled parts over 100 trials, keeping ground truth known. Across every application, naive imputation intervals that treat predictions as labels fail to cover the truth, while PPI preserves coverage. On a citizen-science project in which volunteers labeled galaxy images from the Sloan Digital Sky Survey with a fine-tuned ResNet50, rejecting the claim that at most 20% of galaxies have spiral arms takes 189 labels with PPI versus 449 with labels alone. In a deforestation study, replacing a gradient-boosted tree with linear regression reverses the win to 40 labels for PPI versus 35 for labels alone. In a protein study, shrinking the unlabeled set to 1,000 does the same, at 869 labels versus 652 (Appendix G).

Step 6

ARES ranks real RAG systems well, and its judges transfer to similar tasks but fail on other languages and on code. The authors evaluate ten real systems across three KILT datasets: three retrievers crossed with three generators, plus the original RAG model of Lewis et al. ARES reaches τ\tau between 0.82 and 1.0 (Table 5). Its 95% intervals average 7.4 points wide for context relevance and 6.1 for answer relevance, covering true scores more than 95% of the time. Answer faithfulness is tested only on two attribution datasets from the Attributable to Identified Sources: a benchmark of human judgments of whether generated text is supported by a given source benchmark, where ARES lands within 2.5 points of truth using 200 labels. Judges transfer well across KILT and SuperGLUE datasets, reaching τ\tau from 0.78 to 1.0. Moving an NQ-trained judge to other languages, code search, or entity extraction drops τ\tau to 0.33, 0.28, and 0.38.

Below roughly 100 to 150 human labels, ARES cannot separate the mock systems reliably (Table 3). Substituting GPT-4 verdicts for human labels shifts the estimand to GPT-4's opinion and lowers τ\tau in five of six settings by up to 0.17 (Table 4).

PPI's validity is a theorem requiring only independent draws from one distribution and a judge fixed in advance, verified by resampling datasets with known ground truth. Its largest empirical gains appear on the authors' scientific datasets with strong predictors, while LLM-judge follow-ups report smaller ones. ARES's evidence comes from the authors alone. Its mock systems mix real examples with synthetic negatives, namely unrelated or same-document passages and mismatched answers, which differ from real RAG failure modes. That leaves only the ten real systems to test genuine errors. Answer faithfulness, the property closest to hallucination, is tested only on two AIS datasets. For the real systems, answer ground truth checks only whether the output contains the KILT answer string.

Terms

Rectifier
Δ=E[f(x)−y]\Delta=\mathbb E[f(x)-y], the judge's mean error, estimated on the labeled items
PPI estimate
θ^PP=1N∑jf(x~j)−1n∑i(f(xi)−yi)\hat\theta_{\rm PP}=\frac1N\sum_jf(\tilde x_j)-\frac1n\sum_i(f(x_i)-y_i); unbiased for any judge fixed in advance
PPI variance
σf2/N+σf−y2/n\sigma_f^2/N+\sigma_{f-y}^2/n, against σy2/n\sigma_y^2/n for the labels alone
When PPI helps
with N≫nN\gg n, when σf−y2<σy2\sigma_{f-y}^2\lt\sigma_y^2; a balanced pass/fail judge must err on under 25% of items
PPI++
θ^λ=yˉ+λ(fˉN−fˉn)\hat\theta_\lambda=\bar y+\lambda(\bar f_N-\bar f_n) with λ∗=Cov(y,f)/((1+n/N)σf2)\lambda^*=\mathrm{Cov}(y,f)/((1+n/N)\sigma_f^2); asymptotically never worse than yˉ\bar y
Effective labels
with tuned λ\lambda and N≫nN\gg n, about n/(1−ρ2)n/(1-\rho^2)
Doubly robust view
the judge is the outcome model and the labeling propensity n/(n+N)n/(n+N) is known, so the bias is zero
Shared labeled set
θ^PP→(1−a−b)θ+(a+b)θlab\hat\theta_{\rm PP}\to(1-a-b)\theta+(a+b)\theta_{\rm lab}: every system pulled toward the labeled set's rate
Label-shift fix
θ=(Ef−a)/(1−a−b)\theta=(\mathbb Ef-a)/(1-a-b), with the judge's error rates a,ba,b estimated from labels
ARES
synthetic questions and answers, fine-tuned DeBERTa judges for three properties, PPI intervals ranked by midpoint
Kendall's τ
(concordant minus discordant pairs) over all pairs; 0.94 for nine systems is one pair out of order

Sources

Connected notes

  • Each token's gradient carries the ratio ρ\rho of its probability under the trained copy to that under the copy that sampled it; CISPO caps that weight at εmax⁡\varepsilon_{\max} where DAPO's clip drops the gradient of a token whose ratio has moved past the clipping range in the direction its advantage favors, which raises the fitted ceiling from 0.52 to 0.595; computing the output layer in FP32, which shrinks the kernel mismatch inside every ratio, raises the base recipe's ceiling from 0.52 to 0.61 on its own.

  • With effects θi\theta_i spread around a common mean, the posterior mean pulls each raw estimate toward that mean, and Lindley's version of James-Stein estimates both the mean and the amount of pulling from the spread of the estimates themselves. It beats the raw estimates in total squared error for every configuration of the θi\theta_i once there are four or more, and in Efron's batting example it cuts the total prediction error to 0.28 of that of the raw batting averages.

  • At λ=1\lambda=1 GAE is the observed return minus V(st)V(s_t), so the value model is only a baseline, while lower λ\lambda makes the advantage rely on its predictions; reward falls in order as λ\lambda goes from 1 to 0, so the bias this adds buys no useful drop in variance.

  • Under covariate shift each calibration point is weighted by w(xi)=dP~X/dPXw(x_i)=d\tilde P_X/dP_X, and the test point's own weight sits on +∞+\infty, so a test point far from the training data gets an infinite band, which correctly signals that the method cannot extrapolate to it.

Threads