# Dueling Network Architectures for Deep Reinforcement Learning

Value and advantage streams speed up deep RL

Ziyu Wang, Tom Schaul, Matteo Hessel, Hado van Hasselt, Marc Lanctot, Nando de Freitas · arXiv · 2015-11-20

- **Problem** Single-stream Q-networks must learn the value of every action in every state. In states where the action barely changes what happens next, those updates are spread thin and learning is slow.
- **Method** The dueling network splits a Q-network after its convolutional layers into a state-value stream and a per-action advantage stream. It merges them by subtracting the mean advantage, and trains with the existing DDQN target.
- **Results** Duel Clip reached a mean of 373.1% and a median of 151.5% of human performance over 57 Atari games. The single-stream Single Clip reached 341.2% and 132.6%.

## Why separate state values from action advantages

A deep Q-network produces one Q-value per action from the same image input, and its usual single-stream head has to learn the worth of each action in each state. In many states, however, the choice of action changes almost nothing about what happens next, so much of what the network learns is really the value of the state itself. In the Enduro game, for example, steering left or right matters only when a collision is about to happen.

Bootstrapped value methods depend on accurate state values in every state, not only in the states where the action matters. The open question is whether representing the state value and the advantage explicitly lets the network estimate the state value more efficiently than a head that spreads every update across all actions. The paper tests this in two settings: a policy evaluation task with many similar actions, and value-based deep RL across the Atari suite.

## Two streams on a shared convolutional trunk

The lower part of the dueling network is the convolutional feature stack of the original DQN, so the input is still the stacked image frames from the emulator. Instead of one sequence of fully connected layers, the network then splits into two streams: one ends in a single scalar for the state value, and the other ends in one output per action for the advantages.

An aggregating module merges the two streams into one Q-value per action.

Because the output is still a set of Q-values with the same shape as a standard Q-network, algorithms such as DDQN and SARSA can train it without changes to their update rules. The value and advantage outputs are learned only as parts of the aggregated Q-function, through backpropagation, so no extra supervision is given to either stream.

This makes the decomposition a property of the architecture rather than a separate algorithmic step.

## Making the value and advantage split identifiable

The obvious way to combine the streams follows from the definition of advantage: add the scalar value to each advantage, giving \\(Q(s,a;\\theta,\\alpha,\\beta)=V(s;\\theta,\\beta)+A(s,a;\\theta,\\alpha)\\). This form is not identifiable, because adding a constant to V and subtracting the same constant from every A leaves Q unchanged, so V and A cannot be recovered from Q.

The authors report that this ambiguity goes together with poor practical performance when the plain sum is used directly.

One option forces the advantage of the chosen action to zero by subtracting the maximum advantage, so that Q at the greedy action equals V. The variant used in all experiments subtracts the mean advantage over the actions instead: \\(Q(s,a;\\theta,\\alpha,\\beta)=V(s;\\theta,\\beta)+\\left(A(s,a;\\theta,\\alpha)-\\frac{1}{\|A\|}\\sum\_{a'}A(s,a';\\theta,\\alpha)\\right)\\).

In this form V no longer equals the true state value, but the authors argue that the advantages only need to track the mean rather than the advantage of the best action, which stabilizes optimization.

Subtracting the mean shifts all advantages by the same amount, so the ranking of actions is unchanged and greedy or epsilon-greedy choices based on Q stay the same. Acting therefore needs only the advantage stream. A softmax variant of the max form gave results similar to the mean form, so the mean form was used throughout.

## Policy evaluation in the corridor environment

Policy evaluation is used because it removes exploration and policy improvement as confounding factors, which makes it a clean test of the network architecture. The learning target is the Expected SARSA-style average over next-state actions under the behavior policy, and temporal difference learning is used without eligibility traces. The behavior policy is epsilon-greedy with epsilon 0.001, and the corridor is small enough for the exact Q-values of every state-action pair to be computed.

The corridor has two vertical sections of 10 states and a horizontal section of 50 states; the agent starts at the bottom left and must reach the top right to get the larger reward. Three action-set sizes are compared: 5 actions, and 10 and 20 actions made by adding no-op actions to the original environment, so the extra actions are near-duplicates.

