]> git.sesse.net Git - stockfish/commit
Change tempo with time and threads
authorxoto10 <buylow001@gmail.com>
Sat, 24 Apr 2021 13:46:01 +0000 (14:46 +0100)
committerStéphane Nicolet <cassio@free.fr>
Wed, 28 Apr 2021 11:58:46 +0000 (13:58 +0200)
commit6ad4f485d37556f5e09baae5a939f44ac5b51c84
tree6e5e97dc664968168b8db685a49ff9276d30dd2c
parent84b42b3ab328e3f1b9829d8f5d967e4d45a45a39
Change tempo with time and threads

Introduce variable tempo for nnue depending on logarithm of estimated
strength, where strength is the product of time and number of threads.

The original idea here was that NNUE is best with a slightly different
tempo value to classical, since its style of play is slightly different.
It turns out that the best tempo for NNUE varies with strength of play,
so a formula is used which gives about 19 for STC and 24 for LTC under
current fishtest settings.

STC 10+0.1:
LLR: 2.94 (-2.94,2.94) {-0.20,1.10}
Total: 120816 W: 11155 L: 10861 D: 98800
Ptnml(0-2): 406, 8728, 41933, 8848, 493
https://tests.stockfishchess.org/tests/view/60735b3a8141753378960534

LTC 60+0.6:
LLR: 2.94 (-2.94,2.94) {0.20,0.90}
Total: 35688 W: 1392 L: 1234 D: 33062
Ptnml(0-2): 23, 1079, 15473, 1255, 14
https://tests.stockfishchess.org/tests/view/6073ffbc814175337896057f

Passed non-regression SMP test at LTC 20+0.2 (8 threads):
LLR: 2.95 (-2.94,2.94) {-0.70,0.20}
Total: 11008 W: 317 L: 267 D: 10424
Ptnml(0-2): 2, 245, 4962, 291, 4
https://tests.stockfishchess.org/tests/view/60749ea881417533789605a4

closes https://github.com/official-stockfish/Stockfish/pull/3426

Bench 4075325
src/evaluate.cpp
src/timeman.cpp
src/timeman.h