Caching-Augmented Lifelong Multi-Agent Path Finding

Yimin Tang, Zhenghong Yu, Yi Zheng, T. K. Satish Kumar, Jiaoyang Li, Sven KoenigarXiv 2024 · DOI

Introduction

In modern automated warehouses, hundreds of robots navigate complex environments to transport goods from storage shelves to unloading ports. This challenge is typically modeled as Multi-Agent Path Finding (MAPF). While traditional MAPF focuses on one-shot solutions, Lifelong MAPF addresses the continuous nature of warehouse operations, where agents are immediately reassigned new tasks upon completion. However, a significant bottleneck remains: the physical distance between deep storage and ports. Caching-Augmented Lifelong MAPF (CAL-MAPF) addresses this by introducing a dynamic caching layer near unloading ports, inspired by computer architecture, to store high-demand items and reduce travel latency.

Methodology

CAL-MAPF introduces three primary innovations: Cache Grids, a specialized Task Assigner (TA), and a Cache Lock Mechanism. Cache Grids are strategic locations near ports for temporary storage. The TA manages agent behavior through a five-state machine, determining whether an agent fetches from a shelf, a cache, or performs a cache update.

State machine transitions for the Task Assigner (TA) in CAL-MAPF.

To prevent race conditions during cache updates, a locking system is employed. A shared Read Lock allows multiple agents to fetch the same item type simultaneously, while an exclusive Write Lock ensures only one agent can replace a cache item at a time. Furthermore, the system utilizes replacement policies such as Least Recently Used (LRU) to manage cache eviction when capacity is reached.

Experimental Setup

The system was evaluated on a $27 \times 71$ warehouse map with 1,600 shelf grids and varying cache grid counts (up to 80).

Warehouse layout configurations with varying port and cache grid arrangements.

Testing involved three task distributions: the M-K Distribution (temporal locality), the Zhang Distribution (popularity-based 7:2:1), and a Real Data Distribution (RDD) derived from Kaggle warehouse data.

Results and Discussion

Experimental results demonstrate that CAL-MAPF significantly outperforms standard Lifelong MAPF. The use of an LRU policy provided the most consistent performance gains. Key findings include:

  • Physical Caching Efficiency: Reducing travel distance for "hot" items directly improves makespan (the time taken to finish all tasks).
  • Congestion as Latency: High agent density can lead to traffic congestion, which acts as a form of latency that eventually degrades cache hit rates.
  • Lock Stability: The locking mechanism is critical for preventing jittery pathfinding plans caused by mid-journey cache swaps.

The system showed the greatest improvements in skewed distributions (Zhang and MK), where item popularity is concentrated, allowing the cache to stay "hot" with the most useful items.

Conclusion

CAL-MAPF successfully adapts computer architecture principles to physical logistics. Future research will explore predictive task assignment to anticipate demand, dynamic cache locations to mitigate congestion, and more realistic "write-back" costs for returning evicted items to deep storage.

Summary updated

BibTeX
@misc{tang2024caching,
  author = {Yimin Tang and Zhenghong Yu and Yi Zheng and T. K. Satish Kumar and Jiaoyang Li and Sven Koenig},
  title = {{Caching-Augmented Lifelong Multi-Agent Path Finding}},
  year = {2024},
  eprint = {2403.13421},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.13421},
}
Figure