A Hybrid SSS*/Alpha-Beta Algorithm for Parallel Search of Game Trees

Daniel B. Leifker, Laveen N. Kanal

Introduction

In artificial intelligence, game tree search is a cornerstone for decision-making in complex environments like Chess or Go. Two primary algorithms have historically dominated this field: Alpha-Beta, which uses pruning to skip irrelevant branches, and SSS, a "best-first" search that is theoretically more efficient but more complex to implement. While SSS excels in sequential environments, parallelizing it presents significant challenges. Daniel B. Leifker and Laveen N. Kanal propose a "HYBRID" algorithm that integrates Alpha-Beta's pruning logic into a parallel SSS* framework to overcome these hurdles.

The Challenge: Parallelizing SSS*

The primary issue with parallelizing SSS* lies in its "OPEN list"— a collection of potential moves ordered by quality. In a sequential search, the algorithm only processes the top (best) move. However, in a parallel system, idle processors must reach deeper into the list to find work. This often leads to the expansion of "buried" states that are provably suboptimal. In a sequential search, these states would never be reached, but in parallel, they create a massive performance "drag" as processors waste cycles on "junk" data.

Initial attempts at parallelization often relied on operator parallelism, where multiple processors collaborate on expanding a single state from the top of the list.

Operator parallelism: multiple processors working on a single state from the OPEN list.

The HYBRID Approach

To address the inefficiencies of operator parallelism, the authors introduce the HYBRID algorithm, which shifts toward state parallelism. In this model, each processor independently selects and expands a different state from the OPEN list.

State parallelism: multiple processors independently expanding different states from the OPEN list.

To prevent processors from wasting time on suboptimal "buried" states, HYBRID incorporates Alpha-Beta pruning concepts, renamed as "floor" and "ceiling" values:

  • Integrated Pruning: The algorithm defines a set $Z$ of "provably suboptimal nodes" based on these bounds.
  • The Discard Step: Before a processor begins work on a state, it checks if the state contains nodes in set $Z$. If it does, the state is discarded immediately.
  • Global Synchronization: Using a global HALT flag and shared memory, the algorithm ensures that the search only stops when the absolute optimal solution is found, maintaining "admissibility."

Key Insights and Results

The HYBRID algorithm represents a "true coalescence" of SSS and Alpha-Beta. By using the mathematical pruning strengths of Alpha-Beta, it solves the structural weaknesses inherent in parallel SSS. The authors provide formal rules for identifying suboptimal nodes:

  1. Inheritance: If an ancestor is suboptimal, all its descendants are also suboptimal.
  2. Dominance: If a node's "floor" (guaranteed minimum) exceeds a sibling's "ceiling" (maximum possible), the sibling is discarded.
  3. Cutoffs: "Don't-care" cutoffs are applied to OR-nodes, mirroring Alpha-Beta's efficiency.

While this paper focuses on the theoretical framework rather than empirical benchmarks, it provides the logical proof that HYBRID can eliminate the "enormous drag" typically associated with parallel SSS* implementations.

Conclusion

The HYBRID algorithm offers a robust theoretical path for scaling game tree searches on multi-processor systems. By combining best-first search with rigorous pruning, it ensures that parallel resources are focused on the most promising branches of the game tree. Future work remains in optimizing the data structures and low-level synchronization required for practical, high-performance implementations.

Summary updated

BibTeX
@inproceedings{leifker1985hybrid,
  author = {Daniel B. Leifker and Laveen N. Kanal},
  title = {{A Hybrid SSS*/Alpha-Beta Algorithm for Parallel Search of Game Trees}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1985},
}
Figure