AI & ML Atlas
Reinforcement LearningalgorithmAnimated walkthrough
QMIX
Combines each agent's Q value into a team value with a monotonic mixing network.
The idea
Each agent computes its own Q from local observations. A mixing network, whose weights come from the global state and are constrained to be non-negative, combines them into a team value Q_tot. Monotonicity means the best team action is simply each agent's best action, so execution is decentralised even though training is centralised.
∂Q_tot / ∂Qᵢ ≥ 0
Watch it run
The pipeline lights up one step at a time. Use the controls to pause or step through it.
- 1Each agent outputs Q values for its own actions.
- 2Choose each agent's greedy action.
- 3Mix the chosen Q values into Q_tot with a hypernetwork-based monotonic mixer.
- 4Train Q_tot with a TD loss against the team reward.
∂Q_tot / ∂Qᵢ ≥ 0
1/4
Step by step
- 1Each agent outputs Q values for its own actions.
- 2Choose each agent's greedy action.
- 3Mix the chosen Q values into Q_tot with a hypernetwork-based monotonic mixer.
- 4Train Q_tot with a TD loss against the team reward.
Where it is used
Cooperative tasks such as StarCraft micromanagement.
Watch out for
Cannot represent value functions that are not monotonic in the agents' values.