NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Span-Based Optimal Sample Complexity for Average Reward MDPs

Matthew Zurek, Yudong ChenarXiv 2023 · DOI

Introduction

Reinforcement Learning (RL) theory has long sought to establish the fundamental limits of how many environment interactions are required to learn optimal behavior. While significant progress has been made for discounted reward criteria, the average-reward setting—often more representative of long-running real-world systems—has remained a challenge. This research, recently updated in March 2024, marks a significant milestone by providing the first minimax optimal sample complexity bound for learning near-optimal policies in average-reward Markov Decision Processes (MDPs).

The Average-Reward Challenge

In average-reward MDPs, the goal is to maximize the expected reward per time step over an infinite horizon. Unlike discounted MDPs, where future rewards are exponentially devalued, the average-reward criterion treats all time steps equally. This makes the problem more difficult because a single action can have consequences that persist indefinitely.

Historically, sample complexity bounds for this setting either relied on restrictive assumptions, such as "uniform mixing" (where every policy reaches a steady state quickly), or resulted in suboptimal scaling, such as $1/\epsilon^3$ instead of the desired $1/\epsilon^2$. The primary difficulty lies in the fact that standard analysis techniques for discounted MDPs often break down as the discount factor approaches 1, which is necessary to approximate the average-reward objective.

Methodology: Reduction and the Power of Span

The authors employ a reduction-based approach, transforming the average-reward problem into a discounted MDP with a discount factor $\gamma$ very close to 1. The key innovation lies in the analysis of this reduction, specifically by focusing on the span ($H$) of the optimal bias function.

The span $H$ is a measure of the maximum variation in the "relative value" of different states. Unlike mixing times or the MDP's diameter, the span is a more robust parameter that remains finite even in MDPs where some policies do not mix. To control the variance of value function estimates as $\gamma \to 1$, the researchers developed a multi-step variance analysis. By examining the Bellman equation over a horizon related to $H$, they demonstrate that fluctuations are bounded by the span, preventing the sample complexity from exploding.

The core of their approach is the "Perturbed Empirical Model-Based Planning" algorithm. This method constructs an empirical model from collected samples and introduces a small amount of random noise to the rewards to ensure numerical stability and uniqueness of the optimal policy.

Algorithm 1: Perturbed Empirical Model-Based Planning.

Key Results: Achieving Minimax Optimality

The central result of this work is the establishment of a sample complexity bound of $\tilde{O}(SAH/\epsilon^2)$. Here, $S$ is the number of states, $A$ is the number of actions, $H$ is the span, and $\epsilon$ is the target accuracy. This bound is "minimax optimal," meaning it matches known theoretical lower bounds up to logarithmic factors. No algorithm can achieve a better sample complexity across all possible MDPs in this class.

Comparison of sample complexity results for average-reward MDPs.

As shown in the comparison table above, this result (Theorem 2) improves upon previous work by removing the requirement for uniform mixing and achieving the optimal $1/\epsilon^2$ scaling. Additionally, the paper provides an improved bound for discounted MDPs in the high-discount regime ($\gamma \approx 1$). The researchers realized that if the "effective horizon" ($1/(1-\gamma)$) is larger than the span $H$, the discounting effectively "truncates" the MDP at exactly the right point to capture long-run behavior without requiring infinite samples.

Limitations and Future Directions

While this work provides a definitive theoretical answer for tabular MDPs, several challenges remain for practical application:

  1. Generative Model Assumption: The analysis assumes a "simulator" that allows resetting to any state-action pair. Learning from a single continuous trajectory remains a more difficult problem.
  2. Knowledge of $H$: The algorithm requires an upper bound on the span $H$. Estimating $H$ online without prior knowledge is an ongoing area of research.
  3. Function Approximation: Extending these span-based bounds to large-scale problems requiring function approximation (e.g., Deep RL) is a critical next step for the field.

Summary updated

BibTeX
@misc{zurek2023span,
  author = {Matthew Zurek and Yudong Chen},
  title = {{Span-Based Optimal Sample Complexity for Average Reward MDPs}},
  year = {2023},
  eprint = {2311.13469},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.13469},
}
Figure