Accelerating Multi-Agent Planning Using Graph Transformers with Bounded Suboptimality

Chenning Yu, Qingbiao Li, Sicun Gao, Amanda Prorok · DOI

Introduction

Multi-Agent Path Finding (MAPF) is the task of coordinating the movement of multiple agents to their respective goals without collisions. While this is a foundational problem in robotics and logistics, it is computationally NP-hard. The Conflict-Based Search (CBS) algorithm is the standard for finding optimal solutions, but it scales poorly as the number of agents or the complexity of the environment increases.

In non-grid settings, such as continuous spaces represented by dense geometric graphs, the bottleneck often shifts from the search itself to the calculation of heuristics. Traditional bounded-suboptimal variants like Enhanced CBS (ECBS) rely on handcrafted heuristics that require frequent and expensive collision checking. This paper proposes a novel solution: replacing these manual calculations with a learned heuristic powered by a Graph Transformer, integrated into a search framework that preserves mathematical guarantees of completeness and bounded suboptimality.

Methodology

The authors' framework bridges the gap between deep learning and classical search through three key components:

1. Graph Transformer Architecture

The model utilizes a two-stage neural architecture designed to handle the spatial and temporal complexities of MAPF:

  • Message Passing Neural Network (MPNN): This stage embeds the physical layout of the environment, capturing the connectivity and constraints of the non-grid graph.
  • Transformer Encoder: This stage processes the paths of all agents. It incorporates Temporal Encoding to account for the timing of agent movements and Agent Identifiers to distinguish between individual agents, allowing the model to predict potential future conflicts.

2. Supervised Contrastive Learning

Rather than training the model to predict an exact "cost-to-go" (regression), which is notoriously difficult in complex search spaces, the authors use a ranking-based approach. Through supervised contrastive loss, the model learns to rank search nodes. It is trained to assign lower scores to nodes that lead to feasible solutions compared to their "dead-end" siblings, effectively guiding the search toward productive branches.

3. Focal Search Integration

To ensure the system remains reliable for safety-critical applications, the learned model is integrated into a Focal Search variant of CBS. This allows the planner to utilize the Graph Transformer's predictions to prioritize nodes while guaranteeing that the final solution cost never exceeds the optimal cost by more than a user-defined suboptimality factor ($w$).

Experimental Results

The researchers evaluated the framework in two challenging non-grid environments: Maze (geometric graphs with tight corridors) and Box (scattered rectangular obstacles). The model was trained on small instances (2–10 agents) and tested on its ability to generalize to larger groups.

Performance and Success Rates

The proposed method demonstrated a significant advantage in complex scenarios. In a 14-agent Maze task with a suboptimality bound of $w=1.1$, the Graph Transformer-guided search achieved a 47% success rate. In contrast, both traditional CBS and ECBS failed to solve a single instance within the 5-minute time limit.

Computational Efficiency

A primary insight of the study is that in dense graphs, calculating traditional heuristics is often slower than the search itself. The learned heuristic proved remarkably efficient, consuming only 15% of the total computation time. In comparison, the handcrafted heuristics in ECBS consumed the majority of the runtime due to the overhead of edge-collision checking. Overall, the proposed method reduced total computation time by 50% compared to standard CBS while maintaining high solution quality.

Generalization

Despite being trained on a maximum of 10 agents, the model successfully guided planning for up to 26 agents. This suggests that the Graph Transformer captures fundamental patterns of agent conflict and navigation that are independent of the specific number of agents or map configurations.

Conclusion and Future Work

This research demonstrates that learned heuristics can significantly accelerate MAPF in complex, non-grid environments without sacrificing theoretical bounds on solution quality. By framing heuristic estimation as a ranking problem and leveraging the spatial-reasoning capabilities of Graph Transformers, the authors provide a scalable path forward for multi-agent coordination.

Future work aims to transition these results from simulated 2D spaces to real-world robotic hardware. Additionally, the authors seek to address the "100x scaling" challenge, moving toward environments with hundreds or thousands of agents, and exploring ways to generate training data for instances that are currently unsolvable by classical CBS.

Summary updated

BibTeX
@inproceedings{yu2023accelerating,
  author = {Chenning Yu and Qingbiao Li and Sicun Gao and Amanda Prorok},
  title = {{Accelerating Multi-Agent Planning Using Graph Transformers with Bounded Suboptimality}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2023},
  doi = {10.1109/icra48891.2023.10161018},
}
Figure