All models

QRDQN

Distributional DQN heads for Atari: C51's atoms, QR-DQN and IQN quantiles, and the Rainbow combination.

Reinforcement learning and control · 12 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (16 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
3.5M
Operations
12
Framework
PyTorch
Recurrent
No
Published
ICML 2017
Cited by
710 (as of 17 October 2026)
Authors
Marc G. Bellemare, Will Dabney, Rémi Munos
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m2372
Graph hash
4a897d2427474502d603c57e8ea3d173a694d0d431ad4061dda8d7527af284f4
Skeleton hash
25a178bd3b8f4ee798eb9d522be14db95fa85ae1176313dcab3d6a41889263ac
Architecture hash
f1b7f48b16b846cc31e6c93e07611823d37c832e5a79ffc18bc1e76afc51204a
Diagram SHA-256
67679a7ad54bd4a0ec91849de05b67f0ad5921a3310347bded3068318e1b5719
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

About this model's family

These models are distributional variants of DQN: instead of predicting one expected value per action, they learn the distribution of the random return a reinforcement learning agent receives. The founding paper argued for this in contrast to the common approach of modelling only the expectation of the return. Each builds on DQN, a convolutional network that reads a stack of raw pixel frames and approximates action values.

C51 models the value distribution as a discrete distribution over a fixed set of atoms between VMIN and VMAX. Its authors chose VMAX = −VMIN = 10 from preliminary experiments and called the resulting architecture Categorical DQN. QR-DQN transposes that parametrization: instead of fixed locations with adjustable probabilities, it assigns fixed uniform probabilities to N adjustable locations. The quantile approach also removes the need for domain knowledge about the bounds of the return distribution. IQN goes further and learns the full quantile function, a continuous map from probabilities to returns. Rainbow instead examines six extensions to DQN and integrates them into a single agent.

Tianshou is a reinforcement learning library based on pure PyTorch. Dopamine is a research framework for fast prototyping whose agents, including C51, Rainbow and IQN, are implemented with JAX. In the original authors' TensorFlow implementation, C51 trained at roughly 75% of DQN's speed. Within 50 million frames, C51 had outperformed a fully trained DQN agent on 45 out of 57 games.

Key idea. Using the distributional perspective to design algorithms that apply Bellman's equation to the learning of approximate value distributions rather than expected values. The later members replace the fixed categorical support with adjustable quantile locations. Rainbow integrates the categorical distributional loss with the other DQN extensions into one agent.

  • C51
  • Categorical DQN
  • QR-DQN
  • QRDQN
  • Quantile Regression DQN
  • IQN
  • Implicit Quantile Network
  • Rainbow
  • Rainbow DQN
  • distributional RL
  • Distributional DQN
  • value distribution
  • Atari
  • Tianshou
  • Dopamine

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{bellemare2017distributionalperspectivereinforcementlearning,
      title={A Distributional Perspective on Reinforcement Learning}, 
      author={Marc G. Bellemare and Will Dabney and Rémi Munos},
      year={2017},
      eprint={1707.06887},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/1707.06887}, 
}