Graph Convolutional Reinforcement Learning

Jiechuan Jiang, Chen Dun, Tiejun Huang, Zongqing Lu

Introduction

Learning to cooperate is a fundamental challenge in multi-agent reinforcement learning (MARL). The primary difficulty lies in the highly dynamic nature of these environments: agents are constantly moving, meaning their neighbors and the "mutual interplay" between them change rapidly.

Existing approaches often struggle to adapt to these dynamics. Global communication methods (like CommNet) are computationally expensive and introduce excessive noise by broadcasting messages to everyone. Mean Field Theory approaches average the actions of neighbors, which loses the critical individual information needed for complex, coordinated tactics. Furthermore, many models assume agents are connected in a static topology, rendering them ineffective for mobile robots or autonomous vehicles.

To address these limitations, researchers introduce Graph Convolutional Reinforcement Learning (DGN). DGN models multi-agent environments as dynamic graphs where agents are nodes and their interactions are edges. By utilizing multi-head attention as a convolution kernel and incorporating temporal regularization, DGN enables agents to learn sophisticated, scalable cooperative strategies that significantly outperform traditional MARL methods.

Methodology: The DGN Framework

The DGN architecture is designed to let agents "see" and "understand" their local neighborhood in a way that is scalable and robust to constant shuffling. The framework consists of three main modules: an observation encoder, stacked convolutional layers, and a Q-network.

Architecture of the Deep Graph Network (DGN)
  1. Graph Representation: The environment is modeled as a dynamic graph. Each agent is a node, and an edge exists if agents are within a specified receptive distance of one another.
  2. Multi-Head Attention Kernel: Standard Convolutional Neural Networks (CNNs) operate on fixed grids, which fail in dynamic graphs. DGN instead uses multi-head dot-product attention as its "convolution kernel." This is crucial because it is order-invariant—it treats the neighborhood as a set rather than a sequence, extracting "relation representations" regardless of which neighbor is processed first.
  3. Stacked Receptive Fields: By stacking multiple convolutional layers, an agent’s "receptive field" grows. While a one-layer DGN only sees immediate neighbors, a two-layer DGN can indirectly sense "neighbors of neighbors." This facilitates wider-scale coordination without the overhead of global communication.
  4. Temporal Relation Regularization: Cooperation requires consistency. DGN employs a KL-divergence loss to ensure that an agent’s attention weights (i.e., who it is coordinating with) do not jitter wildly between timesteps. This regularization encourages stable, long-term strategic planning.

Evaluation Scenarios

The researchers evaluated DGN across three distinct cooperative scenarios, each testing different aspects of multi-agent coordination.

The three cooperative multi-agent scenarios: Battle, Jungle, and Routing.
  • Battle (MAgent): A large-scale grid world where 20 agents must fight 12 superior enemies. Success requires complex tactical maneuvers like encircling and flanking.
  • Jungle (MAgent): A "moral dilemma" scenario where agents can obtain rewards by eating food or by attacking each other. The objective is to see if agents can learn to share resources peacefully.
  • Routing: A simulation of packet switching in a network. Agents (packets) must find the fastest path to a destination while avoiding congestion across a network of routers.

Key Insights and Results

DGN demonstrated substantial improvements over existing baselines, highlighting several key advantages of graph convolutional approaches in MARL:

  • The Power of Localized Graph Convolutions: DGN proves that agents do not need complete global state information. By integrating features from a local, multi-hop neighborhood, agents can exhibit global-like coordination.
  • Superior Tactical Performance: In the Battle scenario, DGN achieved a kill-death ratio of 2.27, significantly higher than Mean Field Q-learning (2.09) and vastly superior to independent DQN (0.03). Qualitatively, DGN agents were the only ones to successfully execute "encircling" maneuvers.
  • Emergent Peaceful Cooperation: In the Jungle environment, DGN agents learned to cooperate effectively, resulting in the highest mean reward (0.66) and the lowest number of inter-agent attacks (1.14) compared to all other methods (where attacks ranged from 2.74 to 7.35).
  • Zero-Shot Scalability: DGN exhibited remarkable generalization. In the Routing task, a DGN model trained with 20 agents successfully scaled to 40 and 60 agents without any additional training. It outperformed the practical Floyd algorithm under heavy traffic by proactively choosing longer paths to avoid congestion, thereby lowering delays and increasing throughput.

Limitations and Future Work

While DGN presents a significant step forward, the authors note implementation constraints regarding truly dynamic graph sizes. In their experiments, the neighbor size was fixed (e.g., $|B|=3$) due to framework limitations at the time. While DGN successfully adapts to which neighbors are present, future work could explore more flexible architectures that natively handle a continuously varying number of neighbors.

Additionally, while DGN excels at determining "who to cooperate with" via attention weights, extending this framework to dictate "what specific information to share"—effectively learning complex communication protocols—remains an exciting open area for future exploration.

Summary updated

BibTeX
@inproceedings{jiang2020graph,
  author = {Jiechuan Jiang and Chen Dun and Tiejun Huang and Zongqing Lu},
  title = {{Graph Convolutional Reinforcement Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2020},
  url = {https://openreview.net/forum?id=nMxYqQInbW},
}
Figure