In its light, a pawn casts the shadow of a king.

Lucerna is Latin for lamp. Every engine starts as a pawn. This one first taught itself, generation after generation, then learned from millions of games played by people and by Leela Chess Zero.
An original chess engine with a neural-network evaluation, written from scratch and trained on hundreds of millions of positions.

Lucerna is Latin for lamp. Every engine starts as a pawn. This one first taught itself, generation after generation, then learned from millions of games played by people and by Leela Chess Zero.

Evaluation. Lucerna judges a position with an efficiently updatable neural network (NNUE). 768 inputs per side feed a layer of 512 neurons, mirrored for both colours, with SCReLU activation and eight output buckets. It runs on AVX2 instructions and is updated move by move rather than recomputed.
Search. A principal variation search with null-move pruning, late move reductions and internal iterative reductions decides which moves deserve a deeper look. Singular extensions, with double and negative extensions and multi-cut, spend extra effort on the one move that really matters.
Everything else. Lazy SMP lets many threads share one transposition table. Lucerna speaks UCI, so it runs in Arena, Cute Chess, BanksiaGUI or En Croissant. Every change to the engine is kept only if it wins an SPRT match against the version before it.
Lucerna receives the board from your chess program, piece by piece.
Inside, the board becomes 12 sheets of 64 bits, one for each piece type and colour. Moves are generated with fast bit operations.
Each piece switches on its inputs. 512 neurons per side combine them through a squared, clipped activation, and one of 8 outputs gives the score.
A principal variation search looks millions of positions ahead each second. Pruning cuts lines that cannot matter, and singular extensions look deeper when one move is forced.
The move that survives the search is played. The whole journey takes a fraction of a second.
The 1.0 network learned from three sources. Each square below is one sixty-fourth of the data.
All code and every network are original. No Stockfish evaluations were used.

1.027 Oct 2026 · releasedThe first public release.An original NNUE from three data sources, singular extensions, Lazy SMP and three Windows builds.
CCRLNextAn independent rating on the Computer Chess Rating Lists.Submitted to the testers for the blitz and 40/15 lists; the results will appear here.
2.015 Nov 2026 · releasedA network with king buckets, taught by a much larger network trained on over a billion positions.Four king buckets in the input layer, distillation from a 3,072-neuron teacher, and staged move ordering in the search.
Lucerna 1.0 learned from the open training data of Leela Chess Zero (ODbL), and from games in the Lichess database (CC0) and the Lichess Elite Database, which it scored itself. The clear code of Stash gave us many ideas. Cute Chess played every one of our test matches, and lichess-bot lets LucernaBot play online. The chess pieces are the Merida set by Armando Hernandez Marroquin (GPLv2+), from Lichess. Thank you.