♟️ RDTChess3 — it imagines before it plays
RDTChess3 is RDTChess2 (11.05M parameters, recurrent depth ×2, gated memory, SE) after a short self-distillation, plus a 3.84M-parameter look-ahead module g that predicts the network's own latent state after a move, without playing the move on a board. When the policy hesitates (top move under 60 %), it imagines its three best moves and lets its own value head judge them. No tree search, no engine labels, human games only. ≈ +100 Elo over RDTChess2 (63.96 % on 4,000 openings kept untouched until the model was fixed). Live on the Lichess bot. Full report: doi.org/10.5281/zenodo.24295059.
⚠️ One network, one training run. Every RDTChess3 number below comes from a single network and a single training run; the comparisons are paired and their intervals are over openings, not over training seeds. The full protocol, every control and every limit are in the technical report.
This repository ships three checkpoints. RDTChess3.pt (this card's main subject, live on Lichess) is described just below. RDTChess2.pt, its base, keeps its own card in 📎 RDTChess2, and RDTChess.pt, the original plain network, in 📎 RDTChess (original).
🧩 Identity
| Base network | RDTChess2 architecture: residual tower 128 channels × 8 blocks, recurrence ×2, gated, SE, policy + value heads — weights after self-distillation |
| Look-ahead module g | 12 residual blocks of 128 channels; input = latent state h + the move (two one-hot planes); output = the imagined latent state of the next position |
| Parameters | 14.9 M = 11.05 M (network) + 3.84 M (g) |
| Input / outputs | Same as RDTChess2: 19 planes of 8×8 in the canonical frame; 4096 policy logits; one value in [−1, 1] |
| Search | None — at most three imagined positions per move, compared once; nothing is played on a board to choose the move |
| Training data | The same Lichess games as RDTChess2 (July 2026, both players ≥ 1800); no engine label anywhere |
| Extra training | Self-distillation 45 min; g 51,408 steps (≈ 13 h); about 15 h of GPU in total on top of RDTChess2, same GTX 1080 Ti |
| Time per move | ≈ 9.6 ms on a GTX 1080 Ti, ≈ 29 ms on one CPU thread (as on the bot) — RDTChess2: 7.4 / 15 ms |
How it imagines
The network computes the latent state h of the position once. If its favourite move has a probability of at least 0.60, it plays it. Otherwise it takes its three most likely moves c1, c2, c3, imagines each resulting position with g, and plays
argmax_k -v( g(h, c_k) ) + 0.02 · ln p(c_k)
In words: each candidate gets the score of its imagined position (the value is seen from the opponent's side, hence the minus sign), plus a small bonus if the policy liked it, so an unlikely move needs a clearly better imagined position to be chosen. About 59 % of moves are re-read this way and 22 % are changed. The threshold, K = 3 and β = 0.02 are stored in the checkpoint (rule).
The only hand-written rule is a safeguard shared with RDTChess2 (FinishPlies: 1): against a bare king, a mate in one is taken and a stalemate in one is refused.
An example from its games (Black to move, seen from Black's side; RDTChess3 has Black against Maia-3 at 1900):
White arrow, the move it imagines and plays: Bf2 (d4 → f2). The policy gives it only 10.5 %, but the imagined position judges it best, and it saves the game. Pink arrow, crossed out: the instinct move Ng4 (e5 → g4), the policy's first choice at 29 %, which loses at once to Rf8 mate. The position comes from the evaluation games of an earlier version; the released RDTChess3 makes the same choice.
🔨 How it was made
1. Self-distillation (45 minutes). RDTChess2 is fine-tuned to play directly the move its own value head prefers after a one-ply re-reading of the positions where it hesitates, while still learning the human move and the game result. A control fine-tuning without this loss scores 50.11 % against RDTChess2, so the gain is not the extra training itself.
2. The look-ahead module g. With the network frozen, g learns to turn (latent state, move) into the latent state the network would compute on the real resulting position. Its loss asks the imagined position to look like the real one, get the same score from the value head, put sibling moves in the same order, and be read the same way by the policy head. g starts by predicting "nothing changes" (zero-initialised output) and was trained for 51,408 steps on the training games.
3. The rule above, applied at play time only.
That is the whole method: no self-play, no MCTS, no engine as a teacher, no opening book, no tablebase.
📊 Evaluation
The three versions side by side (same benchmarks for all three; duels: 8,000 games each, both colours on openings 0–3,999, no search on either side; Maia: 300 games per match, same openings for the three versions; puzzles: whole solution, 5,000 puzzles; human matching: 25,000 positions of September 2026 games):
| RDTChess (original) | RDTChess2 | RDTChess3 | |
|---|---|---|---|
| Network | 128×8, plain | + recurrence ×2, gated memory, SE | RDTChess2 + self-distillation + look-ahead g |
| Parameters | 10.92M | 11.05M | 11.05M + 3.84M (g) |
| Duel against the original | — | 57.23 % ≈ +51 Elo | 72.68 % ≈ +170 Elo |
| Duel against RDTChess2 | — | — | 64.22 % ≈ +102 Elo |
| Maia-1 1100 / 1500 / 1900 | 75.3 / 61.3 / 56.3 | 78.5 / 69.7 / 60.5 | 86.0 / 80.0 / 80.5 |
| Maia-2 1100 / 1500 / 1900 | 64.3 / 52.2 / 41.7 | 66.0 / 64.2 / 54.0 | 80.8 / 69.3 / 66.8 |
| Maia-3 1100 / 1500 / 1900 | 67.0 / 50.0 / 30.3 | 71.7 / 56.2 / 38.3 | 82.3 / 68.8 / 50.8 |
Minimax depth 2 an opponent that searches; 300 games, versus.py |
63.0 % +155 =68 −77 | 64.8 % +137 =115 −48 | 86.8 % +234 =53 −13 |
| Puzzles 1000 / 1800 / 2600 | 72.4 / 32.7 / 8.1 | 77.3 / 37.9 / 9.0 | 83.5 / 48.8 / 10.8 |
| Puzzles, all | 35.82 % | 40.08 % | 46.52 % |
| Same move as the human | 50.76 % | 51.44 % | 47.63 % |
| Puzzle first move by kind of move (23,845 puzzles) | |||
| All first moves | 57.77 % | 61.48 % | 66.01 % |
Quiet move all / 2000–2399 / 2400+ |
53.1 / 39.3 / 32.8 | 55.4 / 42.0 / 33.3 | 61.4 / 47.1 / 41.5 |
Capture all / 2400+ |
66.5 / 56.1 | 69.4 / 59.9 | 70.4 / 59.5 |
Check all / 2400+ |
56.7 / 51.4 | 61.5 / 55.3 | 66.6 / 57.5 |
Each version is stronger than the one before; RDTChess3 is the first to copy humans less (it chooses what wins when it hesitates). Elo values are differences from paired duels, not ratings.
Paired duels against RDTChess2 (8,000 games per cell, both colours on each opening; 95 % bootstrap intervals over openings):
| Player | Openings 0–3,999 | 4,000–7,999 | 12,000–15,999 (untouched) |
|---|---|---|---|
Imagination only RDTChess2 + rule + g |
55.24 % | 56.43 % | — |
Self-distillation only policy alone, no imagination |
55.96 % | 55.85 % | — |
RDTChess3 both |
64.22 % | 64.85 % | 63.96 % [63.09, 64.82] |
The two mechanisms add up: each alone gives ≈ +40 Elo, together ≈ +100. The untouched set was played once, after the model was fixed.
Against Maia (CSSLab's human-imitating models, one move per position, no search on either side; 300 games per match unless stated):
| Opponent | RDTChess2 | RDTChess3 | Paired gap |
|---|---|---|---|
| Nine matches: Maia-1 / Maia-2 / Maia-3 at 1100, 1500, 1900 | |||
| Maia-1 1100 / 1500 / 1900 | 78.5 / 69.7 / 60.5 | 86.0 / 80.0 / 80.5 | +7.5 / +10.3 / +20.0 |
| Maia-2 1100 / 1500 / 1900 | 66.0 / 64.2 / 54.0 | 80.8 / 69.3 / 66.8 | +14.8 / +5.2 / +12.8 |
| Maia-3 (23M) 1100 / 1500 / 1900 | 71.7 / 56.2 / 38.3 | 82.3 / 68.8 / 50.8 | +10.7 / +12.7 / +12.5 |
| Longer matches and stronger settings | |||
| Maia-1 1900, 2,000 games | 62.0 | 76.2 | +14.3 [+12.0, +16.5] |
| Maia-3 1900, 1,000 games | 37.6 | 51.2 [48.6, 53.9] — level | +13.6 [+10.2, +17.1] |
| Maia-3 2200 / 2600 | 22.5 / 16.8 | 34.0 / 27.3 | +11.5 / +10.5 |
RDTChess3 is above RDTChess2 in all nine matches (pooled paired gap +11.8 [+9.9, +13.8] points), level with Maia-3 at its 1900 setting, and clearly beaten by Maia-3 at 2200 and 2600.
Puzzles and human move matching (puzzles: whole solution, 1,000 puzzles per rating band; human matching: 25,000 positions of September 2026 games):
| Player | Puzzles 1000 | 1800 | 2600 | All | Same move as the human |
|---|---|---|---|---|---|
| RDTChess2 | 77.3 | 37.9 | 9.0 | 40.08 | 51.44 |
| RDTChess3 | 83.5 | 48.8 | 10.8 | 46.52 | 47.63 |
| Maia-3 (23M) | 93.0 | 64.0 | 17.6 | 59.16 | 57.40 |
On the exact Maia-2 paper test set (106,740 positions of rapid games, in the three rating groups of the Maia-2 paper; mean of the three groups, 95 % interval over games). We asked the Maia team (CSSLab, University of Toronto) how this test set was built; they confirmed the test set and the protocol, and agreed that we report these numbers.
| Player | < 1600 | 1600–1999 | ≥ 2000 | Mean |
|---|---|---|---|---|
| Maia-3 (23M) | 55.30 | 58.39 | 60.90 | 58.20 [57.67, 58.72] |
| Maia-2 (rapid) | 51.97 | 54.44 | 54.16 | 53.53 [52.96, 54.08] |
| Maia-1 | 51.64 | 52.88 | 53.42 | 52.64 [52.15, 53.13] |
| RDTChess2 | 49.10 | 53.16 | 53.98 | 52.08 [51.49, 52.65] |
| RDTChess3 | 45.21 | 49.84 | 52.18 | 49.08 [48.49, 49.68] |
RDTChess2, which has no rating input and was trained only on players rated 1800 or more, is 1.45 points below Maia-2 [−1.76, −1.10], and close to it at 2000 and above (−0.18, only 123 games in that group). RDTChess3 is 3.00 points below RDTChess2, as on our own human positions. The released Maia-2 model gives 53.53 %, 0.28 points above the 53.25 % of its paper: the Maia team confirmed that the released checkpoint was trained for one more epoch than the paper's. Details in the technical report.
🚫 No absolute Elo is claimed. "≈ +100 Elo" is a difference against RDTChess2, from paired duels. Re-reading the real resulting positions with the same rule is still stronger (73.35 % against RDTChess2): the imagination captures a little under half (45 % [33, 57]) of that gain.
🚀 Usage
Play it right now, nothing to install
The model runs live as a Lichess bot: lichess.org/@/RDTChessBot
Challenge it in bullet, blitz, rapid or classical, casual or rated. Correspondence is declined on purpose. The bot runs RDTChess3.pt, through uci.py, with FinishPlies: 1 and one CPU thread per game. No search, no opening book, no tablebase.
Install locally
pip install -r requirements.txt
Pick a move
python predict.py # initial position, RDTChess3
python predict.py "6k1/5ppp/8/8/8/8/5PPP/R5K1 w - - 0 1" # any FEN
python predict.py "" RDTChess2.pt # any checkpoint
top 5 moves
e4 49.0 %
d4 29.0 %
Nf3 5.3 %
...
policy alone plays: e4
RDTChess3 plays: e4 (imagined its 3 best moves)
Play it in your browser
python play.py # RDTChess3, you are White, opens http://localhost:8000
python play.py --black
python play.py --model RDTChess2.pt # or RDTChess.pt
Three modes in the page — play the model, play the minimax, or watch the two of them — plus a depth slider. Standard-library HTTP server, no build step, no CDN.
As a UCI engine
python uci.py # RDTChess3 (default)
python uci.py --model RDTChess2.pt
Each info line says whether the move was played by instinct or after imagining three moves.
Use it in your own code
import chess
from engine import ChessEngine
from imagination import ImaginationPlayer
player = ImaginationPlayer("RDTChess3.pt", device="cpu", finish_plies=1)
board = chess.Board()
move = player.get_move(ChessEngine(board.copy()))
print(board.san(move), "imagined" if player.last_imagined else "instinct")
ImaginationPlayer loads the network, g and the rule from the checkpoint. For the raw network only (one forward pass, no imagination), see the snippet in 📎 RDTChess2: ChessNetwork.from_checkpoint("RDTChess3.pt") works the same way.
⚠️ The one mistake to avoid: reading argmax over the full 4096 logits. The policy was only ever trained on legal moves; its illegal logits are meaningless. Always gather at legal_move_indices first.
What is in this repository
| file | role |
|---|---|
RDTChess3.pt |
network + look-ahead module g + rule, weights only (60 MB) |
RDTChess2.pt |
128×8 + recurrence ×2 + gated + SE, weights + architecture config (44 MB) |
RDTChess.pt |
plain 128×8, weights + architecture config (44 MB) |
network.py |
the architecture — loads any of the three, config comes from the file |
imagination.py |
g and the RDTChess3 player (inference only) |
encoding.py |
board ↔ tensor, move ↔ index |
player.py |
the network as a player, get_move(engine) |
engine.py |
board wrapper, canonical encoding, hand-written evaluation |
algo_player.py |
alpha-beta minimax, the opponent used in early evaluation |
gui.py, play.py |
the browser board |
predict.py |
one-position example |
uci.py |
UCI engine, the one the Lichess bot runs |
Inference only. The training code is not part of this release. All checkpoints carry weights and configuration only, with the optimiser state stripped. imagination.py reproduces, move for move, the player measured in the report.
⚠️ Limits — read these before quoting any number
- It does not beat Stockfish, not even remotely. It is a small network with a one-ply imagination, not an engine.
- It plays less like a human than RDTChess2 (47.63 % vs 51.44 % of human moves): when it hesitates, it picks what wins more often, not what a human would play.
- Re-reading the real positions is still stronger than imagining them; the imagination captures a little under half of that gain.
- One network, one training run for every RDTChess3 number; the recipe was confirmed on a smaller network with three seeds (≈ +62 Elo), not on this one.
- Maia-3 is clearly stronger at its 2200 and 2600 settings, and better at predicting human moves.
- Under-promotions cannot be represented (as in RDTChess2): promotions always decode to a queen.
- No absolute rating. Lichess ratings measure strength against the bots and humans the account meets, not against humans in general.
📎 RDTChess2
Everything in this section is about RDTChess2.pt: the base of RDTChess3, with no self-distillation and no imagination — one forward pass per move. It was the model live on the Lichess bot until RDTChess3. Its numbers come from a single training run on a single seed (123).
Identity
| Architecture | Residual tower, 128 channels × 8 blocks, recurrence ×2, gated, SE, two heads |
| Parameters | 11.05 M |
| Input | 19 planes of 8×8, canonical frame |
| Policy output | 4096 raw logits (from-square × 64 + to-square) |
| Value output | One scalar in [−1, 1], tanh |
| Search | None — one forward pass per move |
| Training data | ≈10.99 M Lichess games, both players ≥ 1800 Elo (8 sequential slices, one seed carried through with --resume) |
| Positions seen | 801,295,726, summed across the 8 slices |
| Training time | 68.6 h total on a GTX 1080 Ti, across the 8 sequential runs |
This is RDTChess2.pt. RDTChess.pt — the plain architecture on its own, no recurrence, no gate, no SE — has its own Identity/Evaluation/Data-scaling numbers in the 📎 RDTChess (original) section near the end of this card.
The encoding, and why it is shaped this way
Everything lives in a canonical frame: the side to move is always "White, playing up the board". When Black is to move, every square is mirrored (square ^ 56) and the piece colours swap.
Two consequences, both deliberate:
- the value head always answers "how good is this for the player to move", which is a well-defined question — unlike an absolute encoding, which does not even tell the network whose turn it is;
- a position and its colour-reversed twin share one representation, so every game trains both colours at once.
The 19 planes: 12 for pieces (6 ours, 6 theirs), 4 castling rights, 1 en passant, 1 fifty-move counter, 1 repetition flag.
The policy head emits logits, not a softmax. That is what lets the caller mask illegal moves before normalising. Softmaxing over all 4096 actions and then zeroing ~99% of them spends most of the model's capacity learning that illegal moves are illegal — capacity this size cannot spare.
How it was made
Architecture. Same 128×8 residual tower as RDTChess.pt, plus three additions applied together:
- Recurrent depth ×2 — the tower is applied twice per move, sharing the same convolution weights both times (effective depth ×2 at no extra parameter cost for the convolutions themselves).
- Gated shortcut — a learned per-channel, per-square gate decides how much of the previous pass to keep versus overwrite (
z = sigmoid(W[candidate; previous]), initialised atsigmoid(-2) ≈ 0.12so ~88 % of the previous state survives each pass by default). - Squeeze-and-Excitation in every residual block — a per-channel scale and bias computed from the whole board at once, buying long-range interaction (e.g. a1–h8) without extra convolutional depth.
Data. The Lichess July 2026 standard-game dump, split into 8 sequential slices of ≈1.37M games each (both players rated ≥ 1800). One seed (123) trained on the first slice, then carried through the other 7 with --resume, so the final checkpoint has seen all ≈10.99M games and 801,295,726 positions, one epoch each.
Objective. Plain behaviour cloning. The policy is cross-entropy against the move the human actually played, computed over the legal moves only. The value head regresses the final game result, expressed from the side to move.
Recipe. AdamW, learning rate 1e-3, weight decay 1e-4, betas (0.9, 0.999), batch size 512, gradient clipping 1.0, one epoch per slice, no learning-rate schedule.
That is the whole method. No self-play, no MCTS, no distillation from an engine, no opening book, no endgame tablebase.
Evaluation
Compared against the plain (non-recurrent, non-gated, non-SE) 128×8 architecture, same data, same seed, one run each time — puzzles, Maia and minimax across all 8 slices; the round-robin across the first 7, run before the 8th finished training:
| Yardstick | Result |
|---|---|
|
Puzzles, first move (McNemar, 23,845 puzzles)
single forward pass, no search
|
ahead 8 / 8 — never inverted, always significant |
|
Maia-1100 / 1500 / 1900, no search either side
300 games per slice per level
|
ahead 23 / 24 — one isolated reversal, recovered next slice |
|
Full round-robin, 14 checkpoints, 91 pairs
27,300 games, no search either side, aggregate score vs the other 13
|
ahead 7 / 7 — never inverted, the most stable instrument of all four |
|
Minimax depth 2 (n=300)
an adversary that searches, unlike the three yardsticks above
|
ahead 4 / 8 — no stable direction, each swing confirmed on a second independent draw |
🚫 No absolute Elo is claimed. Every figure here is a difference measured inside one family of models, on one training seed. (Its Lichess ratings are given in the limits below, with what they do and do not mean.)
Actual scores against Maia (CSSLab's human-imitating engine, nodes=1, no search either side), on the final checkpoint — one training seed (123):
| Opponent | RDTChess2.pt | Plain architecture |
|---|---|---|
| Maia-1100 | 78.5 % | 77.3 % |
| Maia-1500 | 69.7 % | 68.8 % |
| Maia-1900 | 60.5 % | 55.8 % |
Read this precisely, not optimistically. Puzzles, Maia, and the round-robin all judge in one pass, no search — the same regime this model is actually deployed in — and all three are stable and one-sided across every slice tested. Minimax is a stress test against an opponent that searches for a refutation; the mechanism never collapses against it, but the signal is too noisy at n=300 to claim it wins there either. On the 5 hand-picked positions where the production model actually lost a real game, both architectures bounce between fixing and re-breaking the same handful of positions slice to slice — until, on the very last slice, both converged on choosing the exact identical move on all 6 tested, the first time that happened.
This was confirmed on one seed (123) only, extended sequentially across 8 slices of the same data with --resume. The 1.38M-game starting point was separately confirmed on three independent seeds (24, 123, 454) before this single-seed extension began; the extension itself has not been repeated on another seed. Full protocol, every intermediate number, and the honest instability of the minimax signal are in the project's own lab notebook, not reproduced here in full.
What it is good at, and where it breaks
Measured on the same 23,845 Lichess puzzles as the comparison above, on the final checkpoint (all 8 slices). One move per position, no search.
| First move of the solution | 61.5 % |
| Entire line | 42.5 % |
|
Random baseline
28.0 legal moves on average
|
3.6 % |
The entry move is the hard one
The network is asked at every move of the line — even after it has already erred, so that no step is measured on a pre-filtered sample.
| Length | Accuracy, first move → last |
|---|---|
| 2 moves | 54.5 → 78.3 |
| 3 moves | 56.9 → 71.1 → 87.0 |
| 4 moves | 64.1 → 72.7 → 77.7 → 89.6 |
| 5 moves | 68.7 → 75.5 → 77.6 → 83.0 → 91.7 |
The entry is the hardest move of every line here too, by 10 to 22 points — a smaller gap than RDTChess.pt's 20 to 35, but not closed. The last move of the line sits around 90 %, same as the original architecture.
And it is the quiet entry that breaks, same as the original
First move found, split by what kind of move it is.
| Entry move | < 1200 | 1200-1599 | 1600-1999 | 2000-2399 | 2400+ |
|---|---|---|---|---|---|
| Forcing — visible in the position | |||||
| Check | 79.7 | 65.2 | 52.6 | 42.0 | 55.3 |
| Capture | 92.2 | 77.4 | 63.8 | 60.7 | 59.9 |
| Non-forcing — justified only by what comes later | |||||
| Quiet | 95.1 | 80.3 | 59.1 | 42.0 | 33.3 |
The quiet move is still the hardest category at high rating — 33.3 % at 2400+, essentially unchanged from RDTChess.pt's 32.8 %. Every band improved a little (quiet at 1600-1999: 59.1 vs 54.7; at 2000-2399: 42.0 vs 39.3), but the shape — quiet collapsing from easiest to hardest as rating rises — is identical. Recurrent depth, gating and SE bought accuracy; they did not change what kind of move the network struggles to initiate.
Use the raw network (one forward pass)
RDTChess2 is played by python play.py --model RDTChess2.pt, python uci.py --model RDTChess2.pt or python predict.py "" RDTChess2.pt. In your own code:
Use it in your own code
import chess, numpy as np, torch
from encoding import board_to_planes, legal_move_indices
from network import ChessNetwork
model = ChessNetwork.from_checkpoint("RDTChess2.pt", device="cpu") # or "RDTChess.pt", "RDTChess3.pt"
board = chess.Board()
moves, indices = legal_move_indices(board) # legal moves + their indices
planes = torch.from_numpy(board_to_planes(board)).unsqueeze(0)
with torch.no_grad():
logits, value = model(planes)
legal = logits[0, torch.as_tensor(indices.astype(np.int64))]
probs = torch.softmax(legal.float(), dim=0).numpy() # over legal moves ONLY
print(board.san(moves[int(probs.argmax())]), float(value))
⚠️ The one mistake to avoid: reading argmax over the full 4096 logits. About 99 % of them are illegal in any given position. Always gather at legal_move_indices first.
ChessNetwork.from_checkpoint returns the model already in eval() mode. Keep it there — the tower is BatchNorm, and train-mode batch statistics will corrupt single-position inference.
Limits of RDTChess2
- It imitates, it does not solve. The objective is agreement with 1800+ humans. Where those humans are systematically wrong, so is the model, by construction. It is not trying to find the best move; it is trying to find the likely move.
- No search, and it shows. One forward pass. The puzzle breakdown in the RDTChess (original) section locates the cost precisely: 90 % on forced continuations, 32.8 % on quiet entries in hard positions — the same weakness this architecture inherits, since neither addition changes what the model is asked to do.
- One seed, one run. No variance control on the extension past 1.38M games (the 1.38M starting point itself was 3-seed confirmed).
- Under-promotions cannot be represented. The action space collapses from/to pairs and always decodes promotions to a queen. This costs well under 0.1 % of moves in normal play, but it makes a handful of knight-promotion puzzles unsolvable by construction.
- No absolute rating. Its Lichess ratings while it ran the bot (16 November 2026: bullet 1,707, blitz 1,476, rapid 1,496, classical 1,762) measure strength against the bots and humans that account met, not against humans in general. Do not read a win-rate against minimax as an Elo.
- The value head is weak supervision. It regresses the final result of the game, which is a very noisy label for a position at move 12.
- Distribution. Trained on rated blitz/rapid from one month of one server, at one rating floor. Behaviour outside that distribution — correspondence, odds games, composed positions — is untested.
- The released weights are the raw supervised checkpoint. No self-play fine-tuning was applied to it (RDTChess3's self-distillation starts from it).
- The minimax comparison is noisy at n=300. Read the round-robin (91 pairs, 27,300 games) as the more direct instrument; minimax swings by double digits between two independent draws.
📎 RDTChess (original)
Everything in this section is about RDTChess.pt specifically: the plain 128×8 tower, no recurrence, no gate, no SE — the original single-seed, 5.5M-game run. None of the numbers below apply to RDTChess2.pt or RDTChess3.pt above; RDTChess2's own comparison against this architecture is in 📎 RDTChess2.
| Architecture | Residual tower, 128 channels × 8 blocks, two heads |
| Parameters | 10.92 M |
| Input | 19 planes of 8×8, canonical frame |
| Policy output | 4096 raw logits (from-square × 64 + to-square) |
| Value output | One scalar in [−1, 1], tanh |
| Search | None — one forward pass per move |
| Training data | 5,497,103 Lichess games, both players ≥ 1800 Elo |
| Positions seen | 400,581,531, one epoch |
| Training time | 12 h 54 on a GTX 1080 Ti |
How it was made
Data. The Lichess July 2026 standard-game dump. A game is kept when both players are rated ≥ 1800 (the filter takes min(WhiteElo, BlackElo)), which leaves 5,497,103 games in the 5 GB archive — all of them used. Every position of every kept game becomes one training sample, from the first ply: 400,581,531 positions, seen once.
Objective. Plain behaviour cloning. The policy is cross-entropy against the move the human actually played, computed over the legal moves only. The value head regresses the final game result, expressed from the side to move.
Recipe. AdamW, learning rate 1e-3, weight decay 1e-4, betas (0.9, 0.999), batch size 512, gradient clipping 1.0, one epoch, no learning-rate schedule.
That is the whole method. No self-play, no MCTS, no distillation from an engine, no opening book, no endgame tablebase.
Evaluation
Three independent yardsticks, because they disagree — and the disagreement is itself a finding.
| Yardstick | Result |
|---|---|
|
Top-1 on held-out human moves
agreement with what the human actually played
|
51.7 % |
|
vs minimax depth 1
300 games · +249 =34 −17
|
88.7 % |
|
vs minimax depth 2
300 games · +144 =69 −87
|
59.5 % |
|
vs the same net trained on 2M games
600 games · +35 Elo · p = 0.0034
|
55.1 % |
A fixed opponent measures how well you exploit that opponent, not general strength: the depth-1 and depth-2 figures move by 29 points for the same model. The head-to-head duel is the most informative of the three.
🚫 No absolute Elo is claimed. This model has never been played against a rated pool. Every Elo figure here is a difference measured inside one family of models.
Data scaling
| Games | Net | Decade | Gain vs d1 | Rate |
|---|---|---|---|---|
| 150 k → 1 M | 96×4 | 0.82 | +21.2 pts | 25.7 / decade |
| 1 M → 2 M | 96×4 | 0.30 | +6.3 pts | 20.9 / decade |
| 2 M → 5.5 M | 128×8 | 0.44 | +8.0 pts | 18.2 / decade |
The rate bends steadily — 25.7, 20.9, 18.2 — without collapsing. The +8.0 was predicted at +9 before the run from the two earlier points.
The last row is a wider net than the first two, so the three rates are not a single controlled curve: read the bend as a trend, not as a measurement. The architecture comparison was run separately, at fixed data, and found depth to be the lever that pays and width almost nothing on its own — until the two are combined.
What it is good at, and where it breaks
Measured on 23,845 Lichess puzzles, sampled by cell (solution length × rating band) so that puzzle difficulty is not confounded with solution length. One move per position, no search.
| First move of the solution | 57.8 % |
| Entire line | 38.3 % |
|
Random baseline
28.0 legal moves on average
|
3.6 % |
The entry move is the hard one
The network is asked at every move of the line — even after it has already erred, so that no step is measured on a pre-filtered sample.
| Length | Accuracy, first move → last |
|---|---|
| 2 moves | 51.9 → 76.1 |
| 3 moves | 53.6 → 67.5 → 85.1 |
| 4 moves | 60.4 → 69.6 → 75.2 → 88.0 |
| 5 moves | 65.5 → 72.5 → 75.5 → 80.3 → 90.6 |
The entry is the hardest move of every line, by 20 to 35 points. The last is around 90 %, whatever the depth. Once inside a forcing sequence — recaptures, checks, the mate — the network barely errs. Starting one is the problem.
And it is the quiet entry that breaks
First move found, split by what kind of move it is.
| Entry move | < 1200 | 1200-1599 | 1600-1999 | 2000-2399 | 2400+ |
|---|---|---|---|---|---|
| Forcing — visible in the position | |||||
| Check | 74.4 | 59.5 | 47.5 | 39.5 | 51.4 |
| Capture | 91.6 | 73.8 | 60.7 | 57.7 | 56.1 |
| Non-forcing — justified only by what comes later | |||||
| Quiet | 94.6 | 75.6 | 54.7 | 39.3 | 32.8 |
The quiet move goes from the easiest category to the hardest — 23 points below captures in the same band — as difficulty rises. Captures and checks are visible in the position; a quiet preparatory move is justified only by what comes three plies later.
💡 In one sentence: this network executes tactics, it does not initiate them.
📄 License
Apache-2.0.
📚 Citation
For RDTChess3 (the look-ahead module and the self-distillation), please cite the report:
@techreport{charlet2026rdtchess3,
author = {Théo CHARLET},
title = {RDTChess3: Latent Look-Ahead. Imagining the Next Position Inside a Search-Free, Human-Trained Chess Network},
institution = {Independent research},
year = {2026},
month = nov,
doi = {10.5281/zenodo.24544470},
url = {https://doi.org/10.5281/zenodo.24544470}
}
For the models and code in general:
@misc{charlet2026rdtchess,
author = {Théo CHARLET},
title = {RDTChess: 128x8 chess policy and value networks trained on human Lichess games},
year = {2026},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/RDTvlokip/RDTChess}}
}
Théo CHARLET
TSSR Graduate (IT Systems & Networks Technician) — AI/ML Specialization
Creator of AG-BPE (Attention-Guided Byte-Pair Encoding)
🚀 Seeking internship opportunities
Collection including RDTvlokip/RDTChess
Evaluation results
- Score vs RDTChess2 on 4000 openings kept untouched until the model was fixed (12000-15999), 8000 games, one training runself-reported63.960
- Score vs Maia-3 1900 on 1000 games, both coloursself-reported51.200
- Entire solution line on Lichess puzzle database, 5000 puzzles (1000 per rating band)self-reported46.520
- First move of the solution on Lichess puzzle database, 23845 puzzles sampled by solution length x rating band, one seed (123)self-reported61.500
- Entire solution line on Lichess puzzle database, 23845 puzzles sampled by solution length x rating band, one seed (123)self-reported42.500
- Score vs minimax depth 2 on 300 games, seed 4242, 300-move cap, one training seed (123)self-reported60.800
- Stages ahead of the plain architecture (aggregate score) on 91 pairs, 27300 games, one training seed (123)self-reported7.000
- Top-1 move agreement on Lichess July 2026 standard games, both players 1800+ Elo, held-out splitself-reported51.700