Reinforcement Learning Lab

Eight reinforcement-learning labs: classical, deep, policy optimisation, bandits, planning and multi-agent, with experiments trained for real in your browser.

39interactive experiments

Centralised training, decentralised execution (CTDE)

Multi-Agent RL · marl

Learning objectives

  • Know the CTDE idea.
  • Understand the VDN decomposition.
  • Know what is actually implemented in the lab.

The idea

In CTDE the trainer sees joint information during training but every agent acts using only its local observation.

Explanation

VDN assumes the joint Q is the sum of local Qs so each agent learns its part from a shared reward. QMIX, MADDPG and MAAC are explained in the library but their experiments do not run in the browser here; actually implemented are IQL, JAL, VDN and a centralised-critic CTDE.

Equations

Q_{tot}(\mathbf{s},\mathbf{a})=\sum_{i=1}^{n}Q_i(o_i,a_i)

This is the VDN decomposition; QMIX generalises it to a monotonic function.

Worked example

"Task allocation": compare IQL and VDN, then read each algorithm card to see whether it is real or explained.

Common mistakes

Claiming that QMIX/MADDPG run in the browser.

Summary

CTDE trains centrally and executes decentrally; the lab implements some of it and says so.

Related experiments

Assessment questions

References

  1. Sutton, R. S.; Barto, A. G. (1998). Reinforcement learning: an introduction (first-edition record; the second edition is free at the author's page). IEEE Transactions on Neural Networks 9(5):1054. doi:10.1109/tnn.1998.712192