Performance is the squared error between the learned Q-values and the true Qπ values, summed over all states and actions.

The single-stream model is a three-layer MLP with 50 units per hidden layer. The dueling model shares the first 50-unit layer and then branches into two two-layer MLP streams with 25 hidden units each. As the number of actions grows to 10 and 20, the dueling model's error stays below the single-stream model's, and the gap widens with the action count.

The authors explain this by the value stream learning one general value shared across the many similar actions in a state, which speeds convergence.

## Training the dueling network on Atari

The convolutional part follows DQN: three convolutional layers, the first with 32 filters of size 8×8 and stride 4, the second with 64 filters of size 4×4 and stride 2, and the third with 64 filters of size 3×3 and stride 1. Each stream then has one fully connected layer of 512 units before its output layer, where the value stream has one output and the advantage stream has one output per valid action.

The number of valid actions ranges from 3 to 18 across the ALE games.

Rectifier non-linearities sit between adjacent layers. The gradient entering the last convolutional layer is the sum of the gradients from both streams, and it is rescaled by 1/√2, which the authors describe as a simple heuristic that mildly increases stability. Training uses DDQN with the optimizers and hyper-parameters of van Hasselt et al.

(2015), except for a slightly lower learning rate, which was not applied to double DQN because it deteriorated that baseline. Gradients are clipped to a norm of at most 10, which the authors note is uncommon in deep RL but common in recurrent network training. Each episode starts after up to 30 no-op actions, which randomizes the starting position.

Single Clip is a single-stream DDQN retrained with the same procedure and gradient clipping, with 1024 hidden units in its first fully connected layer so that both architectures have roughly the same number of parameters. The original Single model of van Hasselt et al. (2015) and the Nature DQN of Mnih et al. (2015) are the other reference points.

Single Clip scores above Single, with mean 341.2% and median 132.6% against 307.3% and 117.8%, and the authors verified that this gain came mostly from gradient clipping, so clipping is used in every new approach.

## Results across 57 Atari games

Each game's score is turned into an improvement over the better of the human and baseline scores, measured against the random score: \\((\\text{ScoreAgent}-\\text{ScoreBaseline})/(\\max\\{\\text{ScoreHuman},\\text{ScoreBaseline}\\}-\\text{ScoreRandom})\\). Taking the maximum in the denominator stops small absolute changes from becoming large percentages when both agents do poorly.

The authors also note that a percentage of human score alone would turn tiny differences on some games into very large human-relative gaps.

Under 30 no-ops, Duel Clip reached a mean of 373.1% and a median of 151.5% of human performance over the 57 games, against 341.2% and 132.6% for Single Clip. Duel Clip scores higher than Single Clip on 43 of the 57 games, which is 75.4%. Compared with the Single baseline, Duel Clip scores higher on 46 of 57 games, which is 80.7%. Duel Clip reaches human-level performance on 42 of the 57 games.

For reference, Nature DQN reached a mean of 227.9% and a median of 79.1% under the same protocol. The per-game chart of the dueling improvement over the Single baseline shows that these gains are not spread evenly across the suite.

## Checking gains from human-expert starting points

The Atari emulator is deterministic, so an agent evaluated from a single start can score well by memorizing an action sequence. Only rewards accrued after the starting point are counted.

Under Human Starts, Duel Clip reached a mean of 343.8% and a median of 117.1%, against 302.8% and 114.1% for Single Clip and 332.9% and 110.9% for Single. Duel Clip scores higher than the Single baseline on 40 of the 57 games, which is 70.2%. On the 18-action games it scores higher on 25 of 30, which the text gives as 83.3%.

## Combining the dueling network with prioritized replay

Prioritized replay raises the sampling probability of transitions with high expected learning progress, measured by absolute TD-error, and the variant used here is rank-based and built on DDQN. Prioritization and gradient clipping interact, because sampling high absolute TD-error transitions produces gradients with larger norms, so the learning rate and clipping norm were re-tuned on a subset of 9 games.

