More Efficient Off-Policy Evaluation through Regularized Targeted Learning.

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

TL;DR

This paper introduces RLTMLE, a new doubly-robust estimator for Off-Policy Evaluation (OPE) in reinforcement learning based on the Targeted Maximum Likelihood Estimation principle. By combining causal inference techniques with novel regularization and ensembling, the authors achieve state-of-the-art performance and theoretical optimality, hitting the generalized Cramer-Rao lower bound for variance.

What Problem Does This Paper Address?

In Reinforcement Learning, Off-Policy Evaluation (OPE) is the task of estimating how well a new "target" policy would perform using only historical data collected by a different "behavior" policy. This is critical in fields like medicine or autonomous driving, where testing a new, unproven policy in the real world could be dangerous or prohibitively expensive.

Existing OPE methods generally fall into three buckets:

  1. Direct Methods (DM): Fit a model of the environment. Low variance, but high bias if the model is wrong (misspecified).
  2. Importance Sampling (IS): Use the ratio of target-to-behavior policy probabilities to reweight rewards. Unbiased, but suffers from "variance explosion" as the time horizon grows.
  3. Doubly Robust (DR): Combine DM and IS to get the best of both worlds.

The challenge is that even DR estimators can be highly unstable in complex RL environments. This paper aims to bridge the gap between RL and the statistical causal inference literature to create a more efficient, lower-variance DR estimator.

Methods

The authors introduce the Longitudinal Targeted Maximum Likelihood Estimator (LTMLE) to the RL setting. The core idea is a two-stage process:

  • Initial Fit: Start with a standard Q-function estimate (the Direct Method).
  • Targeted Update: Instead of just using the initial fit, LTMLE performs a "second-stage" update. It fits a small parametric model (essentially a logistic regression intercept) using maximum likelihood, weighted by importance sampling ratios. This update is specifically "targeted" to reduce the bias of the policy value estimate.

To make this practical, they introduce RLTMLE, an ensemble estimator that incorporates several innovations:

  • Cross-Validation: Unlike previous methods that split data into two halves (wasting half the data for each step), they use a cross-validation approach to leverage the entire dataset for both model fitting and evaluation.
  • Regularization Suite: They propose three ways to stabilize the estimator: Weight Softening (capping extreme IS ratios), Partial Horizons (ignoring terms far in the future), and L2 Penalization on the targeted update.
  • Ensembling (MAGIC variant): The final RLTMLE estimator is a convex combination of many regularized LTMLE base estimators, optimized to minimize the estimated Mean Squared Error (MSE).

Datasets

The authors evaluated their method on three distinct environments designed to test different failure modes:

  • ModelWin: A stochastic MDP where the function class is expressive enough to perfectly represent the environment.
  • ModelFail: A partially observable, deterministic domain where any Markovian model is guaranteed to be misspecified (mimicking real-world complexity).
  • GridWorld: A standard 4x4 grid benchmark commonly used in OPE research.

Key Insights and Ideas

  • Theoretical Optimality: The authors explicitly derive the Efficient Influence Function (EIF) for the RL policy value. This allows them to prove that LTMLE is "locally efficient," meaning it achieves the lowest possible asymptotic variance (the Cramer-Rao lower bound) among regular estimators.
  • Substitution Estimator Advantage: Unlike standard DR methods, LTMLE is a "substitution estimator." This means the final value estimate is guaranteed to stay within the valid range of possible rewards (e.g., if rewards are between 0 and 1, the estimate won't be -5 or 10), which inherently stabilizes the results.
  • Stability via Likelihood: By treating the bias correction as a maximum likelihood problem rather than a simple weighted sum, the estimator handles extreme importance weights more gracefully.

Key Results

The empirical results show that RLTMLE 2 (the version using the full regularization suite) consistently outperforms existing state-of-the-art methods like Weighted Doubly Robust (WDR) and MAGIC.

Figure 1. Empirical results for three different environments and varying level of model misspecification. (a) GridWorld MSE across varying sample size n = (100, 200, 500, 1000) and bias equivalent to b0 = 0.005 × Normal(0, 1) over 71 trials; (b) ModelFail MSE across varying sample size n = (100, 200, 500, 1000) and bias equivalent to b0 = 0.005 × Normal(0, 1) over 71 trials; (c) ModelWin MSE across varying sample size n = (100, 500, 1000, 5000, 10000) and bias equivalent to b0 = 0.005 × Normal(0, 1) over 63 trials; (d) ModelWin MSE across varying sample size n = (100, 500, 1000, 5000, 10000) and bias equivalent to b0 = 0.05 × Normal(0, 1) over 63 trials.

As seen in Figure 1, RLTMLE 2 maintains a significant lead in efficiency across GridWorld, ModelFail, and ModelWin. In the "ModelFail" case (b), where models are intentionally wrong, the gap between RLTMLE and standard WDR is particularly pronounced.

Furthermore, the authors demonstrated that their regularization techniques are broadly applicable; even applying "weight softening" to standard WDR estimators significantly improved their performance, though they still lagged behind the full RLTMLE approach.

Limitations and Future Work

  • Computational Complexity: The targeted update involves a backward recursion and iterative optimization. While the authors note it is more efficient than some "More Robust" DR variants when scanning many target policies, it is still more computationally demanding than a simple Direct Method.
  • Horizon Scaling: While LTMLE reduces variance, the fundamental "curse of horizon" in OPE remains a challenge; variance still grows as the trajectory length $T$ increases.
  • Function Approximation: The current theoretical guarantees rely on certain convergence properties of the initial Q-estimators. Exploring how this interacts with deep neural networks in high-dimensional state spaces is a natural next step.

Summary updated

BibTeX
@inproceedings{bibaut2019more,
  author = {Aurélien F. 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