{"slug": "a-chess-training-app-for-imitation-learning", "title": "A Chess Training App for Imitation Learning", "summary": "Brendan Long, an independent developer, launched a chess training app at chess-pretraining.brendanlong.com that applies imitation learning principles to human chess improvement by having users choose between real game moves and Stockfish's moves. The app, open-sourced under MIT license on GitHub, collects game data from Lichess and uses Stockfish to generate positions, aiming to help players improve quickly, though Long notes it may not be efficient for learning basic rules or openings. The app is live with no signup required, and Long plans to measure user improvement against Lichess ratings if it gains traction.", "body_md": "LLMs learn faster if we [first pretrain them to imitate dense teacher-forced examples](https://www.beren.io/2026-07-26-How-Can-LLM-RL-Work-Despite-Information-Theoretic-Inefficiency/). I speculated that this would work on humans too, so [I built a chess app](https://chess-pretraining.brendanlong.com) where you try to imitate Stockfish. My theory is that this will help humans quickly become OK at chess, but they will reach a wall where practice on full games is more efficient than continued pretraining [1]. I also think the app is fun.\n\nThis is probably not an efficient way to [learn the basic rules of chess](https://lichess.org/learn), and you'll need to [train openings](https://chessbook.com/) separately. The idea of chess puzzle apps is hardly unique, but I don't think anything else works in exactly the same way [2].\n\nWe show you a board state from a real game, and two moves (generally the real move vs. what Stockfish would play). You pick which move you think is better, and then we tell you what Stockfish thinks, and show you how Stockfish would play out the next few moves.\n\nThere are also options to see the other move, to copy the info (to ask an AI to explain it), to share a link to the same problem with a friend, and an Elo-style [3] number so you can watch the number go up\n\nWe collect a bunch of games [from Lichess](https://database.lichess.org/) (filtered to exclude certain fast game types), pick positions where the move mattered and the game wasn't already over, and then run the moves through Stockfish.\n\nIf the real player and Stockfish disagree, we save the real move, Stockfish's move, Stockfish's win percentage for each move, and what Stockfish would play after each move. In the rare case where players agree with Stockfish, we save Stockfish's second best move as an alternative.\n\nWhen someone opens the app, we try to show a move that they can discriminate with 80% accuracy [5]. This still needs more calibration, but the calculation is based on the win probability gap given a shallow search.\n\nThere's a lot more detail about how the app works in [the spec](https://github.com/brendanlong/chess-pretraining-for-humans/blob/main/SPEC.md).\n\nThe code is open source and MIT licensed. You can find it on GitHub: [brendanlong/chess-pretraining-for-humans](https://github.com/brendanlong/chess-pretraining-for-humans/)\n\nIn terms of [privacy](https://chess-pretraining.brendanlong.com/privacy.html), I collect the obvious data (your answers, plus account info if you sign up), and general usage data (how often do people open each page). I may run my own analyses (do people actually improve quickly?) and/or share anonymized data with other researchers.\n\nIf this sounds interesting to you, [the app is live](https://chess-pretraining.brendanlong.com) and you can try it instantly with no signup.\n\nIf this app gets any traction, I'll measure how quickly people improve and [compare it to Lichess ratings](https://github.com/brendanlong/chess-pretraining-for-humans/issues/7).\n\n[Chessort](https://chessort.com/) is similar to my app, but has you rank 4 moves. This is actually a better match for dense pretraining over a teacher model's logit distribution than my app, but it's so difficult that I'm not convinced it's helpful.\n\nThe Elo number is calibrated from the Elo of players making the moves you're judging, but it's very unlikely to match your real chess Elo.\n\nOr watch the number go down, if you're bad at chess like me.\n\nLearning seems to be fastest [around 85% accuracy](https://www.nature.com/articles/s41467-019-12552-4). 80% makes it slightly easier for us to calibrate our ratings.", "url": "https://wpnews.pro/news/a-chess-training-app-for-imitation-learning", "canonical_source": "https://www.lesswrong.com/posts/D2CpuGdiLrhr3gJXa/a-chess-training-app-for-imitation-learning", "published_at": "2026-08-02 01:16:23+00:00", "updated_at": "2026-08-02 01:27:01.435104+00:00", "lang": "en", "topics": ["machine-learning", "ai-products", "ai-research"], "entities": ["Brendan Long", "Stockfish", "Lichess", "GitHub", "chess-pretraining.brendanlong.com", "Chessort"], "alternates": {"html": "https://wpnews.pro/news/a-chess-training-app-for-imitation-learning", "markdown": "https://wpnews.pro/news/a-chess-training-app-for-imitation-learning.md", "text": "https://wpnews.pro/news/a-chess-training-app-for-imitation-learning.txt", "jsonld": "https://wpnews.pro/news/a-chess-training-app-for-imitation-learning.jsonld"}}