Author: Ivan Maklyakov Rating Chess Engines Diary CEDR=3616
UCI-compatible chess engine using Alpha-beta search and NNUE-like neural network.
The engine implements:
Basic control options (search to depth, time per move, time per game, time per N moves).
Support for Syzygy endgame tables.
Multithreading.
Builds for different processor extensions (SSE, AVX2, AVX512) and operating systems (Windows, Linux).
Engine architecture (everything is like most engines of this level):
Position representation and move generation - magic beatboards.
Sorting moves: moves from the transposition table, good captures by SEE, killer moves, quiet moves by history, bad captures by SEE.
Search - PVS, Aspiration search, Quiescence Search. And all possible abbreviations and cuts in the search (Null move, Static null move, abbreviations for quiet moves, Futility pruning, SEE prunung, LMR for quiet moves).
Transposition table for sorting moves, cuttings and for evaluation caching.
Multithreading - Lazy SMP.
Evaluation - a neural network similar to NNUE of the first versions with HalfKP. Network architecture: (2x(12288x1024))x6. Input layer: KingAreaPieceColorPieceSquare 166264. Trained using the frameworks Keras (early versions) and PyTorch (latest versions) on data generated in games of the engine against itself (with added positions from games against other engines) with ultra-short control (8-9 half-moves). Implementation of inference in the engine using the accumulator principle and vector instructions (SSE, AVX).
HCE (not used now) - material, PSQT, king's pawn shield, attacks on the king, pawn structure, piece mobility. The weights were selected using the Texel engine method.
v.3.41:
Changes:
Tuning the search function using SPSA
New network
Fixed time manager
Elo | 140.92 +- 5.21 (95%)
Conf | 10.0+0.10s Threads=1 Hash=32MB
Games | N: 10002 W: 4769 L: 921 D: 4312
Elo | 69.03 +- 4.86 (95%)
Conf | 60.0+0.60s Threads=1 Hash=64MB
Games | N: 10000 W: 3520 L: 1559 D: 4921
Uralochka 3.41 dev.3 - results:
Ethereal 14.25 | 20/44 | -4 | 44 Games |
Rebel 16.3 | 20/44 | -4 | 44 Games |
RubiChess 20240112 | 19/44 | -6 | 44 Games |
Chess-System-Tal-2 | 18/36 | +0 | 36 Games |
Clover 6.1.19 | 14.5/34 | -5 | 34 Games |
Alexandria 6.1.0 | 11/30 | -8 | 30 Games |
Seer 2.8.0 | 14/28 | +0 | 28 Games |
Vafra 14.12.1 Stockfish | 13/24 | +2 | 24 Games |
Velvet 7.3.0 | 11.5/24 | -1 | 24 Games |
Berserk 13 | 10/24 | -4 | 24 Games |
Obsidian 12.0 | 10/24 | -4 | 24 Games |
Viridithas 12.0.0 | 12/22 | +2 | 22 Games |
RofChade 3.1 | 10.5/20 | +1 | 20 Games |
Obsidian 11.0 | 9/20 | -2 | 20 Games |
Caissa 1.17 | 8.5/20 | -3 | 20 Games |
Lizard 10.3 | 10.5/18 | +3 | 18 Games |
Black Marlin 9.0 | 10.5/18 | +3 | 18 Games |
Caissa 1.18 | 5.5/18 | -7 | 18 Games |
Velvet 7.0.0 | 7.5/14 | +1 | 14 Games |
Koivisto 9.2 | 6.5/14 | -1 | 14 Games |
Equisetum 1.0 | 8/12 | +4 | 12 Games |
Comments
Post a Comment