Skip to content

Releases

Marty v2.1

Choose a tag to compare

@tedsummers tedsummers released this 29 Nov 12:22

Marty v2.1 — Topological Fortress Detection & FortressMode

Marty v2.1 builds on Marty v2's +346.1 Elo 10KB × H=512 NNUE overhaul with principled bitboard fortress recognition and an optional FortressMode UCI analysis switch for study/fortress solving.

What's New in Marty v2.1

  • Topological Pawn-Barrier & Color-Complex Fortress Scaler (eval.c): Fast O(1) 8-step bitboard flood-fill checking whether winning heavy pieces & king are topologically disconnected from the defending king behind an unbroken pawn + pawn-attack wall (no knights, no pawn breaks, no unblocked passed pawns, single-color or zero winning bishops).
  • Generalized Endgame Scaling & Smooth 50-Move Damping (eval.c, search.c): Generalized wrong-colored rook pawn (multiple pawns on a/h file), tightened locked OCB (3/8), smooth halfmove >= 32 damping converging cleanly toward 0 by ply 100 (TT < 84), and total_pieces <= 10 NMP verification—verified Elo-neutral in 400-game 8+0.08 PGO vs. PGO testing against v2.0.
  • New FortressMode UCI Option (default false): Enables deeper stalemate/low-king-mobility pruning guards, locked-pawn RFP/Futility/LMP/LMR relaxation, early halfmove >= 12 shuffling damping (TT < 60), and Q vs R+minor locked-pawn fortress scaling for analysis and study solving without costing tournament Elo in default mode.

Fortress EPD Benchmark (69 positions, 500 ms/pos, PGO)

Version / Mode bm Solved |eval| ≤ 50 cp |eval| ≤ 100 cp Both bm + Draw (≤ 75 cp) Mean |eval|
Marty v2.0 16 / 69 (23.2%) 9 / 69 (13.0%) 18 / 69 (26.1%) 4 / 69 (5.8%) 286.4 cp
Marty v2.1 (Default) 20 / 69 (29.0%) 15 / 69 (21.7%) 24 / 69 (34.8%) 9 / 69 (13.0%) 226.7 cp
Marty v2.1 (FortressMode=true) 25 / 69 (36.2%) 16 / 69 (23.2%) 26 / 69 (37.7%) 13 / 69 (18.8%) 209.5 cp

Release Packages Included

Both Marty_v2.1.zip and Marty_v2.1.tar.gz contain all 6 prebuilt platform binaries (marty_uci_x64 PGO Linux x64, marty_uci Linux x86, marty_uci_x64.exe Windows x64, marty_uci.exe Windows x86, marty_uci_mac_arm64 macOS Apple Silicon, marty_uci_mac_intel macOS Intel), PRBOOK/, PRBOOK_1998/, TB/, SETTINGS.M80, documentation, and complete C11 source code + source/marty.nnue.

Marty v2

Choose a tag to compare

@tedsummers tedsummers released this 29 Nov 07:40

Marty v2 — Major NNUE & Search Overhaul (+346.1 Elo vs. Marty v1)

Marty v2 (Ted Summers — MChess 8 Gemini A.I. Mod) is a standalone cross-platform UCI chess engine featuring a brand-new 10-king-bucket H=512 SCReLU NNUE trained locally on 33.98M Stockfish-labeled quiet positions, lazy accumulator updates, expanded 7-table correction history, upgraded king-danger search guards, and full compatibility with M-Chess Pro 8.0 opening books (PRBOOK/), personality sliders (SETTINGS.M80), and 3- & 4-piece DTM tablebases (TB/).

Verified Strength Highlights

  • Marty v2 PGO vs. Marty v1 PGO (400 games, 8+0.08, 1T, 64 MB, book-off):
    • +346.12 ± 40.79 Elo (nElo +528.31, 100.00% LOS)
    • 352.0 / 400 (88.00%) — +315 =74 -11, Ptnml(0-2): [0, 4, 13, 58, 125] (125 2–0 sweeps, zero 0–2 pair losses)
  • Maverick NNUE 100-Game Rematch (20+0.2, 1T, 128 MB, exact v1 match openings):
    • Improved from Marty v1's 25.0/100 (+0 =50 -50, −190.8 Elo) to 40.5/100 (+4 =73 -23, −66.8 ± 33.1 Elo) — +124.0 Elo real-world gain
    • Cut losses by 54% (50 → 23), more than doubled score as Black (17% → 36%), and scored Marty's first wins vs. Maverick (including a win with Black and a 2–0 opening pair sweep)
  • Evaluation Accuracy Audit (350 real Maverick match quiet positions vs. Stockfish depth 12):
    • Depth-10 MAE cut in half (52.0 → 25.8 cp), bias reduced from −10.6 → −0.6 cp, correlation 6.2× higher (0.095 → 0.592), and 100.0% sign accuracy on |SF| ≥ 100 cp

