Pathfinding with Lazy Successor Generation
Keisuke Okumura
TL;DR
This work addresses pathfinding when edges are implicit and any location may connect to any other, creating a huge branching factor. It introduces LaCAS*, a complete and anytime algorithm that lazily generates successors using a two-level search guided by $k$-nearest neighbors on a $k$-d tree, thereby reducing edge evaluations while retaining completeness. A variant, LaCAT*, adds a grandparent check to further improve initial solution quality at the cost of extra $\\mathsf{connect}$ calls. Empirical results across diverse benchmarks show LaCAS* reliably finds (near-)optimal paths much faster than traditional methods in high-branching scenarios, with LaCAT* offering further refinements. The approach connects to LaCAM* and related lazy/densification strategies, suggesting a broadly applicable framework for planning in expansive graphs where edge evaluations are expensive.
Abstract
We study a pathfinding problem where only locations (i.e., vertices) are given, and edges are implicitly defined by an oracle answering the connectivity of two locations. Despite its simple structure, this problem becomes non-trivial with a massive number of locations, due to posing a huge branching factor for search algorithms. Limiting the number of successors, such as with nearest neighbors, can reduce search efforts but compromises completeness. Instead, we propose a novel LaCAS* algorithm, which does not generate successors all at once but gradually generates successors as the search progresses. This scheme is implemented with k-nearest neighbors search on a k-d tree. LaCAS* is a complete and anytime algorithm that eventually converges to the optima. Extensive evaluations demonstrate the efficacy of LaCAS*, e.g., solving complex pathfinding instances quickly, where conventional methods falter.
