Off-Policy Evaluation for Large Action Spaces via Embeddings

Yuta Saito, Thorsten Joachims
2/13/2022
cs.LGcs.AIstat.ML

Official code: st-tech/zr-obp (714 stars, Apache-2.0, last commit 2024-06-03). 1 more implementation below.

Abstract

Off-policy evaluation (OPE) in contextual bandits has seen rapid adoption in real-world systems, since it enables offline evaluation of new policies using only historic log data. Unfortunately, when the number of actions is large, existing OPE estimators -- most of which are based on inverse propensity score weighting -- degrade severely and can suffer from extreme bias and variance. This foils the use of OPE in many applications from recommender systems to language models. To overcome this issue, we propose a new OPE estimator that leverages marginalized importance weights when action embeddings provide structure in the action space. We characterize the bias, variance, and mean squared error of the proposed estimator and analyze the conditions under which the action embedding provides statistical benefits over conventional estimators. In addition to the theoretical analysis, we find that the empirical performance improvement can be substantial, enabling reliable OPE even when existing estimators collapse due to a large number of actions.

View on arXivView PDF

Code Implementations(2)

st-tech/zr-obpOfficial100%
Apache-2.0

Open Bandit Pipeline: a python library for bandit algorithms and off-policy evaluation

714101PythonJun 16, 20202 years agoApache-2.0
contextual-banditsdatasetsmulti-armed-banditsoff-policy-evaluationresearch
MIT

(ICML2022) Off-Policy Evaluation for Large Action Spaces via Embeddings

212PythonMay 24, 20224 years agoMIT

Similar Papers

Cite this paper

@article{saito2022offpolicy,
  title  = {Off-Policy Evaluation for Large Action Spaces via Embeddings},
  author = {Yuta Saito and Thorsten Joachims},
  year   = {2022},
  eprint = {2202.06317},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.06317}
}

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/2202.06317.svg)](https://codeofpaper.com/paper/2202.06317)

Discussion