Skip to main content

On the Road to Perfection? Evaluating Leela Chess Zero Against Endgame Tablebases

  • Conference paper
  • First Online:
Advances in Computer Games (ACG 2021)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 13262))

Included in the following conference series:

Abstract

Board game research has pursued two distinct but linked objectives: solving games, and strong play using heuristics. In our case study in the game of chess, we analyze how current AlphaZero type architectures learn and play late chess endgames, for which perfect play tablebases are available. We study the open source program Leela Chess Zero in three and four piece chess endgames. We quantify the program’s move decision errors for both an intermediate and a strong version, and for both the raw policy network and the full MCTS-based player. We discuss a number of interesting types of errors by using examples, explain how they come about, and present evidence-based conjectures on the types of positions that still cause problems for these impressive engines.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Ballicora, M.: Gaviota. https://sites.google.com/site/gaviotachessengine/Home/endgame-tablebases-1. Accessed 6 June 2021

  2. Fiekas, N.: python-chess, August 2014. https://python-chess.readthedocs.io

  3. Forstén, H.: Purpose of the moves left head. https://github.com/LeelaChessZero/lc0/pull/961#issuecomment-587112109. Accessed 24 Oct 2021

  4. Huntington, G., Haworth, G.: Depth to mate and the 50-move rule. ICGA Journal 38(2), 93–98 (2015)

    Article  Google Scholar 

  5. Kryukov, K.: Number of unique legal positions in chess endgames (2014). http://kirill-kryukov.com/chess/nulp/. Accessed 30 Oct 2021

  6. Lassabe, N., Sanchez, S., Luga, H., Duthen, Y.: Genetically programmed strategies for chess endgame. In: Genetic and Evolutionary Computation, pp. 831–838 (2006)

    Google Scholar 

  7. Lc0 Authors: What is Lc0?. http://lczero.org/dev/wiki/what-is-lc0/. Accessed 24 Oct 2021

  8. Lc0 Authors: Win-draw-loss evaluation. http://lczero.org/blog/2020/04/wdl-head/. Accessed 24 Oct 2021

  9. de Man, R.: Syzygy. http://github.com/syzygy1/tb. Accessed 6 June 2021

  10. de Man, R., Guo, B.: Syzygy endgame tablebases. http://syzygy-tables.info/. Accessed 6 June 2021

  11. Romein, J.W., Bal, H.E.: Awari is solved. ICGA J. 25(3), 162–165 (2002)

    Article  Google Scholar 

  12. Silver, D., et al.: A general reinforcement learning algorithm that masters chess, shogi, and go through self-play. Science 362(6419), 1140–1144 (2018)

    Article  MathSciNet  Google Scholar 

  13. Silver, D., et al.: Mastering the game of Go without human knowledge. Nature 550(7676), 354–359 (2017)

    Article  Google Scholar 

Download references

Acknowledgements

The authors gratefully acknowledge support from NSERC, the Natural Sciences and Engineering Research Council of Canada, and from Müllers DeepMind Chair in Artificial Intelligence and Canada CIFAR AI Chair.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Rejwana Haque .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Haque, R., Wei, T.H., Müller, M. (2022). On the Road to Perfection? Evaluating Leela Chess Zero Against Endgame Tablebases. In: Browne, C., Kishimoto, A., Schaeffer, J. (eds) Advances in Computer Games. ACG 2021. Lecture Notes in Computer Science, vol 13262. Springer, Cham. https://doi.org/10.1007/978-3-031-11488-5_13

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-11488-5_13

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-11487-8

  • Online ISBN: 978-3-031-11488-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics