Intrinsically Efficient, Stable, and Bounded Off-Policy Evaluation for Reinforcement Learning

Nathan Kallus, Masatoshi Uehara

Introduction

Evaluating a new policy using historical data—known as Off-Policy Evaluation (OPE)—usually forces a difficult trade-off. Practitioners must choose between the high variance of Importance Sampling (IS) and the potential bias of "Doubly Robust" (DR) methods when models are misspecified. This paper introduces two new estimators, REG and EMP, which are "intrinsically efficient." They are mathematically guaranteed to perform as well as or better than existing methods even with a misspecified model, while remaining stable and bounded.

The Challenge of Off-Policy Evaluation

OPE is the "holy grail" for high-stakes domains like healthcare, robotics, or autonomous driving, where you cannot simply deploy an untested policy to see how it performs. Instead, you must estimate its value using data logged from a different, older behavior policy.

Existing methods generally fall into three camps, each with a critical flaw:

  1. Direct Method (DM): Relies entirely on a reward model (Q-function). If the model is wrong, the estimate is heavily biased.
  2. Importance Sampling (IS): Unbiased, but suffers from "variance explosion" when the new policy differs significantly from the old one.
  3. Doubly Robust (DR): Combines both DM and IS to reduce variance. However, if the reward model is poor, DR can actually perform worse than simple IS. It also lacks "boundedness," meaning it might predict a total reward higher than what is physically possible in the environment.

The authors seek an estimator that is locally efficient (optimal if the model is right), consistent (works if the model is wrong), and stable/bounded (doesn't blow up or produce impossible values).

Theoretical properties of OPE estimators

Achieving Intrinsic Efficiency: REG and EMP

The authors propose two frameworks to achieve "intrinsic efficiency," ensuring that the inclusion of a model never degrades performance compared to model-free baselines:

  • REG (Regression-based): Instead of just plugging a predicted Q-function into a Doubly Robust formula, REG treats the Q-function as a basis for a larger class of control variates. It optimizes coefficients to minimize the estimated variance. By including a constant term in this optimization, it ensures the estimator is at least as good as Self-Normalized Importance Sampling (SNIS).
  • EMP (Empirical Likelihood): This more sophisticated approach uses Empirical Likelihood, a non-parametric method to estimate distributions. By solving a dual optimization problem, EMP produces weights that are naturally constrained. This ensures the estimator is 1-bounded (the estimate stays within the actual range of possible rewards) and stable (its variance is bounded by the variance of the rewards themselves).

The authors also provide practical "plug-in" versions of these estimators, making them computationally efficient even when using complex, high-dimensional models like neural networks for the Q-function. Even with thousands of parameters, the practical version only requires solving a highly scalable two-dimensional convex optimization problem.

Key Results

The researchers evaluated their methods on Contextual Bandits (using transformed UCI datasets like SatImage) and Reinforcement Learning benchmarks (Windy GridWorld, Cliff Walking, and Mountain Car). Across all experiments, REG and EMP consistently outperformed or matched the best-performing baselines.

  • Contextual Bandits: In the SatImage dataset, REG and EMP achieved a Root Mean Square Error (RMSE) of 2.8, significantly lower than DR (3.0) and SNIS (4.0).
  • Reinforcement Learning: The performance gap was even wider in RL environments. In the Windy GridWorld task (Size 750), REG and EMP achieved an RMSE of 0.05, while the standard Doubly Robust (DR) method lagged at 0.09 and the Direct Method (DM) failed entirely with 2.6.
  • Robustness: When the reward model was intentionally misspecified, REG and EMP successfully mimicked the stability of SNIS, whereas standard DR performance degraded sharply.
RMSE results across Reinforcement Learning environments

Limitations and Future Work

While theoretically sound, the methods have practical considerations:

  • Overfitting in Long Horizons: When the RL horizon is very long, the number of parameters to optimize can lead to overfitting in finite samples. The authors suggest regularization as a potential fix.
  • Asymptotic vs. Finite Sample: The "intrinsic efficiency" guarantee applies as the sample size goes to infinity; behavior in very small datasets still warrants empirical caution.
  • Blending Estimators: Future work could explore "hybrid" estimators that switch to the Direct Method when importance weights are extremely large, though this risks introducing bias.

Summary updated

BibTeX
@inproceedings{kallus2019intrinsically,
  author = {Nathan Kallus and Masatoshi Uehara},
  title = {{Intrinsically Efficient, Stable, and Bounded Off-Policy Evaluation for Reinforcement Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
}
Figure