ITA-ECBS: A Bounded-Suboptimal Algorithm for the Combined Target-Assignment and Path-Finding Problem

Yimin Tang, Sven Koenig, Jiaoyang LiarXiv 2024

TL;DR

ITA-ECBS is the first bounded-suboptimal algorithm for the Combined Target-Assignment and Path-Finding (TAPF) problem that utilizes a single constraint tree. By introducing a novel lower-bound matrix to manage target assignments, it achieves significantly higher efficiency than previous methods, running faster than the prior state-of-the-art in over 87% of tested cases.

What Problem Does This Paper Address?

In robotics, Multi-Agent Path Finding (MAPF) involves finding collision-free paths for a group of robots moving to pre-assigned targets. However, in many real-world scenarios like automated warehouses, robots don't have fixed targets; they just need to pick up any available shelf. This is the Combined Target-Assignment and Path-Finding (TAPF) problem.

Solving TAPF optimally is computationally expensive (NP-hard). Existing optimal solvers like ITA-CBS struggle to scale. On the other hand, the only previous "bounded-suboptimal" solver (which guarantees a solution cost within a specific factor, $w$, of the optimal) was ECBS-TA. ECBS-TA has two major bottlenecks:

  1. It maintains a "forest" of multiple constraint trees, leading to redundant searches.
  2. It relies on a time-consuming "K-best" assignment algorithm to find the next best way to pair agents with targets.

Methods

The authors propose ITA-ECBS, which adapts the single-tree structure of the optimal ITA-CBS algorithm into a bounded-suboptimal framework.

The core challenge in making this transition is the "unbounded problem." In standard MAPF, targets are fixed. In TAPF, the best target assignment can change as new constraints are added to resolve collisions. If you simply apply standard focal search (a common bounded-suboptimal technique) to ITA-CBS, the changing assignments can lead to solutions that exceed the user-defined suboptimality bound $w$.

Figure 1: This figure shows the unbounded problem if we di- rectly use ECBS in ITA-CBS. We have 2 agents {X, Y } and target sets X:{A, B} and Y :{A, B, C}. Red numbers repre- sent the matrix’s optimal TA solution. Orange cells represent the row update since the new constraint is related to only one agent. The suboptimality factor w is 2. ITA-CBS utilizes Mc to obtain the optimal TA solution. Here, πta is the TA solu- tion of Mc. c represents the flowtime based on πta. cL is the sum of LB values selected from ML based on πta. Real cL is the cost of the optimal TA solution of ML. d(H) represents the user-defined heuristic function used in FOCAL.

To fix this, ITA-ECBS introduces:

  • Lower Bound (LB) Matrix ($M_L$): A matrix that stores the lower bound costs for every agent-target pair. The algorithm derives the target assignment from this matrix rather than the actual cost matrix, ensuring the theoretical suboptimality bound is maintained.
  • Single Constraint Tree (CT): Unlike ECBS-TA, ITA-ECBS searches for the valid solution within one tree, using a Dynamic Hungarian algorithm to update target assignments in $O(NM)$ time—much faster than the $O(N^3M)$ required for K-best assignments.
  • SearchWithLB: An enhanced low-level search that uses true shortest path costs as a guideline to find valid paths more quickly within the allowed cost bound.
Figure 3: ITA-ECBS overview: There are two CT nodes {H0, H1} in OPEN. (1) Although H0 has a lower cL value and precedes H1 in OPEN, the heuristic function d(H) may result in H1 being selected for expansion. (2) We verify whether H1.π is collision-free. If not, we generate two child CT nodes with new constraint sets Ω2 and Ω3 and then use focal search to obtain new ML and Mc for each node. A new ML leads to a new πta and cL. The updated πta and Mc give us a bounded-suboptimal solution π and the cost c. We then calculate d(H). (3) We insert these two nodes into OPEN, indicated by the red values. (4) All CT nodes in OPEN with cost c ≤w · H0.cL are added to FOCAL. H2 could be posi- tioned ahead of H0 in FOCAL by the heuristic function d.

Datasets

The algorithm was evaluated using the standard MAPF Benchmark (Stern et al. 2019). The authors tested 76,800 cases across 8 diverse maps, including:

  • Grid maps: random-32-32-10, empty-32-32.
  • Game maps: den312d (Dragon Age: Origins).
  • Structured maps: maze-32-32-2, room-64-64-8, and a warehouse map.
  • Large-scale maps: orz900d and Boston-0-256.

Agent counts ranged from 10 to 150, with varying percentages of shared targets among agents.

Key Insights and Ideas

  • Theoretical Safety via $M_L$: The most critical "aha moment" is realizing that in TAPF, the lower bound of the entire problem depends on the target assignment. By pinning the assignment to the lower-bound matrix $M_L$, the authors prevent the algorithm from "tricking" itself into a suboptimal solution that violates the $w$ bound.
  • Efficiency of Unity: Moving from a forest of trees to a single tree eliminates massive amounts of redundant pathfinding.
  • Guidance over Exploration: The final version of ITA-ECBS moves away from standard focal search at the low level. Instead, it calculates the true shortest path first and uses that cost to bound a second search that prioritizes avoiding collisions. This "two-pass" approach is counter-intuitively faster because it provides better guidance.

Key Results

  • Speed: ITA-ECBS outperformed the baseline ECBS-TA in 87.42% of the 54,033 successfully solved test cases.
  • Significant Acceleration: In nearly a quarter (24.71%) of cases, ITA-ECBS was more than 5 times faster than the baseline.
  • Scalability: As shown in the runtime scatter plots, ITA-ECBS consistently stays below the 1x parity line, especially as the suboptimality factor $w$ increases.
Figure 2: Runtime comparison between ECBS-TA and ITA-ECBS across different suboptimality factors. Points below the diagonal indicate ITA-ECBS is faster.

Limitations and Future Work

The authors note that their high-level heuristic ($d(n)$), which counts collisions to prioritize which nodes to expand, can be inaccurate. Because target assignments change between parent and child nodes in the constraint tree, the paths of agents not involved in a collision might still change, making it hard to maintain a perfect collision count.

Future work could involve designing more sophisticated heuristics that account for these shifting target assignments to further prune the search space.

Summary updated

BibTeX
@misc{tang2024ita,
  author = {Yimin Tang and Sven Koenig and Jiaoyang Li},
  title = {{ITA-ECBS: A Bounded-Suboptimal Algorithm for the Combined Target-Assignment and Path-Finding Problem}},
  year = {2024},
  eprint = {2404.05223},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.05223},
}
Figure