×

Best-first minimax search. (English) Zbl 1506.68126

Summary: We describe a very simple selective search algorithm for two-player games, called best-first minimax. It always expands next the node at the end of the expected line of play, which determines the minimax value of the root. It uses the same information as alpha-beta minimax, and takes roughly the same time per node generation. We present an implementation of the algorithm that reduces its space complexity from exponential to linear in the search depth, but at significant time cost. Our actual implementation saves the subtree generated for one move that is still relevant after the player and opponent move, pruning subtrees below moves not chosen by either player. We also show how to efficiently generate a class of incremental random game trees. On uniform random game trees, best-first minimax outperforms alpha-beta, when both algorithms are given the same amount of computation. On random trees with random branching factors, best-first outperforms alpha-beta for shallow depths, but eventually loses at greater depths. We obtain similar results in the game of Othello. Finally, we present a hybrid best-first extension algorithm that combines alpha-beta with best-first minimax, and performs significantly better than alpha-beta in both domains, even at greater depths. In Othello, it beats alpha-beta in two out of three games.

MSC:

68T20 Problem solving in the context of artificial intelligence (heuristics, search strategies, etc.)
Full Text: DOI

References:

[1] Anantharaman, T. S., A statistical study of selective min-max search in computer chess, (Ph.D. Thesis (1990), Department of Computer Science, Carnegie-Mellon University: Department of Computer Science, Carnegie-Mellon University Pittsburgh, PA)
[2] Anantharaman, T.; Campbell, M. S.; Hsu, F.-H., Singular extensions: Adding selectivity to brute-force searching, Artif. Intell., 43, 99-109 (1990)
[3] Berliner, H. J., The B^∗ tree search algorithm: A best-first proof procedure, Artif. Intell., 12, 23-40 (1979)
[4] Chakrabarti, P. P.; Ghose, S.; Acharya, A.; de Sarkar, S. C., Heuristic search in restricted memory, Artif. Intell., 41, 197-221 (1989) · Zbl 0687.68040
[5] Fuller, S. H.; Gaschnig, J. G.; Gillogly, J. J., An analysis of the alpha-beta pruning algorithm, (Tech. Rept. (1973), Department of Computer Science, Carnegie-Mellon University: Department of Computer Science, Carnegie-Mellon University Pittsburgh, PA)
[6] Harris, L. R., The heuristic search under conditions of error, Artif. Intell., 5, 217-234 (1974) · Zbl 0288.68050
[7] Kaindl, H., Searching to variable depth in computer chess, (Proceedings IJCAI-83. Proceedings IJCAI-83, Karlsruhe (1983)), 760-762
[8] Kaindl, H.; Shams, R.; Horacek, H., Minimax search algorithms with and without aspiration windows, IEEE Trans. Pattern Anal. Mach. Intell., 13, 1225-1235 (1991)
[9] Karp, R. M.; Pearl, J., Searching for an optimal path in a tree with random costs, Artif. Intell., 21, 99-117 (1983) · Zbl 0507.68034
[10] Keene, R.; Jacobs, B.; Buzan, t., (Man v. Machine: The ACM Chess Challenge: Garry Kasparov v. IBM’s Deep-Blue (1996), B.B. Enterprises: B.B. Enterprises Sussex)
[11] Kernighan, B. W.; Ritchie, D. M., (The C Programming Language (1988), Prentice-Hall: Prentice-Hall Englewood Cliffs, NJ), 46 · Zbl 0697.68008
[12] Knuth, D. E.; Moore, R. E., An analysis of alpha-beta pruning, Artif. Intell., 6, 293-326 (1975) · Zbl 0358.68143
[13] Korf, R. E., Best-first minimax search: Initial results, (Tech. Rept., CSD-920021 (1992), Computer Science Department, University of California: Computer Science Department, University of California Los Angeles, CA)
[14] Korf, R. E., Linear-space best-first search, Artif. Intell., 62, 41-78 (1993) · Zbl 0778.68079
[15] Korf, R. E.; Chickering, D. M., Best-first minimax search: first results, (Proceedings AAAI Fall Symposium on Games: Planning and Learning. Proceedings AAAI Fall Symposium on Games: Planning and Learning, Raleigh, NC (1993)), 39-47
[16] Korf, R. E.; Chickering, D. M., Best-first minimax: Othello results, (Proceedings AAAI-94. Proceedings AAAI-94, Seattle, WA (1994)), 1365-1370
[17] Korf, R. E.; Pemberton, J.; Zhang, W., Incremental random search trees, (Proceedings AAAI-94 Workshop on Experimental Evaluation of Reasoning and Search Methods. Proceedings AAAI-94 Workshop on Experimental Evaluation of Reasoning and Search Methods, Seattle, WA (1994)), 15-18
[18] Kozdrowicki, E. W.; Cooper, D. W., COKO III: the Cooper-Koz chess program, Commun. ACM, 16, 411-427 (1973) · Zbl 0268.68016
[19] Lee, K.-F.; Mahajan, S., The development of a world-class Othello program, Artif. Intell., 43, 21-36 (1990)
[20] Marsland, T. A., Computer chess and search, (Shapiro, S. C., Encyclopedia of Artificial Intelligence (1992), Wiley: Wiley New York), 224-241
[21] McAllester, D. A., Conspiracy numbers for min-max search, Artif. Intell., 35, 287-310 (1988) · Zbl 0643.90109
[22] McDiarmid, C. J.H.; Provan, G. M.A., An expected-cost analysis of backtracking and non-backtracking algorithms, (Proceedings IJCAI-91. Proceedings IJCAI-91, Sydney, Australia (1991)), 173-177 · Zbl 0745.68108
[23] Nau, D. S., The last player theorem, Artif. Intell., 18, 53-65 (1982) · Zbl 0471.90003
[24] Nau, D. S., An investigation of the causes of pathology in games, Artif. Intell., 19, 257-278 (1982) · Zbl 0503.68070
[25] Newborn, M. M., The efficiency of the alpha-beta search on trees with branch-dependent terminal node scores, Artif. Intell., 8, 137-153 (1977) · Zbl 0359.68043
[26] Nilsson, N. J., Searching problem-solving and game-playing trees for minimal cost solutions, (Morrell, A. J.H., Information Processing 68, Proceedings of the IFIP Congress 1968 (1969), North-Holland: North-Holland Amsterdam), 1556-1562 · Zbl 0191.17704
[27] Pearl, J., (Heuristics (1984), Addison-Wesley: Addison-Wesley Reading, MA)
[28] Pemberton, J.; Korf, R. E., Incremental search algorithms for real-time decision making, (Proceedings Second International Conference on Planning. Proceedings Second International Conference on Planning, Chicago, IL (1994)), 140-145
[29] Rivest, R. L., Game tree searching by min/max approximation, Artif. Intell., 34, 77-96 (1987) · Zbl 0633.68080
[30] Rosenbloom, P. S., A world-championship-level Othello program, Artif. Intell., 19, 279-320 (1982) · Zbl 0526.68089
[31] Russell, S.; Wefald, E., On optimal game-tree search using rational meta-reasoning, (Proceedings IJCAI-89. Proceedings IJCAI-89, Detroit, MI (1989)), 334-340 · Zbl 0707.68069
[32] Shannon, C. E., Programming a computer for playing chess, Philos. Magazine, 41, 256-275 (1950) · Zbl 0041.44605
[33] Slagle, J. R.; Dixon, J. K., Experiments with some programs that search game trees, J. ACM, 16, 189-207 (1969) · Zbl 0224.68009
[34] Stockman, G., A minimax algorithm better than Alpha-Beta?, Artif. Intell., 12, 179-196 (1979) · Zbl 0418.68041
[35] Zhang, W.; Korf, R. E., Performance of linear-space search algorithms, Artif. Intell., 79, 293-326 (1995)
This reference list is based on information provided by the publisher or from digital mathematics libraries. Its items are heuristically matched to zbMATH identifiers and may contain data conversion errors. In some cases that data have been complemented/enhanced by data from zbMATH Open. This attempts to reflect the references listed in the original paper as accurately as possible without claiming completeness or a perfect matching.