TL;DR
This paper introduces ALLIE, a Transformer-based chess AI designed to play like a human rather than a flawless machine. By predicting not just human moves, but also human pondering time and resignations, ALLIE uses a novel "time-adaptive" search algorithm to perfectly calibrate its skill level to human opponents—matching everyone from 1000 Elo beginners to 2500 Elo grandmasters with an average skill gap of just 49 Elo.
What Problem Does This Paper Address?
Modern chess engines like Stockfish and AlphaZero are superhuman, but they are completely alien. They play inscrutable moves, evaluate positions in ways humans can't comprehend, and are terrible at "skill calibration"—meaning if you try to dumb them down to play against a 1500 Elo amateur, they often just make random, uncharacteristic blunders rather than playing like a genuine 1500-rated human.
Previous attempts to build "human-aligned" chess AIs (like the Maia engine) successfully modeled lower-to-mid-tier human play using imitation learning. However, these search-free models hit a ceiling; they fail to replicate the strength and deep calculation of expert and grandmaster players (>2400 Elo). The authors tackle this gap by creating an AI that scales to grandmaster levels while maintaining a distinctly human playing style.
Methods
The authors treat chess as a sequence modeling task, similar to language modeling. They built ALLIE, a 355-million parameter decoder-only Transformer (initialized with GPT-2 weights).
Instead of just predicting the next move, ALLIE is conditioned on the Elo ratings of the players (using "soft control tokens" to interpolate between skill levels) and outputs three things at every turn:
- Policy: A probability distribution over the next move.
- Pondering Time: A prediction of how many seconds a human would think in this position.
- Value: A prediction of who will ultimately win the game.
To bridge the gap to expert-level play, the authors introduce Time-Adaptive Monte-Carlo Tree Search (MCTS). Standard chess engines search millions of future possibilities for every move. ALLIE, instead, allocates its MCTS search rollouts proportionally to its predicted human pondering time. If ALLIE predicts a human would play a move instantly, it does little to no search. If it predicts a critical position where a human would think for 10 seconds, it searches deeply.
Datasets
- Training: 91 million blitz chess games played by humans on Lichess in 2022 (amounting to 6.6 billion tokens). The data was downsampled to ensure an equal balance of games across different Elo brackets.
- Offline Evaluation: 18,000 held-out Lichess games.
- Online Human Evaluation: A large-scale live deployment on Lichess where ALLIE played 7,483 blitz games against 2,412 real human players ranging from beginner to expert.
Key Insights and Ideas
- Learning rules from pure observation: ALLIE was never explicitly programmed with the rules of chess. Yet, simply by observing human games, it assigns near-zero probability to illegal moves (playing valid moves 100% of the time on human test sets and 99.9% on randomized boards).
- Pondering is predictable: The model successfully learned when humans think. Its predicted think times correlate strongly ($r=0.697$) with actual human time usage, proving that the "criticality" of a chess position can be modeled.
- Search is required for expert emulation: Pure imitation learning (just copying human moves without searching ahead) fails against players rated above 2300 Elo. To play like a grandmaster, an AI must calculate future states.
- Adaptive search preserves human-likeness: Standard MCTS makes an engine play too perfectly, destroying its human-like style. By restricting deep search only to moments where humans actually pause to think, ALLIE boosts its strength while maintaining state-of-the-art human move-matching accuracy.
Key Results
Move-matching accuracy across Elo ratings Human-Aligned Chess With a Bit of Search, page 7
- Move Matching: In offline tests, ALLIE correctly predicted the exact move a human played 55.7% of the time, outperforming the previous state-of-the-art (Maia at 51.6%) and GPT-3.5 (53.7%).
- Skill Calibration: In live games against humans, ALLIE with adaptive search achieved an incredibly low average skill calibration error of just 49 Elo across the 1000 to 2600 Elo spectrum.
- Expert Performance: While search-free models lost 75% of their games against players rated over 2400 Elo, ALLIE with adaptive search successfully held its own against 2500 Elo grandmasters.
- Resignations: ALLIE accurately mimics human psychology, resigning in lost positions when a human would 86.4% of the time, with a false positive rate of only 0.1%.
Limitations and Future Work
- Data constraints: ALLIE is trained almost entirely on fast "blitz" games (3-5 minutes per player). Modeling human reasoning in slower, classical time controls is much harder due to a lack of massive datasets for slow games.
- Blindspots in evaluation: Without search, ALLIE's value prediction head struggles to evaluate deep sacrifices and forced checkmates, which strong humans can calculate.
- Need for a true Turing Test: In the online study, human players knew they were playing a bot, which likely biased their qualitative feedback. Future work should involve a blind Turing test to see if humans can actually tell ALLIE apart from a real person.
- Occasional weirdness: Qualitative feedback noted that ALLIE sometimes ponders too long in positions where only one obvious forced move exists, and occasionally makes uncharacteristic late-game blunders.
Summary updated