Multi-Agent Path Finding for Large Agents Is Intractable

Artem Agafonov, Konstantin Yakovlev

TL;DR

This paper proves that the Multi-Agent Path Finding problem for agents with physical size (LA-MAPF) is NP-hard. This is a significant theoretical result because it implies that, unlike the simpler version without agent sizes, no efficient polynomial-time algorithm can solve LA-MAPF for all cases, unless P=NP.

What Problem Does This Paper Address?

The Multi-Agent Path Finding (MAPF) problem is about finding collision-free paths for multiple agents on a graph. The "classical" MAPF assumes agents are point-like, and conflicts arise only if agents occupy the same vertex or edge at the same time. However, in real-world applications like robotics, agents have physical dimensions. This leads to "Large Agent MAPF" (LA-MAPF), where an agent moving along an edge can collide with another agent that is stationary at a vertex, even if they don't share the exact same space. While classical MAPF is solvable in polynomial time, the computational complexity of LA-MAPF remained an open question. This paper addresses this gap by formally establishing the computational difficulty of LA-MAPF.

Methods

The core of this paper's contribution is a reduction from the well-known NP-complete problem, 3-SAT, to the LA-MAPF decision problem. This is a standard technique to prove NP-hardness. The authors construct a specific graph and define agent start/goal positions and their radius based on an arbitrary 3-SAT formula. They then demonstrate that a solution exists for the constructed LA-MAPF instance if and only if the original 3-SAT formula is satisfiable. This construction involves three types of "gadgets":

  • Variable Gadgets: Represent boolean variables (true/false) using agent positions in different vertices.
  • Clause Gadgets: Represent clauses, where agents must navigate through specific vertices to satisfy the clause's conditions.
  • Blocking Gadgets: Used to enforce constraints and ensure that agents only move when necessary, preventing premature or incorrect movements that could invalidate the reduction.

The paper also outlines algorithms for converting a 3-SAT solution to an LA-MAPF solution and vice-versa, proving the equivalence.

Datasets

Not discussed in the paper. The paper focuses on theoretical complexity and uses a constructed problem instance based on 3-SAT, rather than empirical evaluation on datasets.

Key Insights and Ideas

  • The "Size" Matters (Computationally): The introduction of agent size, which seems like a minor practical adjustment, fundamentally increases the problem's computational complexity from polynomial to NP-hard. This highlights how seemingly small changes in problem formulation can have profound implications for solvability.
  • Bridging Theory and Practice: The paper provides a theoretical justification for why finding optimal or even feasible solutions for real-world multi-robot coordination with physical agents is inherently difficult. This explains the need for heuristic or approximate algorithms in practice.
  • The Power of Reduction: The successful reduction from 3-SAT to LA-MAPF is a testament to the elegance and power of theoretical computer science tools in understanding the limits of algorithmic problem-solving.

Key Results

The primary result is the proof that the decision variant of LA-MAPF is NP-hard. This means that, unless P=NP, there cannot exist a polynomial-time algorithm that can solve any instance of LA-MAPF. The paper constructs a polynomial-sized graph and a polynomial number of agents for the reduction, ensuring the reduction itself is efficient.

Limitations and Future Work

  • Undirected Graphs: The NP-hardness proof is for undirected graphs. The complexity on directed graphs or specific graph structures (like grids or planar graphs) is not fully explored by this reduction, though the authors suggest these might be areas for future research.
  • Simultaneous Moves: The current reduction assumes agents move one at a time. The paper notes that extending this to handle simultaneous, non-conflicting moves of multiple agents could be a direction for future work, as such moves might not always be decomposable into single-agent steps.
  • Belongs to NP? While the paper proves LA-MAPF is NP-hard, it doesn't prove it's in NP. Showing that a solution can be verified in polynomial time would establish NP-completeness, which would be a stronger theoretical result. The authors suggest that demonstrating a polynomial-length solution exists could be a path to proving membership in NP.
  • Practical Algorithms: The paper's focus is theoretical. Future work could involve developing more efficient algorithms (e.g., faster exponential-time algorithms or better heuristics) for practical LA-MAPF instances, given the established intractability.

Summary updated

BibTeX
@inproceedings{agafonov2025multi,
  author = {Artem Agafonov and Konstantin Yakovlev},
  title = {{Multi-Agent Path Finding for Large Agents Is Intractable}},
  booktitle = {WoMAPF @ AAAI},
  year = {2025},
  url = {https://openreview.net/forum?id=1em80B9t9x},
}
Figure