Standard Reinforcement Learning (RL) typically focuses on estimating the expected value of future rewards. However, Distributional RL seeks to model the entire probability distribution of these rewards, providing a richer signal for decision-making, especially in risk-sensitive scenarios. Despite its success, the field has remained fragmented, with different algorithms using disparate neural architectures and probability metrics. This paper introduces UMDQN (Unconstrained Monotonic Deep Q-Network), a framework that decouples the network architecture from the learning metric, enabling a rigorous comparison of how different mathematical "distances" affect agent performance and distribution accuracy.
The UMDQN Framework
The primary innovation of UMDQN is the use of Unconstrained Monotonic Neural Networks (UMNNs). Because Cumulative Distribution Functions (CDFs) and Quantile Functions (QFs) are inherently monotonic, UMNNs—which are universal approximators of monotonic functions—provide a mathematically principled backbone for distributional modeling. While UMNNs require numerical integration (such as Clenshaw-Curtis quadrature) during the forward pass, they offer a flexible way to represent distributions without the constraints of fixed supports.
By employing a shared UMNN architecture, the authors developed three distinct agents:
- UMDQN-KL: Models the Probability Density Function (PDF) using KL divergence via normalizing flows.
- UMDQN-C: Models the CDF using the Cramer distance.
- UMDQN-W: Models the QF using the Wasserstein distance.
This unified approach allows researchers to isolate the impact of the probability metric itself, rather than confounding results with architectural differences found in previous state-of-the-art methods.
Comparing Probability Metrics
Historically, distributional RL algorithms have been tied to specific metrics. For instance, Categorical DQN (CDQN) uses KL divergence on a fixed discrete support, while Quantile Regression DQN (QR-DQN) and Implicit Quantile Networks (IQN) utilize Wasserstein distance to learn quantile fractions.
The UMDQN experiments revealed that the choice of metric significantly influences the agent's ability to represent complex distributions. While Wasserstein-based methods (like UMDQN-W and IQN) are highly effective for maximizing average rewards in standard benchmarks, they suffer from what the authors term the "Wasserstein Blur."
Key Insights: The "Wasserstein Blur"
In environments with highly stochastic or multi-peaked reward distributions—such as the custom "Stochastic Grid World" designed for this study—Wasserstein-based agents often fail to capture the true shape of the return distribution. Instead of identifying multiple distinct peaks (multimodality), these agents produce a smoothed, unimodal approximation. In contrast, UMDQN-KL and UMDQN-C successfully recovered the multi-peaked nature of the rewards, providing a more accurate representation of risk.
Furthermore, the study challenges the theoretical necessity of the "contraction" property. While the Bellman operator is a contraction under Wasserstein and Cramer distances—guaranteeing convergence—it is not under KL divergence. Despite this, UMDQN-KL demonstrated stable convergence and strong performance in practice, suggesting that theoretical contraction may not be a strict requirement for successful deep RL.
Results and Performance
UMDQN was evaluated across a variety of benchmarks, including Classic Control, MinAtar, and a subset of Atari-57.
- Stability: UMDQN-C (Cramer distance) emerged as a particularly robust variant, offering superior stability compared to KL-based methods, which can be sensitive to the defined domain of returns.
- Competitiveness: Despite being a general framework, UMDQN performed on par with or better than specialized algorithms like QR-DQN and IQN across the MinAtar and Atari benchmarks.
- Accuracy: In distribution-sensitive tasks, the ability of UMDQN-KL and UMDQN-C to preserve multimodality provided a clear advantage over standard quantile-based approaches.
Conclusion
UMDQN provides a powerful new lens for understanding distributional RL. By decoupling architecture from math, it reveals that the current industry preference for Wasserstein distance comes with a hidden cost: the loss of distributional detail. Future work will focus on scaling these monotonic architectures and exploring hybrid metrics that combine the stability of Cramer distance with the policy-maximization strengths of Wasserstein-based methods.
Summary updated