Off-policy evaluation (OPE) is a cornerstone of modern data-driven decision-making, allowing practitioners to estimate the performance of a new policy using historical logs. This capability is essential for testing new algorithms in recommendation systems or healthcare without the risks of live deployment. However, standard estimators like Inverse Propensity Scoring (IPS) often suffer from extreme variance or bias when the evaluation policy explores "deficient actions"—actions rarely or never taken by the logging policy.
In the paper "Clustering Context in Off-Policy Evaluation," researchers from Amazon and Bulil Technologies propose the CHIPS (Context-Huddling Inverse Propensity Score) estimator. By clustering similar contexts and pooling information, CHIPS provides a robust solution to the common support problem in OPE.
The CHIPS Estimator
The core innovation of CHIPS is the concept of "context-huddling." While previous methods have attempted to pool information across similar actions, CHIPS focuses on the context space. The methodology involves three primary steps:
- Unsupervised Clustering: The context space is partitioned into $K$ clusters (e.g., via Mini-Batch K-Means).
- Context-Huddling: Importance weights are calculated at the cluster level rather than for individual context points. This effectively increases the sample size for rare actions by leveraging data from similar contexts.
- Reward Estimation: The estimator employs either a Maximum Likelihood (ML) or a Bayesian Maximum A Posteriori (MAP) approach to estimate rewards within clusters. The MAP approach, using a Beta prior, is particularly effective at mitigating noise in real-world data.
Theoretical analysis demonstrates that CHIPS consistently reduces variance compared to standard IPS, with bias controlled by the homogeneity of the chosen clusters.
Experimental Results
The effectiveness of CHIPS was validated through extensive testing on synthetic data and the real-world Open Bandit Dataset (OBD).
Synthetic Analysis: Bias-Variance Trade-offs
Experiments on synthetic data highlighted the "Goldilocks" nature of the cluster parameter $K$. There is an optimal number of clusters that balances the bias introduced by over-clustering with the variance inherent in high-dimensional context spaces.
Furthermore, CHIPS (specifically the CHIPS_bayes variant) exhibits remarkable robustness as the number of deficient actions increases. While the error rates of standard IPS and other baselines skyrocket, CHIPS maintains stable and accurate performance even when the logging policy provides very little support for the evaluation policy's actions.
Real-World Performance: Open Bandit Dataset
The researchers applied CHIPS to the Open Bandit Dataset, a large-scale recommendation dataset from the ZOZOTOWN e-commerce platform. The results, visualized through the Empirical Cumulative Distribution Function (ECDF) of the Mean Squared Error (MSE), show that CHIPS significantly outperforms traditional estimators.
In these real-world scenarios, the Bayesian MAP reward estimator proved essential, providing the necessary regularization to handle sparse logging data and imperfect clustering. The ECDF shows that CHIPS achieves a much lower MSE ratio relative to IPS compared to other baseline methods.
Conclusion
The CHIPS estimator represents a significant advancement in off-policy evaluation, particularly for systems with large context spaces and sparse action support. By huddling contexts, it provides a stable and accurate tool for counterfactual reasoning. Future research aims to combine context-huddling with action-pooling techniques to create even more powerful hybrid estimators.
Summary updated