Abstract
We develop a generic data-driven method for estimator selection in off-policy policy evaluation settings. We establish a strong performance guarantee for the method, showing that it is competitive with the oracle estimator, up to a constant factor. Via in-depth case studies in contextual bandits and reinforcement learning, we demonstrate the generality and applicability of the method. We also perform comprehensive experiments, demonstrating the empirical efficacy of our approach and comparing with related approaches. In both case studies, our method compares favorably with existing methods.
Introduction
In Reinforcement Learning (RL), Off-Policy Evaluation (OPE) allows researchers to estimate the performance of a target policy using data collected from a different behavior policy. While numerous estimators exist—ranging from high-variance Importance Sampling to high-bias Direct Modeling—practitioners face a fundamental "meta-problem": selecting the optimal estimator or hyperparameter (e.g., bandwidth or horizon) for a specific dataset. Traditional cross-validation is inapplicable in OPE because ground truth labels for the target policy's performance are unavailable, forcing reliance on heuristics.
The SLOPE Method
The proposed method, SLOPE (Selection by Lepski’s principle for Off-Policy Evaluation), provides a rigorous data-driven framework for this selection. Instead of estimating error directly, SLOPE leverages the confidence intervals of a sequence of candidate estimators.
The procedure requires ordering candidate estimators such that their bias is monotonically increasing while their variance (and confidence interval width) decreases. SLOPE then identifies the estimator with the lowest variance whose confidence interval still intersects with the intervals of all preceding, lower-bias estimators. This approach is rooted in the intuition that as long as intervals overlap, the reduction in variance does not come at the cost of excessive bias.
Experimental Evaluation
The authors evaluated SLOPE across two primary domains:
- Continuous Contextual Bandits: A synthetic environment with 1,000 conditions varying in reward functions and sample sizes.
- Reinforcement Learning: Four environments from the "COPE" benchmark (Mountain Car, Gridworld, Graph, and PO-Graph), totaling 106 distinct experimental conditions.
Key Results and Insights
SLOPE demonstrates both theoretical and empirical strength. Theoretically, it satisfies an oracle inequality, meaning its performance is guaranteed to be within a constant factor of the best possible estimator in the candidate set, without requiring knowledge of the ground truth.
Empirically, SLOPE consistently outperforms established baselines. In contextual bandits, it effectively navigated the tradeoff between different bandwidth settings. In reinforcement learning tasks, it significantly surpassed MAGIC, the previous state-of-the-art for estimator selection.
Conclusion and Future Work
SLOPE offers a universal selection strategy that can be applied to various OPE hyperparameters. Its primary limitation lies in its dependency on valid, tight confidence intervals and the assumption of monotonic bias/variance. Future research may explore using bootstrap methods to construct these intervals in complex settings where analytical bounds are difficult to derive, further enhancing the method's adaptivity.
Summary updated