Traffic Flow Optimisation for Lifelong Multi-Agent Path Finding

Zhe Chen, Daniel Harabor, Jiaoyang Li, Peter J. Stuckey

Presented at AAAI-24, this research introduces a novel framework to mitigate congestion in large-scale Multi-Agent Path Finding (MAPF). By integrating concepts from urban traffic engineering, the authors replace traditional "selfish" shortest-path heuristics with congestion-aware "guide paths," enabling thousands of agents to navigate dense environments with significantly higher throughput and reduced delays.

The Challenge: The Free-Flow Trap

Multi-Agent Path Finding is critical for the operation of robot swarms in automated warehouses and sortation centers. Current approaches generally fall into two categories: computationally expensive search-based methods that struggle to scale, and fast rule-based methods (like PIBT) that are often "myopic."

Rule-based planners typically rely on "free-flow" heuristics, directing every robot toward its goal via the absolute shortest path as if no other agents exist. In high-density scenarios, this leads to the "free-flow trap": thousands of robots converge on the same bottlenecks, creating massive traffic jams and gridlock. This paper addresses this by injecting global traffic awareness into high-speed, rule-based planners.

Methodology: Congestion-Aware Guide Paths

The core innovation is the development of Guide Paths based on Traffic Congestion Reasoning. Instead of calculating costs based solely on distance, the authors redefine path costs using two primary metrics:

  • Vertex Congestion ($c_v$): An estimate of the delay an agent will encounter at a specific location based on predicted agent density.
  • Contraflow Congestion ($c_e$): A heavy penalty for agents attempting to move in opposite directions through narrow corridors. This prevents high-priority agents from pushing others backward, a common cause of exponential travel time increases.

The system operates in three distinct stages:

  1. Initialisation: Initial paths are computed using a lexicographical cost function that prioritizes avoiding contraflow over minimizing distance.
  2. Refinement: An iterative process, inspired by Large Neighbourhood Search, randomly selects subsets of agents and replans their guide paths to further minimize global congestion.
  3. Execution: These guide paths are converted into a "Guide Heuristic" ($h$-value) for the PIBT algorithm. Rather than simply moving closer to the goal, agents move to stay aligned with their congestion-avoiding guide path.

Experimental Evaluation

The approach was evaluated on four large-scale maps from the MAPF benchmark suite: a synthetic Warehouse, a dense Sortation center, a complex Game map, and a grid of interconnected Rooms. Experiments scaled from 200 up to 12,000 agents, representing some of the largest simulations in current MAPF literature.

Key Results and Insights

The proposed algorithm, specifically the GP-R100-Re10-F2 variant, demonstrated substantial improvements in system performance.

Throughput and Scalability

In lifelong MAPF scenarios—where agents receive new tasks immediately upon completion—the guide path approach significantly outperformed the standard PIBT baseline. In the Warehouse and Game maps, the system maintained high throughput with approximately 2,000 more agents than the baseline before performance degradation occurred.

Throughput and response time performance across four benchmark maps as the number of agents increases.

Real-Time Efficiency

Despite the additional computation required for guide paths, the system remained highly responsive. By utilizing a Lazy Initialisation scheme that spreads path computation over multiple timesteps, the system consistently returned moves for 10,000 agents in under one second per timestep. This prevents the "lag spikes" typically associated with massive pathfinding updates.

Operation records for 10,000 agents in the Warehouse map, showing stable throughput and low response times over 3,000 timesteps.

The Corridor Problem

The authors identified that narrow passages are the primary bottleneck in dense maps. By explicitly penalizing contraflow, the system effectively creates dynamic "one-way streets," preventing the deadlocks and livelocks that plague standard planners.

Limitations and Future Work

While highly effective in most environments, the method showed less improvement in the "Room" map. In environments consisting of single-tile-wide corridors with no alternative routes, congestion-aware routing is limited by the lack of topological options. Future work will focus on automating the balance between detour distance and congestion avoidance and developing more precise objective functions to predict time-dependent agent interactions.

Summary updated

BibTeX
@inproceedings{chen2024traffic,
  author = {Zhe Chen and Daniel Harabor and Jiaoyang Li and Peter J. Stuckey},
  title = {{Traffic Flow Optimisation for Lifelong Multi-Agent Path Finding}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i18.30054},
}
Figure