Introduction
In standard Reinforcement Learning (RL), the primary objective is typically to maximize the expected return—the average outcome of a policy. However, in high-stakes domains such as healthcare, autonomous driving, or finance, the average is rarely sufficient. Practitioners must understand the risks, variances, and worst-case scenarios. Distributional RL (DRL) addresses this by estimating the entire probability distribution of future returns rather than just their scalar expectation.
While algorithms like Categorical Temporal Difference (CTD) and Quantile Temporal Difference (QTD) learning have achieved massive empirical success, theoretical understanding has lagged behind. Historically, researchers have primarily proven that these algorithms converge eventually (asymptotic convergence). This paper tackles the critical "how fast" question: what is the sample complexity—the number of iterations or samples required—to obtain an $\varepsilon$-accurate estimate of the return distribution?
This work provides the first tight, non-asymptotic analysis of sample complexity for Distributional TD learning. Strikingly, the authors demonstrate that learning a full return distribution is essentially as sample-efficient as learning just the mean, achieving a minimax optimal rate by leveraging a newly developed Freedman’s inequality for Hilbert spaces.
Methodology
The authors analyze the distributional policy evaluation (DPE) task within a tabular, infinite-horizon Markov Decision Process (MDP). To bridge the gap between abstract theory and practical application, they evaluate variations of TD learning:
- Non-parametric TD (NTD): A theoretical "ideal" algorithm where the return distribution is updated precisely without any discretization. This serves as a foundational baseline for analysis.
- Categorical TD (CTD): A highly practical and widely used algorithm that represents distributions using a fixed set of "atoms" or bins.
Instead of relying on empirical datasets, the analysis utilizes a generative model framework. This standard theoretical setup allows the algorithm to query a simulator to obtain a sample transition $(s, a, r, s')$ for any state-action pair at any time.
The core mathematical breakthrough enabling this analysis is a novel Freedman’s Inequality in Hilbert Spaces. Because probability distributions are infinite-dimensional objects, standard scalar-based probability tools fall short. By treating the space of signed measures as a Hilbert space and utilizing the Cramér metric (the $\ell_2$ distance between Cumulative Distribution Functions), the authors successfully applied advanced martingale concentration inequalities to a problem traditionally viewed strictly through the lens of optimal transport.
Key Insights and Results
The most striking insight from this research is the concept of the "Free" Distribution. For the 1-Wasserstein distance, the sample complexity of Distributional TD matches the best-known bounds for standard TD learning. In essence, an agent can learn the entire distribution of returns for roughly the same computational and sample price as learning just the expected value.
Specifically, the authors establish that for NTD and CTD, the number of iterations $T$ required to reach an $\varepsilon$-optimal estimator (with high probability) is: $$ \widetilde{O}\left(\frac{1}{\varepsilon^{2p}(1-\gamma)^{2p+1}}\right) $$ where $\gamma$ is the discount factor and the error is measured in the $p$-Wasserstein distance.
When $p=1$, this bound simplifies to $\widetilde{O}\left(\frac{1}{\varepsilon^{2}(1-\gamma)^{3}}\right)$. As shown in the comparison table above, this matches the theoretical lower bound and the optimal rate for standard TD (Model-free PE), meaning no algorithm can do significantly better. Furthermore, the authors prove that the original, unadorned CTD algorithm is already near-optimal provided enough "atoms" are used, rendering complex algorithmic "accelerations" proposed in prior work unnecessary to reach the minimax limit.
Limitations and Future Work
While this paper significantly advances the theoretical foundations of DRL, several avenues for future work remain:
- Tabular Constraint: The current analysis is restricted to "tabular" RL, where the state and action spaces are finite and small. Modern DRL relies heavily on Deep Neural Networks (function approximation). Extending these tight, non-asymptotic bounds to non-linear settings remains a formidable challenge.
- Synchronous Updates: The proofs rely on a generative model (synchronous updates). Analyzing "online" DRL, where an agent learns sequentially from a single continuous trajectory of experience, introduces complex Markovian dependencies that require further investigation.
- Quantile TD (QTD): While QTD is mentioned, the tightest results focus on NTD and CTD. The non-linear nature of quantile projection makes it a more difficult target for the Hilbert space techniques pioneered in this paper.
Summary updated