]> git.sesse.net Git - stockfish/commit
Sometimes change the (materialist, positional) balance
authorStéphane Nicolet <cassio@free.fr>
Sat, 22 May 2021 17:44:15 +0000 (19:44 +0200)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Sat, 22 May 2021 19:09:22 +0000 (21:09 +0200)
commita2f01c07eb91524fc372bd82d6513ab058d3e043
treee5a9fa4b1788920d1c8b95ee64f2a1bedd754dfb
parentff4c22238a199625cf7f02be1816b07fc49f5d45
Sometimes change the (materialist, positional) balance

Our new nets output two values for the side to move in the last layer.
We can interpret the first value as a material evaluation of the
position, and the second one as the dynamic, positional value of the
location of pieces.

This patch changes the balance for the (materialist, positional) parts
of the score from (128, 128) to (121, 135) when the piece material is
equal between the two players, but keeps the standard (128, 128) balance
when one player is at least an exchange up.

Passed STC:
LLR: 2.93 (-2.94,2.94) <-0.50,2.50>
Total: 15936 W: 1421 L: 1266 D: 13249
Ptnml(0-2): 37, 1037, 5694, 1134, 66
https://tests.stockfishchess.org/tests/view/60a82df9ce8ea25a3ef0408f

Passed LTC:
LLR: 2.94 (-2.94,2.94) <0.50,3.50>
Total: 13904 W: 516 L: 410 D: 12978
Ptnml(0-2): 4, 374, 6088, 484, 2
https://tests.stockfishchess.org/tests/view/60a8bbf9ce8ea25a3ef04101

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

Bench: 3856635
src/evaluate.cpp
src/evaluate.h
src/nnue/evaluate_nnue.cpp