Do neural networks learn to implement algorithms such as look-ahead or search "in the wild"? Or do they rely purely on collections of simple heuristics? We present evidence of learned look-ahead in the policy network of Leela Chess Zero, the currently strongest neural chess engine. We find that Leela internally represents future optimal moves and that these representations are crucial for its final output in certain board states. Concretely, we exploit the fact that Leela is a transformer that treats every chessboard square like a token in language models, and give three lines of evidence (1) activations on certain squares of future moves are unusually important causally; (2) we find attention heads that move important information "forward and backward in time," e.g., from squares of future moves to squares of earlier ones; and (3) we train a simple probe that can predict the optimal move 2 turns ahead with 92% accuracy (in board states where Leela finds a single best line). These findings are an existence proof of learned look-ahead in neural networks and might be a step towards a better understanding of their capabilities.
Neural Network-based Information Set Weighting for Playing Reconnaissance Blind Chess
Institute for Application-Oriented Knowledge-Processing at the Johannes Kepler University Linz(约翰内斯·开普勒林茨大学应用导向知识处理研究所);LIT Artificial Intelligence Lab(LIT人工智能实验室);University of Alberta(阿尔伯塔大学);Alberta Machine Intelligence Institute(阿尔伯塔机器智能研究所)
Tracing the Thought of a Grandmaster-level Chess-Playing Transformer
Shanghai Innovation Institute, Shanghai, China(上海创新研究院);School of Computer Science, Fudan University, Shanghai, China(复旦大学计算机科学技术学院);School of Mathematics and Statistics, Xi’an Jiaotong University(西安交通大学数学与统计学院)
DeepChess: End-to-End Deep Neural Network for Automatic Learning in Chess
The Blavatnik School of Computer Science, Tel Aviv University(特拉维夫大学布拉瓦特尼克计算机科学学院);Department of Computer Science, Bar-Ilan University(巴伊兰大学计算机科学系);Center for Automation Research, University of Maryland(马里兰大学自动化研究中心)
Learning Explainable Representations of Complex Game-playing Strategies
North Carolina State University(北卡罗来纳州立大学);Indian Institute of Technology Bombay(印度理工学院孟买分校);Tata Research Development and Design Centre(塔塔研究开发与设计中心);Northeastern University(东北大学)
Checkmating One, by Using Many: Combining Mixture of Experts with MCTS to Improve in Chess
Computer Science Department TU Darmstadt Darmstadt, Germany 0000-0001-5681-532X;Machine Learning Lab TU Darmstadt Darmstadt, Germany 0000-0002-9568-8965;Machine Learning Lab, Hessian Center for Artificial Intelligence (hessian.AI) TU Darmstadt Darmstadt, Germany 0000-0002-9400-0946;Computer Science Department TU Darmstadt Darmstadt, Germany 0009-0004-9082-9871;Machine Learning Lab, Hessian Center for Artificial Intelligence (hessian.AI), Centre for Cognitive Science, German Research Center for Artificial Intelligence (DFKI) TU Darmstadt Darmstadt, Germany 0000-0002-2873-9152