Wang et al. (2016) split the Q-network into a state value V(s) and an advantage A(s, a). Many states have similar value regardless of the action, so learning V directly is efficient. Subtracting the mean advantage makes the split identifiable.
Implement dueling_q(V, A), returning V + A - mean(A) for each action.
V is a scalar and A is a vector over actions.Subtract the mean of A before adding V.
No results yet
Run your code to check it against the examples, or submit to run every test.