Introduction
Heuristic search algorithms, such as A and IDA, are fundamental tools in AI planning and pathfinding. However, they suffer from two significant "Achilles' heels" related to node re-expansions. First, in graph search with inconsistent heuristics, A can expand the same state an exponential number of times ($\Omega(2^n)$). Second, in tree search with limited memory, IDA can incur a quadratic number of re-expansions ($\Omega(n^2)$) if the search space does not grow exponentially with cost threshold increases. Existing solutions often rely on strong assumptions or risk massive performance penalties by "overstepping" the optimal solution cost. This paper introduces Iterative Budgeted Exponential Search (IBEX), a framework that provides near-linear performance guarantees for both tree and graph search by combining exponential search for cost limits with a doubling expansion budget.
Methodology: The IBEX Framework
IBEX treats the search process as a series of queries, each defined by a cost limit ($C$) and an expansion budget ($b$). The algorithm operates in a core loop that doubles the expansion budget ($b = 2^k$) in each iteration. Within an iteration, IBEX employs an exponential search strategy—similar to binary search but adapted for unbounded ranges—to identify the highest cost limit that can be fully explored within the current budget.
The budget acts as a "safety valve," preventing the algorithm from spending excessive time on a single cost threshold that might be slightly too high. By doubling the budget in each iteration, IBEX ensures that the total work is dominated by the final successful iteration, achieving an amortized complexity of $O(n \log C^*)$, where $n$ is the number of nodes within the optimal cost $C^*$. Two specific algorithms are derived from this framework: Budgeted Tree Search (BTS) for memory-efficient tree search and Budgeted Graph Search (BGS) for graph search with inconsistent heuristics.
Experimental Evaluation
The authors evaluated IBEX on several benchmarks, including the 15-Puzzle (unit and real costs), (12, 4)-TopSpin, and a synthetic "Chain" problem. Additionally, they introduced the Coconut Problem, a domain with variable branching factors and low solution density specifically designed to trigger catastrophic failures in traditional algorithms.
Key Results
- Coconut Problem Robustness: As shown in the experimental data, traditional algorithms like EDA and IDA_CR failed to solve most instances of the Coconut problem, whereas BTS and its variants solved all 100 instances efficiently.
- Real-Cost 15-Puzzle: On the 15-puzzle with varied edge costs, BTS solved significantly more instances than IDA* within the time limit, demonstrating its effectiveness in non-unit cost domains.
- Inconsistent Heuristics: In graph search tests, BGS maintained near-linear growth in expansions, while A* exhibited the expected exponential explosion.
- No "IDA* Tax": In domains where IDA* is already efficient (e.g., standard 15-puzzle), IBEX performs identically, indicating no performance penalty for its robustness.
Conclusion
IBEX successfully addresses the long-standing issue of excessive re-expansions in heuristic search. By introducing a budget-constrained exponential search, it transforms exponential and quadratic worst-case scenarios into near-linear ones. The framework is not only theoretically robust, with proven $O(n \log C^*)$ bounds, but also practically efficient across a wide range of challenging search domains. Future work may explore applying the IBEX framework to other search paradigms, such as Weighted A* or Best-First Levin Tree Search.
Summary updated