Double Reinforcement Learning for Efficient and Robust Off-Policy Evaluation

Nathan Kallus, Masatoshi Uehara

Introduction & The Curse of Horizon

Off-Policy Evaluation (OPE) is a critical challenge in reinforcement learning, particularly for high-stakes domains like healthcare and education where running live, exploratory experiments is risky or prohibitively expensive. OPE aims to estimate the performance of a new "target" policy using only historical data collected by a different "behavior" policy.

The primary bottleneck in OPE is the curse of horizon. In long sequences of actions, the variance of standard estimators—such as Importance Sampling (IS)—grows exponentially with the length of the horizon ($T$). This occurs because most existing OPE tools treat the data as non-Markovian, assuming that current states and rewards depend on the entire history of past states and actions.

Non-Markov Decision Process (NMDP)

However, many real-world problems are inherently Markovian, meaning the future depends only on the current state and action. This paper introduces Double Reinforcement Learning (DRL), a novel framework that explicitly leverages the Markov property to break the curse of horizon, turning exponential error growth into polynomial error growth.

The Double Reinforcement Learning Framework

To solve the efficiency problem in Markov Decision Processes (MDPs), the authors derive the Efficient Influence Function (EIF) for MDPs. This mathematical formulation identifies the lowest possible variance any regular estimator can achieve. Building on this, they propose the DRL estimator, which introduces several key technical innovations:

  1. Marginalized Density Ratios ($\mu$): Traditional Doubly Robust (DR) estimators use cumulative density ratios ($\nu$), which multiply over time and cause variance to explode. DRL instead uses the ratio of state-action occupancy frequencies (marginalized ratios). By effectively "forgetting" unnecessary history, DRL drastically reduces variance.
  2. Cross-Fold Estimation: To prevent overfitting and enable the use of flexible, "black-box" machine learning models (like deep neural networks) for nuisance functions, DRL splits the data. Nuisance functions—specifically the q-functions and density ratios—are trained on one half of the data and evaluated on the other.
  3. Double Robustness: The DRL estimator remains consistent if either the q-function model or the density ratio model is correctly specified. This provides a crucial safety net against model misspecification.
Comparison of OPE Estimators

By combining these techniques, DRL provides the first estimator for MDPs that is both semiparametrically efficient and doubly robust. Furthermore, using the cross-splitting framework, DRL achieves this theoretical efficiency limit without requiring restrictive statistical conditions (like Donsker classes) on the non-parametric estimators.

Experimental Validation

The authors evaluated DRL against existing methods—Importance Sampling (IS), the Direct Method (DM), and standard Doubly Robust (DR) estimators—using two standard OpenAI Gym environments:

  • Cliff Walking (Discrete State-Space): The agent must navigate a grid without falling off a cliff. Here, DRL for MDPs achieved a Root Mean Square Error (RMSE) of 0.075 with 1500 samples. In stark contrast, standard IS had an RMSE of 7.64, and a non-Markovian DRL variant scored 0.098.
  • Mountain Car (Continuous State-Space): An underpowered car must build momentum to climb a hill. DRL maintained its lead with an RMSE of 1.69, significantly outperforming standard IS, which lagged at 3.41.

Crucially, the experiments confirmed the "double robustness" of the approach: DRL maintained high performance even when one of its underlying components (the q-function or the density ratio) was intentionally misspecified.

Limitations and Future Directions

While DRL represents a major step forward, the authors note a few limitations. In continuous state spaces like Mountain Car, the performance improvement was less stark than in discrete environments. This is primarily due to the inherent difficulty of nonparametrically learning the marginalized density ratio ($\mu$) in continuous spaces.

Future work will likely focus on developing specialized neural architectures to better estimate these "nuisance" functions. Additionally, the authors suggest that the DRL framework could be extended beyond evaluation to Off-Policy Policy Optimization, paving the way for more stable, data-efficient reinforcement learning algorithms in the real world.

Summary updated

BibTeX
@inproceedings{kallus2020double,
  author = {Nathan Kallus and Masatoshi Uehara},
  title = {{Double Reinforcement Learning for Efficient and Robust Off-Policy Evaluation}},
  booktitle = {International Conference on Machine Learning},
  year = {2020},
}
Figure