Synthesizing Decentralized Controllers With Graph Neural Networks and Imitation Learning

Fernando Gama, Qingbiao Li, Ekaterina I. Tolstaya, Amanda Prorok, Alejandro Ribeiro

TL;DR

This paper introduces a novel framework for training decentralized controllers for multi-agent systems using Graph Neural Networks (GNNs) and imitation learning. By leveraging the inherent structure of GNNs and the ability to learn from expert demonstrations, the authors demonstrate that these learned controllers can effectively handle complex tasks like flocking and path planning, even in scenarios with a large number of agents.

What Problem Does This Paper Address?

Controlling a team of autonomous agents to achieve a common goal is a significant challenge, especially when agents can only rely on local information and communication. Centralized controllers, while effective for small teams, become computationally prohibitive and suffer from scalability issues as the number of agents increases. Designing optimal decentralized controllers is notoriously difficult due to the complex interactions and potential for conflicting actions among agents. This paper addresses this gap by proposing a method to learn effective decentralized controllers that are scalable and can be trained offline.

Methods

The core of this work lies in using Graph Neural Networks (GNNs) to represent and learn decentralized controllers. GNNs are well-suited because their architecture naturally mirrors the communication structure of multi-agent systems, processing information locally through graph filters. The authors specifically employ:

  • Graph Convolutional Neural Networks (GCNNs): These networks use graph filters followed by pointwise nonlinearities, allowing them to learn complex, nonlinear relationships.
  • Graph Recurrent Neural Networks (GRNNs): GRNNs extend GCNNs by incorporating a hidden state, enabling them to handle time-varying dynamics and learn from sequences of observations.

To train these GNNs, the paper utilizes imitation learning. This involves training the GNN to mimic the behavior of an "expert" controller (which can be centralized and computationally expensive) by minimizing the difference between the GNN's actions and the expert's actions. This approach allows for learning from potentially optimal, albeit impractical, centralized policies. The framework also leverages the permutation invariance properties of GNNs, which is crucial for ensuring that the learned controller is independent of agent labeling and can generalize to different system configurations.

Datasets

The paper does not introduce new datasets. Instead, it uses simulated environments for two benchmark multi-agent problems:

  • Flocking: Agents navigate in a 2D space, aiming to achieve uniform velocity while avoiding collisions.
  • Path Planning: Agents must move from start to goal positions on a 2D grid, avoiding obstacles and other agents.

For training and evaluation, the authors generate trajectories based on these simulated environments, varying parameters like initial conditions, communication radius, obstacle density, and team size.

Key Insights and Ideas

  • GNNs as a Natural Fit for Decentralized Control: The paper strongly advocates for GNNs as an ideal architecture for decentralized control due to their inherent locality and ability to process graph-structured information, mirroring agent communication networks.
  • Imitation Learning Bridges the Gap: By learning from computationally expensive expert controllers, imitation learning provides a practical way to acquire effective decentralized policies that would be difficult to derive analytically.
  • Permutation Invariance is Key to Scalability: The theoretical grounding in permutation invariance for GNNs is critical. It ensures that the learned controller is robust to agent relabeling and can generalize to systems with different numbers of agents or slightly altered topologies.
  • Transferability Beyond Exact Permutations: The experiments demonstrate that GNNs can transfer learned policies not just to exact permutations of the training system but also to systems with different numbers of agents and slightly varied configurations, highlighting their robustness.

Key Results

The paper demonstrates the effectiveness of GNN-based decentralized controllers across two main tasks:

  • Flocking:
    • GCNNs and GRNNs successfully imitated expert centralized policies, achieving performance close to optimal.
  • The learned controllers showed excellent transference to systems with different initial conditions and communication radii.
  • Crucially, controllers trained on teams of 50 agents could be scaled to handle teams of up to 100 agents without significant performance degradation.
  • Path Planning:
    • GNNs (both GCNNs and GRNNs) outperformed linear graph filters, indicating the importance of nonlinear learning.
  • The controllers exhibited robustness to variations in field of view, communication radius, and obstacle density.
  • A significant finding was the transferability at scale, where controllers trained on 10 agents could successfully manage teams of 40 agents, demonstrating a fourfold increase in team size. They also identified a "thresholding effect" where a minimum number of agents at training time is necessary for effective scaling.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that imitation learning requires access to an expert controller, which might itself be difficult to obtain or computationally expensive.
  • While the learned controllers showed good performance, theoretical guarantees for closed-loop stability are not provided, though experimental results suggest stability.
  • The imitation learning process is centralized during training, which might be a limitation for certain applications.
  • Future Work:
    • Investigating closed-loop stability guarantees for GNN-based controllers.
  • Leveraging knowledge of the dynamical system to further improve controller performance.
  • Exploring alternative learning frameworks beyond imitation learning.
  • Applying GNNs to more complex control problems and investigating their impact on robustness, safety, and resilience.
  • Exploring decentralized training methods for adapting policies to system realizations observed during online execution.

Summary updated

BibTeX
@article{gama2022synthesizing,
  author = {Fernando Gama and Qingbiao Li and Ekaterina I. Tolstaya and Amanda Prorok and Alejandro Ribeiro},
  title = {{Synthesizing Decentralized Controllers With Graph Neural Networks and Imitation Learning}},
  journal = {IEEE Trans. Signal Process.},
  year = {2022},
  doi = {10.1109/tsp.2022.3166401},
}
Figure