Graph Diffusion for Robust Multi-Agent Coordination

Xianghua Zeng, Hang Su, Zhengyi Wang, Zhiyuan LinICML 2025

Offline multi-agent reinforcement learning (MARL) holds immense potential for high-stakes fields like robotics and autonomous driving, where real-time "learning by failing" is too dangerous or expensive. In these offline settings, agents must learn to cooperate using only pre-collected datasets. However, a major hurdle remains: estimating out-of-distribution states and actions without live environmental feedback.

While diffusion models—generative techniques that learn to create data by reversing a noise-injection process—have shown promise in addressing these challenges, they typically treat agents as independent entities. Researchers have recently developed MCGD (Multi-agent Coordination framework based on Graph Diffusion), a novel approach that models the evolving coordination structure between agents. This leads to significantly more robust policies that can adapt dynamically when team members change speed or go offline.

The Core Challenge: Robustness in Coordination

The fundamental flaw in applying standard diffusion to MARL is that it diffuses each agent's trajectory independently, ignoring the "glue" of multi-agent coordination. If the environment changes—for instance, an agent slows down or a communication link breaks—these independent models often crumble because they cannot adapt their collective strategy to the new team dynamic.

Comparison of standard independent diffusion (top) versus MCGD's graph-based coordination (bottom).

The MCGD Framework

To solve this, the authors introduce MCGD, which treats the multi-agent system as a dynamic graph where nodes represent agent actions and edges represent coordination. The framework operates through several key innovations:

  1. Sparse Coordination Graph: The system identifies essential interactions by building a $k$-nearest neighbor graph based on agent observations, filtering out unnecessary noise.
  2. Categorical Diffusion on Edges: To model the "structure diversity" of coordination, MCGD uses a discrete diffusion process. It calculates an adaptive transition matrix based on the cosine similarity of agents' observations. This allows the model to learn which agents should be coordinating at any given time.
  3. Anisotropic Diffusion on Nodes: For the continuous action values, the authors apply "anisotropic" noise. Instead of adding random, independent blur, the noise is conditioned on neighboring agents. This ensures generated actions are diverse yet remain synchronized with the team.
  4. Graph Denoising Network: A Graph Transformer is utilized to "denoise" the system, simultaneously recovering the optimal coordination structure and the best actions for each agent.

Experimental Validation

The framework was evaluated on three standard MARL benchmarks across various data quality levels (Expert, Good, Medium, Random, and Poor): Multi-Agent Particle Environments (MPE), Multi-Agent MuJoCo (MAMuJoCo), and the StarCraft Multi-Agent Challenge (SMAC).

Crucially, the authors also tested the models in "Shifted Environments." By manually altering agent attributes (like speed or joint friction) or disabling agents entirely, they tested how well the models could handle unexpected, out-of-distribution changes.

Key Results

  • State-of-the-Art Performance: MCGD consistently outperformed top-tier baselines like MADIFF and DOM2. In standard benchmarks, it improved coordination performance by up to 12.8%.
  • Superior Robustness: In the Shifted Environments, where team dynamics were intentionally disrupted, MCGD showed an even greater advantage, outperforming baselines by up to 14.2%.
  • Qualitative Adaptability: Visualizations demonstrated that when an agent's speed was reduced or an agent went offline, MCGD-trained agents dynamically reallocated targets and adjusted their paths to compensate. Baseline agents, lacking this structural awareness, often failed to reach their goals.

Conclusion and Future Work

By treating coordination as a latent variable that can be diffused and recovered, MCGD proves that explicitly modeling graph structure allows agents to learn how to adapt when team structures shift.

While graph-based diffusion introduces a slight computational overhead compared to independent diffusion, the gains in robustness are substantial. Future work will explore more complex hierarchical graph structures to support broader agent interactions, and the authors are currently collecting data to validate this framework on physical multi-robot systems in real-world scenarios.

Summary updated

BibTeX
@inproceedings{zeng2025graph,
  author = {Xianghua Zeng and Hang Su and Zhengyi Wang and Zhiyuan LIN},
  title = {{Graph Diffusion for Robust Multi-Agent Coordination}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=T5IZ32ImAB},
}
Figure