Abstract
We study the off-policy evaluation (OPE) problem in an infinite-horizon Markov decision process with continuous states and actions. We recast the $Q$-function estimation into a special form of the nonparametric instrumental variables (NPIV) estimation problem. We first show that under one mild condition the NPIV formulation of $Q$-function estimation is well-posed in the sense of $L^2$-measure of ill-posedness with respect to the data generating distribution, bypassing a strong assumption on the discount factor $\gamma$ imposed in the recent literature for obtaining the $L^2$ convergence rates of various $Q$-function estimators. Thanks to this new well-posed property, we derive the first minimax lower bounds for the convergence rates of nonparametric estimation of $Q$-function and its derivatives in both sup-norm and $L^2$-norm, which are shown to be the same as those for the classical nonparametric regression (Stone, 1982). We then propose a sieve two-stage least squares estimator and establish its rate-optimality in both norms under some mild conditions. Our general results on the well-posedness and the minimax lower bounds are of independent interest to study not only other nonparametric estimators for $Q$-function but also efficient estimation on the value of any target policy in off-policy settings.
Introduction
Off-policy evaluation (OPE) is a cornerstone of Reinforcement Learning (RL), particularly in high-stakes domains like medicine, finance, or robotics. In these settings, executing a new "target" policy live is often dangerous or prohibitively expensive. Instead, researchers must estimate the value of the target policy using historical data collected by a different "behavior" policy.
When dealing with continuous state and action spaces, researchers typically rely on nonparametric methods to estimate the Q-function (the expected future reward). However, theoretical guarantees for these estimators have historically been limited. Many existing proofs relied on a "strong discount" assumption—requiring the discount factor $\gamma$ to be near zero—or lacked established fundamental limits (minimax lower bounds) for estimation accuracy in continuous spaces. This paper bridges the gap between RL and econometrics to provide a more robust theoretical foundation for Q-function estimation.
Recasting Q-Function Estimation as NPIV
The authors introduce a novel framework by viewing the Bellman equation through the lens of Nonparametric Instrumental Variables (NPIV). In this formulation, the next state ($S_{t+1}$) is treated as an "endogenous" variable, while the current state-action pair ($S_t, A_t$) serves as the "instruments."
This shift in perspective is significant because NPIV is a well-studied problem in econometrics, known for being "ill-posed." An ill-posed problem is one where small errors in the observed data can lead to massive errors in the resulting estimate. However, the authors prove that the specific recursive structure of the Bellman equation actually makes the Q-function estimation problem well-posed in the $L^2$-norm. This stability justifies the use of the standard Bellman residual to measure accuracy and removes the need for the restrictive "strong discount" assumption; as long as $\gamma < 1$, the problem remains manageable under mild regularity conditions.
The Sieve 2SLS Estimator
To practically address the estimation, the paper proposes a Sieve Two-Stage Least Squares (2SLS) estimator. This method approximates the unknown Q-function using a flexible "sieve" (a series of basis functions such as B-splines or wavelets). The estimation is solved in two stages to account for the instrumental variable structure:
- First Stage: Project the basis functions onto the space of instruments.
- Second Stage: Solve the least squares problem using these projections to find the Q-function coefficients.
Key Theoretical Results
The paper establishes several landmark results for nonparametric OPE:
- Minimax Lower Bounds: The authors derive the first minimax lower bounds for estimating the Q-function and its derivatives in both the sup-norm (maximum error) and $L^2$-norm (average squared error). They demonstrate that Q-function estimation is fundamentally no more difficult than classical nonparametric regression, matching the rates established by Stone in 1982.
- Rate Optimality: The proposed Sieve 2SLS estimator is proven to be rate-optimal. Using B-splines or wavelets, the estimator achieves the theoretical lower bounds for functions within the Hölder and Sobolev smoothness classes.
- Convergence Rates: The error of the estimator shrinks at a rate determined by the sample size ($NT$) and the smoothness ($p$) of the underlying Q-function relative to the dimension ($d$) of the state-action space, specifically $O_p((NT)^{-p/(2p+d)})$.
Conclusion and Future Directions
By demonstrating that Q-function estimation is a well-posed NPIV problem, this research provides the first tight convergence rates for nonparametric OPE in continuous spaces. The findings suggest that the recursive stability of the Bellman equation is a powerful tool that simplifies the complexity of the inverse problem.
While the current work assumes stationarity and "mixing" conditions in the data-generating process, future work could extend these results to non-stationary batch RL scenarios. Additionally, the well-posedness framework established here could be applied to "indirect" OPE methods, such as marginal importance sampling or doubly robust estimators, to further improve statistical efficiency and robustness against heavy-tailed reward distributions.
Summary updated