Skip to content
StackDecode
AI & ML Atlas
Reinforcement LearningalgorithmAnimated walkthrough

Multi-Agent Deep Deterministic Policy Gradient (MADDPG)

DDPG where each agent's critic sees all agents' observations and actions.

The idea

During training each agent has a centralised critic that takes everyone's observations and actions, which makes the environment stationary from the critic's viewpoint. At execution time each agent uses only its own actor with local observations. It works for cooperative, competitive and mixed settings.

Watch it run

The pipeline lights up one step at a time. Use the controls to pause or step through it.

  1. 1Each agent has its own actor and centralised critic.
  2. 2Store joint transitions in a replay buffer.
  3. 3Update each critic with all agents' actions.
  4. 4Update each actor using its critic.
  5. 5Execute with the actors alone.
1/5

Step by step

  1. 1Each agent has its own actor and centralised critic.
  2. 2Store joint transitions in a replay buffer.
  3. 3Update each critic with all agents' actions.
  4. 4Update each actor using its critic.
  5. 5Execute with the actors alone.

Where it is used

Mixed cooperative-competitive multi-agent tasks.

Watch out for

The critic input grows with the number of agents.

Related