Traffic Flow Optimisation for Lifelong Multi-Agent Path Finding

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

Abstract

Lifelong Multi-Agent Path Finding (MAPF) is critical for the efficiency of large-scale automated warehouses. However, existing "myopic" algorithms often lead to severe congestion and "gridlock" as agents compete for the same optimal paths. This paper, presented at AAAI 2024, introduces a congestion-aware guidance system that incorporates traffic engineering principles to optimize flow. By penalizing vertex crowding and contraflow, and steering agents toward a User Equilibrium, the proposed method enables the coordination of over 10,000 agents with significantly higher throughput and lower response times than current state-of-the-art baselines.

Introduction

Multi-Agent Path Finding (MAPF) involves navigating a fleet of robots from start to goal locations without collisions. In "lifelong" scenarios, such as fulfillment centers, robots are continuously assigned new tasks. Current large-scale solutions often rely on algorithms like Priority Inheritance with Backtracking (PIBT), which use "free-flow" heuristics. While computationally efficient, these methods ignore the collective impact of agent movement, leading to bottlenecks in high-traffic areas. This paper addresses these limitations by reasoning about traffic flow over time, effectively transforming MAPF from a simple pathfinding problem into a traffic assignment problem.

Methodology: Congestion-Aware Guidance

The core of the proposed framework is the replacement of shortest-path heuristics with congestion-aware guide paths. The authors identify two primary drivers of congestion:

  1. Vertex Congestion ($c_v$): Delay caused by multiple agents attempting to enter the same location simultaneously.
  2. Contraflow Congestion ($c_e$): Significant penalties incurred when agents move in opposite directions through narrow corridors, often leading to livelocks.
Illustration of vertex and contraflow congestion in a narrow corridor.

To mitigate these, the system aims for a User Equilibrium, a state where no agent can reduce their travel time by unilaterally switching paths. This is achieved using FOCAL Search, which balances travel distance with traffic costs. A lexicographical optimization approach is employed, prioritizing the minimization of contraflow over travel time to ensure the creation of "one-way streets" within the environment. To maintain responsiveness, the system uses a Lazy Initialization scheme, computing guide paths for subsets of agents over multiple timesteps.

Experimental Evaluation

The approach was evaluated on four distinct maps from the standard MAPF benchmark suite:

  • Warehouse: A 500x140 synthetic center (up to 12,000 agents).
  • Sortation: A dense center with 92% occupancy (up to 1,400 agents).
  • Game (ost003d): A 194x194 video game map.
  • Room: A 64x64 grid of interconnected rooms.

Results and Discussion

The proposed guided approach, particularly the GP-R100-Re10-F2 variant, demonstrated substantial performance improvements in high-density scenarios.

Throughput and response time performance across different map types and agent densities.

As shown in the results, the system successfully managed over 10,000 agents in the Warehouse map, maintaining steady throughput where baseline performance typically plummets. In the Sortation map, the congestion-aware paths significantly outperformed standard PIBT.

However, the "Room" map presented a unique challenge. Due to its many single-width corridors where two-way traffic is physically impossible, there was little "slack" for the algorithm to find alternative routes, resulting in less pronounced improvements. Despite this, the system maintained a response time of under one second per timestep even at the largest scales, proving its computational efficiency.

Conclusion

By borrowing concepts from urban traffic engineering, this research provides a scalable solution to the gridlock problem in massive robotic fleets. The shift from shortest-path heuristics to congestion-aware guide paths allows for higher agent densities and improved operational efficiency in complex, lifelong MAPF environments. Future work will focus on automating the tuning of heuristic parameters to further generalize the approach across diverse map topologies.

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