Abstract
Despite many algorithmic advances, our theoretical understanding of practical distributional reinforcement learning methods remains limited. One exception is Rowland et al. (2018)’s analysis of the categorical algorithm (C51), which showed it to be a contraction in the tabular case. This paper extends this understanding by providing the first formal convergence proof for a distributional reinforcement learning (RL) algorithm combined with linear function approximation. By generalizing the Cramér distance to handle "improper" distributions, the authors derive the S51 algorithm, which simplifies C51 and offers a robust theoretical bridge to traditional value-based RL.
Introduction
In standard Reinforcement Learning, the objective is typically to predict the expected value of future rewards. Distributional RL extends this by aiming to predict the entire distribution of future returns. While algorithms like C51 have achieved state-of-the-art results in deep RL, they rely on a mathematical mismatch: a heuristic projection step based on the Cramér distance combined with training via Kullback-Leibler (KL) loss. This hybrid approach complicates formal stability and convergence proofs, particularly when using function approximation. This work addresses this gap by proposing a theoretically grounded approach using a generalized Cramér distance.
Methods: The S51 Algorithm
The authors introduce S51 (Signed-51), a distributional RL algorithm designed to minimize the Cramér distance directly. The methodology involves two primary innovations:
- Generalized Cramér Distance: The standard metric is extended to handle "improper" distributions—vectors that do not necessarily sum to one—which naturally arise from linear function approximators. A regularization term is included to encourage the outputs toward valid probability distributions.
- Contraction Mapping: The authors prove that the Distributional Bellman Operator under this new metric is a contraction mapping, guaranteeing convergence to a unique fixed point even with linear function approximation.
Unlike C51, S51 does not require a softmax final layer, allowing the model to output any real-valued vector.
Empirical Evaluation
The S51 algorithm was evaluated against C51 and standard DQN using the Arcade Learning Environment (ALE) across five Atari 2600 games: Asterix, Pong, Breakout, Seaquest, and Space Invaders.
The results demonstrate that S51 significantly outperforms standard DQN on all tested games, validating the power of distributional learning even without the specific KL-loss setup of C51. While S51 matched C51's performance in Asterix, Seaquest, and Space Invaders, it lagged in Pong and Breakout.
Qualitative Insights
A key finding is the emergence of "negative mass" in S51's predictions. Because S51 lacks the softmax constraint, it can assign negative values to certain outcomes. This flexibility allows the network to "cancel out" errors, effectively increasing its representational capacity within limited parameters.
As shown in the figure above, C51's distributions are smooth and bell-shaped due to the softmax and KL loss. In contrast, S51 produces more diverse, jagged distributions that can include negative values to compensate for approximation errors.
Conclusion and Future Work
This research provides a critical theoretical milestone by proving convergence for distributional RL with function approximation. While S51 offers strong theoretical guarantees, a performance gap remains compared to C51 in some environments. Future research may explore whether the "squashing" effect of the softmax in C51 provides a beneficial inductive bias that S51 lacks, or if alternative metrics like the Wasserstein distance could offer similar convergence properties with improved empirical results.
Summary updated