Wasserstein Distributionally Robust Policy Evaluation and Learning for Contextual Bandits
Yi Shen, Pan Xu, Michael M. Zavlanos
TL;DR
This work tackles distribution shifts in off-policy evaluation and learning for contextual bandits by replacing KL-based uncertainty with Wasserstein distributionally robust optimization (DRO). It develops a dual formulation for policy evaluation, introduces a regularized Wasserstein DRO to mitigate inner-optimization cost, and presents a biased stochastic-gradient method whose complexity is independent of the distribution support. The authors provide finite-sample convergence guarantees for both evaluation and learning, and demonstrate practical robustness on the International Stroke Trial dataset, including improved policies under shifts that KL-based approaches struggle to handle. The results establish Wasserstein DRO as a geometry-aware, scalable framework for robust offline policy evaluation and learning in high-stakes settings.
Abstract
Off-policy evaluation and learning are concerned with assessing a given policy and learning an optimal policy from offline data without direct interaction with the environment. Often, the environment in which the data are collected differs from the environment in which the learned policy is applied. To account for the effect of different environments during learning and execution, distributionally robust optimization (DRO) methods have been developed that compute worst-case bounds on the policy values assuming that the distribution of the new environment lies within an uncertainty set. Typically, this uncertainty set is defined based on the KL divergence around the empirical distribution computed from the logging dataset. However, the KL uncertainty set fails to encompass distributions with varying support and lacks awareness of the geometry of the distribution support. As a result, KL approaches fall short in addressing practical environment mismatches and lead to over-fitting to worst-case scenarios. To overcome these limitations, we propose a novel DRO approach that employs the Wasserstein distance instead. While Wasserstein DRO is generally computationally more expensive compared to KL DRO, we present a regularized method and a practical (biased) stochastic gradient descent method to optimize the policy efficiently. We also provide a theoretical analysis of the finite sample complexity and iteration complexity for our proposed method. We further validate our approach using a public dataset that was recorded in a randomized stoke trial.
