Modifying Optimal SAT-based Approach to Multi-agent Path-finding Problem to Suboptimal Variants

Pavel Surynek, Ariel Felner, Roni Stern, Eli BoyarskiarXiv 2017

TL;DR

This paper introduces two new SAT-based algorithms, uMDD-SAT and eMDD-SAT, designed to find suboptimal solutions for the Multi-Agent Path-Finding (MAPF) problem. By relaxing the strict constraints of optimal SAT solvers, the authors demonstrate that these new variants can significantly outperform state-of-the-art search-based solvers, particularly in dense, high-conflict scenarios where traditional methods struggle.

What Problem Does This Paper Address?

Multi-Agent Path-Finding (MAPF) is the challenge of coordinating a fleet of agents (like robots in a warehouse or characters in a video game) to reach their respective goals without colliding. While finding the absolute best (optimal) solution—minimizing the total time spent by all agents—is mathematically ideal, it is also NP-Hard. As the number of agents increases, the time required to find an optimal solution grows exponentially.

In many real-world applications, a "good enough" solution found quickly is better than a "perfect" solution that takes too long to compute. Existing suboptimal solvers generally fall into two categories: any-solution solvers (which just want a valid path fast) and bounded-suboptimal solvers (which guarantee the solution cost is within a certain percentage, $1+\epsilon$, of the optimum). This paper aims to bring the power of Boolean Satisfiability (SAT) solvers—which have seen massive performance leaps in recent years—to these suboptimal MAPF categories.

Methods

The authors build upon a previous optimal solver called MDD-SAT. The core idea is to represent the MAPF problem as a Time Expansion Graph (TEG), which essentially duplicates the map for every discrete time step.

Figure 1: A TEG for an agent that needs to go from u1 to u3.

To move from optimal to suboptimal, they introduce two modifications:

  1. uMDD-SAT (Unbounded): They simply remove the "cardinality constraints" that force the SAT solver to find the minimum sum-of-costs. This lets the solver return the first valid solution it finds for a given time horizon, making it much faster.
  2. eMDD-SAT (Bounded-Suboptimal): Instead of removing the cost constraint entirely, they relax it. If the optimal cost is $C$, they allow the solver to find any solution with a cost $\le (1+\epsilon)C$.

The "secret sauce" here is the clause learning mechanism built into modern SAT solvers. As the solver explores the problem, it "learns" which combinations of moves are impossible and records them as new constraints, effectively pruning the search space much faster than traditional pathfinding algorithms like A*.

Datasets

The algorithms were evaluated on two types of benchmarks:

  • Standard Grids: $8\times8$, $16\times16$, and $32\times32$ grids with 10% obstacle density. Agent counts ranged from 1 to 256.
  • Dragon Age: Origins (DAO) Maps: Large, structurally complex maps from the game Dragon Age: Origins, specifically brc202d (narrow corridors), den520d (large open spaces), and ost003d (isolated rooms). These are standard benchmarks in the MAPF research community.

Key Insights and Ideas

  • Density Matters: SAT-based solvers shine when agent density is high. In these "hard" instances, the overhead of building the SAT formula is outweighed by the efficiency of the solver's learning mechanism.
  • The Learning Advantage: Search-based methods like ECBS are specifically tuned for MAPF, but they lack the generalized "nogood recording" (learning from failure) that modern SAT solvers possess. The authors attribute their success in hard instances to this specific feature.
  • Suboptimality as a Lever: By relaxing the cost constraints, the authors found they could solve problems that were previously untouchable by optimal SAT solvers, while still maintaining competitive solution quality.

Key Results

  • Success Rates: In dense scenarios (e.g., a $32\times32$ grid with 100 agents), eMDD-SAT achieved a higher success rate than the state-of-the-art ECBS solver, especially when the suboptimality bound $\epsilon$ was small (closer to optimal).
Success rates of bounded variants. eMDD-SAT outperforms ECBS as the bound approaches 1.0 (optimal).
  • Runtime Performance: For "harder" instances (those on the right side of the x-axis in runtime plots), eMDD-SAT consistently solved problems faster than ECBS. However, for "easier" or sparsely populated instances, ECBS remained faster due to the SAT solver's initial setup overhead.
Figure 3: Runtimes of unbounded variants on grids of size 16×16, and 32×32.

Limitations and Future Work

The primary limitation is the overhead. Building the SAT formula and communicating with an external solver takes time. In simple problems with few agents, this overhead makes SAT-based approaches slower than direct search methods.

The authors suggest that future research should focus on integrating SAT-style learning mechanisms directly into specialized MAPF solvers. This would provide the "best of both worlds": the low overhead of a dedicated pathfinder with the powerful pruning capabilities of a SAT solver. They also see potential for applying these bounded-suboptimal SAT techniques to other complex planning problems beyond pathfinding.

Summary updated

BibTeX
@misc{surynek2017modifying,
  author = {Pavel Surynek and Ariel Felner and Roni Stern and Eli Boyarski},
  title = {{Modifying Optimal SAT-based Approach to Multi-agent Path-finding Problem to Suboptimal Variants}},
  year = {2017},
  eprint = {1707.00228},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1707.00228},
}
Figure