Introduction
In standard Reinforcement Learning (RL), agents aim to estimate the expected value of future rewards. However, the actual return received by an agent is a random variable. Distributional RL posits that modeling the entire distribution of these returns, rather than just their mean, provides a richer signal for learning. While the C51 algorithm previously demonstrated the power of this approach, it relied on a categorical representation that lacked a direct connection to the Wasserstein metric—the natural metric for distributional Bellman updates.
This paper introduces QR-DQN, which utilizes quantile regression to close this theory-practice gap. By learning the locations of fixed-probability quantiles, QR-DQN minimizes the Wasserstein distance between the predicted and target distributions, leading to state-of-the-art performance on the Atari 2600 benchmark.
Methodology
The fundamental shift in QR-DQN is the "transposition" of the distribution representation. While previous methods like C51 used fixed locations and learned probabilities, QR-DQN assigns fixed, uniform probabilities (e.g., $1/N$ for $N$ quantiles) and learns the locations of these quantiles.
Quantile Projection and Loss
The authors prove that the quantile projection is a contraction in the $\infty$-Wasserstein metric. To perform this projection using stochastic gradient descent, they employ quantile regression. To stabilize training in deep neural networks, they use a Quantile Huber Loss, which smooths the gradient near zero to prevent oscillations and divergence.
Experimental Evaluation
The algorithm was tested on the Windy Gridworld to visualize its ability to capture complex, multi-modal distributions, and on the Atari 2600 (ALE) suite for large-scale performance evaluation.
Key Results
- Performance: QR-DQN achieved a 211% median human-normalized score across 57 Atari games, significantly outperforming C51 (178%) and standard DQN (79%).
- Robustness: Being "support-free," QR-DQN does not require manual tuning of reward ranges ($V_{min}$ and $V_{max}$), unlike C51.
- Convergence: The algorithm shows strong convergence properties in both value and distribution space.
Conclusion
QR-DQN represents a significant step forward for distributional RL by providing a theoretically sound method for minimizing Wasserstein distances in a deep learning context. Its superior performance and robustness to hyperparameters make it a powerful tool for complex RL tasks. Future research may explore combining QR-DQN with techniques like Double DQN to mitigate overestimation bias or extending it to continuous control domains.
Summary updated