Multi Agent Navigation in Unconstrained Environments using a Centralized Attention based Graphical Neural Network Controller

Yining Ma, Qadeer Khan, Daniel Cremers · DOI

TL;DR

This paper introduces a centralized, attention-based Graph Neural Network (A-GNN) controller designed to simultaneously navigate multiple vehicles through unconstrained environments containing obstacles. By learning from data generated by slow, offline optimization algorithms, the model achieves real-time control commands (both steering and acceleration) and successfully generalizes to scenarios with more vehicles than it encountered during training.

What Problem Does This Paper Address?

Navigating multiple autonomous vehicles simultaneously in an open, unconstrained space—like an automated warehouse or an open intersection without traffic lanes—is a complex challenge. The system must guide every vehicle to its destination while dynamically avoiding collisions with both static obstacles and other moving agents.

Traditional approaches fall into two main camps, both with significant drawbacks:

  1. Optimization-based methods (e.g., Model Predictive Control): These calculate safe trajectories by minimizing a cost function in real time. However, as the number of vehicles increases, the computational complexity explodes, making real-time execution impossible.
  2. Reinforcement Learning (RL): While fast during inference, RL is notoriously sample-inefficient, often treats vehicles as simple particles (ignoring realistic kinematics), and struggles to converge without predefined traffic rules.

The authors bridge this gap by creating a neural network controller that mimics the safety of optimization methods but executes in milliseconds, scaling gracefully as more vehicles enter the environment.

Methods

The core of the framework is a centralized Attention-based Graphical Neural Network (A-GNN).

Overview of the multi-agent control framework

Key components include:

  • Graph Representation: The environment is modeled as a graph where both vehicles and obstacles are nodes. Directed edges are drawn from all nodes toward the vehicle nodes, allowing each vehicle to ingest the state of its surroundings. Obstacles have no incoming edges since they do not need to make decisions.
  • U-Attention Block: The authors combine the strengths of two popular GNN layers: EdgeConv (which captures relative information between a node and its neighbors) and TransformerConv (which applies self-attention to weight neighbor importance). They introduce a novel U-Net-inspired architecture with shared encoder weights to compute highly representative attention weights and values.
  • Kinematic Bicycle Model: Unlike simplified particle models, this network accounts for realistic vehicle physics, outputting actual steering angles ($\phi$) and longitudinal pedal acceleration ($p$).
  • Offline Label Generation: To train the network without human labels, the authors use an offline sequential least squares programming optimizer. The optimizer minimizes a cost function balancing target proximity against collision penalties. Once trained, the GNN completely replaces the slow optimizer online.

Datasets

Because no open-source platform existed for simultaneous multi-vehicle control in unconstrained environments with realistic kinematics, the authors built their own simulation platform.

  • Training Data: They generated 20,961 trajectories (totaling over 2.5 million individual scenarios) using their offline optimizer. Crucially, the training data only contained scenarios with 1 to 3 vehicles and 0 to 4 static obstacles.
  • Evaluation Data: To test the model's ability to generalize, the test set included completely unseen configurations scaling up to 6 vehicles.

Key Insights and Ideas

  • Zero-Shot Multi-Agent Generalization: The A-GNN exhibits strong structural generalization. Even though it was never trained on scenes with more than 3 vehicles, it successfully coordinates 6 vehicles simultaneously without cross-agent collisions.
  • Architectural Synergy: Ablation studies revealed that neither the U-Net attention structure nor the self-neighbor feature concatenation works well in isolation. True performance gains are only realized when both are used together, allowing the network to accurately calculate which surrounding threats require the most immediate attention.
  • Constant-Time Scaling: While traditional optimization runtimes scale exponentially with the number of agents, the parallel nature of the GNN keeps inference times virtually flat, making it highly practical for crowded environments.

Key Results

The proposed model was compared against several baselines, including GAIN, TransformerConv, EdgeConv, and a standard Multi-Layer Perceptron (MLP).

  • Safety and Success: In a 6-vehicle, 2-obstacle test scenario, the A-GNN achieved a 87.17% success-to-goal rate, vastly outperforming the next best baseline (GAIN at 16.97%).
  • Collision Avoidance: The model maintained a collision rate orders of magnitude lower than the baselines, which frequently crashed into one another due to an inability to balance goal-seeking with evasion.
Fig. 2: Shows the trajectory traversed by the vehicles as a result of applying the control commands predicted by the five different models for a scenario containing 6 vehicles and 3 obstacles. The red dots on the trajectories show the point of collision between the vehicles. Except for our model, all other models have plenty of collisions. Video can be found: here.
  • Computational Speed: For the 6-vehicle setup, the optimization method failed to run in real time, whereas the A-GNN computed control commands in under 10 milliseconds on both CPU and GPU.

Limitations and Future Work

The primary limitation is that the model can behave too conservatively. Because the offline optimization data isn't always perfect, the GNN occasionally chooses to freeze a vehicle mid-way to guarantee zero collision risk rather than navigating a tight bottleneck.

Fig. 3: An example of a conservative optimization yielding a sample trajectory wherein the vehicles halt rather than take the risk of collision in an attempt to reach their destination by trying to pass between the two obstacles.

For future work, the authors propose using this pre-trained GNN model as an initializer for Reinforcement Learning. This would bypass the sample-inefficient "cold-start" phase of RL while allowing the system to continuously improve beyond the limitations of the offline optimizer.

Summary updated

BibTeX
@inproceedings{ma2023multi,
  author = {Yining Ma and Qadeer Khan and Daniel Cremers},
  title = {{Multi Agent Navigation in Unconstrained Environments using a Centralized Attention based Graphical Neural Network Controller}},
  booktitle = {ITSC},
  year = {2023},
  doi = {10.1109/itsc57777.2023.10422072},
}
Figure