NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Quantile Regression Deep Reinforcement Learning

Oliver Richter, Roger Wattenhofer

Introduction

In continuous control reinforcement learning (RL), agents typically represent policies as parametric distributions, most commonly multivariate Gaussians. While computationally efficient, this "Gaussian habit" imposes significant limitations. Real-world tasks often involve multi-modal reward landscapes—such as choosing between two paths around an obstacle—where a unimodal Gaussian policy fails by averaging the modes, potentially leading to suboptimal or even dangerous actions. This paper introduces Quantile Regression Deep Reinforcement Learning (QRDRL), a framework that enables agents to learn complex, non-Gaussian, and multi-modal policies by modeling the quantile function of the action distribution.

Methodology

The core innovation of QRDRL is the shift from modeling probability density functions to modeling quantile functions.

Implicit Policy Modeling

Instead of outputting the parameters of a fixed distribution (e.g., mean and variance), the QRDRL neural network $\hat{G}_\theta(\tau, s)$ takes a state $s$ and a target quantile $\tau \sim U[0, 1]$ as inputs. The network's output is the action corresponding to that quantile. By sampling different values of $\tau$, the agent effectively samples from an arbitrary, implicitly defined distribution.

Monotonic Neural Architecture

To ensure the learned function is a valid quantile function, it must be monotonically non-decreasing with respect to $\tau$. The authors enforce this through a specialized architecture:

  • Weights are constrained to be positive (e.g., via exponential transformation).
  • The network utilizes a combination of ReLU and Inverse ReLU ($min(0, x)$) units, allowing it to approximate any monotonic function and capture both convex and concave distribution shapes.

Advantage Weighted Quantile Regression

Policy improvement is achieved through an objective function that weights the quantile loss by the advantage—the difference between the observed reward and the expected value. This mechanism "moves probability mass" toward actions that yield higher-than-expected rewards. Furthermore, the linearized objective naturally incorporates a trust region, ensuring training stability comparable to state-of-the-art algorithms like Proximal Policy Optimization (PPO).

Experimental Evaluation

The authors evaluated QRDRL across three domains: toy games designed to test distributional flexibility, and standard MuJoCo physics benchmarks.

Toy Environments: Rock-Paper-Scissors and the Choice Game

In a continuous version of Rock-Paper-Scissors, the optimal strategy is a uniform distribution over the action space to remain non-exploitable. As shown in Figure 1, the Quantile Net successfully learns this uniform-like distribution, whereas a Gaussian Net is restricted to a bell curve, making it easily exploitable.

Comparison of learned action distributions in continuous Rock-Paper-Scissors. The Quantile Net (blue) approximates a uniform distribution, while the Gaussian Net (green) is constrained to a unimodal shape.

In the "Choice" game, the agent must select between two distinct reward modes. Figure 5 illustrates how QRDRL recovers both modes (bimodal distribution), while a standard Gaussian policy collapses to a single mode in the middle, failing to capture the task's structure.

Action distributions in the "Choice" game. The Quantile Net (blue) successfully captures the multi-modal nature of the task, whereas the Gaussian Net (green) fails by collapsing to a unimodal average.

MuJoCo Benchmarks

QRDRL was tested on standard tasks including Ant-v2, HalfCheetah-v2, and Humanoid-v2. Using the same hyperparameters as PPO, QRDRL demonstrated competitive or superior performance. It notably outperformed baselines on high-dimensional tasks like Ant-v2, suggesting that distributional flexibility is particularly advantageous for complex robotic control.

Discussion and Conclusion

QRDRL offers a robust, "drop-in" alternative to standard policy gradient methods by removing the restrictive Gaussian assumption. By enforcing monotonicity through architecture rather than sampling constraints, it provides a flexible yet stable way to learn complex policies. Future work includes extending this to multivariate quantile regression to capture correlations between action dimensions and exploring off-policy implementations by leveraging the ability to recover action likelihoods from the quantile gradient.

Summary updated

BibTeX
@misc{richter2019quantile,
  author = {Oliver Richter and Roger Wattenhofer},
  title = {{Quantile Regression Deep Reinforcement Learning}},
  year = {2019},
  eprint = {1906.11941},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1906.11941},
}
Figure