Budgeted Multi-Source Counterfactual Annotation for Off-Policy Evaluation

Biao Xiang, Ali Eshragh, Yuexing Li, Kai WangNeurIPS 2026

TL;DR

Evaluating a new decision-making policy using historical data is notoriously noisy when your new policy wants to try actions that were rarely taken in the past. You can fill in the blanks by paying human experts or querying LLMs to guess "what would have happened," and this paper gives you the exact mathematical playbook for how to spend a limited budget across expensive, cheap, noisy, or biased annotators to make your evaluation as accurate as possible.

What Problem Does This Paper Address?

Imagine you want to test a new medical treatment protocol or an automated tutoring strategy, but running live A/B tests on patients or students is too risky or expensive. Instead, you turn to Off-Policy Evaluation (OPE): estimating how well your new target policy would perform using historical logs collected under an older behavior policy.

In a contextual bandit setting (observe a state, pick an action, get a reward), historical logs have a frustrating blind spot: you only see the reward for the action that was actually taken. If your new policy favors actions that the old policy rarely chose, your estimates will suffer from massive variance.

Recently, researchers started augmenting logs with counterfactual annotations—asking a doctor or an LLM, "What reward would this patient have gotten under Treatment B?" Modern doubly robust estimators (specifically one called $\text{DM}^+\text{-IS}$) use these guesses to guide an internal reward model while using importance sampling to ensure the final policy estimate remains mathematically unbiased, even if the annotator is systematically wrong.

However, annotator errors do inflate the estimator's variance. Since human experts are accurate but pricey, and LLMs are cheap but noisy or biased, a practical question emerges: Given a fixed budget, which unlogged actions should you annotate, and whom should you ask?

Methods

While prior work focused on how to consume counterfactual annotations once you have them, this paper tackles the acquisition problem.

First, the authors derive the exact Mean Squared Error (MSE) of the $\text{DM}^+\text{-IS}$ estimator as a function of the annotation plan. Because the estimator is unbiased, minimizing MSE means minimizing variance, which breaks down into three competing forces:

  1. Bias Pollution ($J_1$): Variance added when biased annotations warp the reward model.
  2. Cross-Action Bias Correction ($J_2$): A variance-reducing term that couples different actions within the same context.
  3. Reward Variance ($J_3$): Pure noise in the reward estimates, which drops as you collect more data.

Choosing integer counts of annotations across multiple sources under a budget turns out to be a thorny optimization problem: because of $J_2$, it is coupled across actions, nonconvex, and not submodular (meaning simple greedy algorithms can fall into traps).

To solve it, the authors design a Majorization-Minimization (MM) algorithm. In each iteration, they wrap the annoying cross-action coupling term ($-J_2$) in a tight linear upper bound. This decouples the math across context-action pairs! With the objective separated, they use local pairwise-exchange search to find the best mix of annotators for a specific pair, dynamic programming to distribute annotations across actions within a context, and bisection search on a cost multiplier to respect the global budget. Every step is guaranteed to monotonically improve (or maintain) the true objective.

Datasets

The authors test their allocation engine on two distinct setups:

  • Synthetic Clinical Bandits: Simulated environments (100 contexts, 5 actions, 1,000 fitting records) paired with four synthetic annotation sources engineered to mix high/low bias with high/low excess variance. They also test an adversarial "Regime I/IV-focused" variant and 30 miniature instances small enough for Gurobi to certify the exact global optimum.
  • Semi-Synthetic Education Bandit (ASSISTments): Built from 6.1 million real student–problem interactions (clustered into 100 student-state contexts and 10 problem-type actions). To generate realistic counterfactual annotations, the authors prompt three actual LLMs—Gemini-2.5-Flash, GPT-4o-mini, and Claude-Haiku-4.5—to predict student response times, which are then mapped to rewards via an Item Response Theory (IRT) model.

