Introduction
Multi-Agent Path Finding (MAPF) is a critical challenge in robotics, requiring a team of agents to navigate to their respective destinations without collisions. Traditionally, MAPF is approached as an offline optimization problem where agents remain stationary until a central planner computes a complete, often near-optimal, path. However, this "plan-then-act" paradigm introduces a significant "wait cost." If a high-quality planner requires 30 seconds to find a solution, the total Goal Achievement Time (GAT) is delayed by that duration for every agent. In large-scale systems, this initial delay can outweigh the benefits of a shorter path.
The PIE Framework
To address this bottleneck, we propose the Planning and Improving while Executing (PIE) framework. PIE shifts the focus from finding a perfect plan upfront to starting execution immediately with a suboptimal plan and refining it concurrently. The framework operates in four iterative steps:
- Initial Planning ($T_{init}$): A fast, scalable solver (e.g., LaCAM*) generates a valid initial plan within a strict time limit (e.g., 1 second).
- Commitment ($k$): Agents commit to executing the first $k$ steps of this plan.
- Concurrent Improvement: While agents are in motion, the system utilizes the execution time to run an anytime improvement algorithm (e.g., MAPF-LNS) on the remaining path segments.
- Iteration: As agents complete their $k$ steps, they transition to the newly optimized plan segments and the process repeats.
As shown in Figure 1, PIE effectively eliminates the massive upfront wait cost. By treating execution time as a computational resource, PIE achieves a final path quality comparable to offline anytime planners but with a much lower total GAT.
Experimental Evaluation
We evaluated PIE in both one-shot and lifelong MAPF scenarios using standard grid-based benchmarks, including random obstacle maps and warehouse-like structures. We compared PIE against state-of-the-art baselines: MAPF-LNS (offline improvement), LaCAM (scalable search), and RHCR* (for lifelong scenarios).
Two variants of PIE were tested for lifelong MAPF:
- $PIE_F$ (Focused): Replans only for agents affected by new goal assignments.
- $PIE_L$ (Large-scale): Replans for the entire team to resolve congestion more effectively.
Key Results and Insights
Our results demonstrate that PIE consistently outperforms traditional offline methods in terms of throughput and completion time. In lifelong scenarios, PIE variants maintain higher throughput as agent density increases, whereas traditional rolling-horizon methods like RHCR often suffer from performance degradation due to planning overhead.
In crowded environments, $PIE_L$ proved more robust than $PIE_F$. This is because high agent density often requires global coordination to "unblock" paths, a task that local replanning struggles to achieve. By optimizing for the entire group during execution, PIE maintains high efficiency even at the limits of map capacity.
Conclusion and Future Work
The PIE framework demonstrates that interleaving planning and execution is a superior strategy for large-scale MAPF compared to traditional offline planning. By minimizing wait costs and exploiting "free" CPU time during movement, PIE achieves faster goal achievement and higher throughput. Future research will focus on adapting PIE to handle stochastic execution delays and exploring decentralized communication strategies to further scale the framework for real-world robotic deployments.
Summary updated