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

Yining Ma, Qadeer Khan, Daniel Cremers

Introduction

Navigating multiple autonomous agents through unconstrained environments—such as open warehouses, parking lots, or fields—presents a significant computational challenge. A successful controller must simultaneously manage the trajectories of multiple vehicles to reach their respective goals while avoiding collisions with both static obstacles and other dynamic agents.

Historically, this problem has been approached through two primary lenses: optimization-based methods and Reinforcement Learning (RL). While optimization methods like Sequential Least Square Programming (SLSQP) provide high precision and safety, their computational complexity scales poorly with the number of agents, often rendering them unusable for real-time applications. Conversely, RL approaches offer fast inference but suffer from extreme sample inefficiency, requiring millions of iterations to learn basic physical constraints. This paper proposes a Centralized Attention-based Graphical Neural Network (A-GNN) controller that bridges this gap, offering the reliability of optimization-based labels with the real-time performance of neural networks.

Methodology

Graph Representation and Attention Mechanism

The framework utilizes a centralized A-GNN architecture where the environment is modeled as a graph. Each vehicle and static obstacle is represented as a node. To capture the complex interactions between entities, the model employs a novel attention mechanism inspired by U-Net architectures. This structure uses shared encoder weights and skip connections to extract high-dimensional features from the relative positions and velocities of neighboring agents. By focusing on relative states rather than absolute coordinates, the model learns the underlying relational physics of collision avoidance.

Data Generation via Offline Optimization

To train the network without the need for manual labeling or the instability of pure RL, the authors utilized an offline supervision strategy. They employed SLSQP optimization to generate a dataset of "expert" trajectories. The optimization objective was defined by a cost function that penalized distance to the goal and proximity to obstacles. These optimal control actions—specifically steering angles and pedal acceleration—were then used as ground-truth labels for supervised learning.

Kinematic Constraints

To ensure the model's outputs are applicable to real-world hardware, the system incorporates a standard kinematic bicycle model. This ensures that the predicted commands respect the physical limits of vehicle movement, such as turning radii and acceleration bounds, rather than treating agents as simple point masses.

Experimental Setup and Datasets

Due to the lack of existing benchmarks for multi-agent kinematic navigation in unconstrained spaces, a custom dataset was developed.

  • Training Data: Scenarios were limited to 1–3 vehicles and 0–4 static obstacles to keep the optimization-based label generation computationally feasible.
  • Scale: The final dataset comprised approximately 20,961 trajectories, encompassing over 2.5 million individual timesteps.
  • Generalization Testing: To evaluate the robustness of the relational learning, the model was tested on "stress-test" scenarios involving up to 6 vehicles—double the maximum number encountered during the training phase.

Key Results and Insights

Zero-Shot Generalization

The A-GNN demonstrated a remarkable ability to generalize to larger swarms. Because the GNN architecture focuses on the relationships between nodes rather than a fixed global state, it successfully managed 6-vehicle scenarios with an 87% success-to-goal rate. In contrast, baseline models like GAIN or TransformerConv saw their success rates plummet to below 20% when scaled beyond their training parameters.

Safety and Conservative Behavior

The A-GNN achieved collision rates 10x to 20x lower than competing GNN variants. Interestingly, the model occasionally exhibited "conservative" failures, where a vehicle would stop mid-path rather than risk a high-speed collision. The authors interpret this as a successful transfer of the optimization cost function's priorities: the model learned that a standstill is preferable to a crash.

Real-Time Efficiency

While the optimization-based approach required over 500 milliseconds to calculate a single step for multiple agents, the A-GNN inference time remained consistently under 10 milliseconds on a standard CPU. This 50x speedup makes the controller viable for high-speed, real-time autonomous operations.

Conclusion and Future Work

The Centralized A-GNN controller provides a robust solution for multi-agent navigation, combining the safety of classical optimization with the speed of deep learning. While the current model requires a centralized "god's eye view" of the environment, it establishes a strong foundation for future decentralized iterations.

One promising avenue for future research is using this supervised A-GNN as a "warm start" for Reinforcement Learning. By initializing an RL agent with a model that already understands basic safety and navigation, researchers can bypass the initial sample-efficiency hurdles and focus on fine-tuning complex, high-performance behaviors in even more cluttered environments.

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