Abstract
Real-Time LaCAM is the first Multi-Agent Path Finding (MAPF) algorithm that guarantees completeness while operating under strict millisecond-level time budgets. By incrementally building and "re-rooting" a global search tree across planning cycles, it achieves the same success rates as slow, full-horizon planners but with the responsiveness required for real-world robotics.
Introduction
Multi-Agent Path Finding (MAPF)—the task of moving a team of robots through a crowded space without collisions—is a staple of warehouse automation. Most "complete" algorithms require planning the entire path from start to finish before the robots move, which is often too slow for dynamic environments. Real-time or "windowed" planners that only look a few steps ahead are typically incomplete, leading to livelocks or deadlocks. Real-Time LaCAM addresses this by adapting the high-performance LaCAM (Lazy Constraints Addition Search) algorithm into an incremental framework that maintains global search progress.
Methods
The core innovation of Real-Time LaCAM is the integration of incremental search with a "tree re-rooting" mechanism.
- Incremental DFS: Standard LaCAM uses a lazy Depth-First Search (DFS). Real-Time LaCAM pauses this search when a time budget (e.g., 1ms) is reached, executes the best move found, and resumes in the next cycle.
- Tree Re-rooting: When agents move, the algorithm "re-roots" its global search tree by swapping parent pointers so the current configuration becomes the new root. This ensures search progress is preserved, allowing agents to backtrack if they hit dead ends.
- Configuration Generation: It uses PIBT (Priority Inheritance with Backtracking) as a fast sub-routine to suggest moves, adding constraints over time to ensure exhaustive exploration if necessary.
Key Results
The algorithm was evaluated on the MAPF Benchmark (Stern et al. 2019) using maps like ht_chantry, random-32-32-20, den312d, and warehouse-10-20-10-2-1 with up to 1,000 agents.
- Identical Success Rates: Real-Time LaCAM matches the success rate of full-horizon LaCAM even with per-iteration cutoffs as low as 0.01ms. This "time-budget independence" is a key insight: the algorithm eventually builds the same search tree regardless of how much time is allocated per step.
- Efficiency: Total planning time is nearly identical to full-horizon planners, but distributed across steps, enabling real-time responsiveness.
- ML Integration: It can act as a completeness wrapper for learned policies (e.g., SSIL), significantly improving success rates over standard collision-shielding methods.
Discussion and Future Work
While Real-Time LaCAM guarantees finding a solution, extremely small time budgets can lead to myopic behavior and longer paths. Future work includes merging this approach with heuristic updates to improve path quality and extending the logic to "Engineering LaCAM*" for higher-quality solutions in large-scale environments.
Summary updated