The settled values were a learning rate of 6.25× 10−5 and a clipping norm of 10.

Under 30 no-ops, Prior. Duel Clip reached a mean of 591.9% and a median of 172.1%, against 434.6% and 123.7% for Prior. Single. The paper reports that the prioritized dueling agent scores higher than both the prioritized baseline and the dueling agent alone across all 57 games. Figure 5 gives the per-game comparison with the prioritized baseline using the same metric as Figure 4.

## What the two streams attend to in Enduro

Saliency is the absolute Jacobian of the value estimate with respect to the input frames, \\(\|\\nabla\_s \\hat V(s;\\theta)\|\\), and for the advantage stream it is taken at the greedy action, \\(\|\\nabla\_s \\hat A(s,\\arg\\max\_{a'}\\hat A(s,a';\\theta);\\theta)\|\\). The grayscale input frame fills the green and blue channels and the saliency map fills the red channel, so the overlay reads as an RGB image.

In Enduro the value stream attends to the road, especially the horizon where cars appear, and it also attends to the score. The advantage stream attends to cars on an immediate collision course, which fits the earlier point that action choice matters only then. The figure covers two time steps in one game, so it illustrates how the streams behave rather than measuring their attention across the suite.

## Why the gain grows with the number of actions

Every update to Q changes the value stream, whereas in a single-stream network only the output for the action taken is changed. The authors read this as allocating more learning to the state value, which matters for temporal-difference methods that depend on accurate state values. The same reasoning predicts a larger benefit when there are more actions, and the corridor results show that the gap grows with the action count.

Small differences like this can reorder nearly tied actions and make a nearly greedy policy switch abruptly, and the authors argue that the separate advantage stream is robust to such effects.

## Limitations

The per-game improvements over the Single baseline are not uniform, and the chart includes large negative values such as -100.00% and -68.31%. The policy evaluation experiment uses one small corridor environment with 5, 10 and 20 actions and an epsilon of 0.001.

The Atari comparisons rely on the 30 no-ops and Human Starts protocols over 57 games, and the 30 no-ops headline numbers are averages and medians across those games. The prioritized dueling learning rate and clipping norm were re-tuned only on a subset of 9 games. The Atari experiments train the dueling network only with DDQN and with its prioritized variant; the paper describes other algorithms such as SARSA as possible but does not evaluate them on Atari.

## Paper info

