Efficient Cooperation Strategy Generation in Multi-Agent Video Games via Hypergraph Neural Network

Bin Zhang, Yunpeng Bai, Zhiwei Xu, Dapeng Li, Guoliang Fan

TL;DR

This paper introduces a novel approach to multi-agent reinforcement learning (MARL) that uses Hypergraph Neural Networks (HGNN) to model complex agent interactions. By adaptively grouping agents into "neighborhoods" (hyperedges) based on their current states, the proposed algorithms—HGAC and ATT-HGAC—enable more efficient information sharing and superior coordination compared to standard graph-based or concatenation methods.

What Problem Does This Paper Address?

In multi-agent systems, getting diverse agents to collaborate effectively is a massive challenge. As the number of agents grows, the "joint action space" (the combination of all possible actions by all agents) explodes exponentially. Furthermore, environments are often "non-stationary"—because every agent is learning and changing its behavior simultaneously, an individual agent can't easily tell if a reward was due to its own actions or someone else's.

Existing solutions like MADDPG often just concatenate all agents' features together, which leads to massive data redundancy and poor scaling. While Graph Neural Networks (GNNs) have been used to model interactions, they typically focus on pairwise relationships. However, real-world cooperation often happens in groups or "neighborhoods." This paper addresses the need for a flexible way to represent these higher-order group interactions dynamically as the environment changes.

Methods

The authors propose the Actor Hypergraph Convolutional Critic Network (HGAC) and its attention-based variant, ATT-HGAC. Both follow the Centralized Training with Decentralized Execution (CTDE) framework: agents learn using global information but act based only on local observations.

The core innovation lies in the Adaptive Hypergraph Generation:

  1. Dynamic Grouping: Instead of a fixed graph, the system learns an "incidence matrix" that defines which agents belong to which hyperedge (neighborhood) at any given time.
  2. HGAC uses a Multilayer Perceptron (MLP) to determine membership.
  3. ATT-HGAC uses an attention mechanism to calculate how much one agent should "listen" to others to form a neighborhood.
  4. Hypergraph Convolution: Once the hypergraph is built, a two-step convolution process occurs (as seen in Figure 2):
  5. Node to Edge: Information from individual agents (nodes) is aggregated into their respective hyperedges to capture neighborhood-level features.
  6. Edge to Node: These group features are then distributed back to the agents, allowing them to understand their role within the group and how different groups interact.
The hypergraph convolution process: aggregating node features into edges and then transforming them back into updated node features.

Datasets

The researchers evaluated their methods using the Multi-agent Particle Environment (MPE), a standard benchmark for MARL. They tested three specific scenarios:

  • Cooperative Treasure Collection (CTC): Hunters must collect treasures and deposit them in color-coded banks.
  • Rover-Tower (RT): "Towers" (which can see the whole map) must signal "Rovers" (which are blind) to guide them to specific landmarks.
  • Cooperative Navigation (CN): Agents must move to cover all landmarks without colliding.
Fig. 3. multi-agent particle environments used for our evaluating. In CTC and CN, dotted lines point to the target to which the agent needs to go. In RT, dotted lines refers to the rover and target declared by tower, and solid lines indicates the rover’s target.

Key Insights and Ideas

  • Beyond Pairwise: Standard graphs are like a series of 1-on-1 conversations. Hypergraphs are like a series of group chats. This higher-order representation is much more natural for tasks requiring team coordination.
  • Strong vs. Weak Coordination: The hypergraph structure allows for "strong coordination" within a neighborhood and "weak coordination" between different neighborhoods. This hierarchy helps the network focus on the most relevant information.
  • Dynamic is Better than Static: An ablation study showed that learning the hypergraph structure on the fly (HGAC) outperformed using a fixed hypergraph based on prior knowledge (HGAC-CON). The environment is too fluid for a "one-size-fits-all" group structure.
  • Attention as a Filter: In the Rover-Tower task, ATT-HGAC successfully learned to pair specific rovers with their corresponding towers without explicit supervision, effectively "filtering out" the noise from other towers.

Key Results

The HGAC and ATT-HGAC models consistently outperformed baselines like MADDPG, MAAC, and fully decentralized methods (DDPG/SAC) across all three environments.

  • Performance: In the CTC scenario, HGAC achieved significantly higher median returns and faster convergence than MADDPG, which struggled with redundant data.
  • Efficiency: In the RT scenario, ATT-HGAC excelled because its attention-based hypergraph allowed rovers to focus specifically on their assigned signal towers, a task where standard reinforcement learning often fails completely.
  • Robustness: The use of multiple "heads" in the hypergraph convolution (similar to multi-head attention) improved the stability and feature extraction capabilities of the critic network.

Limitations and Future Work

While the results are promising, the authors note a few areas for growth:

  • Scalability: While hypergraphs handle "numerous" agents better than simple concatenation, the computational cost of dynamically generating the incidence matrix for hundreds or thousands of agents remains a challenge.
  • Communication: The current work focuses on implicit coordination via the critic. The authors suggest that applying these structural advantages to explicit multi-agent communication protocols could further improve performance in complex, real-world scenarios.
  • Convergence Speed: Although they outperform baselines, hypergraph methods still require significant training episodes (60,000 in this study) to reach peak performance.

Summary updated

BibTeX
@inproceedings{zhang2022efficient,
  author = {Bin Zhang and Yunpeng Bai and Zhiwei Xu and Dapeng Li and Guoliang Fan},
  title = {{Efficient Cooperation Strategy Generation in Multi-Agent Video Games via Hypergraph Neural Network}},
  booktitle = {ICONIP},
  year = {2022},
  doi = {10.1007/978-3-031-30108-7\_19},
}
Figure