Skip to main content
QUICK REVIEW

[Paper Review] Best-First and Depth-First Minimax Search in Practice

Aske Plaat, Jonathan Schaeffer|arXiv (Cornell University)|May 7, 2015
Artificial Intelligence in GamesComputer Science31 references4 citations
TL;DR

This paper presents a unified framework that reformulates best-first search algorithms like SSS* as efficient depth-first variants using Alpha-Beta search, eliminating SSS*'s practical drawbacks. The framework enables MTD(f), a new Alpha-Beta variant, to outperform both SSS* and NegaScout in practice by reducing node evaluations while maintaining optimal search behavior.

ABSTRACT

Most practitioners use a variant of the Alpha-Beta algorithm, a simple depth-first pro- cedure, for searching minimax trees. SSS*, with its best-first search strategy, reportedly offers the potential for more efficient search. However, the complex formulation of the al- gorithm and its alleged excessive memory requirements preclude its use in practice. For two decades, the search efficiency of "smart" best-first SSS* has cast doubt on the effectiveness of "dumb" depth-first Alpha-Beta. This paper presents a simple framework for calling Alpha-Beta that allows us to create a variety of algorithms, including SSS* and DUAL*. In effect, we formulate a best-first algorithm using depth-first search. Expressed in this framework SSS* is just a special case of Alpha-Beta, solving all of the perceived drawbacks of the algorithm. In practice, Alpha-Beta variants typically evaluate less nodes than SSS*. A new instance of this framework, MTD(f), out-performs SSS* and NegaScout, the Alpha-Beta variant of choice by practitioners.

Motivation & Objective

  • To resolve the long-standing debate on whether best-first SSS* is more efficient than depth-first Alpha-Beta in practice.
  • To address the perceived inefficiencies of SSS*, such as complex implementation and high memory usage, which have hindered its adoption.
  • To demonstrate that best-first search behavior can be achieved within a depth-first framework using Alpha-Beta search.
  • To introduce and evaluate MTD(f), a new Alpha-Beta variant that leverages the framework to achieve superior performance.
  • To show that SSS* and other best-first algorithms can be implemented efficiently as special cases of Alpha-Beta within the proposed framework.

Proposed method

  • Propose a general framework that generalizes Alpha-Beta search to support best-first strategies by reordering search nodes based on heuristic estimates.
  • Reformulate SSS* as a depth-first algorithm by applying the framework, thereby eliminating its complex data structures and memory overhead.
  • Use the framework to derive MTD(f), a new Alpha-Beta variant that performs iterative deepening with a single search per iteration.
  • Apply the framework to generate DUAL*, another best-first variant, demonstrating its compatibility with the same structure.
  • Implement and evaluate the framework using standard game tree benchmarks to compare node counts and search efficiency.
  • Ensure correctness by proving that all derived algorithms, including SSS* and MTD(f), produce the same minimax value as standard Alpha-Beta.

Experimental results

Research questions

  • RQ1Can best-first search strategies like SSS* be implemented efficiently within a depth-first search framework without sacrificing correctness or performance?
  • RQ2Why has SSS* not been adopted in practice despite its theoretical superiority in reducing node evaluations?
  • RQ3Can a depth-first variant of SSS* be constructed that matches or exceeds the performance of existing Alpha-Beta variants like NegaScout?
  • RQ4Does the proposed framework allow for the creation of new, more efficient search algorithms that combine the benefits of best-first and depth-first search?
  • RQ5How does MTD(f), derived from the framework, compare to SSS* and NegaScout in terms of node evaluation count and search speed?

Key findings

  • The proposed framework successfully reformulates SSS* as a depth-first algorithm, eliminating its high memory requirements and complex implementation.
  • MTD(f), a new variant derived from the framework, evaluates fewer nodes than both SSS* and NegaScout in practice, demonstrating superior efficiency.
  • Despite SSS*’s theoretical promise for fewer node evaluations, in practice, Alpha-Beta variants—including MTD(f)—outperform it due to better constant factors and cache behavior.
  • The framework enables SSS* and other best-first algorithms to be implemented using standard Alpha-Beta infrastructure, making them practical for real-world applications.
  • The results show that the performance gap between best-first and depth-first search is smaller in practice than theory suggests, due to implementation and memory effects.
  • The framework provides a unified foundation for both best-first and depth-first minimax search, allowing for systematic exploration of search strategies within a single algorithmic structure.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.