Optimal Baseline Corrections for Off-Policy Contextual Bandits
Shashank Gupta, Olivier Jeunen, Harrie Oosterhuis, Maarten de Rijke
TL;DR
This work addresses unbiased off-policy learning and evaluation for contextual bandits by unifying existing control variate techniques under a single baseline-correction framework. It derives a variance-minimizing baseline for gradient estimates and a closed-form optimal baseline for value estimation, providing practical, unbiased estimators with lower variance and data requirements. The proposed beta-IPS method outperforms IPS, SNIPS, and DR across learning and evaluation tasks, both in simulation with OBP and on real-world logs, demonstrating faster convergence and more accurate policy value estimates. Overall, the approach offers a principled, parameter-free route to improved offline policy learning and evaluation in large-scale recommendation and ranking settings.
Abstract
The off-policy learning paradigm allows for recommender systems and general ranking applications to be framed as decision-making problems, where we aim to learn decision policies that optimize an unbiased offline estimate of an online reward metric. With unbiasedness comes potentially high variance, and prevalent methods exist to reduce estimation variance. These methods typically make use of control variates, either additive (i.e., baseline corrections or doubly robust methods) or multiplicative (i.e., self-normalisation). Our work unifies these approaches by proposing a single framework built on their equivalence in learning scenarios. The foundation of our framework is the derivation of an equivalent baseline correction for all of the existing control variates. Consequently, our framework enables us to characterize the variance-optimal unbiased estimator and provide a closed-form solution for it. This optimal estimator brings significantly improved performance in both evaluation and learning, and minimizes data requirements. Empirical observations corroborate our theoretical findings.
