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.

EstimatorSpearman (mean)Spearman (min)Mean abs. error95% CI coverageRegret of top pick
IPS0.890.660.02297%0.015
SNIPS0.980.940.01297%0.000
DR0.980.960.01099%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.