Evidence of Learned Look-Ahead in a Chess-Playing Neural Network. Jenner, E., Kapur, S., Georgiev, V., Allen, C., Emmons, S., & Russell, S. In Globerson, A., Mackey, L., Belgrave, D., Fan, A., Paquet, U., Tomczak, J., & Zhang, C., editors, Advances in Neural Information Processing Systems, volume 37, pages 31410–31437, 2024. Curran Associates, Inc..
Paper doi abstract bibtex 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 and value network of Leela Chess Zero, the currently strongest deep 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 clear evidence of learned look-ahead in neural networks and might be a step towards a better understanding of their capabilities.
@inproceedings{jenner:2024:evidence-of-learned-look-ahead-in-chess-playing-neural-network,
title = {Evidence of Learned Look-Ahead in a Chess-Playing Neural Network},
author = {Jenner, Erik and Kapur, Shreyas and Georgiev, Vasil and Allen, Cameron and Emmons, Scott and Russell, Stuart},
editor = {A. Globerson and L. Mackey and D. Belgrave and A. Fan and U. Paquet and J. Tomczak and C. Zhang},
year = {2024},
booktitle = {Advances in Neural Information Processing Systems},
publisher = {Curran Associates, Inc.},
volume = {37},
pages = {31410--31437},
doi = {10.52202/079017-0987},
url = {https://proceedings.neurips.cc/paper_files/paper/2024/file/37d9f19150fce07bced2a81fc87d47a6-Paper-Conference.pdf},
abstract = {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 and value network of Leela Chess Zero, the currently strongest deep 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 clear evidence of learned look-ahead in neural networks and might be a step towards a better understanding of their capabilities.},
affiliation = {UC Berkeley},
website = {https://leela-interp.github.io/},
pdf = {https://proceedings.neurips.cc/paper_files/paper/2024/file/37d9f19150fce07bced2a81fc87d47a6-Paper-Conference.pdf},
code = {https://github.com/HumanCompatibleAI/leela-interp},
}
Downloads: 0
{"_id":"RCmzFcGea9PHzuZHS","bibbaseid":"jenner-kapur-georgiev-allen-emmons-russell-evidenceoflearnedlookaheadinachessplayingneuralnetwork-2024","author_short":["Jenner, E.","Kapur, S.","Georgiev, V.","Allen, C.","Emmons, S.","Russell, S."],"bibdata":{"bibtype":"inproceedings","type":"inproceedings","title":"Evidence of Learned Look-Ahead in a Chess-Playing Neural Network","author":[{"propositions":[],"lastnames":["Jenner"],"firstnames":["Erik"],"suffixes":[]},{"propositions":[],"lastnames":["Kapur"],"firstnames":["Shreyas"],"suffixes":[]},{"propositions":[],"lastnames":["Georgiev"],"firstnames":["Vasil"],"suffixes":[]},{"propositions":[],"lastnames":["Allen"],"firstnames":["Cameron"],"suffixes":[]},{"propositions":[],"lastnames":["Emmons"],"firstnames":["Scott"],"suffixes":[]},{"propositions":[],"lastnames":["Russell"],"firstnames":["Stuart"],"suffixes":[]}],"editor":[{"firstnames":["A."],"propositions":[],"lastnames":["Globerson"],"suffixes":[]},{"firstnames":["L."],"propositions":[],"lastnames":["Mackey"],"suffixes":[]},{"firstnames":["D."],"propositions":[],"lastnames":["Belgrave"],"suffixes":[]},{"firstnames":["A."],"propositions":[],"lastnames":["Fan"],"suffixes":[]},{"firstnames":["U."],"propositions":[],"lastnames":["Paquet"],"suffixes":[]},{"firstnames":["J."],"propositions":[],"lastnames":["Tomczak"],"suffixes":[]},{"firstnames":["C."],"propositions":[],"lastnames":["Zhang"],"suffixes":[]}],"year":"2024","booktitle":"Advances in Neural Information Processing Systems","publisher":"Curran Associates, Inc.","volume":"37","pages":"31410–31437","doi":"10.52202/079017-0987","url":"https://proceedings.neurips.cc/paper_files/paper/2024/file/37d9f19150fce07bced2a81fc87d47a6-Paper-Conference.pdf","abstract":"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 and value network of Leela Chess Zero, the currently strongest deep 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 clear evidence of learned look-ahead in neural networks and might be a step towards a better understanding of their capabilities.","affiliation":"UC Berkeley","website":"https://leela-interp.github.io/","pdf":"https://proceedings.neurips.cc/paper_files/paper/2024/file/37d9f19150fce07bced2a81fc87d47a6-Paper-Conference.pdf","code":"https://github.com/HumanCompatibleAI/leela-interp","bibtex":"@inproceedings{jenner:2024:evidence-of-learned-look-ahead-in-chess-playing-neural-network,\n title = {Evidence of Learned Look-Ahead in a Chess-Playing Neural Network},\n author = {Jenner, Erik and Kapur, Shreyas and Georgiev, Vasil and Allen, Cameron and Emmons, Scott and Russell, Stuart},\n editor = {A. Globerson and L. Mackey and D. Belgrave and A. Fan and U. Paquet and J. Tomczak and C. Zhang},\n year = {2024},\n booktitle = {Advances in Neural Information Processing Systems},\n publisher = {Curran Associates, Inc.},\n volume = {37},\n pages = {31410--31437},\n doi = {10.52202/079017-0987},\n url = {https://proceedings.neurips.cc/paper_files/paper/2024/file/37d9f19150fce07bced2a81fc87d47a6-Paper-Conference.pdf},\n abstract = {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 and value network of Leela Chess Zero, the currently strongest deep 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 clear evidence of learned look-ahead in neural networks and might be a step towards a better understanding of their capabilities.},\n affiliation = {UC Berkeley},\n website = {https://leela-interp.github.io/},\n pdf = {https://proceedings.neurips.cc/paper_files/paper/2024/file/37d9f19150fce07bced2a81fc87d47a6-Paper-Conference.pdf},\n code = {https://github.com/HumanCompatibleAI/leela-interp},\n}\n\n","author_short":["Jenner, E.","Kapur, S.","Georgiev, V.","Allen, C.","Emmons, S.","Russell, S."],"editor_short":["Globerson, A.","Mackey, L.","Belgrave, D.","Fan, A.","Paquet, U.","Tomczak, J.","Zhang, C."],"key":"jenner:2024:evidence-of-learned-look-ahead-in-chess-playing-neural-network","id":"jenner:2024:evidence-of-learned-look-ahead-in-chess-playing-neural-network","bibbaseid":"jenner-kapur-georgiev-allen-emmons-russell-evidenceoflearnedlookaheadinachessplayingneuralnetwork-2024","role":"author","urls":{"Paper":"https://proceedings.neurips.cc/paper_files/paper/2024/file/37d9f19150fce07bced2a81fc87d47a6-Paper-Conference.pdf"},"metadata":{"authorlinks":{}}},"bibtype":"inproceedings","biburl":"https://raw.githubusercontent.com/lichess-org/papers/main/lichess.bib","dataSources":["shB3Z7oaBcgBmet5C"],"keywords":[],"search_terms":["evidence","learned","look","ahead","chess","playing","neural","network","jenner","kapur","georgiev","allen","emmons","russell"],"title":"Evidence of Learned Look-Ahead in a Chess-Playing Neural Network","year":2024}