[P] Vibecoded on a home PC: building a ~2700 Elo browser-playable neural chess engine with a Karpathy-inspired AI-assisted research loop

· Source: Machine Learning · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Gaming & Interactive Media · Depth: Advanced, short

Summary

Adam Jesion built Autochess NN, a browser-playable neural chess engine, as a personal experiment to understand AlphaZero-style systems. The project, developed using an AI-assisted research loop on an RTX 4090, features a residual CNN + transformer architecture with ~16M parameters and learned thought tokens. It uses a 19-plane 8x8 input and a 4672-move policy head plus a value head, trained on over 100M positions through supervised pretraining, Syzygy endgame fine-tuning, and self-play RL with search distillation. The engine, which performs CPU inference with shallow 1-ply lookahead under 2ms, is wrapped in a free browser app for interactive play, board editing, PGN import, puzzles, and move analysis. Jesion hypothesizes it is unusually compute-efficient for its strength, potentially exceeding 2500 Elo.

Key takeaway

For AI Scientists developing neural game engines, your focus should be on integrating AI-assisted research loops to accelerate development and achieve high Elo ratings with compute efficiency. Consider combining supervised pretraining with self-play reinforcement learning and explore novel architectural elements like "thought tokens" or "Temporal Look-Ahead" to push performance boundaries. Your next step could be to pressure-test compute-efficiency claims against established benchmarks.

Key insights

An AI-assisted research loop can rapidly develop high-performance neural chess engines on consumer hardware.

Principles

Method

The pipeline involves 2200+ Lichess supervised pretraining, followed by Syzygy endgame fine-tuning, and then self-play reinforcement learning with search distillation.

In practice

Topics

Best for: AI Scientist, Research Scientist, AI Engineer, Machine Learning Engineer, AI Researcher

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Machine Learning.