Communication Learning in Multi-Agent Systems from Graph Modeling Perspective

Shengchao Hu, Li Shen, Ya Zhang, Dacheng TaoarXiv 2024 · DOI

Abstract

In Multi-Agent Reinforcement Learning (MARL), effective coordination often hinges on communication, yet excessive data exchange can lead to bandwidth bottlenecks and signal noise. This paper introduces CommFormer, a novel framework that models the communication network as a learnable, sparse graph. By employing bi-level optimization and a temporal gating mechanism, CommFormer enables agents to autonomously determine both communication topology and timing. Experimental results across StarCraft II and Google Research Football benchmarks demonstrate that CommFormer achieves state-of-the-art performance while reducing bandwidth requirements by up to 60% compared to fully connected systems.

Introduction

Multi-agent systems frequently operate under partial observability, necessitating communication for coordination. However, traditional approaches often suffer from two primary issues: bandwidth constraints and rigid, manually-defined communication architectures. High-bandwidth "broadcast" strategies are computationally expensive and introduce noise, while fixed topologies often fail to capture the optimal interaction patterns required for complex tasks.

CommFormer addresses these challenges by treating the interaction network as a learnable graph structure that evolves during training to maximize efficiency and performance. By combining the representational power of Transformers with graph-based modeling, the framework allows agents to learn who to communicate with and when to listen, effectively balancing coordination needs with resource constraints.

Methodology

CommFormer conceptualizes the multi-agent communication structure as a learnable adjacency matrix. The core of the approach is a bi-level optimization strategy designed to decouple the learning of the communication topology from the learning of the agent policies.

Bi-level Optimization and Graph Learning

The "outer loop" of the optimization process focuses on the graph structure ($\alpha$). It aims to find a sparse adjacency matrix that maximizes the overall cumulative reward. To handle the non-differentiable nature of discrete graph connections (deciding whether an edge exists or not), the framework utilizes the Gumbel-Max trick. This allows for continuous relaxation, enabling the use of standard gradient descent to search for the optimal architecture.

The CommFormer architecture integrates a learnable communication graph with a Transformer-based encoder-decoder and a dynamic gating mechanism.

Relation-Enhanced Attention and Temporal Gating

Within the Transformer blocks, CommFormer employs Relation-Enhanced Attention. Unlike standard attention, which treats all inputs equally, this mechanism incorporates explicit edge information from the learned graph to weight the importance of incoming messages.

Furthermore, the model introduces a Dynamic Temporal Gating mechanism. Each agent possesses a "gate" that, based on its current local observation, can decide to ignore incoming messages for a specific time step. This is particularly useful in scenarios where communication is only critical during specific phases of a task, allowing for significant savings in processing resources during "quiet" periods.

Experiments and Results

The researchers evaluated CommFormer on four diverse and challenging benchmarks: the StarCraft II Multi-Agent Challenge (SMAC), Predator-Prey (PP), Predator-Capture-Prey (PCP), and Google Research Football (GRF). These tasks encompass a wide range of coordination requirements, from homogeneous team collaboration to complex heterogeneous combat.

Performance comparison of CommFormer (CF) against various baselines across SMAC, GRF, and Predator-Prey tasks.

State-of-the-Art Performance

As shown in the results table, CommFormer consistently outperformed or matched strong baselines like MAPPO, HAPPO, and MAT across almost all SMAC maps. In the highly complex 3s5z scenario, CommFormer achieved a 100% win rate while maintaining high sparsity, whereas non-communication baselines struggled significantly.

Efficiency and Resource Savings

One of the most striking findings is that agents do not need to talk to everyone. CommFormer with a sparsity of 0.4 (meaning 60% of possible connections are removed) performed almost identically to a "Fully Connected" (FC) model. In the 5m_vs_6m task, the dynamic gating version (CommFormer-dyn) achieved a 92.7% win rate while significantly reducing the number of messages processed compared to static methods.

Key Insights

  • Sparsity is Sufficient: The results prove that dense, all-to-all communication is often redundant in MARL. CommFormer identifies the critical sub-graphs necessary for task completion, leading to more robust and efficient coordination.
  • The Cost of Manual Design: Manually designing a communication graph is often suboptimal. The authors observed that performance can vary wildly based on the chosen architecture; learning the graph removes this "luck of the draw" and ensures the topology is tailored to the specific task.
  • Critical Moments: The temporal gating mechanism revealed that agents often stay "silent" for most of an episode, only opening their communication gates during critical decision-making moments. This suggests that much of the communication in traditional MARL models is unnecessary overhead.

Limitations and Future Work

While CommFormer represents a significant step forward, several areas remain for future exploration. Currently, the underlying graph topology is fixed after the training phase, which may not be ideal for highly mobile environments where agents frequently move in and out of range. Future work could involve making the physical graph structure more fluid. Additionally, scaling the adjacency matrix optimization to massive swarms of hundreds or thousands of agents will require hierarchical or proximity-based approaches to maintain computational tractability. Finally, the authors suggest incorporating more direct modeling of real-world wireless constraints, such as interference and signal decay, to bridge the gap between simulation and physical deployment.

Summary updated

BibTeX
@misc{hu2024communication,
  author = {Shengchao Hu and Li Shen and Ya Zhang and Dacheng Tao},
  title = {{Communication Learning in Multi-Agent Systems from Graph Modeling Perspective}},
  year = {2024},
  eprint = {2411.00382},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.00382},
}
Figure