All models

IQN

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

Reinforcement learning and control · 29 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 (33 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
1.9M
Operations
29
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
m1415
Graph hash
2558906b1b5149e27b7a312dd5d5fb073455d3266ae5db13c26a14de7733b6c9
Skeleton hash
267109d9b2089fc251f2fdfc5006ab9d8852d510a1128667457fc188c8da7dd5
Architecture hash
628df09fc8ae41b5c37b4c24926d6b24b92252b93732cf92bb68346b500e7294
Diagram SHA-256
0d14721dd435b023f4328a00d9d25e878ffae8671444dd2cfe39b87e27c762ce
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}, 
}