Mastering Complex Coordination through Attention-based Dynamic Graph

Guangchong Zhou, Zhiwei Xu, Zeren Zhang, Guoliang Fan · DOI

Abstract

Cooperative Multi-Agent Reinforcement Learning (MARL) faces significant challenges in credit assignment and computational scalability as the number of agents increases. Traditional value factorization methods often assume a fully connected interaction topology, leading to informational noise and $O(n^2)$ complexity. This paper introduces DAGMIX (Dynamic Attention-based Graph MIX), a framework that represents agent interactions as a sparse, dynamic graph. By utilizing a hard-attention mechanism via Gumbel-softmax, DAGMIX filters irrelevant connections in real-time, focusing on critical coordination. Evaluated on the StarCraft Multi-Agent Challenge (SMAC), DAGMIX demonstrates superior performance in "super-hard" and large-scale scenarios, significantly outperforming state-of-the-art methods like QMIX.

Introduction

In cooperative multi-agent systems, such as autonomous drone fleets or robotic teams, agents must coordinate their actions to achieve a shared global objective. A fundamental hurdle in this domain is the credit assignment problem: determining the specific contribution of an individual agent's action to the team's overall success or failure.

Current "value factorization" methods, such as QMIX, address this by decomposing the total team reward into individual agent utilities. However, these models typically treat the agent collective as a complete graph where every agent is connected to every other agent. In large-scale environments, this approach suffers from two primary drawbacks:

  1. Computational Explosion: The complexity of modeling relationships grows quadratically with the number of agents.
  2. Performance Decay: The inclusion of irrelevant agent interactions introduces "noise," which hinders the model's ability to learn meaningful coordination patterns.

DAGMIX is proposed to address these issues by recognizing that agents only need to coordinate with a relevant subset of their peers at any given time.

Methodology

DAGMIX introduces a two-stage process integrated into the training loop to manage agent interactions dynamically:

1. Dynamic Graph Generation

Rather than relying on a static interaction map, DAGMIX generates a sparse adjacency matrix at every time step. It employs a Bi-directional GRU and a Gumbel-softmax hard-attention mechanism to decide which agent connections are vital for the current state. This allows the model to prune unnecessary links, reducing noise and focusing on essential coordination.

2. Attention-based Value Mixing

Once the dynamic graph is established, the system performs graph attention to integrate individual agent Q-values (estimated utilities) based on the generated topology. This ensures that the global value function is informed only by relevant local interactions.

DAGMIX adheres to the Centralized Training and Decentralized Execution (CTDE) paradigm. While the graph-building and attention mechanisms occur during training with access to global information, individual agents make decisions during deployment based solely on their local observations. Furthermore, the framework maintains monotonicity, ensuring that improvements in local agent performance consistently translate to higher team performance.

Experimental Setup

The researchers evaluated DAGMIX using the StarCraft Multi-Agent Challenge (SMAC), a standard benchmark for MARL. The evaluation focused on three challenging categories:

  • Large-scale scenarios: Maps such as 25m (25 vs 25 Marines) and 27m_vs_30m.
  • Asymmetric/Heterogeneous scenarios: Complex maps like MMM2 (Medivacs, Marauders, and Marines) and 1c3s5z.
  • Difficulty Levels: Testing was conducted on "Hard" and "Super Hard" settings to evaluate the limits of coordination.

Results and Discussion

DAGMIX demonstrated significant performance gains as task complexity and agent counts increased:

  • Super Hard Dominance: In the MMM2 scenario, DAGMIX achieved a median win rate of 86.04%, more than doubling the performance of the previous state-of-the-art, QMIX, which reached only 45.42%.
  • Scalability: In the massive 27m_vs_30m battle, DAGMIX maintained a 49.58% win rate, while traditional methods like VDN and QTRAN struggled to exceed 20%.
  • Learning Efficiency: In scenarios like bane_vs_bane, DAGMIX converged to a 100% win rate significantly faster than competitors, suggesting that the dynamic graph helps the model identify optimal strategies earlier in the training process.

The results suggest that sparsity is a strength in large-scale systems. By filtering out "chatter" between irrelevant agents, the model focuses its learning capacity on interactions that drive success. Additionally, the ability to rewire the graph at every time step allows DAGMIX to capture the fluid nature of coordination in combat.

Limitations and Future Work

While DAGMIX excels in complex environments, it may be "overkill" for small-scale scenarios (e.g., 2s3z) where fully connected graphs are computationally negligible and noise is minimal. Future research directions include:

  • Multi-head Attention: Implementing multi-head attention to allow the model to learn multiple types of relationships simultaneously (e.g., offensive vs. defensive coordination).
  • Sparsity Optimization: Further refining the balance between graph density and learning speed to optimize performance across a broader range of scales.

Summary updated

BibTeX
@inproceedings{zhou2023mastering,
  author = {Guangchong Zhou and Zhiwei Xu and Zeren Zhang and Guoliang Fan},
  title = {{Mastering Complex Coordination through Attention-based Dynamic Graph}},
  booktitle = {ICONIP},
  year = {2023},
  doi = {10.1007/978-981-99-8079-6\_24},
}
Figure