The eval bar on a chess broadcast answers the wrong question. It tells you what happens if two 3600-Elo engines play perfectly with infinite time. What you actually want to know while watching humans play is: who is going to win from here, how likely is a draw, and why?
HumanFish is an open hybrid model trained on 550,001 tournament positions (91,720 human 2400–2900 games)
combining Stockfish 19, Leela Chess Zero, a grandmaster move predictor
(DSC-150M), and live tournament clocks. It outputs calibrated
White Win / Draw / Black Win odds—and shows the concrete moves behind every disagreement right on the board.
Green arrows are objectively sound; red arrows blunder. Arrow width and badges show our clock-calibrated GM move probabilities; the slim bars compare Stockfish 19 (left) against HumanFish W/D/L (right).
Frozen weights scored once on completed November 2026 master/GM games (including World Chess Championship Games
1–2, London Chess Classic Masters, Total Chess Finals, and Jerusalem Masters). For log-loss, lower is better:
0.00 is a crystal ball, 1.10 is guessing 33/33/33.
| Model | 3-Way Accuracy (W/D/B) | Decisive Winner Pick | Avg Prob on True Outcome | WDL Log-Loss (Lower = Better) |
|---|---|---|---|---|
| Elo + Move Number Only (no board) | 55.0% | 69.6% | 38.6% | 0.9522 |
| Raw Stockfish 19 (what broadcasts show) | 65.1% | 80.1% | 20.1% | 1.6041 |
Raw DSC-150M (searchless GM neural net) |
68.5% | 80.9% | 48.2% | 0.7299 |
| Same-Learner LightGBM: Stockfish 19 + Elo + Board | 69.2% | 81.6% | 50.0% | 0.6938 |
| Same-Learner LightGBM: Stockfish 19 + Clocks (no DSC/Lc0) | 69.7% | 82.6% | 50.6% | 0.6807 |
| HumanFish — Board Only (no clocks) | 70.3% | 82.7% | 51.2% | 0.6692 |
| HumanFish — Full Model (With Time) | 70.6% | 82.8% | 51.6% | 0.6615 |
A natural first attempt at a human eval bar is to run Stockfish MultiPV and look for "only moves"—positions where
the best move is +3.5 and the second-best move is -2.0. That misses half the problem.
Recapturing a hanging queen and finding a quiet prophylactic king retreat look identical to MultiPV, even though
any player finds the recapture 99% of the time and grandmasters miss the quiet move 80% of the time.
MultiPV measures fragility. It doesn't measure obviousness. To get both, you pair an engine (what is objectively true) with a human move model (what a player at that Elo will actually play). Then you add two things super-GM games actually turn on: Leela Chess Zero (which sees fortresses and long-term compensation differently from Stockfish) and the clock.
Finally, we predict three probabilities (White Win, Draw, Black Win) instead of a single number. A
0.00 Berlin endgame (4 / 92 / 4) and a 0.00 time-scramble Najdorf
(32 / 36 / 32) both sit at 50% expected score, yet one game is over and the other is on fire.
N = 18,445). Every tower pulls real, non-redundant weight.
We pulled all 82 monthly archives of the Lichess Broadcast Database (2020-01 to
2026-10). Three subtle bugs will quietly wreck your dataset if you don't look at raw PGNs:
1. Engine tournaments live inside Lichess Broadcasts. TCEC (3300–3500 Elo) is relayed right
alongside human events. If you only filter Elo ≥ 2400, Stockfish-vs-Leela games pollute your
"2700+ human" set. We enforce 2400 ≤ Elo ≤ 2900, Standard chess only, and block engine/Chess960
relays.
2. Clock headers are messy—and easy to leak. Over 30% of broadcast games say
TimeControl="?" or free text. When tournament rules are in the header, we parse them directly.
Otherwise we infer initial time, increment, and move-40 status strictly from %clk timestamps
already observed before the current ply—never peeking ahead at move 40 or how long the game lasts.
3. Position sampling matters. From each deduplicated game (≥ 16 plies,
≥ 60% valid clocks), we divide [12, total_plies - 1] into 6 equal temporal buckets
and pick 1 ply uniformly per bucket. That keeps long endgames from drowning out middlegames (68.8% of test
positions have |SF cp| ≤ 80; only 18.8% are > 200 cp).
Train: 2020-01–2026-06 (509,599 positions / 84,979 games; 31,187
at 2700+).
Val (early stopping, blend & calibration): 2026-07–2026-08
(21,957 positions / 3,663 games).
Dev-Test: 2026-09–2026-10 (18,445 positions / 3,078 games / 91
events / 943 players). Held out from training and used during development.
Prospective Holdout: 2026-11-01–2026-11-26 (2,698 positions /
450 games / 13 tournaments / 185 players), frozen weights scored once.
Time-control mix: Broadcast archives mix all OTB formats, and we keep all three while
conditioning on time control explicitly: Train is 61.8% Classical /
16.8% Rapid / 21.5% Blitz; Dev-Test is 82.6% Classical /
11.4% Rapid / 6.0% Blitz; Prospective Nov 2026 is 51.5%
Classical / 26.9% Rapid / 21.6% Blitz. Classical-only slices are broken out separately below.
Cost: Feature extraction across 550k positions ran on 32 Spot NVIDIA L4s (DSC-150M
at 360 pos/s + lc0-cuda 200n) pipelined into 16 Spot 64-vCPU machines (Stockfish 19 250k +
2-ply refutation at 76 pos/s per box). Total wall time was ~75 minutes for roughly $25.
Scope caveat: Our statistical power is strongest across 2400–2900 master/GM play and 2600+ GMs. Pure 2700+ samples are still small (101 games dev; 57 games Nov), so event-clustered 95% intervals on 2700+ alone remain wide. We report them explicitly below.
Once you iterate on a test set (even without tuning hyperparameters on it), it stops being truly sealed. So we froze every model weight and calibrator, pulled 450 completed human 2400+ games played between November 1 and November 26, 2026 across 13 tournaments, and evaluated them once.
0.6615) beats the matched
same-learner LightGBM Stockfish baseline (0.6938) by -0.0323 (tournament-clustered
95% CI [-0.0441, -0.0104], p = 0.006) and clean SF19 + Clocks (0.6807) by
-0.0192 (p < 0.0005). It also beats No-DSC SF19 + Lc0 + Clocks
(0.6678) and Raw DSC-150M (0.7299).
| November 2026 Prospective Slice | Positions | Games / Tours | Same-Learner LGBM SF19 | Frozen HumanFish | Delta | Tour-Clustered 95% CI |
|---|
An easy mistake in tabular ML is comparing a simple linear baseline against a heavy GBDT ensemble and crediting
the entire win to your fancy features. Indeed, our initial 10-feature logistic Stockfish baseline got
0.7171 on Dev-Test, whereas training the exact same 3-seed LightGBM learner on
just Stockfish 19 + Elo + board features already drops it to 0.6688. Over half of the naive gap
was model class.
The remaining -0.0274 nats on Dev-Test (0.6413 vs. 0.6688) and
-0.0323 on November 2026 is pure feature signal. To isolate each piece cleanly, every
cumulative step and Leave-One-Group-Out (LOGO) drop strips out every direct and interaction
feature derived from that component, using the exact same 3-seed LightGBM learner:
p ≤ 0.0005):
Causal OTB Clocks (+0.0065), DSC-150M + Regret
(+0.0052), Leela Lc0 (+0.0044), and Stockfish 19 +
Regret (+0.0033). Explicit 1-ply/2-ply regret adds +0.0007 on top of all
three engines (p = 0.002), and SF MultiPV/depth adds +0.0002 (vs.
-0.0039 on SF alone) while powering the on-board arrows and refutations.
| Model / Controlled Ablation (Dev-Test 2026-09/10, N = 18,445) | Feats | WDL Log-Loss | Brier | Exp ECE (10) | Macro Class ECE | Δ vs LGBM SF19 |
|---|
Resampling by game assumes games in the same tournament or by the same player are independent. They aren't. Clustering by event (91 tournament clusters) or player (943 players) widens the 95% intervals—and every major win still clears zero cleanly:
| Paired Comparison (< 0 = First Model Better) | Point Δ | Game CI (3,078) | Event CI (91) | Player CI (943) | Boot p (2000 ev) |
|---|
DSC-150M Leak Into Our Training Set?
Good question: DSC-150M was fine-tuned on classical OTB games up through mid-2026, which overlaps our
2020–2026-06 training window (though not our 2026-09/10 or 2026-11
test sets). That can't inflate test scores, but it could make our ensemble over-trust DSC-150M
if its predictions were sharply overfit on training games.
We checked directly: on Classical OTB, DSC-150M's raw WDL log-loss is 0.7013 on Train
(N = 61,733), 0.7020 on Val, 0.6903 on post-cutoff Dev-Test, and
0.6760 on Prospective Nov 2026 (Top-1 move accuracy: 63.0% Train vs. 62.1%
Dev-Test and 63.0% Nov). Because DSC-150M was pretrained on 1.28B positions with only
two light fine-tuning passes, there is essentially zero in-sample WDL overfitting. We also tested down-weighting
DSC-150M by blending our Full model with a No-DSC (SF19 + Lc0 + Clocks) model on Val;
re-blending left out-of-sample log-loss essentially unchanged (0.6413 → 0.6415 dev;
0.6615 → 0.6614 Nov), confirming the ensemble isn't being misled by stacking leakage.
A fair worry with any chess outcome model is that late, already-decided positions inflate aggregate metrics.
Slicing by move number, material phase, and objective decidedness
shows the exact opposite: the lift over Stockfish is largest in openings (-0.0291),
full-board middlegames (-0.0306; -0.0392 in Nov early middlegames), and unclear
positions (|cp| ≤ 80: -0.0300), and smallest once the board is already decided
(|cp| > 200: -0.0180).
2700+ slice (101 games / 19 events, point estimate
-0.0261, Event CI [-0.0638, +0.0109], p = 0.086) excludes zero under
event clustering. At 2600+ GM (458 games / 31 events), the gain is -0.0306
([-0.0479, -0.0164], p = 0.0005 (1999/2000)).
| Subgroup (Dev-Test 2026-09/10) | Pos (Games / Ev) | Elo Floor | LGBM SF19 | HumanFish | Delta | Event 95% CI |
|---|
Expected-score calibration can fool you: predicting 50/0/50 instead of 20/60/20 has
zero expected-score error while getting every class wrong. Below we measure sample-weighted Expected Calibration
Error ECE = Σ (n_b / N) |mean(p_b) - mean(y_b)| across 11 tail-resolved bins
([0,5%), [5,15%), ..., [85,95%), [95,100%]) separately for White Win,
Draw, and Black Win, plus Tail ECE restricted to extreme
predictions (< 15% or ≥ 85%).
0.0154 same-learner LGBM SF19,
0.0459 raw DSC-150M, and 0.1668 raw Stockfish 19). White-win and Black-win tail
errors sit at 0.14% and 0.26% (draw tail: 1.28%).
| Subgroup (HumanFish, Dev-Test) | N | Exp ECE (10) | Macro Class ECE | White ECE (Tail) | Draw ECE (Tail) | Black ECE (Tail) |
|---|
Outcome log-loss validates the eval bar, not the percentages on the board arrows. Raw DSC-150M is
pure 1-ply intuition—it doesn't search and it doesn't see the clock. On routine moves that's fine. On a hard
saving move (Stockfish only-move gap ≥ 8 pp, DSC-150M < 30%), it fails badly: a
grandmaster smells danger, burns clock, and solves the tactic 45.5% of the time on Dev-Test
(47.4% in Nov 2026) even though 1-ply intuition says 13.8%. At the same time, raw
DSC-150M over-predicts tempting blunders (26.5% predicted vs. 14.0%
actually played).
The fix is one tiny model that mirrors how humans actually choose moves: start from 1-ply intuition
(α · log p_DSC(m)), add a learned calculation offset from a 157 KB pure-NumPy residual MLP
conditioned on Stockfish move quality, d6/d12 tactical visibility, Elo, and the mover's clock, and
normalize with a single softmax over candidates plus an "other moves" bucket.
Trained on 80k positions and audited with exact zero-truncation probabilities, it cuts move cross-entropy by
-0.1107 nats on Dev-Test (1.0017 → 0.8910, p < 0.0005) and
-0.1098 nats on Prospective Nov 2026 (1.0035 → 0.8937). Top-1 move accuracy rises
from 62.2% → 66.6% (Nov: 62.5% → 65.9%), Nov arrow ECE drops nearly 3×
(0.0116 → 0.0044; Dev 0.0035), and hidden saving moves jump from 13.8%
raw to 42.5% calibrated—right next to the actual 45.5%:
| Conditional Move Slice (Zero Top-5 Truncation) | Dev N | Raw DSC | Cal Policy | Actual GM | Nov 2026 (Raw → Cal vs Actual) |
|---|
dsc_d_white shifted
draw odds by +14% says nothing about the board. Instead, the live viewer splits HumanFish - Stockfish
into Board Practicality (equalized Elos) plus an order-invariant 2-ordering Shapley split
between Rating Gap and Clock Pressure, paired with clock-calibrated arrows.
(This is model attribution, not ground-truth causation.) In Carlsen vs. Niemann (81...Ba3, blitz with 34s
left), Stockfish says 50.7% while HumanFish says 80.1% (+22.4 board,
+3.9 Elo, +3.0 clock): Stockfish's lone drawing move Kf8 shows as a
dashed 9% green arrow (0.9% 1-ply intuition) surrounded by four thick red blunder
arrows (Bd2, Bb2, Be3, Ba3). Niemann played Ba3 and lost.
See it live on the board →
All training code, GCP Spot fleet scripts, trained model weights, raw audit JSONs, and enriched game traces are
right here. All of our code should be considered public domain—use, modify, or redistribute it
however you like (upstream engines and third-party weights retain their own licenses). The CPU bundle runs live
on any laptop with Stockfish 19 and DSC-150M (no GPU or Lc0 needed).
| Artifact | What's Inside | Size | Download |
|---|---|---|---|
humanfish-source.tar.gz |
Full source: src/ (live viewer, WCC tracker, predictor), v2/ (64-shard GCP pipeline, training, controlled ablations, Nov 2026 holdout, explainer), gcp/, SVG pieces, README.md. |
— | Source Code |
humanfish_cpu_bundle.joblib |
Ready-to-run CPU model (0.6468 dev / 0.6677 Nov 2026; With Time & Board Only). Runs locally with DSC-150M + Stockfish 19. |
— | CPU Model |
humanfish_move_policy.joblib |
Pure-NumPy System 1 + System 2 move-arrow reranker (0.8910 dev / 0.8937 Nov move NLL; <0.1 ms CPU inference). |
— | Move Policy |
humanfish_full_ensemble.tar.gz |
Full HumanFish Ensemble (0.6413 dev / 0.6615 Nov 2026): LightGBM + PyTorch ResMLP + CatBoost (With Time & Board Only) + calibrators. | — | Full Ensemble |
audit_report_dev.json |
Dev-Test (2026-09/10, N = 18,445) controlled ablations, Game/Event/Player CIs, 20 subgroup slices, and 11-bin per-class calibration data. |
— | Dev Audit JSON |
move_policy_audit.json |
Zero-truncation move-arrow audit on Dev-Test (N=18,445) & Nov 2026 (N=2,698): NLL CIs, Arrow ECE, hidden only-moves by clock/depth, and tempting blunders. |
— | Move Audit JSON |
audit_extra.json |
DSC-150M train-vs-test stacking leakage audit, No-DSC mitigation test, exact time-control mix, and empirical validation of 83,677 board arrows & only-move traps. |
— | Extra Audit JSON |
prospective_nov2026_report.json |
Frozen November 2026 prospective holdout report (N = 2,698 / 450 games / 13 tournaments): scores, tournament/player CIs, phase slices, and per-class ECE. | — | Nov 2026 JSON |
humanfish_traces.json |
All 11 enriched 2026 Super-GM game traces (including 6 Magnus Carlsen games) with waterfalls, eval-colored arrows, and SF/Lc0/Human lines. | — | Game Traces |
| Component | Role | Upstream Link |
|---|---|---|
| ChessDS / DSC-150M | GM-tuned Chessformer policy & WDL prior (CC BY 4.0) | huggingface.co/ChessDS/DSC-150M • chessds-dsc |
| Stockfish 19 | Multi-depth search, MultiPV=5, candidate evals & 2-ply refutation | official-stockfish/Stockfish (sf_19) |
| Leela Chess Zero (v0.32.1) | Positional/fortress evaluation (t3-512x15x16h-distill2, 200n) |
LeelaChessZero/lc0 • BT4-distilled net |
| Lichess Broadcast Database | 82 monthly OTB broadcast archives (2020–2026) + live match API | database.lichess.org/broadcast/list.txt |
# 1. Unpack source and place the CPU model bundle
tar -xzf humanfish-source.tar.gz && cd humanfish
mkdir -p artifacts bin/stockfish
mv /path/to/humanfish_cpu_bundle.joblib /path/to/humanfish_move_policy.joblib artifacts/
# 2. Install Python 3.12 dependencies (CPU-only PyTorch keeps install under 250 MB)
python3 -m venv .venv && source .venv/bin/activate
pip install --index-url https://download.pytorch.org/whl/cpu torch
pip install python-chess lightgbm catboost scikit-learn scipy pandas pyarrow joblib fastapi uvicorn requests zstandard safetensors
pip install --no-deps "git+https://github.com/ChessDS/chessds-dsc.git@v0.1.0"
# 3. Grab Stockfish 19 binary
curl -sL https://github.com/official-stockfish/Stockfish/releases/download/sf_19/stockfish-linux-x86-64-universal.tar.gz | tar -xz -C bin/
# 4. Launch the live viewer & API (DSC-150M downloads automatically on first call)
uvicorn webapp:app --app-dir src --host 0.0.0.0 --port 8842