Abstract
Off-Policy Evaluation (OPE) is critical for estimating the performance of new policies using historical logged data, particularly in recommendation systems. However, traditional methods like Inverse Propensity Score (IPS) weighting suffer from high variance in large action spaces. This paper introduces CAEL-MIPS (Context-Action Embedding Learning for Marginalized IPS), a novel framework that learns context-aware action embeddings. By optimizing an objective function derived from theoretical upper bounds on bias and variance, CAEL-MIPS explicitly minimizes the Mean Squared Error (MSE) of the estimator. Experimental results on synthetic and real-world datasets demonstrate that CAEL-MIPS significantly outperforms existing methods, offering a robust solution for large-scale OPE.
Introduction
In digital marketing and recommendation systems, evaluating a new algorithm before deployment is essential to avoid poor user experiences and high costs associated with live A/B testing. Off-Policy Evaluation (OPE) provides a way to estimate a target policy's performance using only historical logs. While Inverse Propensity Score (IPS) is the standard tool for OPE, its performance degrades in environments with massive action spaces (e.g., millions of products) due to extreme variance.
Recent Marginalized IPS (MIPS) methods attempt to mitigate this by grouping actions into an embedding space. However, these approaches often rely on fixed embeddings or learn them solely for reward prediction, ignoring the estimator's variance and the critical role of user context. For instance, the relevance of an advertisement for a winter coat depends heavily on whether the user is in a cold or warm climate.
Methodology: CAEL-MIPS
The authors propose CAEL-MIPS, which maps (context, action) pairs to a latent space to create context-dependent embeddings. The core of this approach is a multi-objective loss function designed to minimize the total Mean Squared Error (MSE) by balancing the bias-variance trade-off.
The MSE-Minimizing Objective
The loss function consists of three primary components:
- Reward Prediction Loss ($L_R$): Ensures the learned embeddings capture information relevant to the final outcome.
- Bias Loss ($L_{bias}$): Minimizes the theoretical upper bound of bias by encouraging "certainty" (low entropy) in the action posterior when policy differences are high.
- Variance Loss ($L_{var}$): Controls the estimator's variance by encouraging "uncertainty" (high entropy) to smooth out the estimator when importance weights become excessively large.
Theoretical analysis reveals that minimizing bias is mathematically linked to minimizing Rényi entropy, while minimizing variance is linked to maximizing it. By tuning hyperparameters $\alpha$ and $\beta$, CAEL-MIPS finds the optimal balance for the specific evaluation task.
Experimental Results
The framework was evaluated using both synthetic data and the real-world Open Bandit Dataset from ZOZOTOWN, a major Japanese fashion e-commerce platform.
Bias-Variance Decomposition
In synthetic tests, CAEL-MIPS demonstrated a superior ability to manage the bias-variance trade-off compared to standard IPS, the Direct Method (DM), and Action Embedding Learning (AEL-MIPS).
Robustness to Action Scale
A key advantage of CAEL-MIPS is its performance as the action space grows. As shown in Figure 6, while traditional IPS and other methods see a sharp increase in MSE as the number of actions increases from 100 to 1,500, CAEL-MIPS remains relatively stable and consistently provides the most accurate estimates.
Real-World Performance
On the ZOZOTOWN dataset, CAEL-MIPS outperformed the IPS baseline in over 75% of experimental runs. Notably, it achieved a relative squared error below 0.01 in 20% of the trials—a level of precision that competing methods like DM failed to reach.
Conclusion and Future Work
CAEL-MIPS addresses the limitations of previous OPE methods by integrating context into action embeddings and directly optimizing for MSE. While the method shows great promise, current limitations include the need for manual hyperparameter tuning and the $O(|A|^2)$ computational complexity required to calculate the bias upper bound. Future research will focus on automating hyperparameter selection and extending the framework to policy optimization and full reinforcement learning settings.
Summary updated