Learning Structured Communication for Multi-Agent Reinforcement Learning

Junjie Sheng, Xiangfeng Wang, Bo Jin, Wenhao Li, Jun Wang, Junchi Yan, Tsung-Hui Chang, Hongyuan Zha

Communication is the bedrock of cooperation. In Multi-Agent Reinforcement Learning (MARL), agents must share information to solve complex tasks, but as the number of agents grows, so does the "noise" and the computational cost of talking to everyone. A new paper, Learning Structured Communication for Multi-agent Reinforcement Learning, introduces a framework called Learning Structured Communication (LSC) that dynamically organizes agents into hierarchies to balance global awareness with local efficiency.

TL;DR

LSC moves away from fixed communication patterns by dynamically electing "leader" agents and forming groups based on the current state of the environment. By using a hierarchical Graph Neural Network (GNN) to pass messages through these learned structures, LSC achieves superior scalability and cooperation in large-scale multi-agent tasks compared to standard star or neighboring topologies.

What Problem Does This Paper Address?

In MARL, agents often operate under partial observability—they only see a small slice of the world. Communication helps bridge this gap. However, existing communication topologies usually fall into four rigid categories:

  1. Fully-connected: Everyone talks to everyone. This doesn't scale ($O(n^2)$ complexity).
  2. Star: Everyone talks to a central hub. This creates a massive bottleneck.
  3. Tree: Communication happens sequentially, which is too slow for real-time systems.
  4. Neighboring: Agents only talk to those nearby. While efficient, it struggles to propagate global information across the whole group.
Figure 1: Comparison of communication topologies. LSC introduces a dynamic hierarchical approach (e).

The authors argue that these manually specified, fixed structures lack the flexibility needed for dynamic environments. The challenge is to create a system that is both globally accessible (information can travel far) and comprehensible (agents aren't overwhelmed by irrelevant data).

Methods

LSC consists of two main components that work in tandem:

1. Structured Communication Module

This module decides who talks to whom.

  • Weight Generator: Since the grouping process isn't naturally differentiable, the authors use an auxiliary Reinforcement Learning task (Independent Deep Q-Learning) to assign an "importance weight" to each agent based on its local observation.
  • Cluster-Based Routing Protocol (CBRP): Using these weights and a spatial radius, agents elect "high-level" agents (leaders) and "low-level" agents (followers). This creates a sparse, adaptive hierarchy that changes as agents move and the task evolves.

2. Communication-based Policy Module

Once the hierarchy is set, a hierarchical GNN handles the actual information exchange in three steps:

  • Intra-group Aggregation: Followers send local embeddings to their leaders.
  • Inter-group Sharing: Leaders communicate with each other to form a global perception of the environment.
  • Intra-group Sharing: Leaders broadcast this global context back down to their followers.
Figure 2: The LSC architecture, showing the flow from observations to weights, structure formation, and finally, action selection.

Datasets

The researchers evaluated LSC on two distinct platforms:

  • MAgent (Battle Game): A large-scale scenario where 64 agents must cooperate to defeat 64 stronger enemies. This tests scalability and combat strategy.
  • Multi-Agent Particle Environment (MPE - Cooperative Spread): A fully cooperative task where 12 agents must cover 4 landmarks (3 agents per landmark) without overloading them. This tests fine-grained coordination.

Key Insights and Ideas

  • Task-Driven Roles: By using an auxiliary RL task for weight generation, the hierarchy becomes "task-aware." For example, an agent that spots the enemy might receive a higher weight and be elected as a leader to coordinate the attack.
  • Efficiency via Sparsity: The CBRP ensures that high-level agents are distributed sparsely. This significantly reduces the number of messages exchanged ($N_{msg}$) and the required bandwidth ($N_{b-r}$) compared to fully-connected or star networks, while maintaining a $O(1)$ communication step count.
  • Global vs. Local Balance: The three-step GNN process (shown in Figure 4) ensures that even low-level agents benefit from global information without needing to process every other agent's raw data.
Figure 4: The three-step communication process: Aggregation, Inter-group sharing, and Broadcasting.

Key Results

LSC consistently outperformed baselines like IDQN (no communication), LSC-star, and LSC-nbor (neighbor-only).

  • Battle Game: LSC achieved a Mean-reward of 1.13, significantly higher than LSC-star (1.04) and IDQN (0.89). It also maintained a superior kill-to-death ratio (1.60 vs 1.21 for the next best).
  • Cooperative Spread: LSC reached a mean reward of -54.6, outperforming the star topology (-68.2). Qualitatively, LSC agents learned complex "encircle and fire" strategies that other models failed to coordinate.
  • Scalability: The communication complexity analysis showed that LSC's message exchanging complexity grows as $O(kb + k^2)$ (where $k$ is the number of groups and $b$ is group size), which is much more manageable than $O(n^2)$ for large $n$.

Limitations and Future Work

While LSC is a step forward, the authors note a few areas for improvement:

  • Hyperparameters: The cluster radius ($d$) is currently a fixed hyperparameter. In highly fluid environments, learning the optimal radius dynamically could be beneficial.
  • Real-world Constraints: The current model doesn't explicitly account for message latency or packet loss, which are critical in physical robotics or real-world networking.
  • Complexity: The two-module design with an auxiliary RL task adds architectural complexity compared to simpler end-to-end models.

Summary updated

BibTeX
@inproceedings{sheng2023learning,
  author = {Junjie Sheng and Xiangfeng Wang and Bo Jin and Wenhao Li and Jun Wang and Junchi Yan and Tsung-Hui Chang and Hongyuan Zha},
  title = {{Learning Structured Communication for Multi-Agent Reinforcement Learning}},
  booktitle = {AAMAS},
  year = {2023},
}
Figure