Elephant Gambit 1.6.0 "Stride"

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

looa
Posts: 9
Joined: Sat Apr 15, 2023 9:17 pm
Full name: Alexander Ek

Elephant Gambit 1.6.0 "Stride"

Post by looa »

Hi all,

A new release of Elephant Gambit, my UCI engine with a hand-crafted evaluation, written in C++20.
Release, notes & binaries · Source (GPL-3.0)

Strength
Roughly 3030 CCRL Blitz, provisional: 1600 games at 2'+1" against nine engines from the CCRL Blitz list rated 2978–3160 (Puffin, Cheers, 4ku, Inanis, Wahoo, Koivisto, Berserk, Princhess, Zahak), UHO_Lichess_4852_v1 openings, 256 MB hash. I ran it on a 6-core machine with too many games at once, so take the number with a pinch of salt. A clean rerun is planned. Head to head, 1.6.0 beat 1.4.0 by +75 ± 40. The previous public release, 1.3.2, is on the CCRL list at 2920.

What's new
1.6 is a search cycle. 1.4 made the evaluation fit Elephant's own games, 1.6 teaches the search where to look harder and where to look less:
  • Singular extensions for the TT move, the biggest single gain of the cycle
  • Continuation history, one and two plies back, kept between the searches of a game
  • History in late move reductions
  • SPSA: 29 search parameters can be tuned through a tuning build. The first run's small nudges added up to about +5
  • Evaluation tables refitted on 1.45M positions from Elephant's own games since 1.4
Testing
Every change was SPRT'd against the one before it, short time control first, then a long one:

Code: Select all

Change                          Short TC          Long TC
Singular extensions             +21.6 ± 9.4       +12.0 ± 6.4
History in LMR                  +19.4 ± 8.7       +21.7 ± 8.7
Continuation history            +3.5 ± 2.8
History kept between searches   +4.9 ± 3.7        +15.9 ± 7.6 (with the above, vs 1.4.0)
SPSA values                     +5.0 ± 3.8
Refit + SPSA values             +12.2 ± 6.9       +20.9 ± 8.6
Tried and not merged: an "improving" flag in RFP and in LMR (both lost), storing the best move on a fail-low (-13), history pruning, and RFP returning the midpoint of eval and beta (both neutral).

The testing runs on nyayo, my fork of the OpenBench server. It keeps every game played as data (about 315,000 so far), and its exports of quiet positions from those games are what the new tables were fitted on. It also runs the SPSA tunes.

Downloads
Windows and Linux, statically linked, three x86-64 levels: avx2-bmi2 (Haswell / Zen and newer), sse42-popcnt, and plain x86-64. UCI options: Threads (1–64), Hash (up to 32 GB), Move Overhead.

Thanks to Graham Banks for including Elephant in the Amateur Series. 1.6.0 is the version I'd point testers at now. Thanks too to the Engine Programming and OpenBench Discords and to chessprogramming.org.

Next up: probably more SPSA and table fits as 1.6.x, then NNUE trained on the engine's own games.

Alex