Amortized Planning with Large-Scale Transformers: A Case Study on Chess

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Ruoss, Anian, Delétang, Grégoire, Medapati, Sourabh, Grau-Moya, Jordi, Wenliang, Li Kevin, Catt, Elliot, Reid, John, Lewis, Cannada A., Veness, Joel, Genewein, Tim
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866916446807785472
author Ruoss, Anian
Delétang, Grégoire
Medapati, Sourabh
Grau-Moya, Jordi
Wenliang, Li Kevin
Catt, Elliot
Reid, John
Lewis, Cannada A.
Veness, Joel
Genewein, Tim
author_facet Ruoss, Anian
Delétang, Grégoire
Medapati, Sourabh
Grau-Moya, Jordi
Wenliang, Li Kevin
Catt, Elliot
Reid, John
Lewis, Cannada A.
Veness, Joel
Genewein, Tim
contents This paper uses chess, a landmark planning problem in AI, to assess transformers' performance on a planning task where memorization is futile $\unicode{x2013}$ even at a large scale. To this end, we release ChessBench, a large-scale benchmark dataset of 10 million chess games with legal move and value annotations (15 billion data points) provided by Stockfish 16, the state-of-the-art chess engine. We train transformers with up to 270 million parameters on ChessBench via supervised learning and perform extensive ablations to assess the impact of dataset size, model size, architecture type, and different prediction targets (state-values, action-values, and behavioral cloning). Our largest models learn to predict action-values for novel boards quite accurately, implying highly non-trivial generalization. Despite performing no explicit search, our resulting chess policy solves challenging chess puzzles and achieves a surprisingly strong Lichess blitz Elo of 2895 against humans (grandmaster level). We also compare to Leela Chess Zero and AlphaZero (trained without supervision via self-play) with and without search. We show that, although a remarkably good approximation of Stockfish's search-based algorithm can be distilled into large-scale transformers via supervised learning, perfect distillation is still beyond reach, thus making ChessBench well-suited for future research.
format Preprint
id arxiv_https___arxiv_org_abs_2402_04494
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Amortized Planning with Large-Scale Transformers: A Case Study on Chess
Ruoss, Anian
Delétang, Grégoire
Medapati, Sourabh
Grau-Moya, Jordi
Wenliang, Li Kevin
Catt, Elliot
Reid, John
Lewis, Cannada A.
Veness, Joel
Genewein, Tim
Machine Learning
Artificial Intelligence
This paper uses chess, a landmark planning problem in AI, to assess transformers' performance on a planning task where memorization is futile $\unicode{x2013}$ even at a large scale. To this end, we release ChessBench, a large-scale benchmark dataset of 10 million chess games with legal move and value annotations (15 billion data points) provided by Stockfish 16, the state-of-the-art chess engine. We train transformers with up to 270 million parameters on ChessBench via supervised learning and perform extensive ablations to assess the impact of dataset size, model size, architecture type, and different prediction targets (state-values, action-values, and behavioral cloning). Our largest models learn to predict action-values for novel boards quite accurately, implying highly non-trivial generalization. Despite performing no explicit search, our resulting chess policy solves challenging chess puzzles and achieves a surprisingly strong Lichess blitz Elo of 2895 against humans (grandmaster level). We also compare to Leela Chess Zero and AlphaZero (trained without supervision via self-play) with and without search. We show that, although a remarkably good approximation of Stockfish's search-based algorithm can be distilled into large-scale transformers via supervised learning, perfect distillation is still beyond reach, thus making ChessBench well-suited for future research.
title Amortized Planning with Large-Scale Transformers: A Case Study on Chess
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2402.04494