Empirical Study of Off-Policy Policy Evaluation for Reinforcement Learning

Cameron Voloshin, Hoang Minh Le, Nan Jiang, Yisong Yue

Abstract

Off-policy evaluation (OPE) is essential for assessing reinforcement learning policies without real-world deployment. This paper introduces the Caltech OPE Benchmarking Suite (COBS), a framework for stress-testing OPE algorithms. Through an empirical study of 33 methods across eight environments, we demonstrate that estimator performance is highly context-dependent. Notably, we find that direct methods often outperform hybrid approaches in high-dimensional settings and that policy divergence frequently poses a greater challenge than the "curse of horizon."

Introduction

As Reinforcement Learning (RL) transitions from simulated games to safety-critical applications like clinical medicine and autonomous driving, the stakes for policy deployment have risen. We often need to evaluate a new "target" policy ($\pi_e$) using historical data generated by a different "behavior" policy ($\pi_b$). This process, known as Off-Policy Evaluation (OPE), is the cornerstone of safe RL. However, despite a proliferation of new OPE estimators, the field has lacked a standardized, rigorous benchmarking framework to compare their performance across varied conditions.

The Caltech OPE Benchmarking Suite (COBS)

To address this gap, we present the Caltech OPE Benchmarking Suite (COBS). Unlike previous benchmarks that rely on static datasets, COBS generates data on-the-fly, allowing researchers to systematically tune "decision factors" such as reward sparsity, horizon length, and policy divergence.

Experimental Environments

COBS includes eight distinct environments designed to isolate specific algorithmic stressors. These range from simple tabular tasks to high-dimensional pixel-based challenges.

Environments include:

  • Classic RL: Mountain Car (MC) and Atari Enduro.
  • Tabular/Discrete: Graph and Gridworld.
  • High-Dimensional Variants: Pixel-Gridworld and Pixel-Mountain Car.
  • Partial Observability: Graph-POMDP, which induces model misspecification by withholding state information.

Taxonomy of OPE Estimators

We categorize 33 OPE methods into three primary families:

  1. Inverse Propensity Scoring (IPS): Reweights rewards using importance sampling. These are unbiased but suffer from high variance over long horizons.
  2. Direct Methods (DM): Learn the environment model or value function directly (e.g., Fitted Q Evaluation). They offer lower variance but are susceptible to bias if the model is misspecified.
  3. Hybrid Methods (HM): Combine IPS and DM (e.g., Doubly Robust estimators) to balance bias and variance.

Key Insights and Empirical Results

Our study reveals that no single estimator dominates across all scenarios. Performance is highly nuanced, leading to several key findings that challenge existing RL dogma.

Challenging the Hybrid Superiority

While hybrid methods are often cited as the gold standard, our results show that in high-dimensional or highly stochastic environments, simple Direct Methods like Fitted Q Evaluation (FQE) frequently outperform complex hybrid alternatives. Within the hybrid family, Weighted Doubly Robust (WDR) consistently outperformed the standard Doubly Robust (DR) variant.

Policy Mismatch vs. Horizon

The "curse of horizon" is a well-known hurdle in OPE, but our experiments suggest that policy divergence—the distance between $\pi_b$ and $\pi_e$—can be even more detrimental. In specific tests, increasing the horizon led to a 10x decrease in accuracy, whereas a comparable increase in policy mismatch resulted in a 100x decrease.

A critical factor in estimator success is whether the chosen representation is sufficient for generalization. When models are potentially misspecified (e.g., using Neural Networks or in POMDPs), the choice of estimator becomes a complex decision based on horizon length and the quality of the behavior policy estimate.

Conclusion and Future Work

The primary hurdle for practitioners remains model selection: choosing the right algorithm for a specific dataset without knowing the ground truth. Our results highlight the need for automated model selection techniques. Furthermore, future benchmarking must address "unseen" actions—scenarios where the behavior policy does not cover the full action space of the target policy—which remains a significant challenge for current OPE theory.

Summary updated

BibTeX
@inproceedings{voloshin2021empirical,
  author = {Cameron Voloshin and Hoang Minh Le and Nan Jiang and Yisong Yue},
  title = {{Empirical Study of Off-Policy Policy Evaluation for Reinforcement Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=IsK8iKbL-I},
}
Figure