Abstract: Reinforcement learning (RL) allows an agent interacting sequentially with an environment to maximize its long-term expected return. In the distributional RL (DistrRL) paradigm, the agent goes beyond the limit of the expected value, to capture the underlying probability distribution of the return across all time steps. The set of DistrRL algorithms has led to improved empirical performance. Nevertheless, the theory of DistrRL is still not fully understood, especially in the control case. In this paper, we present the simpler one-step distributional reinforcement learning (OS-DistrRL) framework encompassing only the randomness induced by the one-step dynamics of the environment. Contrary to DistrRL, we show that our approach comes with a unified theory for both policy evaluation and control. Indeed, we propose two OS-DistrRL algorithms for which we provide an almost sure convergence analysis. The proposed approach compares favorably with categorical DistrRL on various environments.
Introduction
In standard Reinforcement Learning (RL), agents typically aim to maximize the expected (average) return. Distributional RL (DistrRL) extends this by modeling the entire probability distribution of possible future returns. While DistrRL has achieved significant empirical success—most notably with the C51 algorithm—it faces a critical theoretical hurdle: the "control" case, where an agent seeks an optimal policy, is mathematically unstable.
Technically, the Bellman optimality operator in standard DistrRL is not a contraction mapping. In environments with multiple optimal policies that have different return distributions, standard algorithms can oscillate indefinitely. This research introduces One-Step Distributional Reinforcement Learning (OS-DistrRL) to bridge this gap between empirical performance and theoretical stability.
The OS-DistrRL Framework
The core innovation of this work is the One-Step Distributional Operator. Standard DistrRL attempts to model the distribution of the sum of all future rewards, which is highly complex. OS-DistrRL simplifies this by modeling the distribution induced only by the immediate next state and reward, while using the expected value for all subsequent steps.
By "averaging out" the randomness of the distant future, the authors prove that their new operators are $\gamma$-contractions in the Wasserstein metric. This provides a rigorous mathematical foundation for convergence that "full" DistrRL lacks. The authors developed two primary implementations:
- Tabular OS-CDRL: Designed for environments with discrete state spaces.
- OS-C51: A deep learning variant that adapts the C51 architecture. Notably, because the one-step target is simpler (a single Dirac mass), the categorical projection step is computationally more efficient, achieving $O(\log K)$ complexity compared to the $O(K \log K)$ of standard C51.
Empirical Stability and Results
The framework was evaluated using a custom-designed "Toy MDP" specifically engineered to trigger the instabilities of standard DistrRL. This MDP features two states and two actions where multiple optimal policies exist.
In this environment, standard categorical DistrRL (CDRL) fails to converge, with its probability estimates oscillating wildly as it attempts to "mix" different optimal distributions. In contrast, OS-DistrRL converges perfectly to a stable fixed point because all optimal policies share the same expected value for the future.
Beyond toy examples, the authors tested OS-C51 on Atari 2600 games. On titles like Beamrider and Pong, OS-C51 using only 4 atoms performed comparably to the original C51 using 51 atoms. This suggests that for many tasks, the one-step distribution captures the most critical information needed for effective control.
Discussion and Limitations
While OS-DistrRL offers superior stability and theoretical guarantees, it involves a trade-off. By collapsing the future into an expectation, the agent loses the ability to distinguish between policies with the same average return but different long-term risk profiles (e.g., high vs. low variance). This was observed in Breakout, where standard C51 outperformed the one-step version.
Future research may explore "n-step" distributional RL as a middle ground—modeling randomness over a fixed temporal window to balance the stability of the one-step approach with the rich informational content of full-distribution modeling. Nonetheless, OS-DistrRL provides the first "almost sure" convergence analysis for a categorical distributional control algorithm, marking a significant step forward in RL theory.
Summary updated