Towards Tight Bounds on the Sample Complexity of Average-reward MDPs

Yujia Jin, Aaron Sidford

Abstract

We prove new upper and lower bounds for sample complexity of finding an $\epsilon$-optimal policy of an infinite-horizon average-reward Markov decision process (MDP) given access to a generative model. When the mixing time of the probability transition matrix of all policies is at most $t_\mathrm{mix}$, we provide an algorithm that solves the problem using $\widetilde{O}(t_\mathrm{mix} \epsilon^{-3})$ (oblivious) samples per state-action pair. Further, we provide a lower bound showing that a linear dependence on $t_\mathrm{mix}$ is necessary in the worst case for any algorithm which computes oblivious samples. We obtain our results by establishing connections between infinite-horizon average-reward MDPs and discounted MDPs of possible further utility.

Introduction

In Reinforcement Learning (RL) theory, characterizing the sample complexity—the amount of data required to find a near-optimal policy—is a fundamental goal. While this complexity is well-established for discounted Markov Decision Processes (DMDPs), where future rewards are exponentially decayed, the landscape for infinite-horizon average-reward MDPs (AMDPs) has remained less clear. AMDPs are often more natural for modeling systems intended for long-term operation, such as communication networks or inventory management, where the goal is to maximize the steady-state reward rate.

Previous research into AMDP sample complexity often faced several hurdles: high dependence on the system's mixing time ($t_{mix}$), requirements for adaptive (dynamic) sampling strategies, and the production of randomized policies which are less desirable in practical control settings. This paper addresses these gaps by providing near-tight bounds and a robust algorithmic framework.

Methodology: Bridging AMDPs and DMDPs

The primary innovation of this work is a quantitative reduction from AMDPs to DMDPs. The authors establish that an AMDP can be effectively approximated by a DMDP if the discount factor $\gamma$ is carefully chosen. Specifically, by setting $\gamma = 1 - \Theta(\epsilon/t_{mix})$, the discounted value function becomes a reliable proxy for the average reward.

The Algorithm

Leveraging this connection, the proposed algorithm uses state-of-the-art DMDP solvers as a "black box." By solving the discounted surrogate problem to a specific accuracy, the method yields an $\epsilon$-optimal deterministic policy for the original AMDP. Crucially, this approach utilizes oblivious sampling, where a fixed number of samples per state-action pair are collected upfront from a generative model (simulator), rather than deciding which samples to take based on intermediate results.

Lower Bound Construction

To establish the fundamental limits of any such algorithm, the authors construct a "hard instance" of an MDP. This structure incorporates a "restart" mechanism that ensures a bounded mixing time while making the optimal action difficult to identify without a linear number of samples relative to $t_{mix}$.

Comparative Analysis

The results of this work significantly improve upon the state-of-the-art for average-reward problems. As shown in Table 1, previous methods typically exhibited a quadratic dependence on the mixing time ($t_{mix}^2$). By reducing this to a linear dependence ($t_{mix}$), the new method offers superior performance in systems with large mixing times.

Table 1: Comparison of sample complexity and accuracy across different MDP types and methods.

Key Results

The paper establishes two primary bounds for the sample complexity of AMDPs:

  1. Upper Bound: The proposed algorithm finds an $\epsilon$-optimal policy with high probability using $\tilde{O}(A_{tot} t_{mix} \epsilon^{-3})$ oblivious samples.
  2. Lower Bound: For any algorithm using oblivious sampling, a linear dependence on the mixing time is unavoidable, with a lower bound of $\Omega(A_{tot} t_{mix} \epsilon^{-2})$.

This resolves the question of the optimal dependence on $t_{mix}$ for oblivious sampling, proving that it must be linear.

Discussion and Future Directions

While this work provides the first near-tight bounds for AMDPs, a gap remains regarding the precision parameter $\epsilon$. The lower bound suggests $\epsilon^{-2}$ might be the true limit, whereas the current upper bound achieves $\epsilon^{-3}$. Future research may close this gap by developing algorithms that leverage the mixing structure of the MDP more directly, rather than relying on the reduction to DMDPs.

Additionally, the current analysis assumes a global mixing time bound (all policies must mix well). Relaxing this assumption to only require the optimal policy to be well-behaved is a promising avenue for future theoretical exploration. Finally, while the sample complexity is optimized, improving the computational efficiency of these solvers remains an open challenge for the RL community.

Summary updated

BibTeX
@inproceedings{jin2021towards,
  author = {Yujia Jin and Aaron Sidford},
  title = {{Towards Tight Bounds on the Sample Complexity of Average-reward MDPs}},
  booktitle = {International Conference on Machine Learning},
  year = {2021},
  url = {https://openreview.net/forum?id=QBNuzY3vDVq},
}
Figure