Solving Checkers

Jonathan Schaeffer, Yngvi Björnsson, Neil Burch, Akihiro Kishimoto, Martin Müller, Robert Lake, Paul Lu, Steve Sutphen

Abstract

Researchers at the University of Alberta have achieved a significant milestone in artificial intelligence by solving the "White Doctor," one of the most complex and strategically challenging openings in the game of checkers. By formally proving that this opening results in a draw under optimal play, the team has demonstrated the efficacy of a novel hybrid search algorithm combined with massive endgame databases. This work represents a major step toward the ultimate goal of "weakly solving" the entire game of checkers.

Introduction

While AI has famously defeated human champions in games like chess and checkers, "beating" a player is distinct from "solving" the game. Solving a game involves determining its definitive game-theoretic outcome—win, loss, or draw—from any given position, assuming perfect play from both sides. Checkers, with a search space of approximately $10^{20}$ positions, presents a formidable challenge compared to simpler solved games like Connect Four or Nine Men’s Morris.

A checkers board configuration representing a critical state in the analysis of complex openings.

The difficulty lies in "decision complexity," or the challenge of identifying the optimal move at every turn. The researchers aim to "weakly solve" checkers, which involves providing the game-theoretic value from the starting position and a strategy to achieve it.

Methodology

The team moved beyond traditional alpha-beta search techniques, which struggle with the vastness of the checkers search space. They implemented a multi-tiered hybrid approach:

  1. Proof Tree Manager: This component utilizes a variant of Proof Number Search (PNS) to manage a massive, persistent tree of the game, identifying the most promising nodes for further exploration.
  2. Proof Solver: A back-end component combining alpha-beta search with $Df-pn^+$, a depth-first variant of PNS, to formally prove positions within strict time limits (typically 100 seconds).
  3. Heuristic Value Iteration: This novel technique uses "likely win" and "likely loss" thresholds to focus computational resources on promising lines before committing to the massive resources required for a formal proof.
  4. Seeding: The search is initialized with expert human analysis, providing a high-quality starting point and preventing the algorithm from exploring irrelevant branches of the search space.

Endgame Databases

A cornerstone of the project is the massive endgame database. The researchers pre-calculated the perfect value for every possible configuration of 10 or fewer pieces on the board.

The search space for checkers, illustrating the 10-piece endgame database (bottom shaded region) and the search path through the mid-game.

This database contains 39 trillion positions ($3.9 \times 10^{13}$). While this represents only a small fraction of the total search space, it effectively truncates the search tree by hundreds of plys, making the remaining mid-game analysis computationally feasible. As shown in the visualization, the search path must navigate the complex mid-game (11-24 pieces) until it reaches the known values of the 10-piece database.

Results and Discussion

The primary result of this research is the formal proof that the "White Doctor" opening is a draw. This opening is notorious among human players for placing Black at a significant positional disadvantage, yet the solver confirmed decades of human intuition. The minimal proof tree for this opening involved over 223,000 positions, with the longest search line reaching 67 plys deep.

A significant insight from the project was the identification of hardware bottlenecks. Surprisingly, disk I/O, rather than CPU power, was the primary constraint. The system frequently waited for data from the endgame databases, leading to low CPU utilization. To mitigate this, the researchers had to utilize local high-speed disks rather than network storage.

Conclusion

The solution to the "White Doctor" is a proof of concept for the broader goal of solving checkers. With 174 standard three-move openings, the authors estimate that solving approximately 50 more will be sufficient to determine the game-theoretic value of the entire game from the first move. Future work will focus on expanding endgame databases to 11 pieces and optimizing I/O performance to overcome current hardware limitations. The researchers predict the game could be fully solved within a year, provided sufficient computing resources are available.

Summary updated

BibTeX
@inproceedings{schaeffer2005solving,
  author = {Jonathan Schaeffer and Yngvi Björnsson and Neil Burch and Akihiro Kishimoto and Martin Müller and Robert Lake and Paul Lu and Steve Sutphen},
  title = {{Solving Checkers}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2005},
}
Figure