Abstract
The game of chess has long been used as a benchmark for testing human creativity and intelligence. With the advent of powerful chess engines, such as Stockfish and Leela Chess Zero (Lc0), endgame studies have also become a tool for evaluating the capabilities of machine chess engines. In this work, we conduct a detailed study of Stockfish and Lc0, two leading chess engines with distinct methods of play, using chess endgames with varying numbers of remaining pieces. We evaluate the programs’ move decision errors when using only the raw policy network as well as when using a small amount of search. We provide insights into the strengths and weaknesses of Stockfish and Lc0 in handling complex endgame positions by exploring common mistakes and identifying interesting behaviours of the engines based on the position of the opponent’s last pawn remaining on the board.
Q.A. Sadmine and A. Husna—Equal contribution.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Lc0 authors: lc0. https://lczero.org. Accessed 04 Mar 2023
Lc0 authors: What is lc0? lczero.org/dev/wiki/what-is-lc0/. Accessed 04 Mar 2023
Lc0 authors: Win-draw-loss evaluation. lczero.org/blog/2020/04/wdl-head/. Accessed 24 Mar 2023
Stockfish authors: Stockfish. https://stockfishchess.org. Accessed 04 Mar 2023
Ballicora, M.: Gaviota. sites.google.com/site/gaviotachessengine/Home/ endgame-tablebases-1. Accessed 27 Feb 2023
Coulom, R.: Efficient selectivity and backup operators in Monte-Carlo tree search. In: International Conference on Computers and Games, pp. 72–83. Springer (2006)
Edwards, D.J., Hart, T.: The alpha-beta heuristic. Tech. Rep. AIM-30, MIT (1961)
Forsten, H.: Purpose of the moves left head. https://github.com/Leela ChessZero/lc0/pull/961#issuecomment-587112109. Accessed 24 Mar 2023
Haque, R., Wei, T.H., Müller, M.: On the road to perfection? evaluating leela chess zero against endgame tablebases. In: Advances in Computer Games: 17th International Conference, ACG 2021, Virtual Event, November 23–25, 2021, Revised Selected Papers, pp. 142–152. Springer (2022)
Heinz, E.A.: Extended futility pruning. ICGA J. 21(2), 75–83 (1998)
Kryukov, K.: Number of unique legal positions in chess endgames (2014). http://kirillkryukov.com/chess/nulp/. Accessed 26 Feb 2023
Lassabe, N., Sanchez, S., Luga, H., Duthen, Y.: Genetically programmed strategies for chess endgame. In: Proceedings of the 8th Annual Conference on Genetic and Evolutionary Computation, pp. 831–838 (2006)
de Man, R., Guo, B.: Syzygy endgame tablebases. syzygy-tables.info/. Accessed 06 Mar 2023
de Man, R.: Syzygy. https://github.com/syzygy1/tb. Accessed 08 Mar 2023
McGrath, T., Kapishnikov, A., Tomašev, N., Pearce, A., Wattenberg, M., Hassabis, D., Kim, B., Paquet, U., Kramnik, V.: Acquisition of chess knowledge in alphazero. Proc. Natl. Acad. Sci. 119(47), e2206625119 (2022)
Nasu, Y.: Efficiently updatable neural-network-based evaluation functions for computer shogi. The 28th World Computer Shogi Championship Appeal Document 185 (2018)
Romein, J.W., Bal, H.E.: Awari is solved. ICGA J. 25(3), 162–165 (2002)
Silver, D., et al.: Mastering the game of go with deep neural networks and tree search. Nature 529(7587), 484–489 (2016)
Silver, D., Hubert, T., Schrittwieser, J., Antonoglou, I., Lai, M., Guez, A., Lanctot, M., Sifre, L., Kumaran, D., Graepel, T., et al.: A general reinforcement learning algorithm that masters chess, shogi, and go through self-play. Science 362(6419), 1140–1144 (2018)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Sadmine, Q.A., Husna, A., Müller, M. (2024). Stockfish or Leela Chess Zero? A Comparison Against Endgame Tablebases. In: Hartisch, M., Hsueh, CH., Schaeffer, J. (eds) Advances in Computer Games. ACG 2023. Lecture Notes in Computer Science, vol 14528. Springer, Cham. https://doi.org/10.1007/978-3-031-54968-7_3
Download citation
DOI: https://doi.org/10.1007/978-3-031-54968-7_3
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-54967-0
Online ISBN: 978-3-031-54968-7
eBook Packages: Computer ScienceComputer Science (R0)