Robust Batch Policy Learning in Markov Decision Processes

Zhengling Qi, Peng LiaoarXiv 2020

Abstract

We study the offline data-driven sequential decision making problem in the framework of Markov decision process (MDP). In order to enhance the generalizability and adaptivity of the learned policy, we propose to evaluate each policy by a set of the average rewards with respect to distributions centered at the policy induced stationary distribution. Given a pre-collected dataset of multiple trajectories generated by some behavior policy, our goal is to learn a robust policy in a pre-specified policy class that can maximize the smallest value of this set. Leveraging the theory of semi-parametric statistics, we develop a statistically efficient policy learning method for estimating the defined robust optimal policy. A rate-optimal regret bound up to a logarithmic factor is established in terms of total decision points in the dataset.

Introduction

In many high-stakes domains such as healthcare, finance, and supply chain management, Reinforcement Learning (RL) cannot rely on active exploration or "trial and error" due to ethical and safety constraints. Instead, agents must learn from pre-collected, static datasets—a paradigm known as Batch or Offline RL. A significant hurdle in this setting is the lack of robustness: a policy that performs optimally on the training data may fail during deployment if the environment undergoes a distributional shift or if the operational time horizon differs from the training phase.

This paper introduces a statistically principled framework for robust batch policy learning. By centering uncertainty sets around the policy-induced stationary distribution, the authors develop a method that ensures high performance even in "worst-case" scenarios within a defined neighborhood of the training environment.

The Robust Criterion and Dual Reformulation

The core innovation of this work is the definition of a robust objective function. Rather than maximizing a single expected average reward, the authors evaluate each policy $\pi$ based on the minimum average reward over an uncertainty set $\Lambda_c^\pi$. This set is defined as a probability ball (using Total Variation distance) centered at the policy’s own stationary distribution.

To make this optimization problem tractable, the authors employ convex duality to transform the "max-min" problem into an M-estimation problem. This reformulation reveals a deep mathematical connection between robust policy optimization and Conditional Value-at-Risk (CVaR). By optimizing for the lower tail of the reward distribution, the framework naturally builds resilience against unfavorable environmental shifts.

Semi-parametric Efficiency and Double Robustness

Estimating the robust objective from offline data requires accounting for "nuisance functions," such as the state-value function and the state-visitation density ratio. The authors leverage Efficient Influence Functions (EIF) from semi-parametric statistics to develop a "doubly robust" estimator. This estimator remains accurate and statistically consistent as long as at least one of the nuisance models (either the value function or the density ratio) is correctly specified.

Furthermore, the paper establishes a rate-optimal regret bound. Crucially, this bound is expressed in terms of the total number of decision points ($N = \text{number of trajectories} \times \text{trajectory length}$). This result "breaks the curse of the horizon," proving that longer trajectories are just as statistically valuable as increasing the number of independent trajectories.

Empirical Validation

The framework was tested using a synthetic two-arm MDP designed to simulate challenges in mobile health (mHealth) and inventory management. The training data consisted of 25 trajectories with 24 decision points each, generated by a random behavior policy.

Key findings from the simulation include:

  • Superior Generalization: The robust policy consistently outperformed standard average-reward and discounted-reward (V-learning) methods when tested on longer horizons ($T=50$ to $100$).
  • Resilience to Distributional Shift: When the initial state distribution was shifted from a standard Normal distribution to a heavy-tailed t-distribution, the proposed method maintained stable performance, while traditional methods saw significant degradation.

Conclusion and Future Directions

This research provides a robust foundation for offline RL by integrating stationary distribution anchoring with semi-parametric efficiency. While the current implementation uses Reproducing Kernel Hilbert Spaces (RKHS)—which can be computationally demanding—the theoretical results offer a clear path toward more reliable AI in real-world sequential decision-making. Future work may focus on more efficient optimization techniques and extending these robust influence functions to the online RL setting to better manage the exploration-exploitation trade-off.

Summary updated

BibTeX
@misc{qi2020robust,
  author = {Zhengling Qi and Peng Liao},
  title = {{Robust Batch Policy Learning in Markov Decision Processes}},
  year = {2020},
  eprint = {2011.04185},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2011.04185},
}
Figure