TL;DR
Value-decomposition networks (VDN) train a team of agents that share one reward. They represent the team's action-value function as a plain sum of one value function per agent, and they train that sum with the usual Q-learning rule. Because the sum splits cleanly, each agent can pick its best action from its own observations and the team still acts as one coordinated group. On small partially observed grid-world tasks, the paper reports that this beats both fully centralized learning and fully independent learners.
Builds on: Deep Q-Network, Markov Game, Partially Observable Markov Decision Process · Leads to: later value-decomposition methods for teams (no lesson yet)
Why it mattered
The introduction names the settings the authors had in mind: coordinating self-driving vehicles and traffic signals in a transport system, and optimizing the output of a factory made of many interacting parts. In each, one team-level signal is all the designer has, and each unit sees only part of the world. The paper is a clean answer to a common question: how do you train units that have to act separately but are scored together?
The idea has been widely adopted. Later work kept the core move of building a team value out of per-agent values, but replaced the plain sum with a learned mixing network that still lets each agent act greedily on its own value. This lesson covers only the original sum.
The problem
Suppose several agents learn from one team reward. There are three obvious approaches, and each fails in a specific way.
-
Fully centralized learning. Treat the whole team as one agent. A team of agents that each have actions has joint actions, so the choice set grows exponentially. With actions per agent, two agents already have joint actions and three have 125. The paper names one failure mode the lazy agent problem, where an agent stops acting because the shared reward does not show that its own actions matter. It observes this on the Fetch task in its experiments.
-
Independent learners. Give each agent its own Q-learner and let it use the team reward. Each agent now faces a moving target, because its teammates keep changing how they act. From its side of the world it also sees rewards it cannot explain, since some come from what the other agent did. The paper names two causes of trouble: the environment changes as teammates learn, and agents receive spurious rewards that come from teammates' actions they cannot observe.
-
Hand-designed per-agent rewards. Give each agent a reward that depends on its own observations. This is hard to do well. Even for a single agent, only a small class of shaped rewards is known to keep the best behaviour the same (see Reward Shaping). The paper wants a method that learns the split on its own.
How it works
Take a tiny team: two agents, each with two actions, stay and go. Each agent has its own network. For this one moment, suppose the networks output these local values for the current observations:
- Agent 1: stay 0.5, go 1.0
- Agent 2: stay 0.2, go 0.8
- Each agent sees only its own observations and feeds them to its own network. Agent 1 gets the pair (0.5, 1.0). Agent 2 gets the pair (0.2, 0.8). Neither network sees the other's observations.
- The team value of a joint action is the sum of the two local values. Check: (stay, stay) gives 0.5 + 0.2 = 0.7; (stay, go) gives 0.5 + 0.8 = 1.3; (go, stay) gives 1.0 + 0.2 = 1.2; (go, go) gives 1.0 + 0.8 = 1.8.
- The best joint action is (go, go), with team value 1.8. There is a shortcut. Because the sum has no cross terms, the best joint action is just each agent's own best action: go for agent 1 (1.0 beats 0.5) and go for agent 2 (0.8 beats 0.2). Nobody has to search the four combinations.
- At run time each agent takes its own best action. No central controller is needed, and the result matches step 3.
- Learning uses the team reward. Say the team receives reward 2 after acting (go, go). The best team value at the next step is also 1.8 (assumed for simplicity), and the discount factor is 0.9. The target is 2 + 0.9 × 1.8 = 3.62. The current estimate for (go, go) is 1.8, so the error is 1.82. That one error is passed back to both agents' networks equally, so each local value for go goes up.
flowchart LR O1[Agent 1 observations] --> N1[Agent 1 network] O2[Agent 2 observations] --> N2[Agent 2 network] N1 --> Q1[Local values of agent 1] N2 --> Q2[Local values of agent 2] Q1 --> S[Sum gives team value] Q2 --> S S --> T[Compare with team reward target] T --> B[Same error sent back to both networks]
The math
Let be agent 's observation history and its action, for . A value-decomposition network assumes that the joint action-value function is approximately a sum of per-agent functions, each of which sees only its own history and action:
Each is a neural network with the shared structure described in the Results section. The paper does not train each on any reward of its own. It trains only the sum, using the team reward.
Step 2 in symbols: the team value is a sum
For the tiny example, write and . The team value of the joint action (go, go) is
The other three joint actions are computed the same way, giving 0.7, 1.3 and 1.2.
Step 3 in symbols: the best joint action splits into single-agent choices
The key identity is
Each term on the right depends on one agent's action only, so the largest total is reached when every term is as large as possible. In the example, on both sides. This is why the paper can say that agents acting greedily on their own local values match a central arbiter that maximizes the sum. Each agent computes one maximum over its own actions, which costs comparisons instead of .
Step 5 in symbols: the learning update
Write for the parameters of a target network (see Target Network), which is held still for a while. The Q-learning target for a team transition is
where is the team reward and is the discount factor. The max over joint actions can be computed per agent by the identity in Step 3. The loss pulls the current sum toward this target:
Take the derivative of with respect to any single agent's output . The sum has derivative 1 with respect to each of its terms, so
Every agent receives the same error signal. That is the mechanism: the team error is passed back through the sum to every network, and each network adjusts its own local value. In the example the error is 1.82 for all agents, so both local values for go are pushed up.
Results
Setup. The authors use two-dimensional grid worlds with two players. Each agent sees a small window of byte values of size 3 by 5 by 5 (RGB channels). Each agent's network has a fully connected layer of 32 units, a ReLU layer, an LSTM with 32 units, and a dueling output. The tasks are Switch, Fetch and Checkers. Each configuration is run ten times with different random seeds, and training curves are averaged over 50,000 episodes. The reported learning rate is 0.0001 with the Adam optimizer (Adam Optimizer), and the trace parameter is 0.9.
Main finding. The paper's stated conclusion is that architectures based on value decomposition perform much better than the centralized approach and the individual learners, with any combination of other techniques or none. A centralized agent that also uses value decomposition does better than the fully combinatorial centralized agent, but worse than the more distributed value-decomposition agents.
Weight sharing and roles. Sharing one set of weights across agents helps. On the hard Fetch task with one corridor, the plain value-decomposition agent without sharing suffers from the lazy agent problem, while the agent with sharing and role information learns the task perfectly. Shared weights are problematic on Checkers, where one agent's rewards are ten times larger than the other's, so one shared network has to serve two very different value scales.
Information channels. Connecting agent networks helps on Checkers, which the authors designed for this purpose. Low-level channels, where the combined observations go into the LSTM, learned faster than high-level channels that join the agents after the LSTM.
Inspecting the sum. On Fetch, the learned components separate the team's rewards by player. The team value anticipates the rewards, and each agent's component rises at the events that agent causes, even though the environment only ever gives the team one reward.
Limits. The experiments use two players, small observation windows and simple graphics. The authors name scaling to larger teams and non-linear aggregation of values as future work. The sum also assumes that the team value is close to additive, which holds in the tasks chosen but may not hold for tasks where agents depend on each other strongly.
Reading guide
- Abstract and Section 1. The lazy agent, spurious rewards, and the three approaches. Needs Reinforcement Learning, Markov Game and Partially Observable Markov Decision Process.
- Section 1.1, related work. Reward splitting, coordination graphs and difference rewards. Read it for context; the main paper does not depend on it. Difference rewards measure one agent's effect on the full reward, and need the state.
- Section 2.1, background. Return, policy and value functions, as in Markov Decision Process and Value Function. The optimal action-value function is the target the paper learns.
- Section 2.2, deep Q-learning. The Q-learning update, the epsilon-greedy choice, and the DQN ingredients: Q-Learning, Deep Q-Network, Target Network and Experience Replay. The paper adds recurrent networks (Recurrent Neural Network) and multi-step updates built on Temporal-Difference Learning.
- Section 2.3, multi-agent RL. Joint policies and Markov games. Read this with the notes on Centralized Training with Decentralized Execution, which describes the same learning split.
- Section 3, architecture. The core idea: the additive decomposition, the deployment argument, agent invariance, role information and channels. It relies on Backpropagation through the sum, as in the Math section above.
- Section 4, experiments. Environments, agents, results and the Q-decomposition figure. The numbers in Results above come from here.
- Section 5, conclusions. The summary and the future-work list.
Check yourself
QuestionWhat does each agent's network receive as its training signal in VDN?Show answer
It receives the error of the team sum: the difference between the team target and the sum of all local values. The paper does not give any agent a reward of its own. Because the derivative of a sum with respect to each term is 1, every agent gets the same error, scaled the same way.
QuestionAgent 1 has local values A = 0.3 and B = 0.9. Agent 2 has C = 0.6 and D = 0.1. Which joint action has the highest team value, and what is it?Show answer
The four sums are A+C = 0.9, A+D = 0.4, B+C = 1.5 and B+D = 1.0. The best is B+C = 1.5, which means agent 1 takes B and agent 2 takes C. This matches the per-agent shortcut: the best of agent 1 is B (0.9), the best of agent 2 is C (0.6), and 0.9 + 0.6 = 1.5.
QuestionWhy does a sum of local values allow each agent to act on its own at run time, while a general function of all actions would not?Show answer
The maximum of a sum of terms that each depend on one agent's action equals the sum of the individual maxima. Each agent can therefore find its best action from its own network alone. A general function of the joint action can couple the agents' choices, so the best joint action would need a search over all combinations, which in turn needs a central controller.
QuestionTwo delivery robots share one team reward. At a step the target is 4 and the current team sum is 3. One robot's action helped and the other's did nothing useful. What does the update do, and what is the risk?Show answer
The error is 4 − 3 = 1, and both robots receive the same error signal. Each robot's local value for the action it took goes up, including the robot whose action did nothing useful. The sum has no way to tell which agent caused the gain, so it can reinforce a poor action of one agent because the other agent did well. This is the credit-sharing weakness behind the lazy agent problem.
Sources
- Sunehag et al., Value-Decomposition Networks For Cooperative Multi-Agent Learning, arXiv:1706.05296: https://arxiv.org/abs/1706.05296
- Mnih et al., Human-level control through deep reinforcement learning, Nature (2015): https://doi.org/10.1038/nature14236
- Sutton and Barto, Reinforcement Learning: An Introduction, second edition: http://incompleteideas.net/book/the-book-2nd.html