Off-policy Estimation in the Agentic Era
Max Pagels, July 2026
This note looks at how established off-policy evaluation techniques can be applied to agents, to get a trustworthy estimate from logged behaviour.
Not a research paper, but my own thoughts. It doesn't claim originality.
PDF — 12 pages
Results
Related to the above note, I ran a routing study on RouterBench's 36,497 prompts using a small wrapper around Gittins. A router picks one of four models (Mistral 7B, Mixtral 8x7B, Yi 34B, GPT-4) based on the task family and prompt length, explores with ε = 0.1, and is rewarded the model's score minus its cost. The prompts are split into a static eval set, logged traffic and live traffic. Fourteen candidate routing changes are predicted from the log, then scored on the live split. The doubly robust estimator's reward model comes from the static eval set.
| Estimator | Spearman (mean) | Spearman (min) | Mean abs. error | 95% CI coverage | Regret of top pick |
|---|---|---|---|---|---|
| IPS | 0.89 | 0.66 | 0.022 | 97% | 0.015 |
| SNIPS | 0.98 | 0.94 | 0.012 | 97% | 0.000 |
| DR | 0.98 | 0.96 | 0.010 | 99% | 0.000 |
Pooled over 5 random splits (70 predictions). Spearman is the rank correlation between predicted and true values across the changes in a split. Regret is how much value is lost by launching the estimator's top pick instead of the true best change. The median effective sample size was 461.
SNIPS and DR rank the changes almost perfectly and always pick the best one. Plain IPS is noisier but still clears a rank correlation of 0.8 on average.