Structural Origins of Cubic Complexity in Pebble Motion

Abstract

The pebble motion problem (PMP) asks whether one configuration of labeled pebbles on a graph can be transformed into another by moving pebbles to adjacent unoccupied vertices. It is a fundamental model of graph reconfiguration and is closely related to multi-agent path finding (MAPF). A central open problem since Kornhauser, Miller, and Spirakis (FOCS 1984) is to understand the origin of the classical (N3) worst-case behavior. While it is known that every feasible instance on an N-vertex graph admits a solution sequence of length (N3), it has remained unclear which instances actually require cubic complexity. In this paper, we resolve the long-standing complexity of the pebble motion problem on trees. We show that every feasible instance on an N-vertex tree admits a solution sequence of length (N2 N), computable by an output-sensitive algorithm. Since a lower bound of (N2) is known, this establishes that the (N3) phenomenon does not occur on trees and nearly closes the gap (N2) (N) (N3) up to a logarithmic factor. Building on this result, we extend our approach to general graphs by applying the tree algorithm to breadth-first spanning trees. This yields an efficient framework that produces o(N3)-length solution sequences for a broad class of instances, including the classical square-grid example, where we recover the (N3/2) bound observed by Kornhauser, Miller, and Spirakis. Finally, by analyzing the behavior of this algorithm, we obtain strong structural restrictions governing when (N3) complexity can arise. We show that such behavior is possible only under highly constrained conditions, specifically when (N) degree-two vertices lie on cycles of length (N), with each cycle being the shortest containing the corresponding vertex.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…