Abstract
Off-policy evaluation and learning are critical for the iterative improvement of recommender systems and personalized services. While Inverse Propensity Scoring (IPS) provides an unbiased estimate of a new policy's performance using logged data, it often suffers from high variance. This paper introduces a unified framework of "baseline corrections" that encompasses popular techniques like self-normalization and doubly robust estimation. By deriving closed-form solutions for the optimal baseline—tailored specifically for either evaluation or learning—the authors provide a method that minimizes variance without the asymptotic bias found in traditional self-normalized estimators.
Introduction
In modern machine learning applications, particularly recommender systems, we frequently need to evaluate or train a new policy using data collected by a previous system. This "off-policy" setting is cost-effective and safe, as it avoids deploying untested models to live users. The standard approach, Inverse Propensity Scoring (IPS), reweights observed rewards by the ratio of the new policy's action probabilities to the logging policy's probabilities. Although IPS is theoretically unbiased, its variance can be extreme, especially when the new policy deviates significantly from the logging policy.
To mitigate this variance, researchers typically employ control variates, which generally fall into two categories: additive corrections (such as Doubly Robust estimation) and multiplicative corrections (such as Self-Normalized IPS, or SNIPS). Historically, these methods have been treated as distinct approaches. This research demonstrates that they are mathematically linked and can be optimized through a single parameter: the baseline $\beta$.
The $\beta$-IPS Framework
The authors propose a unified estimator, $\beta$-IPS, which modifies the standard IPS approach by subtracting a constant baseline $\beta$ from the rewards before reweighting, and then adding it back to the final estimate. The estimator is defined as:
$$\hat{V}_{\beta} = \frac{1}{n} \sum_{i=1}^{n} [w_i (r_i - \beta) + \beta]$$
where $w_i$ is the importance weight and $r_i$ is the observed reward.
A significant contribution of this work is the "Equivalence Principle." The authors prove that during the optimization process, SNIPS, BanditNet, and Doubly Robust estimation (when using a constant reward model) all produce equivalent gradients. This realization simplifies the landscape of off-policy estimators, showing that they are essentially different ways of applying a baseline correction.
Optimal Baselines for Evaluation and Learning
A key insight of the paper is that the optimal baseline depends on the objective. The value of $\beta$ that makes an evaluation accurate is not necessarily the value that makes training stable. The authors derive two specific closed-form solutions:
- For Off-Policy Evaluation (OPE): The optimal $\beta^*$ is derived to minimize the Mean Squared Error (MSE) of the value estimate. This ensures that the offline metric is as close as possible to the true performance of the policy.
- For Off-Policy Learning (OPL): The optimal $\beta^*$ is derived to minimize the variance of the gradient. In mini-batch settings, such as training neural networks with Stochastic Gradient Descent (SGD), high gradient variance can lead to unstable training and poor convergence. By minimizing this variance, $\beta$-IPS enables faster and more reliable policy improvement.
Crucially, these optimal baselines can be estimated directly from the logged data without requiring additional environment interactions or "roll-outs."
Empirical Results
The proposed framework was validated using the Open Bandit Pipeline (OBP) and real-world logs from ZOZOTOWN, a large Japanese e-commerce platform. The results highlight three main advantages:
- Accuracy in Evaluation: On the ZOZOTOWN dataset, $\beta$-IPS achieved a Mean Absolute Relative Error (MARE) of 0.1078, outperforming SNIPS (0.1113) and Doubly Robust methods (0.1144).
- Stability in Learning: In mini-batch training scenarios, the method reduced gradient variance by several orders of magnitude compared to standard IPS, outperforming existing state-of-the-art methods like BanditNet.
- Convergence Speed: In full-batch learning experiments, $\beta$-IPS reached optimal policy values significantly faster than competing estimators.
Conclusion and Future Work
By unifying additive and multiplicative variance reduction techniques, this work provides a principled approach to off-policy contextual bandits. The $\beta$-IPS estimator offers a robust, unbiased alternative to SNIPS with superior performance in both evaluation and learning tasks.
While the current work focuses on a global constant baseline, future research may explore context-dependent baselines to further reduce variance. Additionally, extending this optimal baseline logic to multi-step Offline Reinforcement Learning and Learning-to-Rank applications remains a promising avenue for improving the reliability of offline AI development.
Summary updated