Mastering Chess with a Transformer Model
Not on the map. Why?
Abstract (arXiv)
Transformer models have demonstrated impressive capabilities when trained at scale, excelling at difficult cognitive tasks requiring complex reasoning and rational decision-making. In this paper, we explore the application of transformers to chess, focusing on the critical role of the position representation within the attention mechanism. We show that transformers endowed with a sufficiently expressive position representation can match existing chess-playing models at a fraction of the computational cost. Our architecture, which we call the Chessformer, significantly outperforms AlphaZero in both playing strength and puzzle solving ability with 8x less computation and matches prior grandmaster-level transformer-based agents in those metrics with 30x less computation. Our models also display an understanding of chess dissimilar and orthogonal to that of top traditional engines, detecting high-level positional features like trapped pieces and fortresses that those engines struggle with. This work demonstrates that domain-specific enhancements can in large part replace the need for model scale, while also highlighting that deep learning can make strides even in areas dominated by search-based methods.
Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 15 of its 23 references that are in the map. First posted on arXiv 18 Sep 2024.
Builds on
15 of 23 references.
References · 15
- 2017Attention Is All You Needcited by 59,932
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
- 2020GLU Variants Improve Transformercited by 1,724
- 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,194
- 2018Self-Attention with Relative Position Representationscited by 1,112
- 2023From Sparse to Soft Mixtures of Expertscited by 245
- 2022DeepNet: Scaling Transformers to 1,000 Layerscited by 176
- 2019Mish: A Self Regularized Non-Monotonic Activation Functioncited by 141
- 2021Acquisition of Chess Knowledge in AlphaZerocited by 120
Built on by
Citing papers per year: 2024: 3; 2025: 5; 2026: 6.
14 papers.
Sort:
By area:
- 2025LLM CHESS: Benchmarking Reasoning and Instruction-Following in LLMs through Chesscited by 12
- 2024LLM-Based World Models Can Make Decisions Solely, But Rigorous Evaluations are Neededcited by 10
- 2025Scalable Decision Making for Games of Imperfect Informationcited by 7
- 2026Grounded Chess Reasoning in Language Models via Master Distillationcited by 5
- 2024Predicting Chess Puzzle Difficulty with Transformerscited by 3
- 2025Out-of-distribution Tests Reveal Compositionality in Chess Transformerscited by 2
- 2025Exploring Human-AI Conceptual Alignment through the Prism of Chesscited by 2
- 2026Tracing the Thought of a Grandmaster-level Chess-Playing Transformercited by 2
- 2025TransZero: Parallel Tree Expansion in MuZero using Transformer Networkscited by 1
- 2026Mixture of Masters: Sparse Chess Language Models with Player Routingcited by 1
- 2026Matilda: Engine-Agnostic Search with Human Policy Guidancecited by 1
- 2024Bridging Local and Global Knowledge via Transformer in Board Gamescited by 0
2 more
- 2026Exploring Collaboration between a language and a non-language agent31 Aug 2026
- 2026Otter: A Time-Aware, History-Conditioned Human Chess AI5 Aug 2026
- 2026Matilda: Engine-Agnostic Search with Human Policy Guidance23 Jun 2026
- 2026Tracing the Thought of a Grandmaster-level Chess-Playing Transformer11 Apr 2026
- 2026Grounded Chess Reasoning in Language Models via Master Distillation20 Mar 2026
- 2026Mixture of Masters: Sparse Chess Language Models with Player Routing4 Feb 2026
- 2025LLM CHESS: Benchmarking Reasoning and Instruction-Following in LLMs through Chess1 Dec 2025
- 2025Scalable Decision Making for Games of Imperfect Information10 Nov 2025
- 2025Exploring Human-AI Conceptual Alignment through the Prism of Chess29 Oct 2025
- 2025Out-of-distribution Tests Reveal Compositionality in Chess Transformers23 Oct 2025
- 2025TransZero: Parallel Tree Expansion in MuZero using Transformer Networks14 Sep 2025
- 2024LLM-Based World Models Can Make Decisions Solely, But Rigorous Evaluations are Needed13 Nov 2024
2 more
- 2025Scalable Decision Making for Games of Imperfect Informationcited by 7
- 2024Predicting Chess Puzzle Difficulty with Transformerscited by 3
- 2025Out-of-distribution Tests Reveal Compositionality in Chess Transformerscited by 2
- 2025Exploring Human-AI Conceptual Alignment through the Prism of Chesscited by 2
- 2026Tracing the Thought of a Grandmaster-level Chess-Playing Transformercited by 2
- 2025TransZero: Parallel Tree Expansion in MuZero using Transformer Networkscited by 1
- 2026Mixture of Masters: Sparse Chess Language Models with Player Routingcited by 1
- 2026Matilda: Engine-Agnostic Search with Human Policy Guidancecited by 1
- 2024Bridging Local and Global Knowledge via Transformer in Board Gamescited by 0
- 2026Otter: A Time-Aware, History-Conditioned Human Chess AIcited by 0
- 2026Otter: A Time-Aware, History-Conditioned Human Chess AI5 Aug 2026
- 2026Matilda: Engine-Agnostic Search with Human Policy Guidance23 Jun 2026
- 2026Tracing the Thought of a Grandmaster-level Chess-Playing Transformer11 Apr 2026
- 2026Mixture of Masters: Sparse Chess Language Models with Player Routing4 Feb 2026
- 2025Scalable Decision Making for Games of Imperfect Information10 Nov 2025
- 2025Exploring Human-AI Conceptual Alignment through the Prism of Chess29 Oct 2025
- 2025Out-of-distribution Tests Reveal Compositionality in Chess Transformers23 Oct 2025
- 2025TransZero: Parallel Tree Expansion in MuZero using Transformer Networks14 Sep 2025
- 2024Predicting Chess Puzzle Difficulty with Transformers14 Oct 2024
- 2024Bridging Local and Global Knowledge via Transformer in Board Games7 Oct 2024