This repository provides an implementation of our paper Grandmaster-Level Chess Without Search.
The recent breakthrough successes in machine learning are mainly attributed to scale: namely large-scale attention-based architectures and datasets of unprecedented scale. This paper investigates the impact of training at scale for chess. Unlike traditional chess engines that rely on complex heuristics, explicit search, or a combination of both, we train a 270M parameter transformer model with supervised learning on a dataset of 10 million chess games. We annotate each board in the dataset with action-values provided by the powerful Stockfish 16 engine, leading to roughly 15 billion data points. Our largest model reaches a Lichess blitz Elo of 2895 against humans, and successfully solves a series of challenging chess puzzles, without any domain-specific tweaks or explicit search algorithms. We also show that our model outperforms AlphaZero's policy and value networks (without MCTS) and GPT-3.5-turbo-instruct. A systematic investigation of model and dataset size shows that strong chess performance only arises at sufficient scale. To validate our results, we perform an extensive series of ablations of design choices and hyperparameters.
Grandmaster-Level Chess Without Search
Moderator: Ras
-
- Posts: 3
- Joined: Sat Aug 15, 2015 4:25 pm
Grandmaster-Level Chess Without Search
From Google Deepmind: https://github.com/google-deepmind/searchless_chess
-
- Posts: 12355
- Joined: Thu Mar 09, 2006 12:57 am
- Location: Birmingham UK
- Full name: Graham Laight
Re: Grandmaster-Level Chess Without Search
This has been there 6 months - why has nobody mentioned this before? 

Human chess is partly about tactics and strategy, but mostly about memory
-
- Posts: 3229
- Joined: Wed Mar 10, 2010 10:18 pm
- Location: Hamburg, Germany
- Full name: Srdja Matovic
Re: Grandmaster-Level Chess Without Search
The paper was posted:
Grandmaster-Level Chess Without Search. Large-scale attention-based architectures and datasets of unprecedented scale.
viewtopic.php?p=958355#p958355
--
Srdja
Grandmaster-Level Chess Without Search. Large-scale attention-based architectures and datasets of unprecedented scale.
viewtopic.php?p=958355#p958355
--
Srdja
-
- Posts: 223
- Joined: Tue Apr 09, 2024 6:24 am
- Full name: Michael Chaly
Re: Grandmaster-Level Chess Without Search
Because leela nets did this long time before google and with smaller nets (and also having a better playing strength).
Mind you that leela also switched to transformer nets almost 2 years ago.
Mind you that leela also switched to transformer nets almost 2 years ago.
-
- Posts: 7299
- Joined: Thu Aug 18, 2011 12:04 pm
- Full name: Ed Schröder
Re: Grandmaster-Level Chess Without Search
You can make a reasonable opening book using Leela at depth=1.
Did this 2-3 years ago, long before the article.
Did this 2-3 years ago, long before the article.
90% of coding is debugging, the other 10% is writing bugs.
-
- Posts: 4624
- Joined: Tue Apr 03, 2012 4:28 pm
- Location: Midi-Pyrénées
- Full name: Christopher Whittington
Re: Grandmaster-Level Chess Without Search
Arguably, the sorts of tactically complex positions with lots of material on board that no-search-nets might tactically fail on, are quite likely to be the sorts of positions that GMs could tactically fail on also.
-
- Posts: 4624
- Joined: Tue Apr 03, 2012 4:28 pm
- Location: Midi-Pyrénées
- Full name: Christopher Whittington
Re: Grandmaster-Level Chess Without Search
Yes but. If you have such an opening book with 1% blunders in it, it will blunder 1% of games. If you used the same net to give node evals for an AB or minimax search, you can guarantee the search will track down and play the erroneous blunder positions at well above 1% rate. Search finds bugs.
-
- Posts: 12355
- Joined: Thu Mar 09, 2006 12:57 am
- Location: Birmingham UK
- Full name: Graham Laight
Re: Grandmaster-Level Chess Without Search
smatovic wrote: ↑Fri Oct 18, 2024 6:12 pm The paper was posted:
Grandmaster-Level Chess Without Search. Large-scale attention-based architectures and datasets of unprecedented scale.
viewtopic.php?p=958355#p958355
--
Srdja
Thanks - very useful reminder, and a very good thread in which I learned some valuable lessons: Google will have had important reasons for doing this work - but LC0's NN:
1. Got to GM at ply 1 first
2. Is smaller
3. Is better
Human chess is partly about tactics and strategy, but mostly about memory
-
- Posts: 12355
- Joined: Thu Mar 09, 2006 12:57 am
- Location: Birmingham UK
- Full name: Graham Laight
Re: Grandmaster-Level Chess Without Search
People have been looking to search and to tablebases to solve chess.
Wrong place: the solution will come from knowledge. Human skill will as well: later this century, using the new knowledge and the new techniques for teaching it, the children will go from beginner to well into the 2000s elo level in just a few months.
Wrong place: the solution will come from knowledge. Human skill will as well: later this century, using the new knowledge and the new techniques for teaching it, the children will go from beginner to well into the 2000s elo level in just a few months.
Human chess is partly about tactics and strategy, but mostly about memory
-
- Posts: 2583
- Joined: Mon Feb 08, 2016 12:43 am
- Full name: Brendan J Norman
Re: Grandmaster-Level Chess Without Search
Agree.towforce wrote: ↑Fri Oct 18, 2024 10:09 pm People have been looking to search and to tablebases to solve chess.
Wrong place: the solution will come from knowledge. Human skill will as well: later this century, using the new knowledge and the new techniques for teaching it, the children will go from beginner to well into the 2000s elo level in just a few months.
The same principle applies when a master gives a simul to amateurs.
He is not outcalculating them as he tears all 24 boards to pieces, despite his opponent's vastly larger thinking time.
It is his vast mental storehouse of knowledge, of tactical patterns, or structures etc that make him superior.