Value-Distributional Model-Based Reinforcement Learning

Carlos E. Luis, Alessandro Giacomo Bottero, Julia Vinogradska, Felix Berkenkamp, Jan Peters

TL;DR

While standard distributional reinforcement learning (RL) tracks the aleatoric randomness of trajectory returns, this paper repurposes distributional RL tools to quantify epistemic uncertainty—the agent’s lack of knowledge about the true environment dynamics. The authors establish a value-distributional Bellman operator with proven contraction properties and introduce Epistemic Quantile-Regression (EQR), yielding a model-based algorithm that substantially outperforms existing model-based and model-free baselines on continuous control benchmarks.

What Problem Does This Paper Address?

Reinforcement learning agents encounter two distinct types of uncertainty:

  1. Aleatoric uncertainty: The intrinsic randomness of transition dynamics and policy actions.
  2. Epistemic uncertainty: The agent's lack of knowledge about the true Markov Decision Process (MDP) parameters due to limited data.

For directed exploration and risk-sensitive planning, an agent needs to quantify epistemic uncertainty regarding its expected return (the value function). However, existing Bayesian RL approaches typically estimate only a few statistical moments (such as variance via the Uncertainty Bellman Equation), enforce restrictive parametric forms (e.g., assuming a Gaussian posterior), or train costly ensembles of value networks.

This paper asks: Can we learn the full, non-parametric posterior distribution over value functions by adapting the contraction operators of distributional RL?

Methods

The authors build a theoretical bridge between Bayesian RL and distributional RL:

  • Value-Distributional Bellman Operator: Rather than capturing the distribution of returns $Z^\pi(s)$ via equality-in-distribution, the authors establish a Bellman recursion directly on the random value function $V^\pi(s) = v^{\pi, P}(s)$, where the transition kernel $P$ is drawn from a posterior distribution $\Phi(P \mid \mathcal{D})$. Under assumptions of independent transitions and acyclic MDPs, they prove that the operator $\mathcal{T}^\pi$ is a $\gamma$-contraction under the supremum $p$-Wasserstein metric ($\bar{w}_p$), guaranteeing convergence to the unique posterior value distribution $\mu^\pi$.
  • Epistemic Quantile-Regression (EQR): To parameterize the continuous value distribution, the distribution is discretized into $M$ quantile particles updated iteratively using a quantile Huber loss.
  • EQRSAC (Model-Based Policy Optimization): The authors integrate EQR with Soft Actor-Critic (SAC) and an ensemble of probabilistic transition models (MBPO style):
  • Model-Consistent Rollouts: To keep aleatoric and epistemic noise decoupled, trajectories are generated using a consistent ensemble member rather than switching models at each step.
  • Distributional Critic Target: Critic targets explicitly leverage the learned dynamics model to compute expectations over next-state distributions.
  • Flexible Actor Objectives: The actor can optimize any differentiable utility of the learned quantiles, such as expected value ($f_{\text{mean}}$) or an optimistic exploration objective ($f_{\text{ofu}} = \bar{\theta} + \sigma_\theta$).

Datasets

  • Illustrative Tabular MRP: A synthetic acyclic Markov Reward Process with truncated Gaussian transition probabilities used to empirically validate the contraction theorem and study the effect of correlated transitions.
  • DeepMind Control (dm_control) Suite: Evaluated across 14 continuous-control environments of varying complexity, from low-dimensional systems (cartpole-swingup, pendulum-swingup) to high-dimensional systems (quadruped-run, quadruped-escape, finger-spin, fish-swim).

Key Insights and Ideas

  • Value Distributions vs. Return Distributions: Standard distributional RL averages out epistemic uncertainty and models aleatoric return noise. EQR does the exact inverse: it integrates out aleatoric trajectory noise and models the posterior spread over expected returns caused by uncertain environment dynamics.
  • Quantiles Outperform Ensembles: Rather than maintaining multiple distinct value networks to approximate posterior variance, representing the value distribution as a single multi-quantile network provides richer coverage, captures multi-modal posteriors, and scales more gracefully.
  • Model-Aided Bellman Targets: Standard model-based methods (like MBPO) use generated transitions purely as replay buffer samples. In contrast, EQRSAC directly leverages the generative dynamics model within the Bellman target computation to obtain lower-variance gradient updates.

Key Results

  • Continuous Control Performance: Across 14 DeepMind Control tasks after 250k environment steps (250 episodes, 10 random seeds), EQRSAC achieved the highest aggregate performance:
  • Mean Score: EQRSAC-OFU ($623.7 \pm 12.4$) and EQRSAC-mean ($605.3 \pm 13.0$) outperformed SAC ($555.6 \pm 16.2$), QRMBPO ($543.3 \pm 7.9$), QUSAC ($472.5 \pm 6.3$), and MBPO ($333.1 \pm 25.8$).
  • Median Score: EQRSAC-mean reached $750.1 \pm 13.3$ compared to MBPO's $406.1 \pm 7.4$ and SAC's $595.6 \pm 26.4$.
  • Sparse Reward Robustness: In reward-sparse environments where standard model-based RL typically degrades, EQRSAC demonstrated high sample efficiency. For example, on cartpole-swingup-sparse, MBPO collapsed ($0.1 \pm 0.1$), whereas EQRSAC-mean reached $566.4 \pm 54.4$.
  • Overall, EQRSAC matched or exceeded baseline performance in 11 out of 14 benchmark tasks.

Limitations and Future Work

  • Theoretical Assumptions: The formal contraction proofs rely on acyclic MDPs and transition independence between states. When transition covariance between states is introduced ($\beta > 0$ in the toy experiments), an approximation error emerges.
  • Correlated Successive Quantiles: The temporal-difference target samples next-state quantiles independently, ignoring the algebraic correlation induced across time steps by the Bellman recursion.
  • Computational Cost: Evaluating the expectation in the quantile loss requires generating $X \times Y$ transition and action samples per batch item, incurring added training latency relative to standard single-target critic architectures.

Summary updated

BibTeX
@inproceedings{luis2023value,
  author = {Carlos E. Luis and Alessandro Giacomo Bottero and Julia Vinogradska and Felix Berkenkamp and Jan Peters},
  title = {{Value-Distributional Model-Based Reinforcement Learning}},
  booktitle = {EWRL16},
  year = {2023},
  url = {https://openreview.net/forum?id=vkWA4wwifXh},
}
Figure