What's New in Marty v2

  • 10-King-Bucket H=512 Factorized SCReLU NNUE + King-Bucketed PSQT: Upgraded from (768×4 → 256)×2 → 8 to (768×10 → 512)×2 → 8 (MTY2 format) with material-initialized king-bucketed 10×768×8 PSQT, calibrated NNUE_SCALE=350, cross-platform .incbin embedding, and new EvalFile UCI option (default <embedded>).
  • Lazy NNUE Accumulator Updates + Finny Tables: Bit-exact deferred accumulator updates (max_diff = 0 across 15,312 deep search/null-move nodes), reaching ~2.5–3.0M nps (1T) and ~9.5M+ nps (4T Lazy SMP).
  • Expanded Correction History & Search Guards: Added incremental minor_hash & major_hash backing 16k minor_corr and major_corr tables plus cont_corr2, upgraded king_in_danger() guards wired into FP/LMP, 1024-scale fractional LMR, Capture LMR + cap_hist in qsearch, 6-ply continuation history, and OCB+rooks (3/4) / wrong-colored rook-pawn (1/16) endgame scaling.
  • 100% Local CPU Training Pipeline (tools/): Included full C/C++ AVX2+OpenMP source for self-play datagen (marty_datagen.c), castling-aware Stockfish relabeling (sf_relabel.c), and sparse AdamW NNUE training (train_nnue.cpp).

Release Packages Included

Both Marty_v2.zip and Marty_v2.tar.gz contain all 6 prebuilt platform binaries (marty_uci_x64 PGO Linux x64, marty_uci Linux x86, marty_uci_x64.exe Windows x64, marty_uci.exe Windows x86, marty_uci_mac_arm64 macOS Apple Silicon, marty_uci_mac_intel macOS Intel), PRBOOK/, PRBOOK_1998/, TB/, SETTINGS.M80, documentation, and complete C11 source code + source/marty.nnue.

Marty v1

Choose a tag to compare

@tedsummers tedsummers released this 28 Nov 09:36

Marty v1 — Release Package

Author: Ted Summers (MChess 8 Gemini A.I. Mod)

Marty v1 is a native, cross-platform UCI chess engine built as a tribute to Marty Hirsch's 1998 M-Chess Professional 8.0 — combining a 64-bit Magic Bitboard core, standalone 4-king-bucket AVX2 SCReLU NNUE + Finny tables, multi-threaded Lazy SMP, and modern alpha-beta search with full .M80 opening book (PRBOOK/), personality slider (SETTINGS.M80), and 3- & 4-piece DTM endgame tablebase (TB/) support.

Highlights & Verified Performance

  • Strength: Verified +20.9 ± 15.5 Elo (99.6% LOS, 600 games across 5+0.05 and 8+0.08) over the MChess Pro 8 UCI v2.1 baseline, and 3332–3347 Elo (170.0/300 adjudicated; 84.0/100 vs. Absurd-1.0, 56.5/100 vs. Strong Malt 1.0, 0 time forfeits) in a 300-game 3-engine gauntlet (120+1, book-off).
  • Check-Safe Pruning & King-Danger Guards: Fast bitboard king_in_danger() detector guarding RFP, NMP (extra clamping & verification), ProbCut, and cut_node LMR, plus check-safe bad-capture/quiet SEE and history leaf pruning so checking sacrifices are never blindly pruned.
  • Tactical Extension Control & Search Precision: Bounded check/double-singular/7th-rank extensions (+1.17 plies deeper overall and +2.53 plies vs. Absurd-1.0 in gauntlet play), null-move repetition floor (rep_start), Correction History gravity decay, Stockfish-style linear history bonus/malus, quiesce() TT stand-pat refinement & losing-evasion pruning, fail-low aspiration beta shrinking, and drawish endgame scaling.

Package Contents (Marty_v1.zip / Marty_v1.tar.gz)

  • Prebuilt Marty v1 Binaries:
    • marty_uci_x64 — Linux x86-64 (PGO + LTO + AVX2)
    • marty_uci — Linux x86 (32-bit)
    • marty_uci_x64.exe — Windows x86-64 (AVX2)
    • marty_uci.exe — Windows x86 (32-bit)
    • marty_uci_mac_intel — macOS Intel (x86-64)
    • marty_uci_mac_arm64 — macOS Apple Silicon (ARM64)
  • Data & Docs: PRBOOK/ (modern book), PRBOOK_1998/ (original 1998 book), TB/ (complete 3- & 4-piece DTM tablebases), SETTINGS.M80, README.md, README.txt, MANUAL.md, WHATS_NEW.md, assets/marty-logo.png, and complete C source/.