A duelling DQN has a value stream and an advantage stream. For one state, and for three actions. Compute using (a) , (b) and (c) . Why is (a) not identifiable, and what do (b) and (c) fix?
Reinforcement learning, Deep Q-networks
Level L4 Advanced. Length Medium. Nature Th+Mat Both.
What's being asked
Whether you understand that and cannot be recovered from alone unless the advantage is constrained.
Key idea
In a duelling network, . Without the baseline, adding any constant to and subtracting from every gives the same , so and are not identifiable. Subtracting the mean (or the max) of fixes this.
Steps
- (a) .
- Show non-identifiability. and also give , so the network could not tell the two decompositions apart, and the "value" stream need not learn a value.
- (b) The mean of is , so . The mean of over actions equals . So is exactly the average of , which makes it identifiable.
- (c) The max of is , so . Now , the value of the best action, like the Bellman optimality relation .
- State the benefit. The shared is updated by every sample from state , whatever the action, so it learns faster in states where actions matter little. Only the advantage stream needs to learn action differences.
- Say which is used in practice. The mean version is used in the original duelling DQN, since the max version makes change abruptly when the best action switches, which is less stable.
Common mistakes
- Saying the network computes and as separate objectives. Only is trained, and , are intermediate quantities.
- Subtracting the mean of instead of the mean of . Since the mean of contains , this would cancel and leave only the centred advantage.
- Believing duelling changes the learning target. The Bellman target and loss are unchanged, only the architecture is.
How long your answer should be
Half a page; 4–5 minutes.
Last checked on 4 December 2026.
Read this
Previous in Reinforcement learning: A replay buffer holds transitions with absolute TD errors . Prioritised experience replay samples transition with probability with and . Compute the sampling probabilities and the importance-sampling weights (normalised by their maximum) for and . Why are the weights needed?
Next in Reinforcement learning: For the policy-gradient estimate , derive the constant baseline that minimises variance. Then take a one-state problem with , , rewards and . Compute and the variance for , and . Is the average reward the best baseline?