All models

NC-QR-DQN

Distributional reinforcement learning network that keeps each action's quantile estimates in non-decreasing order.

Reinforcement learning and control · 25 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 (27 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
25
Framework
PyTorch
Recurrent
No
Published
NeurIPS 2020
Authors
Fan Zhou, Jianing Wang, Xingdong Feng
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
m18643
Graph hash
7996e43afd7807b646828670e0bf7e8d104ca7ae468b83f051a4e076edc7f347
Skeleton hash
f5e340508bb3726a3591eebb6dda46f6e38e2f9d6074721bdebfdfe9f6305e10
Architecture hash
af7e458eaee1bf32936ac3b13d5ab87f37862a0202ce03257feff97a256ed97f
Diagram SHA-256
29d966cfaef57b0d4c93ff4d5e4db0ff23095f9ae64cc7aa0cac781e8a1528e9
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

NC-QR-DQN is a distributional reinforcement learning (DRL) model, a kind that estimates the distribution over future returns instead of the mean. It takes QR-DQN as the baseline and changes the network so that the learned quantile curves are monotone. The paper's motivation is that batch-based DRL algorithms cannot guarantee the non-decreasing property of learned quantile curves, especially at the early training stage.

The feature extraction network is the same as in QR-DQN. A Non-crossing Quantile Logit Network then applies a fully-connected layer with a softmax transformation, followed by a cumulated sum layer that leaves the outputs for each action sorted in non-decreasing order. Because these values fall into [0, 1], a Scale Factor Network calculates two scale factors from the state embedding to bring them to the range of the true quantile values. A ReLU function is imposed on the multiplying factor to ensure it is non-negative.

The paper's experiments set the number of quantiles N to 200 and train on 200 million frames. Across 57 Atari 2600 games, the paper reports a mean score of 1598% of the human baseline and a median of 222% for NC-QR-DQN, against 864% and 193% for QR-DQN. The paper puts the added cost at roughly 1% - 5% slower than QR-DQN per training iteration. The authors note that this implementation cannot be directly applied to methods such as IQN, where the quantile fractions are not fixed.

Key idea. The paper enforces non-crossing quantile estimates in QR-DQN by producing softmax logits, taking their cumulative sum and rescaling them with a learned Scale Factor Network.

  • NC-QR-DQN
  • NC-QRDQN
  • Non-Crossing Quantile Regression DQN
  • non-crossing quantile regression
  • distributional reinforcement learning
  • Atari 2600
  • quantile regression
  • deep reinforcement learning

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

Cite the paper

@article{ncqrdqn2020,
  title = {Non-Crossing Quantile Regression for Distributional Reinforcement Learning},
  author = {Fan Zhou and Jianing Wang and Xingdong Feng},
  year = {2020},
  journal = {NeurIPS 2020}
}