Introduction
Off-policy evaluation (OPE) is a cornerstone of Reinforcement Learning (RL), enabling the estimation of a "target" policy's performance using historical data from a "behavior" policy. This capability is vital in safety-critical domains like healthcare, where deploying untested policies is ethically or financially prohibitive. However, OPE in infinite-horizon settings is traditionally hampered by the curse of horizon: as trajectories lengthen, the variance of standard estimators like Importance Sampling (IS) explodes exponentially due to vanishing overlap between policy distributions.
This paper investigates whether this curse is an inherent mathematical limit or a consequence of under-utilizing environmental structure. The authors demonstrate that by leveraging the time-invariant Markov structure of standard MDPs, the curse of horizon can be fundamentally broken.
Structural Dependencies in Reinforcement Learning
The feasibility of OPE depends heavily on the underlying process structure. The authors categorize environments into three types: Non-Markov (NMDP), Time-variant Markov (TMDP), and Time-invariant Markov (MDP).
In NMDPs and TMDPs, the history or the specific time step influences future states and rewards, making the curse of horizon mathematically unavoidable. In these settings, consistent evaluation requires the target and behavior policies to be nearly identical. However, in time-invariant MDPs, the transition dynamics and reward functions remain constant over time, a property that can be exploited to achieve much higher statistical efficiency.
Breaking the Curse: Statistical Limits and Scaling
Using semiparametric efficiency theory, the authors calculate the "efficiency bound"—the lowest possible asymptotic mean squared error (MSE) for any estimator. Their analysis reveals a dramatic shift in scaling when moving to time-invariant MDPs.
While NMDPs and TMDPs scale with the number of trajectories ($O(1/N)$), the efficiency bound for MDPs scales with the total number of transitions ($O(1/NT)$). This implies that accurate OPE is possible even with a single, sufficiently long trajectory ($N=1$), effectively bypassing the traditional reliance on large numbers of independent episodes.
The Double Reinforcement Learning (DRL) Estimator
To reach this theoretical efficiency bound, the authors propose the Double Reinforcement Learning (DRL) meta-estimator. DRL integrates two key "nuisance" functions:
- The $q$-function: Represents the expected future rewards from a given state-action pair.
- The stationary density ratio ($w$): Represents the ratio of average state-action visitations under the target policy versus the behavior policy.
The DRL estimator employs cross-fitting to allow the use of flexible, black-box machine learning models (e.g., neural networks) for estimating $q$ and $w$ without overfitting. By splitting data into folds, models trained on one subset are evaluated on another. Furthermore, the estimator is doubly robust: it remains consistent if either the $q$-function or the density ratio $w$ is correctly specified. A unique "mixed bias" property ensures that even if both $q$ and $w$ are estimated using slow-converging nonparametric methods, their product error vanishes quickly enough to achieve optimal asymptotic efficiency.
Empirical Results and Conclusion
The DRL estimator was validated across two distinct environments: the discrete Taxi Environment and the continuous CartPole Environment. In Taxi, DRL demonstrated superior robustness to model misspecification compared to standard Direct Methods. In CartPole, using neural networks for function approximation, DRL significantly outperformed Marginalized IS (MIS) and DualDICE, showing resilience to the high variance of deep learning-based estimators.
In conclusion, the "curse of horizon" is not an absolute barrier in RL. By properly accounting for time-invariance in MDPs, the DRL estimator achieves the theoretical limit of statistical efficiency, providing a robust framework for reliable policy evaluation in real-world infinite-horizon applications.
Summary updated