Manuscript Offprint

arXiv:2608.27757

Beyond Search-Imitation: Prior-Directed Exploration for Searchless Chess

Szymon Miłosz, Piotr Duch, Szymon Grabowski

Abstract

Searchless chess networks reach human master strength from a single forward pass by imitating a stronger teacher: the strongest, Leela Chess Zero's (Lc0) released Chessformer, distills the visit counts of an AlphaZero-style Monte Carlo Tree Search (MCTS). Imitating a search is a poor proxy for playing without one, so we fine-tune for single-pass strength with self-play reinforcement learning (RL). Its exploration is usually supplied by an entropy bonus—the reverse Kullback–Leibler (KL) divergence to uniform. We replace it with a forward, mass-covering KL toward the network's own MCTS prior—prior-directed exploration—so exploration covers the moves the prior judges promising, and pair it with an entropy-adaptive sampling temperature, set by the value head's outcome uncertainty, that sharpens once a position is decided. In about two thousand steps it raises puzzle accuracy from 93.9% to 94.9% on a 100,000-puzzle suite and mate-in-four accuracy from 77% to 81% while holding searchless strength at or slightly above the base. Measuring tactical accuracy and playing strength together across a matched-compute sweep, we find the two dissociate: accuracy gains fall in a one-point band while ratings straddle the base, and a control fine-tuned on puzzles alone posts the study's largest tactical gains while shedding roughly 260 Elo—a better puzzle-solver is not thereby a stronger player. Distribution-level measurements show what anchoring buys: without a regularizer self-play collapses onto a single line of play, and the puzzles newly solved are the near misses whose winning move the prior kept alive. The forward-KL prior tops the rating ladder, statistically tied with a reverse-KL anchor that concentrates twice as hard and drops the hardest solutions the mass-covering prior keeps in support.

Keywords: searchless chess; self-play reinforcement learning; exploration; Kullback–Leibler regularization; policy gradient; transformer policy networks

Code: https://github.com/szmilosz/prior-directed-exploration

1 Introduction

A recent line of work builds chess networks that play at up to human master strength 1^{1} while almost eliminating test-time search: the move comes from a single forward pass of a policy (Monroe et al., 2026), a one-ply value lookup over the legal children (Ruoss et al., 2024), or a fixed, shallow decoding or beam procedure standing in for a tree search (Hamara et al., 2025; Ye et al., 2025). Every one of

1^{1}We use “master” conservatively and avoid “grandmaster,” which we think outruns the evidence. Strength here is pool-dependent: Ruoss et al. (2024) rate the same searchless agent at 2895 against humans in the Lichess blitz pool but at 2299 in an engine tournament, and the interpretability study we build on titles our exact checkpoint “grandmaster-level” (Lin et al., 2026). Labels of that kind rest on online blitz or engine-pool ratings: the only human-facing evidence in this line is blitz play on Lichess, and the sole reported game record outside it is a five-game exhibition against a 2100-rated player. Online pools run well above the over-the-board scale at equal strength, and none of these networks has been evaluated at classical time controls, where such a claim would have to be settled. Our claims are relative to the base network and do not turn on the absolute label.

Figure

Figure 1: What self-play fine-tuning does to the base’s mate-finding, depth by depth: geometric-mean probability p∗p^{*} of sampling the full solution line from the model’s output distribution, on the exact mate-in-N suites, relative to the frozen base (dashed, 1×1\times; ratios of the mate columns of Table 4; Section 3.3). Unregularized self-play sharpens shallow mates yet loses deep ones ( 0.07×0.07\times at depth five); the usual entropy bonus erodes every depth; anchoring exploration to the network’s own prior largely preserves them, and the mass-covering forward-KL prior (ours) is the only arm above the base at every depth.

them is trained by imitation: a network is fit to a stronger but slower teacher and then frozen. Our starting point is the strongest, the Chessformer architecture (Monroe et al., 2026) as instantiated and trained by Leela Chess Zero (Lc0) (The LCZero Authors, 2018); it is obtained by supervised distillation of AlphaZero-style self-play data, fitting its policy head to the search's MCTS visit-count distribution and its value head to game outcomes. We write “Chessformer” for this released network from here on. Imitating a search is mismatched with playing without one in two ways. The target is mismatched, because the visit-count distribution is only a noisy proxy for the move that maximizes win probability under direct, searchless play. The state distribution is mismatched, because the training games were produced with search while the weaker searchless policy, left to its own devices, reaches a different distribution of positions, the covariate shift familiar from imitation learning. Self-play RL removes both at once: it optimizes a win/draw/loss reward for searchless strength on data drawn from the searchless policy’s own play. We use it to push Chessformer beyond its search-imitation training.

