Consensus Learning for Cooperative Multi-Agent Reinforcement Learning

Zhiwei Xu, Bin Zhang, Dapeng Li, Zeren Zhang, Guangchong Zhou, Hao Chen, Guoliang Fan

Introduction: The Coordination Gap in MARL

In Multi-Agent Reinforcement Learning (MARL), the standard paradigm is Centralized Training with Decentralized Execution (CTDE). While agents have access to global information during training, they are restricted to limited "local observations" during execution. This discrepancy creates a significant "coordination gap": in partially observable environments, different agents may perceive entirely different aspects of the environment despite being in the same global state.

Partial observability in StarCraft II: agents see different local views of the global state.

Without a shared signal or explicit communication, synchronizing strategies becomes a major challenge. While communication-based methods exist, they are often hindered by high bandwidth requirements and the difficulty of determining what information is actually valuable to transmit. COLA (COnsensus LeArning) addresses this by enabling agents to reach a "tacit agreement" on their shared environment without using any communication bandwidth during execution.

The COLA Framework

The core innovation of COLA is the principle of viewpoint invariance—the concept that different local observations at the same timestamp are simply different "views" of the same underlying global state. By applying contrastive learning to these local observations, the framework generates a shared discrete "consensus" signal that acts as a proxy for the global state.

The Consensus Builder

The framework utilizes a "Consensus Builder" inspired by the DINO (Self-distillation with no labels) architecture. The process involves several key steps:

  1. Contrastive Learning: Local observations from different agents are treated as augmented views of the same state.
  2. Student-Teacher Framework: A student network learns to predict the output of a teacher network, which is maintained as an exponential moving average (EMA) of the student.
  3. Discrete Latent Space: The builder maps observations to a discrete set of $K$ classes. This "consensus class" provides a robust, shared understanding of the current situation, filtering out minor differences in local views.
  4. Integration: This one-hot consensus signal is concatenated with the agent's local observations and fed into their policy or value networks (such as QMIX or MADDPG).
The COLA Consensus Builder architecture using self-distillation to learn a shared discrete latent space.

Crucially, while the Consensus Builder is trained centrally using all agents' views, during execution, an individual agent can infer the consensus using only its own local view, maintaining decentralization.

Experimental Evaluation

The researchers evaluated COLA across three diverse benchmarks: Multi-Agent Particle Environments (MPE), the StarCraft Multi-Agent Challenge (SMAC), and Google Research Football (GRF).

Key Results and Insights

  • Superior Performance: COLA-QMIX consistently outperformed vanilla QMIX and other state-of-the-art variants like ROMA, MAVEN, and RODE. In the "Super Hard" MMM2 StarCraft task, COLA-QMIX achieved significantly higher win rates and faster convergence.
  • Strategic Clustering: t-SNE visualizations of the learned consensus classes revealed that they correspond to distinct strategic phases, such as "Arrangement" versus "Attack," indicating that the model learns semantically meaningful signals.
  • Efficiency: COLA provides a high performance boost with minimal increases in model parameters (approximately 5% for QMIX), making it more efficient than many complex attention-based mechanisms.
  • Algorithm-Agnostic: The framework proved to be "plug-and-play," showing clear improvements when added to both value-based (QMIX) and policy-based (MADDPG) methods.

Limitations and Future Work

One primary limitation is the "Dead Agent" problem: the viewpoint invariance principle fails when an agent is eliminated and its observations are zeroed out. Currently, this requires manual masking during training. Additionally, the number of consensus classes ($K$) must be manually tuned based on task difficulty. Future research may focus on automatically determining the optimal $K$ or developing a dynamic consensus space that adapts to changing task complexity within an episode.

Summary updated

BibTeX
@inproceedings{xu2023consensus,
  author = {Zhiwei Xu and Bin Zhang and Dapeng Li and Zeren Zhang and Guangchong Zhou and Hao Chen and Guoliang Fan},
  title = {{Consensus Learning for Cooperative Multi-Agent Reinforcement Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i10.26385},
}
Figure