Key Insights and Ideas

  • More data isn't always better—there are four distinct regimes of annotation value: Looking at a single context-action pair, adding annotations doesn't just smoothly lower error. Depending on an annotator's bias and noise relative to existing logged data, annotations can be: (I) always harmful, (II) helpful up to a sweet spot and harmful afterward (as bias overwhelms variance reduction), (III) always helpful, or (IV) initially harmful, helping only if you buy a massive batch!
Figure 1: Scaled mean squared error (MSE) V and the allocation-dependent components J1, J2, and J3 versus the number of annotations for the four annotation sources in Table 2. Shaded bands show ±1 standard deviation over 100 environments.
  • Why greedy heuristics stumble: In Regime IV, buying one annotation actually increases your error, even if buying 50 would lower it. Standard greedy algorithms—which buy one annotation at a time based on immediate marginal gain—are completely blind to batch-only benefits, whereas the authors' MM algorithm navigates them naturally.
  • Two biased wrongs can make a low-variance right: Having multiple flawed sources beats relying on a single source not just because you can match sources to their strengths, but because of bias cancellation. Mixing an overly optimistic LLM with an overly pessimistic one on the same action cancels out their reward-model bias ($B$), shrinking variance without needing an expensive human expert.

Key Results

  • Substantial MSE reductions: With known source error profiles, greedy-initialized MM reduces scaled MSE relative to no annotations by 20.69% on the synthetic clinical bandit, 16.04% on the tricky Regime I/IV synthetic setup, and 10.77% on the LLM-annotated ASSISTments benchmark—outperforming both cost-aware and max-gain greedy baselines across the board.
  • Near-optimal performance: On 30 small synthetic instances solved to certified global optimality via Gurobi, greedy-initialized MM came within a 0.05% mean MSE gap of the true mathematical optimum (and within 0.28% and 0.005% of Gurobi lower bounds on the full synthetic and ASSISTments tasks).
  • Works with small pilot estimates: In the real world, you don't magically know an LLM's exact bias beforehand. When estimating source profiles from just 20 pilot samples per pair, the MM variants still delivered 17.16% (Synthetic) and 8.26% (ASSISTments) mean MSE reductions on independent evaluation data.

Limitations and Future Work

The current framework is restricted to one-step contextual bandits rather than full, multi-step sequential Markov Decision Processes (MDPs) where errors compound over long horizons. It also relies on having known or pre-estimated source error profiles from an offline pilot, rather than learning who to trust on the fly while purchasing annotations. Finally, while ASSISTments uses real LLM outputs, the underlying reward model is semi-synthetic; validating the pipeline with live human domain experts in fully real-world trials remains an exciting next step.

Summary updated

Abstract

Off-policy evaluation (OPE) estimates the value of a target policy from logged data, but limited behavior-policy coverage can force high-variance reweighting or reward-model extrapolation. Counterfactual annotations can add evidence about unobserved actions, yet practical sources, including domain experts and large language models (LLMs), may be costly, biased, or noisy. We study budgeted acquisition of such annotations for contextual-bandit OPE. Given source-specific costs and error profiles, we formulate an integer allocation problem over context-action pairs and annotation sources to minimize the component of estimator variance that depends on the annotation plan. We characterize when annotations are valuable through a first-annotation threshold and local annotation-value regimes. For the coupled multi-source problem, we develop a majorization-minimization algorithm with dynamic-programming subroutines that monotonically improves the objective. Experiments in synthetic clinical and LLM-annotated education bandits show that our allocation method reduces fixed-profile mean squared error (MSE) by 20.69% and 10.77%, respectively, relative to no annotation.
BibTeX
@inproceedings{xiang2026budgeted,
  author = {Biao Xiang and Ali Eshragh and Yuexing Li and Kai Wang},
  title = {{Budgeted Multi-Source Counterfactual Annotation for Off-Policy Evaluation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=446GKdY1L2},
}
Figure