Near-Optimal Provable Uniform Convergence in Offline Policy Evaluation for Reinforcement Learning

Ming Yin, Yu Bai, Yu-Xiang Wang

Abstract

The problem of Offline Policy Evaluation (OPE) in Reinforcement Learning (RL) is a critical step towards applying RL in real life applications. Existing work on OPE mostly focus on evaluating a fixed target policy $\pi$, which does not provide useful bounds for offline policy learning as $\pi$ will then be data-dependent. We address this problem by simultaneously evaluating all policies in a policy class $\Pi$ — uniform convergence in OPE — and obtain nearly optimal error bounds for a number of global / local policy classes. Our results imply that the model-based planning achieves an optimal episode complexity of $\widetilde{O}(H^3/d_m\epsilon^2)$ in identifying an $\epsilon$-optimal policy under the time-inhomogeneous episodic MDP model ($H$ is the planning horizon, $d_m$ is a quantity that reflects the exploration of the logging policy $\mu$). To the best of our knowledge, this is the first time the optimal rate is shown to be possible for the offline RL setting and the paper is the first that systematically investigates the uniform convergence in OPE.

Introduction

In Offline Reinforcement Learning, the goal is to learn an optimal policy using only a pre-collected dataset, known as the logging data, without further interaction with the environment. This process typically involves two stages: Offline Policy Evaluation (OPE), which estimates the performance of a fixed policy, and Offline Policy Learning, which seeks the best policy within a class $\Pi$.

While OPE for a single fixed policy is well-studied, policy learning introduces a significant challenge: the policy being evaluated is often chosen because it performs well on the available data. This data-dependency introduces a "look-ahead" bias, rendering standard OPE bounds insufficient. To ensure that a learned policy generalizes to the real world, one requires uniform convergence—a guarantee that performance estimates are accurate for all policies in the search space simultaneously.

Methodology: Model-Based Estimation

The authors propose the Offline Policy Empirical Model Approximator (OPEMA), a model-based "plug-in" estimator. Instead of complex model-free algorithms, OPEMA constructs an empirical model of the Markov Decision Process (MDP) by directly estimating transition probabilities and rewards from the offline dataset. The value of any target policy is then computed as if this empirical MDP were the true environment.

The theoretical backbone of this work is a sophisticated analysis using Martingale Decomposition. By breaking down the estimation error into a sum of martingale differences, the authors apply concentration inequalities to derive tight bounds. This approach also yields an improved "simulation lemma" that removes unnecessary dependencies on the state-space size ($S$) found in previous literature.

Theoretical Results and Complexity Bounds

The study investigates three types of policy classes: Global (all possible policies), Global Deterministic, and Local (policies near the empirically optimal one). The primary finding is the identification of the "$H^3$ frontier." For local policy classes, the authors establish an episode complexity of $\widetilde{O}(H^3/d_m \epsilon^2)$, where $d_m$ represents the exploration quality of the logging policy.

Comparison of sample complexity bounds for various OPE and offline RL methods.

As shown in the table above, the proposed model-based planning (via SIMPLEX or PI/VI) achieves the minimax lower bound of $\Omega(H^3/d_m \epsilon^2)$. This result confirms that model-based estimators are not only efficient but information-theoretically optimal for this setting, bridging the gap between policy evaluation and learning.

Empirical Validation

To support their theoretical findings, the authors conducted experiments using a synthetic non-stationary MDP with a 2-state, 2-action structure. These simulations specifically tested how error scales with the planning horizon $H$. The empirical results confirmed the $H^3$ scaling predicted by their theory, validating the tightness of their derived bounds.

Conclusion and Future Work

This work provides the first systematic investigation of uniform convergence in OPE, demonstrating that model-based methods can achieve optimal rates. While currently focused on tabular MDPs, the techniques developed here—particularly the martingale decomposition and improved simulation lemma—provide a foundation for future extensions. Key areas for future research include extending these results to settings with function approximation (e.g., Deep Offline RL) and exploring Linear MDP models.

Summary updated

BibTeX
@inproceedings{yin2021near,
  author = {Ming Yin and Yu Bai and Yu-Xiang Wang},
  title = {{Near-Optimal Provable Uniform Convergence in Offline Policy Evaluation for Reinforcement Learning}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2021},
  url = {https://openreview.net/forum?id=B9ZdxxUBe5},
}
Figure