DM²: Decentralized Multi-Agent Reinforcement Learning via Distribution Matching

Caroline Wang, Ishan Durugkar, Elad Liebman, Peter Stone

Introduction

Training multiple agents to cooperate in a shared environment is a cornerstone of Multi-Agent Reinforcement Learning (MARL). While the standard paradigm of Centralized Training, Decentralized Execution (CTDE) has seen significant success, it relies on a central controller during training that may not always be available due to privacy concerns, communication constraints, or scalability issues. Fully decentralized training, where agents learn locally and independently, remains a formidable challenge. This paper introduces DM² (Distribution Matching for Multi-Agent RL), a novel framework that enables decentralized coordination by leveraging expert demonstrations as a stabilizing anchor.

The Challenge of Non-Stationarity

The primary obstacle in decentralized MARL is non-stationarity. In a multi-agent system, the environment's dynamics are influenced by the actions of all agents. As Agent A updates its policy to improve its performance, the environment perceived by Agent B changes. This "moving target" problem often leads to training instabilities, where agents fail to converge to a cooperative equilibrium. Traditionally, CTDE addresses this by using a global critic to oversee all agents, but DM² seeks to induce coordination without such a central brain or explicit inter-agent communication.

Methodology: Distribution Matching for Coordination

DM² approaches the coordination problem through the lens of imitation. The key idea is to provide each independent agent with a "target" distribution of states it should aim to visit, derived from expert demonstrations of successful joint behavior.

1. Distribution Matching via GAIL

The algorithm utilizes Generative Adversarial Imitation Learning (GAIL). Each agent maintains its own local discriminator—a neural network tasked with distinguishing between the agent's current state-visitation distribution and the expert's distribution. This discriminator provides an intrinsic imitation reward.

2. The Mixed Reward Structure

Agents in DM² are not mere mimics; they are goal-oriented learners. They optimize a combined reward function: $$r_{mix} = r_{env} + c \cdot r_{GAIL}$$ where $r_{env}$ is the standard task-specific environment reward and $r_{GAIL}$ is the reward generated by the discriminator. This allows agents to use expert data as a guide to find the "neighborhood" of coordination while still refining their policies to maximize the actual task objective.

DM² Architecture: Agents match expert state-visitation distributions ($\rho_{E_i}$) while optimizing environment rewards ($r_{env}$).

3. Compatible Demonstrations and State-Only Learning

A significant theoretical contribution of the paper is the framework of "compatible" demonstrations. The authors prove that if agents independently minimize the mismatch to distributions generated by a coordinated joint policy, the entire team will converge toward that coordinated behavior. Furthermore, DM² only requires state trajectories (observations), not the specific actions taken by experts, making it compatible with diverse data sources like video logs.

Experimental Setup

The researchers evaluated DM² on the StarCraft Multi-Agent Challenge (SMAC), a rigorous benchmark for cooperative MARL. Testing was conducted on three maps of varying difficulty: 5v6 (5 Marines vs. 6 Marines), 3sv4z (3 Stalkers vs. 4 Zealots), and 3sv3z (3 Stalkers vs. 3 Zealots). Expert data consisted of 1,000 joint state-only trajectories sampled from agents pre-trained using IPPO or QMIX.

Results and Performance Analysis

DM² demonstrated superior performance and stability compared to standard decentralized baselines.

  • Outperforming Independent Baselines: DM² significantly outperformed Independent PPO (IPPO). In scenarios where IPPO struggled to learn or failed entirely, DM² reached high win rates rapidly.
  • Closing the Centralization Gap: While centralized methods like QMIX and RMAPPO often learn faster due to global information access, DM² achieved comparable final win rates, proving that decentralized agents can reach expert-level coordination.
  • Stability over Self-Imitation: DM² proved more stable than Self-Imitation Learning (SIL). Unlike SIL, which imitates an agent's own non-stationary past successes, DM² uses stationary expert targets as a steady anchor for learning.
Performance of DM² on SMAC maps (5v6, 3sv4z, 3sv3z) compared to decentralized (IPPO) and centralized (QMIX, RMAPPO) baselines.

Key Insights

One of the most compelling findings is DM²'s robustness to mediocre experts. Because agents also receive environment rewards, they can use sub-optimal demonstrations to find the correct coordination patterns and then surpass the performance of the expert they are imitating. The authors liken this to a "flash mob": as long as every individual independently follows a compatible routine (the expert distribution), the group appears perfectly coordinated without a central choreographer.

Conclusion and Future Work

DM² offers a powerful path forward for decentralized MARL by using distribution matching as a stabilizer. While it currently requires access to expert demonstrations, it significantly lowers the barrier for decentralized coordination. Future research may explore using human-in-the-loop demonstrations or cross-task transfer to further reduce the dependency on high-quality pre-existing data.

Summary updated

BibTeX
@inproceedings{wang2023dm,
  author = {Caroline Wang and Ishan Durugkar and Elad Liebman and Peter Stone},
  title = {{DM²: Decentralized Multi-Agent Reinforcement Learning via Distribution Matching}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i10.26382},
}
Figure