Evidence of Learned Look-Ahead in a Chess-Playing Neural Network
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...
Gespeichert in:
Hauptverfasser: | , , , , , |
---|---|
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
container_end_page | |
---|---|
container_issue | |
container_start_page | |
container_title | |
container_volume | |
creator | Jenner, Erik Kapur, Shreyas Georgiev, Vasil Allen, Cameron Emmons, Scott Russell, Stuart |
description | 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. |
doi_str_mv | 10.48550/arxiv.2406.00877 |
format | Article |
fullrecord | <record><control><sourceid>arxiv_GOX</sourceid><recordid>TN_cdi_arxiv_primary_2406_00877</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2406_00877</sourcerecordid><originalsourceid>FETCH-arxiv_primary_2406_008773</originalsourceid><addsrcrecordid>eNpjYJA0NNAzsTA1NdBPLKrILNMzMjEw0zMwsDA352RwcC3LTEnNS05VyE9T8ElNLMpLTVHwyc_P1nXMSE1MUcjMU0hUcM5ILS7WDchJrMzMS1fwSy0tSswBUiXl-UXZPAysaYk5xam8UJqbQd7NNcTZQxdsV3xBUWZuYlFlPMjOeLCdxoRVAABr6TWi</addsrcrecordid><sourcetype>Open Access Repository</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype></control><display><type>article</type><title>Evidence of Learned Look-Ahead in a Chess-Playing Neural Network</title><source>arXiv.org</source><creator>Jenner, Erik ; Kapur, Shreyas ; Georgiev, Vasil ; Allen, Cameron ; Emmons, Scott ; Russell, Stuart</creator><creatorcontrib>Jenner, Erik ; Kapur, Shreyas ; Georgiev, Vasil ; Allen, Cameron ; Emmons, Scott ; Russell, Stuart</creatorcontrib><description>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.</description><identifier>DOI: 10.48550/arxiv.2406.00877</identifier><language>eng</language><subject>Computer Science - Artificial Intelligence ; Computer Science - Learning</subject><creationdate>2024-06</creationdate><rights>http://arxiv.org/licenses/nonexclusive-distrib/1.0</rights><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>228,230,781,886</link.rule.ids><linktorsrc>$$Uhttps://arxiv.org/abs/2406.00877$$EView_record_in_Cornell_University$$FView_record_in_$$GCornell_University$$Hfree_for_read</linktorsrc><backlink>$$Uhttps://doi.org/10.48550/arXiv.2406.00877$$DView paper in arXiv$$Hfree_for_read</backlink></links><search><creatorcontrib>Jenner, Erik</creatorcontrib><creatorcontrib>Kapur, Shreyas</creatorcontrib><creatorcontrib>Georgiev, Vasil</creatorcontrib><creatorcontrib>Allen, Cameron</creatorcontrib><creatorcontrib>Emmons, Scott</creatorcontrib><creatorcontrib>Russell, Stuart</creatorcontrib><title>Evidence of Learned Look-Ahead in a Chess-Playing Neural Network</title><description>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.</description><subject>Computer Science - Artificial Intelligence</subject><subject>Computer Science - Learning</subject><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2024</creationdate><recordtype>article</recordtype><sourceid>GOX</sourceid><recordid>eNpjYJA0NNAzsTA1NdBPLKrILNMzMjEw0zMwsDA352RwcC3LTEnNS05VyE9T8ElNLMpLTVHwyc_P1nXMSE1MUcjMU0hUcM5ILS7WDchJrMzMS1fwSy0tSswBUiXl-UXZPAysaYk5xam8UJqbQd7NNcTZQxdsV3xBUWZuYlFlPMjOeLCdxoRVAABr6TWi</recordid><startdate>20240602</startdate><enddate>20240602</enddate><creator>Jenner, Erik</creator><creator>Kapur, Shreyas</creator><creator>Georgiev, Vasil</creator><creator>Allen, Cameron</creator><creator>Emmons, Scott</creator><creator>Russell, Stuart</creator><scope>AKY</scope><scope>GOX</scope></search><sort><creationdate>20240602</creationdate><title>Evidence of Learned Look-Ahead in a Chess-Playing Neural Network</title><author>Jenner, Erik ; Kapur, Shreyas ; Georgiev, Vasil ; Allen, Cameron ; Emmons, Scott ; Russell, Stuart</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-arxiv_primary_2406_008773</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2024</creationdate><topic>Computer Science - Artificial Intelligence</topic><topic>Computer Science - Learning</topic><toplevel>online_resources</toplevel><creatorcontrib>Jenner, Erik</creatorcontrib><creatorcontrib>Kapur, Shreyas</creatorcontrib><creatorcontrib>Georgiev, Vasil</creatorcontrib><creatorcontrib>Allen, Cameron</creatorcontrib><creatorcontrib>Emmons, Scott</creatorcontrib><creatorcontrib>Russell, Stuart</creatorcontrib><collection>arXiv Computer Science</collection><collection>arXiv.org</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>Jenner, Erik</au><au>Kapur, Shreyas</au><au>Georgiev, Vasil</au><au>Allen, Cameron</au><au>Emmons, Scott</au><au>Russell, Stuart</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>Evidence of Learned Look-Ahead in a Chess-Playing Neural Network</atitle><date>2024-06-02</date><risdate>2024</risdate><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 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.</abstract><doi>10.48550/arxiv.2406.00877</doi><oa>free_for_read</oa></addata></record> |
fulltext | fulltext_linktorsrc |
identifier | DOI: 10.48550/arxiv.2406.00877 |
ispartof | |
issn | |
language | eng |
recordid | cdi_arxiv_primary_2406_00877 |
source | arXiv.org |
subjects | Computer Science - Artificial Intelligence Computer Science - Learning |
title | Evidence of Learned Look-Ahead in a Chess-Playing Neural Network |
url | https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2024-12-15T22%3A04%3A00IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-arxiv_GOX&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=Evidence%20of%20Learned%20Look-Ahead%20in%20a%20Chess-Playing%20Neural%20Network&rft.au=Jenner,%20Erik&rft.date=2024-06-02&rft_id=info:doi/10.48550/arxiv.2406.00877&rft_dat=%3Carxiv_GOX%3E2406_00877%3C/arxiv_GOX%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_id=info:pmid/&rfr_iscdi=true |