More Efficient Off-Policy Evaluation through Regularized Targeted Learning

Aurélien Bibaut, Ivana Malenica, Nikos Vlassis, Mark J. van der Laan

Introduction

This paper introduces RLTMLE, a novel framework for Off-Policy Evaluation (OPE) that bridges the gap between Reinforcement Learning (RL) and semiparametric statistics. By adapting Targeted Maximum Likelihood Estimation (TMLE) and incorporating clever regularization techniques, the authors create an estimator that is more efficient, robust to model errors, and theoretically optimal compared to current state-of-the-art methods like MAGIC and Weighted Doubly Robust (WDR).

The Challenge of Off-Policy Evaluation

In many real-world applications—such as medicine, finance, or autonomous driving—we cannot simply "test out" a new policy to see how it performs due to high risks or costs. Instead, we must rely on Off-Policy Evaluation: estimating the value of a new "target" policy using historical data generated by a different "behavior" policy.

The primary challenge in OPE lies in the bias-variance tradeoff:

  • Direct Methods: Fitting a model of the environment is stable but biased if the model is misspecified.
  • Importance Sampling: Weighting rewards by policy probability ratios is unbiased but suffers from "variance explosion" as the time horizon grows.
  • Doubly Robust (DR) Estimators: While attempting to combine the strengths of both, DR estimators can still be unstable in practice and sometimes produce nonsensical estimates that fall outside the possible range of rewards.

Proposed Method: RLTMLE

The authors propose Longitudinal Targeted Maximum Likelihood Estimation (LTMLE) for the RL setting. The process works in three main steps:

  1. Initial Estimation: The method starts with a standard model-based estimate of the action-value ($Q$) functions.
  2. Targeting: Instead of relying solely on the initial model, LTMLE "targets" it to reduce bias. It fits a simple parametric submodel (using a logistic loss and backward recursion) that specifically updates the initial estimate to satisfy the Efficient Influence Function (EIF) equations. This ensures the estimator is "locally efficient," meaning it achieves the best possible theoretical convergence rate ($1/\sqrt{n}$).
  3. Regularization & Ensembling (RLTMLE): To handle the noise inherent in real-world data, the authors introduce three regularization techniques:
  4. Weight Softening: Taming extreme importance sampling ratios.
  5. Partial Horizon: Cutting off the evaluation at earlier time steps to reduce cumulative noise.
  6. Penalization: Adding an L2-style penalty to the targeting step.

The final algorithm, RLTMLE, acts as an ensemble that uses a convex combination of these regularized estimators to minimize the estimated Mean Squared Error (MSE), similar to the MAGIC algorithm but utilizing TMLE as the robust base.

Experimental Setup

The authors evaluated their approach on three distinct RL environments:

  • ModelFail: A deterministic, partially observable domain where the approximate model is fundamentally incorrect, even with infinite data.
  • ModelWin: A stochastic Markov Decision Process (MDP) where the model class is capable of perfectly representing the environment.
  • GridWorld: A standard $4 \times 4$ navigation task with a longer horizon ($T=100$), used to test how the estimators scale.

Key Insights

  • Bridging Two Worlds: This is the first work to explicitly derive the Efficient Influence Function (EIF) for policy value in RL. This mathematical object serves as the foundation for building estimators that hit the theoretical speed limit of statistical estimation (the Cramer-Rao lower bound).
  • Substitution Estimators: Unlike some DR methods that can output impossible values (e.g., predicting a reward of 150 when the maximum possible is 100), TMLE is a "substitution estimator." By design, its estimates are guaranteed to stay within the valid range of rewards.
  • Stability through Targeting: By updating the model via a maximum likelihood step rather than just adding a correction term (as in standard DR), the estimator gains significant stability, especially when the behavior and target policies differ vastly.

Key Results

The experiments demonstrate that RLTMLE 2 (the version using bootstrapped covariance) consistently outperforms existing state-of-the-art methods.

MSE comparison across different environments. RLTMLE 2 consistently achieves the lowest log10(n * MSE) across varying sample sizes and bias levels.

As seen in the performance comparison across environments, RLTMLE 2 maintains a significant lead over MAGIC and WDR across all tested scenarios. Furthermore, the regularized LTMLE base estimators are generally more stable than their WDR counterparts, particularly in "high bias" settings where the initial model is poor.

Comparison of regularized base estimators in the ModelWin environment. The LTMLE-based estimators often show lower MSE than the standard WDR.

Limitations and Future Work

  • Computational Complexity: The backward recursion and the need to fit multiple regularized models (and potentially bootstrap them) make RLTMLE more computationally intensive than simple Direct Methods.
  • Scaling to High Dimensions: While the theory holds for continuous states, practical implementation relies heavily on the quality of the initial $Q$-function fit. In very high-dimensional spaces (like raw pixels), performance will depend significantly on the underlying deep learning architecture.
  • Future Directions: The authors suggest that because their method doesn't require refitting the entire reward-to-go model for every new policy, it could be highly efficient for "policy search," where one needs to evaluate thousands of candidate policies in a loop.

Summary updated

BibTeX
@inproceedings{bibaut2019more,
  author = {Aurélien Bibaut and Ivana Malenica and Nikos Vlassis and Mark J. van der Laan},
  title = {{More Efficient Off-Policy Evaluation through Regularized Targeted Learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2019},
}
Figure