Interpretability studies of Lc0's transformer chess networks make the target mismatch concrete: these networks carry rich internal computation—with evidence even of learned look-ahead to future optimal moves (Jenner et al., 2024)—yet on tactical puzzles with a single winning move, that move is often computed in the intermediate layers only for the final layer to override it in favor of a safer, positional alternative; a targeted intervention against this late-layer safety bias has been shown to reverse the override for a majority of the suppressed wins (Sandmann et al., 2025) (observed on a smaller network of the same square-token lineage rather than on our exact checkpoint; Appendix B). Because searchless play commits to the argmax, such an override costs strength outright, and we conjecture that fine-tuning on game outcomes restores the move's rank—reaching through training the correction their activation steering reaches at inference.

Reinforcement learning improves a policy only to the extent that it explores, and policy-gradient methods sustain exploration with an entropy bonus that keeps the action distribution spread out (Haarnoja et al., 2018; Mnih et al., 2016; Schulman et al., 2017; Williams, 1992; Williams and Peng, 1991). The entropy bonus is indifferent to which moves are worth trying. Up to an additive constant it is the negative KL divergence −DKL(πθ∥U)-D_{\mathrm{KL}}(\pi_{\theta} \parallel \mathcal{U}) to the uniform distribution U\mathcal{U}, so it pushes probability onto all legal moves, including the many that no strong player would consider. With a large branching factor this spends the exploration budget on obviously bad moves and gives a weak, undirected signal; the same uninformed spreading, and its converse entropy collapse, are live concerns in language-model RL (Cui et al., 2025; Wang et al., 2025).

A far better reference is already available at no extra cost: the base network’s own policy. The network was trained to match the MCTS visit-count distributions of a self-play search, so a single forward pass already returns a search-derived map of the moves worth examining—not the search itself, but the network’s distilled approximation of it. We use this policy πbase\pi_{\text{base}} as the exploration reference, replacing the entropy bonus with a forward, mass-covering KL penalty DKL(πbase∥πθ)D_{\text{KL}}(\pi_{\text{base}} \parallel \pi_{\theta}) toward it. Direction is what turns a divergence into an exploration signal: the mass-covering KL diverges whenever the policy drops a move the prior considers promising, forcing the policy to keep covering the prior’s informed support, whereas the mode-seeking DKL(πθ∥πbase)D_{\text{KL}}(\pi_{\theta} \parallel \pi_{\text{base}}), the anchoring penalty of reinforcement learning from human feedback (RLHF) and from verifiable rewards (RLVR) (Ouyang et al., 2022; Shao et al., 2024), would let the policy collapse onto one move. Using the mass-covering direction for exploration has appeared recently in language-model RL (Deng et al., 2025; Li et al., 2025); we adapt it as a drop-in replacement for the entropy bonus, toward a fixed search-derived prior, in searchless chess. We call the mechanism prior-directed exploration; Section 4 places it among the alternatives.

Prior-directed exploration helps only when the reference is itself exploratory, spreading mass over several promising moves rather than one, so that there is breadth worth covering. Search-derived policies satisfy this by construction, which is why the MCTS prior plays a double role here: a noisy pointwise target for imitation, but an excellent exploratory reference for RL. The late-layer demotion described above (Sandmann et al., 2025) illustrates this split directly: the winning move the output passes over is not erased but re-ranked just below the top, so it persists in the policy's distribution with substantial mass—failing as a pointwise target yet remaining precisely the support a coverage-preserving penalty can keep while the reward lifts it back (Section 3.5 measures this: the solution sits at rank two in 71% of the base's failures). During fine-tuning the win/draw/loss reward re-sharpens the policy within the prior's support toward what actually wins, while the forward KL keeps it from collapsing (Figure 1 previews the outcome on exact mates).

References (59)