Introduction
In Reinforcement Learning (RL), evaluating policies based on the average reward collected over an infinite timeline is often more representative of long-term tasks than discounted rewards. However, the average-reward setting is mathematically more challenging. Until now, the "sample complexity"—the number of simulator samples required to find an $\epsilon$-optimal policy—remained unresolved. Previous approaches either relied on restrictive "uniform mixing" assumptions or produced suboptimal $O(1/\epsilon^3)$ bounds that failed to match the $O(1/\epsilon^2)$ limits suggested by lower bounds.
This work settles this long-standing question by establishing the first minimax optimal sample complexity for both weakly communicating and general average-reward MDPs. By introducing a new "transient time" parameter $B$ and refining variance analysis, the authors prove that near-optimal policies can be learned with a sample complexity that scales quadratically, rather than cubically, with the problem's horizon.
Methods: Reduction and Perturbation
The authors employ a reduction-to-discounted-MDP approach, solving the average-reward problem by approximating it as a discounted problem with a high discount factor $\gamma$ (close to 1). The core innovation lies in the variance analysis and the use of a perturbed model-based planning algorithm.
Key methodological components include:
- Multi-step Variance Bellman Equation: Standard analyses use one-step variance bounds leading to cubic dependence on the horizon ($1/(1-\gamma)^3$). The authors developed a recursive, multi-step version to bound variance over the "span" ($H$) of the bias function, achieving the desired quadratic dependence.
- Transient Time Parameter ($B$): For general (multichain) MDPs where an agent might get "stuck" in different sets of states, the authors introduced parameter $B$. This measures the expected time spent in transient states before hitting a permanent cycle, which is crucial for characterizing non-communicating environments.
- Perturbed Rewards: To maintain computational tractability, the algorithm adds small random noise (perturbation) to the rewards of the empirical model built from samples.
Key Results
The paper provides the first minimax optimal bounds for several classes of MDPs, effectively circumventing the "cubic barrier" typically associated with discounted-to-average reductions.
- Weakly Communicating MDPs: The authors establish a sample complexity of $\tilde{O}(\frac{SAH}{\epsilon^2})$, which is minimax optimal in all parameters ($S$ states, $A$ actions, $H$ span, and $\epsilon$ error).
- General MDPs: For the most general finite MDPs, they establish a complexity of $\tilde{O}(\frac{SA(B+H)}{\epsilon^2})$ and provide a matching lower bound, proving this is the fundamental limit for the setting.
- Instance-Optimal Perspective: The analysis shows that RL difficulty depends on the specific transition structure ($P$) and the span ($H$), rather than just worst-case discount factor bounds.
Discussion and Future Work
A significant insight of this work is that the span ($H$) is the fundamental complexity measure for weakly communicating MDPs, while general MDPs additionally require the transient time ($B$).
However, a practical limitation remains: the algorithm requires prior knowledge of $H$ or $B$ (or an upper bound) to set the discount factor $\gamma$ correctly. The authors demonstrate that it is statistically impossible to estimate $H$ efficiently from samples alone, suggesting that some prior knowledge may be inherently necessary. Future research may explore "parameter-free" algorithms or extending these optimal span-based techniques to the online learning setting where agents interact directly with the environment without a simulator.
Summary updated