Introduction
In the field of heuristic search, the A algorithm remains the gold standard for finding optimal paths. However, A faces a significant practical limitation: its memory usage grows linearly with its running time because it must store every generated node. For large-scale problems, this memory bottleneck often leads to failure before a solution is reached.
To address this, researchers frequently turn to Iterative Deepening A (IDA), which uses memory that grows only linearly with the search depth. IDA operates by repeatedly running depth-first searches with increasing cost thresholds. While memory-efficient, IDA has a theoretical and practical weakness: if the edge costs in the search tree vary significantly, IDA may expand only a few new nodes per iteration, leading to redundant re-expansions. In the worst case, IDA expands $O(N_*^2)$ nodes, where $N_*$ is the number of nodes A* would expand.
This paper introduces two novel linear-memory tree search algorithms—Zoomer and ZigZagZoomer (Z3)—that provide strict node expansion guarantees, ensuring they expand at most a logarithmic factor more nodes than A* in the worst case, without requiring manual parameter tuning.
Methods: Budgeting Node Expansions
Unlike previous iterative deepening approaches that bound the cost of the search, Zoomer and Z3 bound the number of node expansions. This "cautious" approach prevents the exponential explosion of nodes that can occur when a cost threshold is slightly overestimated.
Zoomer
Zoomer operates in iterations $k = 1, 2, \dots$, where each iteration has a hard budget of $2^k$ node expansions. Within each iteration, the algorithm performs an exponential search to find the highest cost threshold that can be explored without exceeding the current node budget. If the optimal solution is found within the budget, the search terminates; otherwise, the budget is doubled for the next iteration.
ZigZagZoomer (Z3)
Zoomer can be slowed down if the minimum difference between cost thresholds ($\delta_{min}$) is extremely small. Z3 addresses this by interleaving the iterations of Zoomer rather than running them sequentially. It utilizes a "Uniform Doubling Scheduler" (inspired by Luby’s scheduling algorithm) to jump between different budget levels. This ensures that even if one budget level is stalled by a tiny cost gap, the algorithm continues to make progress on other budget levels.
Key Results
Theoretical Guarantees
The primary contribution of these algorithms is their improved worst-case complexity. While IDA* can suffer from quadratic node expansions, Zoomer and Z3 offer much tighter bounds.
As shown in the table above, Z3 improves the worst-case bound to $O(N_* \log N_*)$, a significant theoretical advancement over the $O(N_*^2)$ bound of IDA*. This makes Z3 robust against adversarial search tree structures that typically break iterative deepening algorithms.
Empirical Robustness
The authors evaluated the algorithms across several domains, including standard benchmarks like the 15-Puzzle and a novel adversarial domain called the "Coconut Problem."
On standard puzzles, Zoomer and Z3 remain highly competitive with IDA. However, the "Coconut Problem"—designed with highly varied branching factors and sparse solutions—highlights their true strength. While aggressive cost-bounding algorithms like EDA and IDA*_CR failed on 96% of the instances due to massive node over-expansion, Zoomer and Z3 solved 100% of the instances within the time limit.
Conclusion
Zoomer and Z3 represent a shift from cost-based budgeting to expansion-based budgeting in linear-memory search. By prioritizing robustness and providing strict node expansion guarantees, these algorithms offer a reliable alternative to IDA* for complex, irregular search spaces. Future work aims to incorporate transposition tables to extend these guarantees from tree search to general graph search problems.
Summary updated