Temperature Discovery Search

Martin Müller, Markus Enzenberger, Jonathan SchaefferAAAI 2004

Abstract

Temperature Discovery Search (TDS) is a new minimax-based game tree search method designed to compute or approximate the temperature of a combinatorial game. TDS is based on the concept of an enriched environment, where a combinatorial game $G$ is embedded in an environment consisting of a large set of simple games of decreasing temperature. Optimal play starts in the environment, but eventually must switch to $G$. TDS finds the temperature of $G$ by determining when this switch must happen. Both exact and heuristic versions of TDS are described and evaluated experimentally. In experiments with sum games in Amazons, TDS outperforms an $\alpha\beta$ searcher.

Introduction

In many complex strategy games, such as Go or Amazons, the game board eventually fragments into several independent "subgames." For example, in Amazons, players may become blocked off in isolated regions of the board. Standard AI approaches typically employ a global minimax search, attempting to evaluate the entire board state simultaneously. However, this approach is computationally expensive and often inefficient, as it fails to exploit the independent structure of these subgames.

An example of a fragmented board in the game of Amazons, where independent subgames have formed.

Combinatorial Game Theory (CGT) provides a framework for analyzing these subgames locally by determining their mean (average value) and temperature (urgency). Traditionally, these values are calculated using retrograde analysis, which requires building the entire game tree—a task that is computationally infeasible for large or complex positions. Temperature Discovery Search (TDS) addresses this by providing a "top-down" forward-search method to approximate these values.

Methods: The Enriched Environment

TDS utilizes a standard $\alpha\beta$ minimax search but embeds the local game $G$ within an "enriched environment" containing a coupon stack. This stack consists of a series of "coupons" with strictly decreasing values (e.g., $v, v-\delta, v-2\delta, \dots$). On any given turn, a player can choose to either make a move in the actual game $G$ or take the top coupon from the stack.

The core insight of TDS is the "switch" moment. If the available coupons are highly valuable, players will prioritize taking them over moving in $G$. As the coupon values decrease, a critical point is reached where a move in $G$ becomes more valuable than the next coupon. This critical value corresponds to the game's temperature. By analyzing the principal variation of the search in this enriched environment, TDS can derive both the temperature and the mean value of the game. For deep games, a heuristic version of TDS uses depth-limited search and evaluation functions to estimate these values within fixed time constraints.

Experimental Results

The effectiveness of TDS was evaluated using the game of Amazons, comparing its results against exact databases and traditional global searchers.

Accuracy and Depth

In tests against exact databases for small rooms, TDS matched the true mean and temperature values with 100% accuracy. A key advantage of the local search approach is depth: while a global $\alpha\beta$ searcher might only reach a depth of 4 ply, TDS can search up to 9 ply locally within the same time limit. As shown in Figure 3, the average absolute error of the temperature estimate decreases significantly as the search depth increases, particularly for larger subgame sizes.

Average absolute error of temperature (t) as a function of search depth for different subgame sizes.

The researchers implemented "Hotstrat-TDS," a player that uses TDS to identify and move in the "hottest" (most urgent) subgame. In head-to-head matches, Hotstrat-TDS convincingly outperformed a global $\alpha\beta$ searcher. This advantage scaled with the complexity of the board; in games featuring six $6 \times 6$ subgames, the TDS-based player achieved a 96% win rate.

Conclusion and Future Work

TDS represents a paradigm shift in applying CGT to large-scale games by moving from retrograde analysis to forward search. By focusing computational resources on deep local analysis rather than shallow global analysis, TDS achieves superior performance in games that decompose into subgames.

Future work includes addressing global interactions where subgames are not perfectly independent, and extending the algorithm to handle cycles, such as the "ko" rule in Go. Additionally, further mathematical analysis is needed to rigorously define the relationship between search depth and approximation quality.

Summary updated

BibTeX
@inproceedings{muller2004temperature,
  author = {Martin Müller and Markus Enzenberger and Jonathan Schaeffer},
  title = {{Temperature Discovery Search}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2004},
  url = {https://openreview.net/forum?id=ByZl9y-u-r},
}
Figure