Learned Representations Enhance Multi Agent Path Planning

Marius Captari, Herke van HoofPRAL @ ICML 2025

TL;DR

This paper tackles the challenge of finding optimal paths for multiple agents in complex environments by training a neural network to "reshape" the problem's representation. This allows a fast, but often suboptimal, planning algorithm (Prioritized Planning) to produce significantly better solutions without sacrificing its efficiency.

What Problem Does This Paper Address?

Coordinating multiple agents to navigate a shared space without collisions (Multi-Agent Pathfinding or MAPF) is crucial for applications like warehouse robotics and drone swarms. While classical planning methods offer guarantees, they struggle with large-scale problems. Heuristic-based planners are faster but often yield suboptimal paths. Existing approaches to combine learning with planning have focused on tweaking local decisions (like agent priority), but this paper aims to improve solutions by globally altering the representation of the planning problem itself, making it more amenable to a fast heuristic solver.

Methods

The core idea is to train a neural network to predict instance-specific edge costs within the planning graph. These learned costs are then fed into Prioritized Planning (PP), a standard heuristic solver. The challenge is that PP is a discrete, non-differentiable algorithm, making direct backpropagation impossible. To overcome this, the authors employ a "black-box differentiation" technique. This involves running PP twice with slightly perturbed edge costs to approximate gradients, allowing for end-to-end training of the neural network. The neural network learns to adjust edge costs to guide PP towards solutions that are closer to optimal, as defined by a more powerful (but slower) solver like EECBS.

Datasets

The experiments were conducted on scenarios from the random-32-32-20 map, a standard benchmark from the MAPF community. They considered instances with 50, 75, and 100 agents to evaluate performance under varying levels of congestion. Expert plans for training were generated using Enhanced Edge-Conflict Based Search (EECBS).

Key Insights and Ideas

  • Global Representation Matters: Instead of just improving local decisions, modifying the entire graph representation can significantly boost the performance of existing heuristic planners.
  • Bridging the Gap: Black-box differentiation offers a practical way to integrate discrete, non-differentiable solvers into learning pipelines, enabling end-to-end optimization.
  • Learned Costs Guide Heuristics: The neural network learns to "shape" the problem by assigning costs that implicitly encode information about potential conflicts and efficient routes, making the heuristic solver more effective.
  • Efficiency Preserved: The learned representation doesn't fundamentally change the PP algorithm's internal workings, meaning the speed benefits of PP are largely retained.

Key Results

The proposed method, using both a direct edge-cost prediction model and a GraphSAGE-based model, consistently reduced the optimality gap of Prioritized Planning compared to its original uniform-cost baseline. For instance, with 100 agents, the GNN model reduced the optimality gap from 118.9% to 95.9% relative to EECBS. Crucially, this improvement came with minimal overhead; the planning time increased by only about 0.008 seconds per scenario, preserving scalability.

Limitations and Future Work

The authors acknowledge that their experiments were conducted on a single map topology. Future work should explore generalization to diverse graph structures and investigate expert-free approaches, such as reinforcement learning, to reduce reliance on costly expert demonstrations for training.

Summary updated

BibTeX
@inproceedings{captari2025learned,
  author = {Marius Captari and Herke van Hoof},
  title = {{Learned Representations Enhance Multi Agent Path Planning}},
  booktitle = {PRAL @ ICML},
  year = {2025},
  url = {https://openreview.net/forum?id=rpjWkcL7eS},
}
Figure