A 4B model trained on engine-checked explanations beat GPT-5-chat on chess puzzles
Made by Zhenwei Tang and six co-authors
The result
The story
Chess puzzles, solved out loud
Chess engines such as Stockfish play far above any human, yet the paper notes that state-of-the-art language models still struggle with basic tactical puzzles, and an earlier attempt to teach them with reinforcement learning gained little because their chess was too weak to learn from. A team at the University of Toronto, with co-authors at Queen’s University and Coolwei AI Lab, tried a different starting point.

The task is narrow. Each test item is a position from the Lichess puzzle database with one best move. The model gets the board as a FEN string plus a list of where every piece stands and every legal move, explains its reasoning in words, and ends with one move in UCI notation, such as e2e4. Only that final move is scored.
An engine’s answer, a bigger model’s words
The method, which the authors call Master Distillation, splits the work. For each training puzzle, Stockfish at search depth 24 supplies the solution line. Gemini 3 Flash then writes a 4 to 10 sentence explanation that arrives at that move, told to reason as if it didn’t know the answer. It also sees hints the student never gets: the puzzle’s themes, its rating and the opponent’s last move.
Data
C1-data: Lichess puzzles with distilled explanations
39,609 explanations for fine-tuning and 39,585 other puzzles for reinforcement learning (paper; the release lists 39,601 and 39,572)
Lichess puzzle database, sampled to balance the 50 rarest tactical themes (800 each); explanations by Gemini-3-Flash-Preview via OpenRouter, steered by Stockfish’s solution
Released on Hugging Face under Apache-2.0, together with the 900 test puzzles.
Small model
C1-4B
4B (4.02B per Hugging Face) · Alibaba Qwen (base model); trained by the University of Toronto team
Fully fine-tuned on the distilled explanations, then trained with reinforcement learning (DAPO-C1), rewarded only when its move matched the solution
- Base
- Qwen3-4B-Instruct-2507
The student is Qwen3-4B-Instruct-2507, a 4-billion-parameter open model from Alibaba’s Qwen team that scores near zero on these puzzles out of the box. It was fully fine-tuned on the explanations, then trained with reinforcement learning on a separate set of puzzles, earning a reward of 1 when its final move matched the solution and 0 otherwise. In the paper’s comparisons, full fine-tuning beat LoRA (40.9% against 32.1% at rank 16 and 38.8% at rank 64), and the reinforcement-learning stage added 7.2 points.
Training
- Method
- Full-parameter fine-tuning with LLaMA-Factory (learning rate 1e-5, batch 256, up to 10 epochs), then DAPO-C1 with VERL (learning rate 1e-6, 1 epoch, 32 samples per puzzle): DAPO keeping the KL penalty and dropping overlong-reward shaping
- Time
- Not in the paper; the code README gives about 3 h 40 min for fine-tuning on 8x
H100 and about 4 h for a full RL run
Not reported: cost.
900 puzzles, one move each
Evaluation
900 test items
- Test set
- 900 Lichess puzzles from the ChessQA benchmark: 400 across four rating levels (100 each) and 500 across 20 tactical themes (25 each)
- Metric
- Accuracy, pass@1: the final move must match the solution exactly (UCI)
- How it was compared
- Same puzzles, prompt and scoring for every model. Closed models ran through OpenRouter with reasoning enabled where available; their effort and sampling settings aren’t stated. C1-4B decodes greedily.
Large model
GPT-5-chat
Size not disclosed · OpenAI
Used as released through OpenRouter, with the same puzzle prompt
- Base
- General model
C1-4B averaged 48.1%, writing about 178 tokens per answer. GPT-5-chat scored 38.3% with 925 tokens, and C1’s own teacher, Gemini 3 Flash, 40.8% with 6,418. The best open model tested, DeepSeek-chat-v3.1, reached 20.0%. The strongest models stayed far ahead: GPT-5 scored 76.7% using 12,193 tokens per answer, and Gemini 3 Pro 75.4%.
Against its teacher the win isn’t uniform. By rating level, C1-4B ties Gemini 3 Flash on Beginner puzzles (65.0% each), trails on Intermediate (39.0% against 59.0%) and leads on Advanced (39.0% against 34.0%) and Expert (22.0% against 19.0%); most of the gap comes from the theme set (53.6% against 38.0%). Reinforcement learning helped on easier puzzles but not on Expert ones, where the fine-tuned-only model did better (26.0% against 22.0%).
What’s public
The paper reports no money cost or response time, only tokens per answer. The test puzzles, the training data and the C1-4B weights went up on Hugging Face on 22 June 2026, and the code is on GitHub; in the repository’s own run the released model scores 48.3%. That code uses the 900 test puzzles as the validation set during reinforcement learning and to choose checkpoints, while the paper describes a held-out validation set.
All the numbers
Show all numbersHide all numbersEvery model · Cost, latency and energy · 4 more results
Every model on the headline test
Cost, latency and energy, as reported
- Cost
- Not reported
- Latency
- Not reported
- Not reported (only token counts).
- Energy
- Not reported
More from the source
Average tokens per answer
Small model 178Large model 925 tokens
c1: Table 1, ‘Avg Tokens’
Average accuracy vs Gemini 3 Flash (C1’s teacher)
Small model 48.1Large model 40.8 %
Gemini 3 Flash used 6,418 tokens per answer on average.
c1: Table 1
Average accuracy and tokens, closed models (Table 1)
model value tokens gpt-5 76.7 12193 gemini-3-pro 75.4 3182 gemini-3-flash 40.8 6418 gpt-5-chat 38.3 925 gemini-2.5-pro 30.1 9668 claude-sonnet-4.5 25.6 3227 claude-sonnet-4 23.8 8028 claude-haiku-4.5 23.3 8111 gemini-2.5-flash 7.2 9991 C1-4B 48.1 178 c1: Table 1
Accuracy by split, C1-4B vs gemini-3-flash vs gpt-5-chat
split C1-4B gemini-3-flash gpt-5-chat Beginner 65 65 52 Intermediate 39 59 39 Advanced 39 34 27 Expert 22 19 18 Theme-Split 53.6 38 41.8 On Intermediate, C1-4B ties gpt-5-chat (39.0 each); it is ahead on the other four splits.
c1: Table 1
Worth knowing
- Not a win over the frontier: GPT-5 (76.7%) and Gemini 3 Pro (75.4%) score far above C1-4B (48.1%). The win is over GPT-5-chat, Gemini 3 Flash, Gemini 2.5 Pro, the Claude 4/4.5 models and every open model tested.
- Against its teacher Gemini 3 Flash, the average win (48.1% vs 40.8%) comes from the theme-split set (53.6% vs 38.0%). By difficulty, C1-4B ties it on Beginner (65.0 each), trails it on Intermediate (39.0 vs 59.0) and leads on Advanced (39.0 vs 34.0) and Expert (22.0 vs 19.0). The paper’s sentence that the improvement is ‘consistent across difficulty levels’ does not match Table 1 for this comparison.
- Preprint marked ‘Under review’; the authors trained the model and ran all baselines; one run per model, no intervals.
- Every model is given the list of legal moves in the prompt, so the test measures choosing among legal moves, not finding them.
2 more caveats
- RL helped on Beginner and Intermediate puzzles but not on Expert ones (C1-SFT-4B 26.0% vs C1-4B 22.0% on Expert).
- The site already has a chess case (Google DeepMind’s 270M model). This one is different: the small model also explains its move in words.
Weights on Hugging Face
Checked 03 Oct 2026 via the Hugging Face MCP: 4.02B parameters, base_model Qwen/Qwen3-4B-Instruct-2507, Apache-2.0, tagged arxiv:2603.20510. Data: huggingface.co/datasets/UofTCSSLab/C1-data (linked from the paper, not checked). Code: github.com/CSSLab/C1.
- UofTCSSLab/C1-4BC1-4B
Sources
- Tang et al., ‘Grounded Chess Reasoning in Language Models via Master Distillation’, arXiv 2603.20510 v2 (23 Jun 2026)
- C1-4B model, Hugging Face
- Code, GitHub CSSLab/C1
- arXiv v1 20 Mar 2026; numbers from v2, 23 Jun 2026. Preprint marked ‘Under review’.
