Proceedings

Unveiling Concepts Learned by a World-Class Chess-Playing Agent

Download BibTeX Cite

Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence. Main Track. Pages 4864-4872.

https://doi.org/10.24963/ijcai.2023/541

Abstract

In recent years, the state-of-the-art agents for playing abstract board games, like chess and others, have moved from using intricate hand-crafted models for evaluating the merits of individual game states toward using neural networks (NNs). This development has eased the encapsulation of the relevant domain-specific knowledge and resulted in much-improved playing strength. However, this has come at the cost of making the resulting models ill-interpretable and challenging to understand and use for enhancing human knowledge. Using a world-class superhuman-strength chess-playing engine as our testbed, we show how recent model probing interpretability techniques can shed light on concepts learned by the engine's NN. Furthermore, to gain additional insight, we contrast the game-state evaluations of the NN to that of its counterpart hand-crafted evaluation model and identify and explain some of the main differences.

  1. [Alain and Bengio, 2017] Guillaume Alain and Yoshua Ben- gio. Understanding intermediate layers using linear clas- sifier probes. In 5th International Conference on Learn- ing Representations, ICLR 2017, Toulon, France, April 24- 26, 2017, Workshop Track Proceedings. OpenReview.net, 2017.
  2. [Bodria et al., 2021] Francesco Bodria, Fosca Giannotti, Riccardo Guidotti, Francesca Naretto, Dino Pedreschi, and Salvatore Rinzivillo. Benchmarking and survey of explanation methods for black box models. CoRR, abs/2102.13076, 2021.
  3. [Castro et al., 2009] Javier Castro, Daniel Gómez, and Juan Tejada. Polynomial calculation of the shapley value based on sampling. Computers & Operations Research, 36(5):1726-1730, 2009. Selected papers presented at the Tenth International Symposium on Locational Decisions (ISOLDE X). [Decodea, 2022] Decodea. Decode chess. https:// decodechess.com/, 2022. Accessed: 2022-01-30. Link
  4. [Guid et al., 2013] Matej Guid, Martin Mozina, Ciril Bohak, Aleksander Sadikov, and Ivan Bratko. Building an intelli- gent tutoring system for chess endgames. In Owen Foley, Maria Teresa Restivo, James Onohuome Uhomoibhi, and Markus Helfert, editors, CSEDU 2013 -Proceedings of the 5th International Conference on Computer Supported Education, Aachen, Germany, 6-8 May, 2013, pages 263- 266. SciTePress, 2013.
  5. [HaCohen-Kerner, 1994] Yaakov HaCohen-Kerner. Case- based evaluation in computer chess. In Jean Paul Haton, Mark T. Keane, and Michel Manago, editors, Advances in Case-Based Reasoning, Second European Workshop, EWCBR-94, Chantilly, France, November 7-10, 1994, Se- lected Papers, volume 984 of Lecture Notes in Computer Science, pages 240-254. Springer, 1994.
  6. [HaCohen-Kerner, 1995] Yaakov HaCohen-Kerner. Learn- ing strategies for explanation patterns: Basic game pat- terns with application to chess. In Manuela M. Veloso and Agnar Aamodt, editors, Case-Based Reasoning Research and Development, First International Conference, ICCBR- 95, Sesimbra, Portugal, October 23-26, 1995, Proceed- ings, volume 1010 of Lecture Notes in Computer Science, pages 491-500. Springer, 1995.
  7. [Kim et al., 2018] Been Kim, Martin Wattenberg, Justin Gilmer, Carrie J. Cai, James Wexler, Fernanda B. Viégas, and Rory Sayres. Interpretability beyond feature attribu- tion: Quantitative testing with concept activation vectors (TCAV). In Jennifer G. Dy and Andreas Krause, editors, Proceedings of the 35th International Conference on Ma- chine Learning, ICML 2018, Stockholmsmässan, Stock- holm, Sweden, July 10-15, 2018, volume 80 of Proceed- ings of Machine Learning Research, pages 2673-2682.
  8. PMLR, 2018.
  9. [LeelaChessZero, 2022] LeelaChessZero. Leela chess zero. https://lczero.org/, 2022. Accessed: 2022-01-30. Lipovetsky and Conklin, 2001] Stan Lipovetsky and Michael Conklin. Analysis of regression in game theory approach. Applied Stochastic Models in Business and Industry, 17(4):319-330, 2001. Link
  10. [Lovering et al., 2022] Charles Lovering, Jessica Forde, George Konidaris, Ellie Pavlick, and Michael Littman. Evaluation beyond task performance: Analyzing concepts in alphazero in hex. In S. Koyejo, S. Mohamed, A. Agar- wal, D. Belgrave, K. Cho, and A. Oh, editors, Advances in Neural Information Processing Systems, volume 35, pages 25992-26006.
  11. Curran Associates, Inc., 2022.
  12. [Lundberg and Lee, 2017] Scott M Lundberg and Su In Lee. A unified approach to interpreting model predictions. In Advances in Neural Information Processing Systems, vol- ume 2017-Decem, pages 4766-4775, 2017.
  13. [McGrath et al., 2021] Thomas McGrath, Andrei Kapish- nikov, Nenad Tomasev, Adam Pearce, Demis Hassabis, Been Kim, Ulrich Paquet, and Vladimir Kramnik. Ac- quisition of chess knowledge in alphazero. CoRR, abs/2111.09259, 2021.
  14. [McGrath et al., 2022] Thomas McGrath, Andrei Kapish- nikov, Nenad Tomašev, Adam Pearce, Martin Watten- berg, Demis Hassabis, Been Kim, Ulrich Paquet, and Vladimir Kramnik. Acquisition of chess knowledge in alp- hazero. Proceedings of the National Academy of Sciences, 119(47):e2206625119, 2022.
  15. [Mi et al., 2020] Jian Xun Mi, An Di Li, and Li Fang Zhou. Review study of interpretation methods for future in- terpretable machine learning. IEEE Access, 8:191969- 191985, 2020.
  16. [Nasu, 2018] Yu Nasu. Efficiently updatable neural- network-based evaluation functions for computer shogi. The 28th World Computer Shogi Championship Appeal Document, 2018.
  17. [Pálsson and Björnsson, 2021] Aðalsteinn Pálsson and Yn- gvi Björnsson. Evaluating interpretability methods for dnns in game-playing agents. In Cameron Browne, Aki- hiro Kishimoto, and Jonathan Schaeffer, editors, Advances in Computer Games -17th International Conference, ACG 2021, Virtual Event, November 23-25, 2021, Revised Se- lected Papers, volume 13262 of Lecture Notes in Com- puter Science, pages 71-81. Springer, 2021.
  18. [Puri et al., 2020] Nikaash Puri, Sukriti Verma, Piyush Gupta, Dhruv Kayastha, Shripad Deshmukh, Balaji Krish- namurthy, and Sameer Singh. Explain your move: Under- standing agent actions using specific and relevant feature attribution. In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net, 2020.
  19. [Ribeiro et al., 2016] Marco Tulio Ribeiro, Sameer Singh, and Carlos Guestrin. "Why should i trust you?" Explaining the predictions of any classifier. Proceedings of the ACM SIGKDD International Conference on Knowledge Discov- ery and Data Mining, 13-17-Augu:1135-1144, 2016.
  20. [Sadikov et al., 2006] Aleksander Sadikov, Martin Mozina, Matej Guid, Jana Krivec, and Ivan Bratko. Automated chess tutor. In H. Jaap van den Herik, Paolo Ciancarini, and H. H. L. M. Donkers, editors, Computers and Games, volume 4630 of Lecture Notes in Computer Science, pages 13-25. Springer, 2006.
  21. [Schwalbe and Finzel, 2021] Gesina Schwalbe and Bettina Finzel. XAI method properties: A (meta-)study. CoRR, abs/2105.07190, 2021.
  22. [Silver et al., 2018] David Silver, Thomas Hubert, Julian Schrittwieser, Ioannis Antonoglou, Matthew Lai, Arthur Guez, Marc Lanctot, Laurent Sifre, Dharshan Kumaran, Thore Graepel, et al. A general reinforcement learning algorithm that masters chess, shogi, and go through self- play. Science, 362(6419):1140-1144, 2018.
  23. [Stockfish, 2022a] Stockfish. Introducing NNUE eval- uation. https://blog.stockfishchess.org/post/ 625828091343896577/introducing-nnue-evaluation, 2022. Accessed: 2022-04-05. Link
  24. [Stockfish, 2022b] Stockfish. NNUE readme. https://github. com/glinscott/nnue-pytorch/blob/master/docs/nnue.md, 2022. Accessed: 2022-04-05. Link
  25. [Stockfish, 2022c] Stockfish. Stockfish: Strong open source chess engine. https://stockfishchess.org/, 2022. Accessed: 2022-01-30. Link
  26. [Stockfish, 2022d] Stockfish. Training datasets. https://github.com/glinscott/nnue-pytorch/wiki/ Training-datasets, 2022. Accessed: 2022-01-30. Link

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards