If a model says an image is “uncertain,” should it always go to an expert first? Not necessarily. Researchers often need not a more accurate classifier next round, but a more precise estimate of a scientific quantity under a limited labeling budget—for example, the odds ratio of disease between two age groups. What makes a label valuable depends not only on where the model may err, but also on how those errors affect the target estimate.
OPAL, proposed by Virginia L. Ma and Emmanuel J. Candès in 2026, treats uncertainty scores as inputs for learning a labeling policy rather than as labeling probabilities themselves. It uses existing true labels to estimate variance contributions tied to the target parameter, learns a smooth probability curve under a budget constraint, then draws new labels according to that curve and performs corrected inference that combines model predictions for the full sample.[1]
From “where the model is most uncertain” to “where the target estimate needs labels most”
Prediction-assisted inference combines cheap predictions with a few true labels; active statistical inference further asks which samples are worth labeling. A common rule sets labeling probability proportional to the uncertainty score: higher scores are more likely to be drawn. OPAL keeps the idea of using predictions to guide labeling, but lets the data decide the relation between scores and labeling probabilities, and sets the optimization target directly to the variance of the final parameter estimator.[1]
That distinction is especially clear for nonlinear targets. Suppose the object of study is the odds ratio of cardiomegaly between two age groups: estimate each group’s disease rate, then take the difference of log odds. The two rates do not contribute equally to the final result, so making each group mean as precise as possible separately is not the same as finding the budget allocation that makes the log odds ratio most precise. OPAL puts each part’s contribution to the final target into the optimization together.[1]
Scores become a curve, then sampling probabilities
To start, one needs features for the study sample, a prediction model and its uncertainty scores, plus a clear target parameter and labeling budget. Independent pilot labels or an initial sequential batch of labels can train the predictor, estimate model error, and estimate variance contributions for the target. For a binary classifier, scores may be built from how close predicted probabilities are to 0.5; but the score itself is only an input, written u, not the labeling probability π to be used directly.[1]
The paper represents the probability curve with spline basis functions h(u) and a log link:
Splines let the curve deviate from a fixed proportional line. OPAL chooses the coefficients β from pilot-label variance information to make the estimated target-parameter variance as small as possible, while constraining probabilities to be valid and expected labels not to exceed the budget. The paper casts the problem as a convex program solvable with exponential cones; the optimum belongs to the chosen spline policy class and is not an unconditional optimum over all possible policies.[1]
Once probabilities are obtained, each sample is drawn by a Bernoulli trial with its π, and only drawn samples receive true labels. This is a soft policy: a high score need not guarantee human review, and a low score need not exclude a sample. The budget constrains the expected number of labels; the realized count in one draw can be above or below that expectation.[1]
A two-stratum example: what if the score points the wrong way?
Consider two equally sized strata with a labeling budget of 40% of the population. Suppose the target-related variance contributions are known to be 0.01 and 0.09, but the uncertainty scores are 0.8 and 0.2. Allocating only in proportion to the scores gives the first stratum the higher labeling probability, even though the second contributes more to target variance.

Constructed calculation for two equal-weight strata with budget fraction 0.4: given variance contributions 0.01 and 0.09, optimal labeling probabilities are 0.2 and 0.6; the left panel compares only the policy-related variance terms. Not clinical data from the paper, and not a full reproduction of OPAL’s spline algorithm; drawn from an independent calculation of the paper’s optimization target.
In this example the policy-related variance term compared is J=0.5(0.01/q₁+0.09/q₂). Uniform allocation uses probabilities (0.4, 0.4) with J=0.125; score-proportional allocation yields (0.64, 0.16) with J≈0.289; the constrained optimum is (0.2, 0.6) with J=0.1—20% below uniform. The comparison shows that when scores disagree with target variance contributions, copying the scores can send resources to the wrong stratum; it does not mean OPAL can automatically recover true residuals from wrong scores.
After labels arrive, how to correct inference
Allocation answers “whom to label”; inference still must answer “how to use model and labels.” For mean-type targets the paper’s single-sample correction term is:
Here f(X) predicts the target contribution s(X,Y), and ξ indicates whether the sample was labeled. Every sample contributes a prediction; labeled samples additionally correct by the difference between the true value and the prediction, weighted by the inverse selection probability. Averaging these terms yields the corresponding mean estimate; several means can then be combined for the study target, such as a log odds ratio.[1]
The paper also connects policy learning to power tuning: give the prediction term a tunable weight λ to reduce estimation variance under a given labeling policy. Batch mode first solves a policy for the whole batch and then samples labels; sequential mode updates the policy—and optionally the prediction model—as new data and labels arrive. For more general targets, the paper uses influence functions with one-step or targeted maximum-likelihood estimators to build variance optimization and inference matched to the target.[1]
How to read the paper’s results
In the CheXpert chest X-ray example, the authors estimate the odds ratio of cardiomegaly for people aged 40 and above versus below, comparing OPAL, uncertainty-proportional labeling, uniform labeling, and a classical labels-only method. Figure 1 repeats each labeling budget 500 times; the authors report that OPAL’s effective-sample-size curve lies above the comparators, approaching three times the number of actual labels in that setting. Effective sample size here is a precision-converted metric, not extra true labels collected.[1]
The paper also reports empirical coverage of confidence intervals and corresponding asymptotic inference theory. For researchers planning to use this idea, the key is to fix the quantity to estimate first, then use available pilot labels to estimate error contributions tied to that quantity; policy, labeling, and residual correction should be designed as one package. OPAL’s advance is to let the map from scores to resource allocation be decided jointly by the data and the inferential target.[1]
References
- [1] Virginia L. Ma, Emmanuel J. Candès. Optimized Labeling Resource Allocation for Prediction-Assisted Inference via OPAL. arXiv:2606.03211v1, 2026-06-02.