Introduction
Multi-agent Path Finding (MAPF) is a fundamental challenge in robotics, particularly in automated logistics and warehouse management. While traditional "one-shot" MAPF focuses on moving a fleet from static start positions to fixed goals, real-world applications require iterative MAPF. In these dynamic environments, robots constantly receive new tasks upon completing old ones, making centralized, offline planning computationally expensive and brittle to local delays.
This paper introduces Priority Inheritance with Backtracking (PIBT), a decentralized, lightweight algorithm designed for iterative MAPF. PIBT enables agents to navigate complex environments by planning only one step ahead, utilizing dynamic priorities and a recursive coordination protocol to prevent deadlocks.
The Challenge: Priority Inversion and Deadlocks
Decentralized MAPF often relies on prioritized planning, where agents with higher priority move first. However, this frequently leads to priority inversion: a high-priority agent is blocked by a low-priority agent, which itself cannot move because its only available path is occupied by the high-priority agent. Without a coordination mechanism, these situations result in permanent deadlocks.
The PIBT Algorithm
PIBT operates on a discrete time-step basis, requiring agents to communicate only with neighbors within a small local radius (typically two hops). The algorithm relies on three integrated mechanisms:
1. Dynamic Priorities
To ensure fairness and prevent starvation, every agent is assigned a unique priority at each timestep. This priority is dynamic; it increases the longer an agent has been waiting to reach its current goal. This ensures that even the lowest-priority agent will eventually become the "highest priority" in its local neighborhood, forcing others to yield.
2. Priority Inheritance
Inspired by real-time operating systems, PIBT employs priority inheritance to resolve blocking. If a high-priority agent $a_i$ intends to move to a node occupied by a lower-priority agent $a_j$, $a_j$ temporarily inherits the priority of $a_i$. This boost empowers $a_j$ to move out of the way, effectively clearing the path for the higher-priority agent.
3. Backtracking Protocol
When an agent attempts its preferred move but finds the target node occupied by an agent that cannot move (even with inherited priority), it initiates a backtracking protocol. The agent informs the previous agent in the decision chain that the proposed move is invalid. This prompts the preceding agent to attempt its next-best alternative move, recursively resolving local congestion.
Theoretical and Empirical Results
The authors provide a critical theoretical guarantee: in biconnected graphs (where every pair of adjacent nodes belongs to a simple cycle of length $\ge 3$), the highest-priority agent is always guaranteed to be able to move. This property is common in warehouse grid layouts.
Empirically, PIBT demonstrates exceptional scalability. In large-scale benchmarks (e.g., the ost003d map), the algorithm coordinated 500 agents with a runtime of approximately 30ms per timestep. In Multi-agent Pickup and Delivery (MAPD) tasks, PIBT significantly outperformed standard Token Passing (TP) algorithms in both makespan and average service time, as it allows for more fluid agent movement compared to rigid task-endpoint protocols.
Conclusion and Future Work
PIBT offers a robust, decentralized solution for high-density iterative MAPF. While it struggles in extremely cramped environments (over 50% occupancy in small grids), its speed and deadlock-avoidance properties make it ideal for large-scale industrial applications. Future work includes adapting the algorithm for asynchronous movement and exploring more sophisticated valuation functions for local path selection.
Summary updated