W-restrained Bidirectional Bounded-Suboptimal Heuristic Search

Dor Atzmon, Shahaf S. Shperberg, Netanel Sabah, Ariel Felner, Nathan R. Sturtevant

Abstract

This paper establishes the theoretical foundations for Bidirectional Bounded-Suboptimal Search (BiBSS), a hybrid approach combining the speed of bidirectional search with the flexibility of bounded-suboptimal algorithms. The authors introduce the "W-restrained" property and the Weighted MM (WMM) algorithm, demonstrating that BiBSS significantly outperforms unidirectional approaches like Weighted A* when heuristics are weak or mediocre.

Introduction

Heuristic search involves a fundamental trade-off between solution optimality and computational cost. While optimal search algorithms like A are expensive, bounded-suboptimal algorithms like Weighted A (WA*) provide solutions within a factor $W$ of the optimal cost $C^*$. Simultaneously, bidirectional search (BiHS) aims to reduce the search space by exploring from both the start and goal. This paper addresses the lack of a theoretical framework for combining these two paradigms into Bidirectional Bounded-Suboptimal Search (BiBSS).

Theoretical Framework: Must-Expand Nodes and the Leeway Zone

The authors extend the concepts of "Must-Expand Nodes" (MEN) and "Must-Expand Pairs" (MEP) to the bounded-suboptimal setting. To guarantee a solution cost $\le W \cdot C^*$, an algorithm must expand specific pairs of nodes from the forward and backward frontiers.

As the suboptimality bound $W$ increases, a "leeway zone" emerges—a set of nodes that might lead to a valid solution but are not strictly required to prove the bound. This zone provides the search algorithm with more flexibility to find solutions quickly.

Evolution of search regions from unidirectional optimal (a) to bidirectional bounded-suboptimal (d) and its graph representation (e).

A key contribution is the definition of the W-restrained property. An algorithm is W-restrained if it limits the expansion of nodes whose distance from their starting point exceeds a specific fraction of the total allowed cost ($W \cdot C^*$). This ensures that the two search frontiers meet in the middle, preventing one side from dominating the search.

The Weighted MM (WMM) Algorithm

Building on the optimal Meet-in-the-Middle (MM) algorithm, the authors develop Weighted MM (WMM). The final version, WMM3, utilizes a priority function $pr_D(n) = g_D(n) + \max(g_D(n), W \cdot h_D(n))$ and alternates between search directions to maintain balance.

Detailed view of the BiBSS search frontiers (d) and the corresponding graph model (e).

The parameter $p$ (and $1-p$) in Figure (d) represents the fraction of the total cost allocated to each search direction, allowing for controlled frontier interaction.

Experimental Evaluation

The researchers evaluated WMM on two classic benchmarks:

  • 15-Sliding Tile Puzzle: Using both the strong Manhattan Distance (MD) heuristic and a weakened version (MD\5).
  • 14-Pancake Puzzle: Using the standard GAP heuristic and a weakened version (GAP\2).

Performance was compared against forward and backward versions of Weighted A* across 100 random instances for each domain.

Results and Discussion

The experiments revealed several key insights:

  • Heuristic Strength: BiBSS is most effective when heuristics are weak. With strong heuristics, unidirectional WA* remains superior as it heads directly toward the goal.
  • Performance Gains: On the 15-puzzle with MD\5 and the 14-pancake puzzle with GAP\2, WMM significantly outperformed WA*, expanding fewer nodes and finding solutions faster for bounds up to $W=2.5$.
  • The $W=2$ Transition: A performance shift occurs around $W=2$, where the goal becomes part of the forward search's leeway zone, fundamentally changing frontier dynamics.

Conclusion and Future Work

WMM successfully implements the W-restrained property, providing a robust framework for BiBSS. Future research could explore dynamic adjustments of the search weights ($W_F$ and $W_B$) to handle unbalanced domains or hybridize WMM with other bounded-suboptimal techniques like Focal Search or Explicit Estimation Search (EES).

Summary updated

BibTeX
@inproceedings{atzmon2023w,
  author = {Dor Atzmon and Shahaf S. Shperberg and Netanel Sabah and Ariel Felner and Nathan R. Sturtevant},
  title = {{W-restrained Bidirectional Bounded-Suboptimal Heuristic Search}},
  booktitle = {ICAPS},
  year = {2023},
  doi = {10.1609/icaps.v33i1.27175},
}
Figure