Streaming Multi-agent Pathfinding

Mingkai Tang, Lu Gan, Kaichen Zhang

Introduction

In modern manufacturing, the transition from static conveyors to flexible robotic fleets presents a significant Multi-agent Pathfinding (MAPF) challenge. While traditional MAPF focuses on moving a set of agents from start to goal once, industrial assembly lines operate on a continuous "production rhythm." This creates an "infinite horizon" problem where the number of agents grows linearly with time, making standard NP-hard MAPF solvers computationally infeasible for long shifts.

Overview of agent streams navigating a grid environment.

This paper introduces Streaming MAPF (S-MAPF), a framework where agents are organized into periodic "streams." Each agent in a stream follows the same sequence of moves, delayed by multiples of a fixed cycle time $c$. This structure ensures predictability, a critical requirement for safe human-robot collaboration in industrial settings.

Agent Stream Conflict-Based Search (ASCBS)

To solve S-MAPF efficiently, the authors developed Agent Stream Conflict-Based Search (ASCBS). This algorithm adapts the popular Conflict-Based Search (CBS) framework to handle periodic streams through a specialized two-level architecture:

  • High-Level (Constraint Tree): This level detects collisions between infinite streams and imposes cyclical constraints to resolve them.
  • Low-Level (A* Search): This level finds the shortest path for a single stream that respects all constraints imposed by the high-level.

Cyclical Constraints: Collapsing Infinity

The core innovation of ASCBS is the use of cyclical vertex and edge constraints. In standard MAPF, a constraint blocks a specific $(x, y)$ coordinate at a specific time $t$. In S-MAPF, because agents repeat every cycle $c$, a collision at time $t$ implies a collision for all future agents in that stream at $t + c, t + 2c, \dots$.

A Cyclic Vertex Conflict identified between two streams, $as_0$ and $as_1$, at location B2.

By using modulo arithmetic ($t \equiv q \pmod c$), ASCBS can block space-time for an entire infinite stream simultaneously. This approach effectively "collapses" an infinite-time problem into a finite planning window, allowing the solver to plan for eternity in a single pass. The authors also implemented "disjoint splitting" to more effectively prune the search space by creating mutually exclusive constraints (e.g., forcing an agent to be at a location vs. forbidding it).

Evaluation and Results

The algorithm was evaluated using standard maps from the MAPF Benchmark Set, including empty-8-8, random-64-64-10, and the large-scale Paris_1_256 map.

  • Constant-Time Scalability: Unlike traditional CBS, which sees exponential runtime growth as the time horizon increases, ASCBS maintains constant runtime. The complexity depends on the number of streams and cycle length, not the total duration of the robot shift.
  • Optimality and Completeness: The authors mathematically proved that ASCBS is both optimal (finding the path with the minimum sum-of-costs) and complete (guaranteed to find a solution if one exists).
  • Performance Trade-offs: ASCBS-A-D (using A* and disjoint splitting) showed the highest success rates on small and medium maps. On larger maps like Paris, the version without disjoint splitting performed better, suggesting that the overhead of complex constraints can outweigh pruning benefits in sparse environments.

Conclusion and Future Work

S-MAPF provides a robust solution for periodic industrial tasks by leveraging the cyclical nature of assembly lines. While the current model assumes agents "disappear" into private zones upon reaching goals and share uniform cycle times, it provides a foundation for predictable, infinite-horizon robotic coordination. Future work will address non-uniform cycles, return-to-start logic, and the transition from discrete grids to continuous physical space.

Summary updated

BibTeX
@inproceedings{tang2025streaming,
  author = {Mingkai Tang and Lu Gan and Kaichen Zhang},
  title = {{Streaming Multi-agent Pathfinding}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.24963/ijcai.2025/31},
}
Figure