Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Chessformer: A Unified Architecture for Chess Modeling

About

Chess has long served as a canonical testbed for artificial intelligence, but modeling approaches for its central tasks have diverged. Maximizing playing strength, predicting human play, and enabling interpretability are typically solved with disparate architectures, and these designs are often misaligned with the geometry of the domain. This raises the natural question of whether these objectives require separate modeling paradigms, or if there exists a single architecture that supports them simultaneously. We introduce Chessformer, a unified architecture that advances the state of the art on all three central goals in chess modeling. Chessformer is an encoder-only transformer that represents board squares as tokens, augments self-attention with a novel dynamic positional encoding called Geometric Attention Bias (GAB) that adapts to domain-specific geometry, and predicts actions with an attention-based source-destination policy head. We evaluate Chessformer on each front. First, we develop \maiathree, a family of models for human move prediction that reaches 57.1\% move-matching accuracy, significantly surpassing the previous state of the art with fewer than a quarter of the parameters. Second, we integrate Chessformer into Leela Chess Zero, a leading open-source engine, adding over 100 Elo of playing strength and resulting in tournament victories over Stockfish in major computer chess competitions. Third, we show that Chessformer's square-token design makes attention patterns and activations directly attributable to board squares, enabling granular interpretability analyses that prior architectures do not naturally support. More broadly, our results demonstrate that aligning a model's tokenization, positional encoding, and output design with the underlying structure of a domain can yield simultaneous gains in performance, human compatibility, and interpretability.

Daniel Monroe, George Eilender, Philip Chalmers, Zhenwei Tang, Ashton Anderson• 2026

Related benchmarks

TaskDatasetResultRank
Move predictionLOB-C
E[Acc]36.55
27
Move predictionLIF
Expected Accuracy27.72
27
Next-move predictionABB
Acc@140.73
24
Next-move predictionM1-S
Accuracy@142.31
24
Next-move predictionM2R
Accuracy@140.32
24
Chess Move PredictionABB (first 10 plies omitted)
Acc@157.1
22
Move predictionLOB-P
E[Acc]36.57
19
Move predictionLGB
E[Acc]34.36
19
Chess Move PredictionM1-S (first 10 plies omitted)
Top-1 Accuracy43.1
17
Chess Move PredictionM2R first 10 plies omitted
Top-1 Accuracy41.27
17
Showing 10 of 36 rows

Other info

Follow for update