- **Authors**: Ziyu Wang, Tom Schaul, Matteo Hessel, Hado van Hasselt, Marc Lanctot, Nando de Freitas
- **Venue**: arXiv · Preprint
- **First published**: 2015-11-20
- **Added**: 2026-11-6
- **Updated**: 2016-4-5
- **Version**: v3
- **arXiv**: 1511.06581
- **Category**: cs.LG
- **Original paper terms**: [arXiv non-exclusive 1.0](https://arxiv.org/licenses/nonexclusive-distrib/1.0/)
- **What we show**: Paper info and commentary

[Original paper ↗](https://arxiv.org/abs/1511.06581v3) · [PDF ↗](https://arxiv.org/pdf/1511.06581v3)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Quote from the paper

Ziyu Wang, Tom Schaul, Matteo Hessel, Hado van Hasselt, Marc Lanctot, Nando de Freitas (2015). Dueling Network Architectures for Deep Reinforcement Learning. arXiv:1511.06581v3. https://arxiv.org/abs/1511.06581v3

**BibTeX**

```
@misc{wang2015dueling,
  title = {{Dueling Network Architectures for Deep Reinforcement Learning}},
  author = {Ziyu Wang and Tom Schaul and Matteo Hessel and Hado van Hasselt and Marc Lanctot and Nando de Freitas},
  year = {2015},
  eprint = {1511.06581},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1511.06581v3}
}
```

## Other paper commentary

- [Prioritized Experience Replay](https://refivu.com/en/papers/eb45d234-3a97-4b83-a45a-70c8f675b136-prioritized-experience-replay.md)
- [Deep Reinforcement Learning Based Intelligent Reflecting Surface for Secure Wireless Communications](https://refivu.com/en/papers/7f104da3-3d98-4ecd-95d9-a25944d61e36-deep-reinforcement-learning-based-intelligent-reflecting.md)
- [Deep Reinforcement Learning for Stochastic Computation Offloading in Digital Twin Networks](https://refivu.com/en/papers/3abcd222-e3a8-4466-ab8d-04aeace1e847-deep-reinforcement-learning-for-stochastic-computation.md)
- [Mastering the Game of Stratego with Model-Free Multiagent Reinforcement Learning](https://refivu.com/en/papers/c8ba1a5f-8040-4096-92b0-d848951ca124-mastering-the-game-of-stratego-with-model-free.md)
- [Quantum agents in the Gym: a variational quantum algorithm for deep Q-learning](https://refivu.com/en/papers/61131563-04fb-4585-b080-efba1e8d4a85-quantum-agents-in-the-gym-a-variational-quantum.md)
- [Variational Quantum Circuits for Deep Reinforcement Learning](https://refivu.com/en/papers/f6af79b4-b092-4c2a-8589-70b19b37fcc5-variational-quantum-circuits-for-deep-reinforcement-learning.md)
- [BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension](https://refivu.com/en/papers/13b055d5-7dcd-422f-b6d8-3704e3d48533-bart-denoising-sequence-to-sequence-pre-training-for.md)
- [QT-Opt: Scalable Deep Reinforcement Learning for Vision-Based Robotic Manipulation](https://refivu.com/en/papers/7cb7d7d4-7a03-4f1d-bbc0-2ddaf1103d5a-qt-opt-scalable-deep-reinforcement-learning-for-vision.md)
- [Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networks](https://refivu.com/en/papers/f9c68dd2-7de8-40fa-9eb6-ea62d8856b71-model-agnostic-meta-learning-for-fast-adaptation-of.md)
- [PointNet: Deep Learning on Point Sets for 3D Classification and Segmentation](https://refivu.com/en/papers/32f5bf3e-2e75-485a-9ff0-75d33b188297-pointnet-deep-learning-on-point-sets-for-3d.md)
- [Stochastic Backpropagation and Approximate Inference in Deep Generative Models](https://refivu.com/en/papers/c970a8cd-f376-4280-925f-4a55101bd127-stochastic-backpropagation-and-approximate-inference-in-deep.md)
- [ETPNav: Evolving Topological Planning for Vision-Language Navigation in Continuous Environments](https://refivu.com/en/papers/1629d040-b035-481f-ad96-c81a7c79d699-etpnav-evolving-topological-planning-for-vision-language.md)

## Terms in this paper

- [reinforcement learning](https://refivu.com/en/terms/6c51042515d2-reinforcement-learning)
- [experience replay](https://refivu.com/en/terms/5ee9a599e6c6-experience-replay)
- [target network](https://refivu.com/en/terms/b4a667f3d792-target-network)
- [advantage function](https://refivu.com/en/terms/451ef9a0779f-advantage-function)
- [Double DQN](https://refivu.com/en/terms/a0e4017a8f25-double-dqn)
- [saliency map](https://refivu.com/en/terms/2289fe01c38a-saliency-map)
- [prioritized experience replay](https://refivu.com/en/terms/f111cab95d19-prioritized-experience-replay)
- [Deep Q-Networks](https://refivu.com/en/terms/4bd56cdd618d-deep-q-networks)
- [saliency maps](https://refivu.com/en/terms/e40170e775de-saliency-maps)
- [squared error](https://refivu.com/en/terms/7c762142beba-squared-error)
- [Dueling network](https://refivu.com/en/terms/0ac3c805e1c0-dueling-network)
- [Expected SARSA](https://refivu.com/en/terms/4cd0dd796400-expected-sarsa)
- [SARSA](https://refivu.com/en/terms/6d9f2c631919-sarsa)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/9ab4aa94-b111-4c78-9b27-cec02635ef27-dueling-network-architectures-for-deep-reinforcement)
