Achieving the Asymptotically Optimal Sample Complexity of Offline Reinforcement Learning: A DRO-Based Approach

Yue Wang, Yuting Hu, Jinjun Xiong · DOI

Abstract

Offline reinforcement learning (RL) seeks to derive optimal policies from fixed datasets without further environment interaction. This paradigm is often hindered by limited data coverage and distribution shifts between the behavior and target policies. While traditional methods employ reward-based pessimism to handle uncertainty, this work demonstrates that Distributionally Robust Optimization (DRO) can achieve asymptotic minimax optimality. By modeling uncertainty directly within the transition kernel and utilizing a value-function-based uncertainty set, the proposed approach achieves a sample complexity of $\mathcal{O}(SC^{\pi^*}\epsilon^{-2}(1-\gamma)^{-3})$, matching the theoretical lower bound for offline RL.

Introduction

In many real-world applications of reinforcement learning, such as healthcare or autonomous driving, active exploration is often prohibited due to safety or cost constraints. Offline RL addresses this by learning from pre-collected datasets. However, the lack of active exploration leads to two primary challenges: limited data availability and distribution shift. When the behavior policy (which generated the data) differs significantly from the optimal policy, the agent may encounter state-action pairs with little to no data, leading to overestimation of values and poor performance.

To mitigate these issues, the principle of "pessimism in the face of uncertainty" is typically employed. Most existing literature focuses on value-based pessimism, where rewards are penalized for under-explored regions. This paper explores an alternative: model-based pessimism through Distributionally Robust Optimization (DRO).

Methodology: Distributionally Robust Optimization

The core idea of the DRO-based approach is to account for uncertainty in the environment's transition kernel $P$. Instead of relying on a single point estimate, the authors construct an uncertainty set $\mathcal{U}$ of statistically plausible transition kernels. The goal is to find a policy that maximizes the worst-case performance across all kernels in this set.

Uncertainty Set Design

The authors investigate two distinct methods for constructing the uncertainty set:

  1. Metric-Based Uncertainty Set: This approach uses a metric like Total Variation (TV) distance to ensure the true transition kernel is contained within the set with high probability. While statistically sound, this method is "overly conservative." It results in a sample complexity of $\mathcal{O}(S^2C^{\pi^*}\epsilon^{-2}(1-\gamma)^{-4})$, which is sub-optimal due to the quadratic dependence on the number of states $S$.
  2. Value-Function-Based Uncertainty Set: To achieve higher efficiency, the authors propose a more refined set based on Chi-square divergence. The critical insight here is that the uncertainty set does not need to contain the true transition kernel to be effective; it only needs to ensure that the estimated value function serves as a tight lower bound on the true value function. By tailoring the set to the value function, the authors reduce the sample complexity significantly.

Theoretical Results and Minimax Optimality

The primary contribution of this research is the proof that the value-function-based DRO approach is asymptotically minimax optimal. The derived sample complexity to achieve a sub-optimality gap of $\epsilon$ is:

$$\mathcal{O}\left(\frac{SC^{\pi^*}}{\epsilon^2(1-\gamma)^3}\right)$$

where:

  • $S$ is the number of states.
  • $C^{\pi^*}$ is the single-policy clipped concentrability coefficient, representing the distribution shift.
  • $\gamma$ is the discount factor.

This result matches the best-known lower bounds for offline RL, placing DRO-based methods on equal footing with state-of-the-art reward-penalty methods like Lower Confidence Bound (LCB). Furthermore, the authors demonstrate that their robust value iteration algorithm can be solved efficiently in polynomial time using convex optimization, overcoming the computational hurdles often associated with DRO.

Empirical Validation

The theoretical findings were validated using two benchmark environments:

  • Garnet Problems: Synthetic Markov Decision Processes (MDPs) that allow for controlled testing of RL algorithms across various parameters.
  • Frozen-Lake: A classic grid-world task requiring navigation across a slippery surface.

Experiments conducted under both global and partial data coverage scenarios confirmed that the DRO-based approach effectively handles distribution shifts and outperforms non-robust baselines.

Conclusion and Future Directions

This work establishes DRO as a powerful and theoretically optimal framework for offline RL. By shifting the focus from reward penalties to transition kernel uncertainty, the authors provide a more direct way to incorporate pessimism.

While the current results are established for the tabular setting, they provide a strong foundation for future extensions. Key areas for further research include extending the DRO framework to handle large or continuous state spaces using function approximation and adapting the model to handle environments with stochastic rewards. By achieving the "gold standard" of sample complexity, this research paves the way for more robust and efficient learning in safety-critical real-world applications.

Summary updated

BibTeX
@misc{wang2023achieving,
  author = {Yue Wang and Yuting Hu and Jinjun Xiong},
  title = {{Achieving the Asymptotically Optimal Sample Complexity of Offline Reinforcement Learning: A DRO-Based Approach}},
  year = {2023},
  eprint = {2305.13289},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.13289},
}
Figure