CHSM8: A Chess Transformer that Follows Natural-Language Style Prompts
On the map: LLM alignment / RLHF / preference optimisation → Preference alignment for recommenders and RAG also fits: Process reward models for reasoning
Abstract (arXiv)
We present CHSM8, a 210M-parameter chess transformer that plays moves conditioned on a free-text description of a playing style, e.g. "go for the Sicilian Defense", "solid, safe, risk-free chess" or "You are Magnus Carlsen in his prime". The model is pretrained without search on 1.07B filtered Lichess games, using a factorized move representation and legal-move masking. It reaches 1837 Elo against a strength-limited Stockfish and, in 1,000-game matches, beat every other public model we tested that was likewise trained without preference tuning, rewards or search, including one with 13 times as many parameters. We then fine-tune it to follow text on a synthetic dataset: Gemma-4-31B describes the playing style of 3M game sides, a 1B Gemma-3 model distilled from the 2.4M of those descriptions that contradict nothing on the board labels the rest, and every one of 30M selected game sides gets five descriptions. Supervised fine-tuning attaches a frozen text encoder through gated cross-attention, and direct preference optimization (DPO) uses the same moves under a mismatched description as the rejected sample. After DPO, style adherence rises on every prompt we test (for example, queens traded early 53% -> 67%, pawn moves 29% -> 32% of all moves, queenside castling 97.3% -> 99.7%), and strength without a prompt stays within noise of SFT (1792 vs. 1797 Elo). Design choices at every stage were made by fixed-budget automated search loops on top of standard architectures and training recipes. We document the full pipeline and the decisions behind it, report the ablations that failed, and evaluate the models across many style prompts and kinds of games, with 1,000 games per setting. The work is fully open source and reproducible: weights, datasets with all training labels, prompts, configurations, inference code and playable demos are public and free to build on.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Preference alignment for recommenders and RAG, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 25 of its 63 references that are in the map. Submitted 18 Oct 2026.
Builds on
25 of 63 references.
References · 25
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,771
- 2015Distilling the Knowledge in a Neural Networkcited by 10,967
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 10,542
- 2025Qwen3 Technical Reportcited by 9,994
- 2022Classifier-Free Diffusion Guidancecited by 6,251
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 5,132
- 2022Scaling Instruction-Finetuned Language Modelscited by 3,102
- 2025Gemma 3 Technical Reportcited by 2,058
- 2020GLU Variants Improve Transformercited by 2,000
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,568
- 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,507
- 2025Large Language Diffusion Modelscited by 1,042
13 more
- 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 788
- 2023C-Pack: Packed Resources For General Chinese Embeddingscited by 701
- 20242 OLMo 2 Furiouscited by 413
- 2025EmbeddingGemma: Powerful and Lightweight Text Representationscited by 162
- 2025Encoder-Decoder Gemma: Improving the Quality-Efficiency Trade-Off via Adaptationcited by 32
- 2025Apertus: Democratizing Open and Compliant LLMs for Global Language Environmentscited by 17
- 2025Learning to Imitate with Less: Efficient Individual Behavior Modeling in Chesscited by 9
- 2026Grounded Chess Reasoning in Language Models via Master Distillationcited by 6
- 2025ChessArena: A Chess Testbed for Evaluating Strategic Reasoning Capabilities of Large Language Modelscited by 4
- 2026UniMaia: Steering Chess Policies with Language for Human-like Playcited by 2
- 2026Matilda: Engine-Agnostic Search with Human Policy Guidancecited by 2
- 2026Otter: A Time-Aware, History-Conditioned Human Chess AIcited by 1
- 2026Language Models that Play Chess and Explain Their Movescited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Out-of-distribution Tests Reveal Compositionality in Chess Transformers
- 2026Playing Dumb: How a Chess Transformer Simulates Users Across Skill Levels
- 2024Emergent World Models and Latent Variable Estimation in Chess-Playing Language Models
- 2026Chess-World-Model: A 10M-Game Benchmark for Exact State Tracking from Chess Move Sequences
- 2025LLM CHESS: Benchmarking Reasoning and Instruction-Following in LLMs through Chess
- 2024Amortized Planning with Large-Scale Transformers: A Case Study on Chess
- 2026Mixture of Masters: Sparse Chess Language Models with Player Routing
- 2024Mastering Board Games by External and Internal Planning with Language Models