FACMAC: Factored Multi-Agent Centralised Policy Gradients

Bei Peng, Tabish Rashid, Christian Schroeder de Witt, Pierre-Alexandre Kamienny, Philip Torr, Wendelin Boehmer, Shimon Whiteson

In the world of cooperative Multi-Agent Reinforcement Learning (MARL), the gold standard is Centralised Training with Decentralised Execution (CTDE). The idea is simple: let agents learn using all available global information, but ensure they can act based only on their local observations during the actual task.

However, popular algorithms often fall into two traps. Value-based methods like QMIX are powerful but struggle with continuous action spaces and strict "monotonicity" constraints. Actor-critic methods like MADDPG handle continuous actions well but use "monolithic" critics that don't scale, alongside "selfish" policy updates that fail to coordinate effectively.

The paper "FACMAC: Factored Multi-Agent Centralised Policy Gradients" introduces a best-of-both-worlds approach that fixes these coordination and scalability issues.

The Bottlenecks in Existing MARL

The authors identify two major limitations in existing multi-agent actor-critic methods:

  1. The Scalability Gap: Algorithms like MADDPG use a "monolithic" critic—a single neural network that takes in every agent's observations and actions. As the number of agents grows, the input space explodes, making the critic incredibly difficult to train.
  2. The Coordination Gap: In standard MADDPG, each agent updates its policy assuming all other agents' actions are fixed. This "per-agent" optimization can lead to sub-optimal "Nash equilibria" where no single agent wants to change, even if a coordinated change by everyone would lead to a much better outcome. This phenomenon is known as relative overgeneralisation.

The FACMAC Solution

FACMAC introduces two key innovations to bridge these gaps: a factored critic and a centralised policy gradient estimator.

1. The Factored Critic

Instead of one giant monolithic critic, FACMAC learns a factored critic. It calculates an individual "utility" ($Q_a$) for each agent and then combines them using a mixing network to get the total joint action-value ($Q_{tot}$).

The overall FACMAC architecture showing decentralised policies, the factored critic, and the mixing network.

Crucially, because FACMAC is an actor-critic method, it doesn't have to follow the strict "monotonicity" constraint (where the total value must increase if an individual utility increases) required by value-based methods for decentralisation. This allows the use of nonmonotonic factorisations, which have a higher representational capacity for complex tasks.

2. Centralised Policy Gradients (CPG)

To solve the coordination gap, FACMAC uses a new gradient estimator. Instead of updating agents one by one, it treats the team as a single joint-action policy. When calculating the gradient, it samples actions from all agents' current policies simultaneously. This "Centralised Policy Gradient" allows the team to find paths to the global optimum that individual updates would miss.

Key Insights and Results

The authors evaluated FACMAC across three diverse domains: Continuous Predator-Prey, the StarCraft Multi-Agent Challenge (SMAC), and a novel Multi-Agent MuJoCo (MAMuJoCo) benchmark.

  • Escaping Local Optima: The Centralised Policy Gradient is a game-changer for coordination. In a simple "Continuous Matrix Game," standard MADDPG gets stuck in a local optimum almost immediately due to relative overgeneralisation. In contrast, FACMAC's CPG robustly finds the global peak by optimizing over the joint action space.
Continuous Matrix Game results showing MADDPG with CPG successfully finding the global optimum.
  • Scalability: In Predator-Prey, as the number of agents increased from 3 to 9, MADDPG's performance plummeted, while FACMAC scaled gracefully thanks to its factored critic.
  • SMAC Dominance: On the "super hard" MMM2 map in StarCraft II, FACMAC achieved a high win rate where MADDPG and even the popular QMIX struggled.
  • Robotic Coordination: In MAMuJoCo—where single robots are partitioned into multiple agents—FACMAC significantly outperformed MADDPG, especially in high-dimensional tasks like the "ManyAgent Swimmer" (10 agents), proving its effectiveness in continuous control.

Limitations and Future Work

The authors note that the choice between monotonic and nonmonotonic factorisation is task-dependent. While nonmonotonicity adds representational power, it can also make the learning landscape more "rugged" and difficult to navigate on simpler maps.

Future work could involve automatically determining the best type of factorisation for a given task or exploring even more complex mixing architectures to further push the boundaries of multi-agent coordination.

Summary updated

BibTeX
@inproceedings{peng2021facmac,
  author = {Bei Peng and Tabish Rashid and Christian Schroeder de Witt and Pierre-Alexandre Kamienny and Philip Torr and Wendelin Boehmer and Shimon Whiteson},
  title = {{FACMAC: Factored Multi-Agent Centralised Policy Gradients}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=wZYWwJvkneF},
}
Figure