Off-Policy Evaluation via Adaptive Weighting with Data from Contextual Bandits

Ruohan Zhan, Vitor Hadad, David A. Hirshberg, Susan Athey
6/3/2021
stat.MLcs.LGecon.EM

Official code: gsbDBI/contextual_bandits_evaluation (11 stars, Jupyter Notebook, MIT, last commit 2024-10-21).

Abstract

It has become increasingly common for data to be collected adaptively, for example using contextual bandits. Historical data of this type can be used to evaluate other treatment assignment policies to guide future innovation or experiments.

Show full abstract

However, policy evaluation is challenging if the target policy differs from the one used to collect data, and popular estimators, including doubly robust (DR) estimators, can be plagued by bias, excessive variance, or both. In particular, when the pattern of treatment assignment in the collected data looks little like the pattern generated by the policy to be evaluated, the importance weights used in DR estimators explode, leading to excessive variance. In this paper, we improve the DR estimator by adaptively weighting observations to control its variance. We show that a t-statistic based on our improved estimator is asymptotically normal under certain conditions, allowing us to form confidence intervals and test hypotheses. Using synthetic data and public benchmarks, we provide empirical evidence for our estimator's improved accuracy and inferential properties relative to existing alternatives.

View on arXivView PDF

Code Implementations(1)

MIT

Offline Policy Evaluation via Adaptive Weighting with Data from Contextual Bandits

114Jupyter Notebook, PythonFeb 10, 20212 years agoMIT

Similar Papers

Cite this paper

@article{zhan2021offpolicy,
  title  = {Off-Policy Evaluation via Adaptive Weighting with Data from Contextual Bandits},
  author = {Ruohan Zhan and Vitor Hadad and David A. Hirshberg and Susan Athey},
  year   = {2021},
  eprint = {2106.02029},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.02029}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.02029.svg)](https://codeofpaper.com/paper/2106.02029)

Discussion