Lifelong Multi-Agent Path Finding in Large-Scale Warehouses

Jiaoyang Li, Andrew Tinka, Scott Kiesel, Joseph W. Durham, T. K. Satish Kumar, Sven Koenig

TL;DR

This paper introduces Rolling-Horizon Collision Resolution (RHCR), a novel framework for lifelong Multi-Agent Path Finding (MAPF) in large-scale environments like warehouses. RHCR decomposes the problem into manageable "windowed" MAPF instances with a bounded time horizon, enabling efficient and adaptable path planning for continuously arriving goals, significantly outperforming existing methods.

What Problem Does This Paper Address?

The paper tackles the challenge of Multi-Agent Path Finding (MAPF) in dynamic, large-scale environments, specifically focusing on the "lifelong" variant. In traditional MAPF, a set of agents must navigate to their designated goal locations while avoiding collisions. However, in real-world applications like automated warehouses, agents are not static; they are constantly assigned new goals even after reaching their previous ones. This "lifelong MAPF" scenario requires systems that can continuously replan paths efficiently and adapt to a dynamic flow of tasks. Existing methods often struggle with scalability in large environments or require complete knowledge of all future tasks, which is impractical. The paper aims to bridge this gap by proposing a method that can handle a continuous stream of goals in large-scale settings without requiring full foresight.

Methods

The core contribution is the Rolling-Horizon Collision Resolution (RHCR) framework. RHCR addresses lifelong MAPF by breaking it down into a sequence of Windowed MAPF instances. Each instance involves:

  • Bounded Time Horizon: Instead of planning collision-free paths for the entire duration, RHCR only guarantees collision avoidance for a limited time horizon (w timesteps). Beyond this horizon, agents are assumed to follow their shortest paths, with the understanding that future replanning will handle potential issues.
  • Replanning Period: Replanning occurs periodically (every h timesteps), rather than at every single timestep, reducing computational overhead.
  • Sequence of Goals: Agents can be assigned a sequence of goal locations within a single Windowed MAPF episode.
  • Adaptable Path Planning: The framework generates "pliable" plans that can adapt to new goal assignments.

RHCR modifies existing MAPF solvers (like CBS, ECBS, CA*, and PBS) to work within this windowed framework. Key adaptations include:

  • Goal Sequence Handling: A generalized low-level search (Algorithm 1, based on Multi-Label A*) is introduced to plan paths for agents visiting a sequence of goals.
  • Bounded Collision Detection: The collision detection mechanism in MAPF solvers is restricted to the defined time horizon w.

To mitigate deadlocks (situations where agents get stuck and cannot reach their goals), RHCR incorporates a dynamic bounded horizon mechanism. This involves evaluating agent progress and potentially increasing the time horizon if agents are not moving sufficiently towards their goals.

Datasets

The paper uses two types of warehouse maps for evaluation:

  • Fulfillment Warehouse Map: A 33x46 grid with 16% obstacles, featuring inventory pods in the center and workstations on the perimeter. This map is described as "well-formed."
  • Sorting Center Map: A 37x77 grid with 10% obstacles, characterized by chutes in the center and workstations on the perimeter. This map is described as "non-well-formed."

These maps are borrowed from previous work (Wurman et al. 2007 and Wan et al. 2018, respectively) and are used to simulate realistic warehouse scenarios.

Key Insights and Ideas

  • Bounded Horizon is Sufficient for Lifelong MAPF: A crucial insight is that for lifelong MAPF, resolving collisions over the entire future horizon is often unnecessary and can even lead to suboptimal solutions or increased computational cost. A bounded horizon is sufficient because future replanning will handle emerging issues. This is a key difference from regular MAPF.
  • Pliable Plans for Dynamic Environments: RHCR's ability to generate "pliable" plans that adapt to new goals is essential for the continuous nature of lifelong MAPF, leading to higher throughput.
  • Trade-off Between Throughput and Completeness: The paper acknowledges that there's an inherent trade-off between maximizing throughput (getting agents to goals quickly) and guaranteeing completeness (ensuring all agents eventually reach their goals). RHCR prioritizes throughput.
  • Scalability Through Decomposition: Decomposing a large, lifelong MAPF problem into smaller, windowed instances is key to achieving scalability in terms of the number of agents.

Key Results

  • High Throughput: RHCR significantly outperforms existing methods for lifelong MAPF, particularly Method (3) (holding endpoints and reserving dummy paths), in terms of throughput. For example, in fulfillment warehouse applications, RHCR achieved higher throughput than dummy path reservation and holding endpoints.
  • Improved Runtime: By using a bounded time horizon, RHCR achieves substantial runtime reductions (up to a factor of 6) compared to using an infinite horizon, without significantly compromising throughput.
  • Scalability: RHCR demonstrates impressive scalability, successfully handling up to 1,000 agents (representing 38.9% of empty cells on the map) in simulated warehouse instances. This is a significant improvement over prior work that typically scales to far fewer agents.
  • Adaptability: RHCR's performance is relatively insensitive to the specific MAPF solver used (CBS, ECBS, CA*, PBS), highlighting the robustness of the framework.

Limitations and Future Work

  • Incompleteness: The authors acknowledge that RHCR, even with deadlock avoidance, is not guaranteed to be complete. This is due to the inherent trade-off between throughput and completeness, especially in complex intersection scenarios.
  • Dynamic Bounded Horizon: While the dynamic bounded horizon mechanism helps avoid deadlocks, it can introduce runtime overhead as it may require multiple replanning cycles within a single episode.
  • Future Work: The authors suggest several promising avenues for future research:
  • Automatically adjusting the time horizon w based on congestion and planning time budgets.
  • Parallelizing agent grouping and planning.
  • Developing incremental search techniques to reuse search effort from previous planning episodes.

Summary updated

BibTeX
@inproceedings{li2021lifelong,
  author = {Jiaoyang Li and Andrew Tinka and Scott Kiesel and Joseph W. Durham and T. K. Satish Kumar and Sven Koenig},
  title = {{Lifelong Multi-Agent Path Finding in Large-Scale Warehouses}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i13.17344},
}
Figure