Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update WLD model #4373

Closed
wants to merge 1 commit into from
Closed

Conversation

vondele
Copy link
Member

@vondele vondele commented Feb 2, 2023

update the WLD model with about 400M positions extracted from recent LTC games after the net updates. This ensures that the 50% win rate is again at 1.0 eval.

No functional change.

update the WLD model with about 400M positions extracted from recent LTC games after the net updates.
This ensures that the 50% win rate is again at 1.0 eval.

No functional change.
@vondele
Copy link
Member Author

vondele commented Feb 2, 2023

The corresponding visualization

WLD_model_summary

The graphics is generated as part of the fit (https://github.com/vondele/WLD_model)

@LovelyChess
Copy link

Hi @vondele , I read your pull #4216 (comment) that reviewed by @ddobbelaere

But increasing NormalizeToPawnValue is completely wrong, please compare these.


info depth 1 seldepth 1 multipv 1 score cp 8 nodes 8 nps 8000 hashfull 0 tbhits 0 time 1 pv f6g7
info depth 2 seldepth 2 multipv 1 score cp 8 nodes 27 nps 13500 hashfull 0 tbhits 0 time 2 pv f6g7
info depth 3 seldepth 3 multipv 1 score cp 21 nodes 61 nps 30500 hashfull 0 tbhits 0 time 2 pv f6e6 f3e2 e6f6
info depth 4 seldepth 4 multipv 1 score cp 67 nodes 98 nps 49000 hashfull 0 tbhits 0 time 2 pv f6g7
info depth 5 seldepth 2 multipv 1 score cp 67 nodes 109 nps 54500 hashfull 0 tbhits 0 time 2 pv f6g7
info depth 6 seldepth 3 multipv 1 score cp 67 nodes 116 nps 58000 hashfull 0 tbhits 0 time 2 pv f6g7 f3e3
info depth 7 seldepth 5 multipv 1 score cp 40 nodes 537 nps 179000 hashfull 0 tbhits 0 time 3 pv f6g7 d6d5 b4a4 a1b1
info depth 8 seldepth 7 multipv 1 score cp 88 nodes 1110 nps 370000 hashfull 0 tbhits 0 time 3 pv f6g7 d6d5 b4d4 a1b1 g5g6
info depth 9 seldepth 7 multipv 1 score cp 187 nodes 1496 nps 374000 hashfull 0 tbhits 0 time 4 pv f6g7 d6d5 b4d4 a1b1
info depth 10 seldepth 12 multipv 1 score cp 77 nodes 8366 nps 929555 hashfull 2 tbhits 0 time 9 pv f6g7 f3f5 b4d4 a1b1 d4g1 b1c2 g1h2 c2b1 h2h1 b1b2
info depth 11 seldepth 16 multipv 1 score cp 41 nodes 27666 nps 1152750 hashfull 10 tbhits 0 time 24 pv f6g7 d6d5 b4d4 a1b1 g5g6 f3e4 d4g1 b1a2 g1f2 a2a3 g7h6 e4h1 h6g5 h1c1 g5f6
info depth 12 seldepth 16 multipv 1 score cp 70 nodes 32290 nps 1113448 hashfull 10 tbhits 0 time 29 pv f6g7 f3f5 b4d4 a1b1 d4f6 f5c5
info depth 13 seldepth 18 multipv 1 score cp 88 nodes 46807 nps 1170175 hashfull 14 tbhits 0 time 40 pv f6g7 f3f5 b4d4 a1b1 g5g6 d6d5 g7h6 f5h3 h6g5 h3g2 g5f6
info depth 14 seldepth 24 multipv 1 score cp 66 nodes 127327 nps 1201198 hashfull 41 tbhits 0 time 106 pv f6g7 f3e3 b4a5 a1b2 a5b5 b2c3 g5g6 d6d5 b5c6 c3b2 g7f8 e3a3 f8e8 a3e3 e8d7 e3a7 d7d6
info depth 15 seldepth 22 multipv 1 score cp 91 nodes 150060 nps 1230000 hashfull 47 tbhits 0 time 122 pv f6g7 f3e3 b4a4 a1b2 a4b5 b2a1 b5f1 a1a2 g5g6 d6d5 f1g2 a2a3 g7h7 e3d3 h7h6
info depth 16 seldepth 36 multipv 1 score cp 75 nodes 358708 nps 1358742 hashfull 99 tbhits 0 time 264 pv f6g7 d6d5 b4d4 a1b1 g5g6 f3e4 d4b6 b1c1 b6g1 c1b2 g1f2 b2a1 g7f6 d5d4 g6g7 e4c6 f6g5 c6d5 f2f5 d5g2 g5f6 g2c6 f5e6 c6f3 f6e7 f3b7 e6d7 b7e4 e7d6 e4f4 d6c5 f4g5 c5c6
info depth 17 seldepth 36 multipv 1 score cp 116 nodes 476467 nps 1401373 hashfull 130 tbhits 0 time 340 pv f6g7 d6d5 b4d4 a1b1 g5g6 f3e4 d4b6 b1c1 b6g1 c1b2 g1f2 b2b3 g7f6 d5d4 g6g7 e4c6 f6g5 c6d5 f2f5 d5d8 g5f4
info depth 18 seldepth 38 multipv 1 score cp 68 nodes 970659 nps 1472927 hashfull 256 tbhits 0 time 659 pv f6g7 d6d5 b4d4 a1b1 g5g6 f3f5 g7h6 f5e6 d4d3 b1b2 d3b5 b2c2 b5c5 c2b1 c5d4 b1a2 d4f2 a2b1 h6g5 e6e7 f2f6 e7e3 f6f4 e3c3 f4f1 b1c2 g5g4 c2b2 f1f2 b2b1 f2f3
info depth 19 seldepth 34 multipv 1 score cp 68 nodes 1072010 nps 1478634 hashfull 277 tbhits 0 time 725 pv f6g7 d6d5 b4d4 a1b1 g5g6 f3f5 d4b6 b1c2 b6f6 f5d7 f6f7 d7c8 f7f2 c2c1 f2e3 c1c2 e3d4 c8e6 g7h6 c2b1 d4g1 b1c2 g1f2 c2c1 f2f4 c1b1 f4d4 e6h3 h6g5 h3g2 g5f6
info depth 20 seldepth 37 multipv 1 score cp 68 nodes 1189405 nps 1486756 hashfull 304 tbhits 0 time 800 pv f6g7 d6d5 b4d4 a1b1 g5g6 f3f5 d4b6 b1c2 b6f6 f5d7 f6f7 d7c8 f7f2 c2c1 f2d4 c8e6 g7h6 c1b1 h6g5 e6e7 d4f6 e7e3 f6f4 e3e7 g5h6 e7e6 f4d4 e6h3 h6g5 h3g2 g5f6
info depth 21 seldepth 37 multipv 1 score cp 69 nodes 1311750 nps 1495724 hashfull 330 tbhits 0 time 877 pv f6g7 d6d5 b4d4 a1b1 g5g6 f3f5 d4b6 b1c2 b6c5 c2b1 c5d4 f5e4 d4g1 b1a2 g1f2 a2a1 g7f6 d5d4 f2f1 a1a2 f1a6 a2b2 a6b5 b2a1 g6g7 e4f3 b5f5 f3c6 f5e6 c6f3 f6e7 f3b7 e6d7 b7e4 e7d6
info depth 22 seldepth 37 multipv 1 score cp 65 nodes 1569679 nps 1525441 hashfull 370 tbhits 0 time 1029 pv f6g7 d6d5 b4d4 a1b1 g5g6 f3f5 d4f6 f5d7 f6f7 d7c8 f7f1 b1b2 f1f2 b2c1 f2e3 c1c2 g7h7 c8f5 e3d4 c2b1 h7g7 f5e6 d4g1 b1b2 g1f2 b2b1 f2f1 b1c2
info depth 23 seldepth 37 multipv 1 score cp 68 nodes 1685635 nps 1533789 hashfull 395 tbhits 0 time 1099 pv f6g7 d6d5 b4d4 a1b1 g5g6 f3f5 d4f6 f5d7 f6f7 d7c8 f7f1 b1b2 f1f2 b2c1 f2e3 c1c2 g7h7 c8f5 e3d4 c2b1 h7g7 f5e6 g7h6 b1a2 d4a4 a2b2 a4f4
info depth 24 seldepth 41 multipv 1 score cp 71 nodes 1762176 nps 1536334 hashfull 409 tbhits 0 time 1147 pv f6g7 d6d5 b4d4 a1b1 g5g6 f3f5 d4f6 f5d7 f6f7 d7c8 f7f1 b1b2 f1f2 b2c1 f2e3 c1c2 g7h7 d5d4 e3f2 c2c3 g6g7 c8h3 h7g6 h3e6 f2f6 e6g4 g6h6 g4h3 h6g5 h3g2 g5f5 g2c2 f5e6 c2a2 e6e7 a2a7 e7f8
info depth 25 seldepth 46 multipv 1 score cp 65 nodes 2422705 nps 1566066 hashfull 528 tbhits 0 time 1547 pv f6g7 d6d5 b4d4 a1b1 g5g6 f3f5 g7h6 f5e6 d4g1 b1c2 g1f2 c2b1 f2d4 b1a2 h6g5 e6e7 d4f6 e7e3 f6f4 e3g1 g5f6 g1b6 f6f7 b6b7 f7g8 b7c8 g8h7 c8h3 f4h6 h3f5 h6h2 a2b1 h2h1 b1b2
info depth 26 seldepth 42 multipv 1 score cp 66 nodes 2956201 nps 1576640 hashfull 611 tbhits 0 time 1875 pv f6g7 d6d5 b4d4 a1b1 g5g6 f3f5 g7h6 f5e6 d4d3 b1c1 d3c3 c1b1 c3d4 b1a2 h6g5 e6e7 d4f6 e7e3 f6f4 e3g1 g5f6 g1b6 f6f7 b6b7 f7e6 b7c8 e6f6 c8d8 f6f5 d8c8 f5g5 c8c3 f4f2 a2b1 f2f1 b1c2 f1f5 c2b3 f5e6 b3c2
bestmove f6g7 ponder d6d5

info depth 1 seldepth 1 multipv 1 score cp 126 nodes 37 nps 18500 tbhits 0 time 2 pv f6e7
info depth 2 seldepth 2 multipv 1 score cp 246 nodes 103 nps 51500 tbhits 0 time 2 pv f6e6 d6d5 b4d4 a1b1 d4d5
info depth 3 seldepth 4 multipv 1 score cp 246 nodes 214 nps 107000 tbhits 0 time 2 pv f6e6 d6d5 b4d4 a1b1
info depth 4 seldepth 5 multipv 1 score cp 181 nodes 517 nps 172333 tbhits 0 time 3 pv f6g7 f3d3 g5g6
info depth 5 seldepth 6 multipv 1 score cp 212 nodes 764 nps 254666 tbhits 0 time 3 pv f6e6 f3g2 b4a5 a1b1 e6d6 g2g3 a5e5
info depth 6 seldepth 11 multipv 1 score cp 212 nodes 1040 nps 346666 tbhits 0 time 3 pv f6e6 f3g2 b4a5 a1b1 e6d6 g2g3 a5e5 g3d3 d6c5
info depth 7 seldepth 13 multipv 1 score cp 363 nodes 1602 nps 534000 tbhits 0 time 3 pv f6e6 f3g2 b4a5 a1b1 a5f5 b1a2
info depth 8 seldepth 14 multipv 1 score cp 125 nodes 13134 nps 1641750 tbhits 0 time 8 pv f6g7 d6d5 g5g6 f3d3 b4a5 a1b1 a5b6 b1c2 g7f7 d5d4
info depth 9 seldepth 14 multipv 1 score cp 167 nodes 15070 nps 1883750 tbhits 0 time 8 pv f6g7 d6d5 g5g6 f3d3 b4a5 a1b2 g7f6 d5d4 g6g7 d3f3 a5f5 f3f5 f6f5
info depth 10 seldepth 18 multipv 1 score cp 202 nodes 21656 nps 1968727 tbhits 0 time 11 pv f6g7 d6d5 g5g6 f3d3 b4a5 a1b1 a5b6 b1c1 g7f7 d5d4 g6g7 d3f5 b6f6
info depth 11 seldepth 24 multipv 1 score cp 202 nodes 59144 nps 2464333 tbhits 0 time 24 pv f6g7 d6d5 g5g6 f3d3 b4a5 a1b1 a5b6 b1c1 g7f7 d5d4 g6g7 d3f3 b6f6 f3b7 f7g6 b7g2 g6h7
info depth 12 seldepth 26 multipv 1 score cp 187 nodes 112030 nps 2546136 tbhits 0 time 44 pv f6g7 d6d5 b4a5 a1b1 a5b6 b1c2 g5g6 f3f5 b6d6 c2b3 d6c7 f5e4 c7b6 b3a3 g7f7
info depth 13 seldepth 26 multipv 1 score cp 202 nodes 144553 nps 2536017 tbhits 0 time 57 pv f6g7 d6d5 b4a5 a1b1 a5b6 b1c2 g5g6 f3f5 b6f6 f5e4 f6c6 c2d1 g7f6 e4f3 f6e7 f3e3 e7f7 e3a7 f7g8 d5d4 c6h1 d1c2
info depth 14 seldepth 29 multipv 1 score cp 202 nodes 227224 nps 2582090 tbhits 0 time 88 pv f6g7 d6d5 b4a5 a1b1 a5b6 b1c2 g5g6 f3e4 g7f7 e4f5 b6f6 f5d7 f7f8 d5d4 g6g7 d7c8 f8f7 c8b7 f7g6
info depth 15 seldepth 27 multipv 1 score cp 202 nodes 236175 nps 2595329 tbhits 0 time 91 pv f6g7 d6d5 b4a5 a1b1 a5b6 b1c1 g5g6 f3c3 g7f7 d5d4 g6g7 c3f3 b6f6 f3d5 f7g6 d5c4
info depth 16 seldepth 35 multipv 1 score cp 197 nodes 451360 nps 2686666 tbhits 0 time 168 pv f6g7 d6d5 b4a5 a1b1 a5b6 b1c2 g5g6 f3e4 b6c6 c2d1 g7f7 e4f5 c6f6 f5d7 f7f8 d5d4 g6g7 d7c8 f8f7 c8d7 f7g6 d7g4 f6g5 g4e6 g6h7 e6h3 g5h6
info depth 17 seldepth 36 multipv 1 score cp 201 nodes 562333 nps 2677776 tbhits 0 time 210 pv f6g7 d6d5 b4a5 a1b1 a5b6 b1c2 g5g6 f3d3 b6c6 c2d1 c6a4 d1d2 a4f4 d2c2 g7f7 d5d4 g6g7 d3c4 f7e7 c4c5 f4d6
info depth 18 seldepth 33 multipv 1 score cp 242 nodes 947439 nps 2691588 tbhits 0 time 352 pv f6g7 d6d5 b4a5 a1b1 g5g6 f3e4 a5b6 b1a1 b6g1 a1a2 g1f2 a2a1 g7f6 d5d4 g6g7 e4c6 f6g5 c6d5 f2f5 d5d8 f5f6 d8d5 g5f4
info depth 19 seldepth 35 multipv 1 score cp 224 nodes 1593707 nps 2719636 tbhits 0 time 586 pv f6g7 d6d5 b4a5 a1b1 a5b6 b1c1 b6c5 c1d1 c5d4 d1c1 g5g6 f3e4 d4g1 c1b2 g1f2 b2b3 g7f6 d5d4 g6g7 e4c6 f6g5 c6d5 f2f5
info depth 20 seldepth 57 multipv 1 score cp 212 nodes 2998059 nps 2723032 hashfull 741 tbhits 0 time 1101 pv f6g7 d6d5 g5g6 f3e4 b4c3 a1b1 c3c6 e4e5 g7f7 e5f5 f7e7 f5e5 c6e6 e5g7 e6f7 g7e5 e7d7 e5h5 d7e6 h5e2 e6d5 e2b5 d5e6 b5b6 e6e7 b6c7 e7f6 c7f4 f6g7 f4e5 f7f6 e5c7 g7g8 c7b8 g8f7
info depth 21 seldepth 46 multipv 1 score cp 244 nodes 4770177 nps 2727373 hashfull 885 tbhits 0 time 1749 pv f6g7 d6d5 g5g6 f3e4 b4c3 a1b1 c3c6 e4f5 c6b6 b1c1 b6c5 c1b2 c5d4 b2b1 g7h6 f5e6 d4g1 b1b2 g1f2 b2b1 f2f3 e6d6 h6h7 d6h2 h7g8 h2b8 f3f8 b8e5 g6g7 d5d4 f8f3 e5d6 g8h7 d6h2 h7g6 h2d6 f3f6
info depth 22 seldepth 48 multipv 1 score cp 259 nodes 6237990 nps 2727586 hashfull 951 tbhits 0 time 2287 pv f6g7 d6d5 g5g6 f3e4 b4c3 a1a2 c3c6 e4f5 c6d6 a2b3 g7h6 f5h3 h6g5 h3e3 d6f4 e3c3 f4b8 b3c2 b8d6 c3e3 g5f6 e3f3 f6e7 f3e4 d6e6 e4h4 e6f6 h4g4 g6g7 d5d4 f6f7
info depth 23 seldepth 48 multipv 1 score cp 305 nodes 8741865 nps 2732686 hashfull 986 tbhits 0 time 3199 pv f6g7 d6d5 g5g6 f3e4 b4c3 a1a2 c3c6 e4f5 c6d6 a2b1 d6f6 f5g4 f6b6 b1c2 b6c5 g4c4 c5f2 c2c1 g7f6 c4c3 f6f5 d5d4 f2f1 c1c2 f1e2 c2c1 g6g7 c3c8 f5f6
info depth 24 seldepth 69 multipv 1 score cp 255 nodes 16153388 nps 2684178 hashfull 1000 tbhits 0 time 6018 pv f6g7 d6d5 g5g6 f3e4 b4c3 a1b1 c3c6 e4c4 c6b6 b1c1 b6g1 c1b2 g1h2 b2b1 g7h8 c4c8 h8h7 c8f5 h7h6 f5e6 h2f2 b1c1 h6g5 e6e5 f2f5 e5g3 g5f6 g3d6 f6f7 d6c7 f7e6 d5d4 f5g5 c1c2 g6g7 c7c6 e6f5 c6f3 f5e5
info depth 25 seldepth 50 multipv 1 score cp 275 nodes 18050278 nps 2686053 hashfull 1000 tbhits 0 time 6720 pv f6g7 d6d5 g5g6 f3e4 b4c3 a1b1 c3c6 e4c4 c6b6 b1c1 b6g1 c1b2 g1h2 b2c1 g7h8 c4c8 h8h7 c8f5 h7h6 f5e6 h2f2 c1b1 f2f3 e6d6 f3h1 b1b2 h6h7 d5d4 g6g7 d6c7 h1g2 b2c3 h7h6 c7d6 h6h5 d6e5 h5h4 e5e7 g2g5
info depth 26 seldepth 56 multipv 1 score cp 326 nodes 24941682 nps 2691742 hashfull 1000 tbhits 0 time 9266 pv f6g7 d6d5 g5g6 f3e4 b4c3 a1b1 c3c6 e4f5 c6b6 b1c2 b6f6 f5g4 g7f7 g4d7 f7f8 d7c8 f8e7 c8c5 f6d6 c5e3 e7f7 d5d4 d6c6 e3c3 c6g2 c2d1 g6g7 c3b3 f7f6 b3b6 f6g5 b6d8 g5h5 d8e8 g2g6 e8e5 h5g4 e5e2 g4g5 e2g2 g5h6
bestmove f6g7 ponder d6d5

@mhouppin
Copy link

mhouppin commented Feb 2, 2023

Hi @vondele , I read your pull #4216 (comment) that reviewed by @ddobbelaere

But increasing NormalizeToPawnValue is completely wrong, please compare these.

[...]

Don't see how this is a counterargument to the PR being merged. Besides, since you're not giving the position's FEN, it's basically impossible to even understand what you're trying to demonstrate. Could you be a bit more precise on what you think is wrong in the WDL/normalization update ?

@dubslow
Copy link
Contributor

dubslow commented Feb 2, 2023

So what we have 361 --> 394, so that means old 1.00 is new 0.92, and new 1.00 is old 1.09, so a slight deflation in the stated cp yes?

@vondele vondele added the to be merged Will be merged shortly label Feb 2, 2023
@vondele
Copy link
Member Author

vondele commented Feb 2, 2023

yes, a slight deflation.

@vondele vondele closed this in 3589bd0 Feb 2, 2023
@LovelyChess
Copy link

LovelyChess commented Feb 2, 2023

Could you be a bit more precise on what you think is wrong in the WDL/normalization update ?

info depth 30 seldepth 50 multipv 1 score cp 64 nodes 10687971 nps 1847212 hashfull 982 tbhits 0 time 5786 pv f6g7 d6d5 b4d4 a1b1 g5g6 f3f5 d4b6 b1c2 b6c5 c2b1 c5d4 f5d7 g7h6 d7e6 d4d3 b1b2 d3d2 b2b1 d2d4 b1a2 h6g5 e6e7 d4f6 e7e3 f6f4 e3c3 f4f2 a2b1 f2f1 b1a2 f1g2 a2b1 g2f2 c3c1 g5g4

centipawn = 64
position is equal

info depth 30 seldepth 76 multipv 1 score cp 604 nodes 52971384 nps 2584096 hashfull 1000 tbhits 0 time 20499 pv f6g7 d6d5 g5g6 f3e4 b4c3 a1b1 c3c6 e4c4 c6b6 b1c1 b6e3 c1b2 e3f2 b2a1 f2g1 a1b2 g1h2 b2a1 g7h8 c4c8 h8h7 c8f5 h2g1 a1a2 g1e3 a2b2 h7h6 b2c2 e3c5 c2d3 c5b5 d3e3 b5b6 d5d4 g6g7 f5f4 h6h7 f4e4 b6g6 e4e7 g6g1 e3e2 g1d4

centipawn = 604
white is clearly winning

This comparison is not just for this pull but for all pulls that vondele have been done so far. #4216 (comment)

June 2020 : 237
June 2021 : 240
April 2022 : 279
July 2022 : 348
Feb 2023 : 394

I want from @mcostalba @romstad @zamar @ornicar to compare this.

@ddobbelaere
Copy link
Contributor

Sorry, but I have nothing to add, nor do I understand what you are talking about.

@LovelyChess
Copy link

LovelyChess commented Feb 3, 2023

I personally like @vdbergh his suggestion (PR #4218) more than this PR (I changed my mind...). It is conceptually simpler and provides a non-linear relation between the internal value and the reported UCI score in centipawns. With this PR, the relation is by definition linear. The fact that it relates to the earlier referenced paper (and has an easy rule of thumb: "1cp means 1 elo handicap") is also a plus IMHO.

This way, more focus is being put onto the WDL model (and it's derived cp value, now strictly defined) and less on some internal value.

Originally posted by @ddobbelaere in #4216 (comment)

Thanks for reply, you were reviewer of #4216 (comment) & approved this pull, but increasing NormalizeToPawnValue is completely wrong, vondele increased NormalizeToPawnValue from 208 to 394

June 2020: 237
June 2021: 240
April 2022: 279
July 2022: 348
Feb 2023: 394

If you read my previous comments, you will understand why this increase is wrong.

@MinetaS
Copy link
Contributor

MinetaS commented Feb 3, 2023

centipawn score = 0.66
position is equal

Wrong. 0.66cp means the position has around 17% win rate.

centipawn score = 3.26
white is clearly winning

Comparing to SF from distant history doesn't make any valid reasons. What you claming is likely more close to evaluation issue, not UCI score nornalization.

@LovelyChess
Copy link

LovelyChess commented Feb 3, 2023

Wrong. 0.66cp means the position has around 17% win rate.

@MinetaS This test was in June 2022 that NormalizeToPawnValue was 348

With new NormalizeToPawnValue in Feb 2023 , centipawn score Probably close to zero ( 0.16cp )

@MinetaS
Copy link
Contributor

MinetaS commented Feb 3, 2023

So you are saying the result of 394 / 348 is 4.125?
Please read the second paragraph.

@LovelyChess
Copy link

LovelyChess commented Feb 3, 2023

So you are saying the result of 394 / 348 is 4.125?

non-linear relation between the internal value and the reported UCI score in centipawns

The result of 348 / 237 ≠ 4.93

What you calming is likely more close to evaluation issue, not UCI score normalization.

I think perhaps this is not evaluation issue. This is due to changes in UCI score normalization.

Do you think there is no difference between centipawn score = 0.16 and centipawn score = 3.26?!

It's very important to know that the position is equal or clearly winning...

@Craftyawesome
Copy link

It is linear. Before normalization internal units / 208 is value in pawns. Now instead it divides by NormalizeToPawnValue (initially 348, shortly after 361, and now 394)

One of your SFs are misevaluating. You also haven't given the position or versions you are using.

@LovelyChess
Copy link

LovelyChess commented Feb 3, 2023

It is linear. Before normalization internal units / 208 is value in pawns. Now instead it divides by NormalizeToPawnValue

So, it can be concluded that half of this problem is due to normalize value and the other half is due to evaluation, Right?

But I guess changing normalize value maybe caused evaluation problem also.?

One of your SFs are misevaluating.

Yes that's right.

centipawn score = 3.26 is before vondele changes that is correct (before June 2020)

centipawn score = 0.66 is after vondele changes that is mistake (after July 2022)

@Disservin
Copy link
Member

But I guess changing normalize value maybe caused evaluation problem also.?

No that can’t happen.

centipawn score = 3.26 is before vondele changes that is correct (before June 2020)

You still haven’t given us the position or what version you used. Nor can you say that a score is wrong. Nor can you conclude that the problem is the normalization. Better Stockfish version might see a draw while a weaker one might not

@LovelyChess
Copy link

LovelyChess commented Feb 3, 2023

You still haven’t given us the position or what version you used.

@Disservin @Craftyawesome @mhouppin
If you want, let me know and I will send you the position in a private message. Just don't send it to anyone. OK?

Nor can you say that a score is wrong. Nor can you conclude that the problem is the normalization. Better Stockfish version might see a draw while a weaker one might not

No, White is clearly winning & centipawn score = 3.26 is completely correct ...

@Disservin
Copy link
Member

Hi @LovelyChess I just enabled private replies in comments in my settings, just reply to my message and only you and I can see it.

@LovelyChess
Copy link

@Disservin You can see the position in my private repo now. Just don't send it to anyone.

@LovelyChess

This comment was marked as duplicate.

@vondele
Copy link
Member Author

vondele commented Feb 4, 2023

@LovelyChess you have now pinged 7 different people on this closed PR, please stop doing that.

@LovelyChess
Copy link

LovelyChess commented Feb 4, 2023

@vondele Thanks for reply. To clarify the issue, I calculated up to a depth of 30

info depth 30 seldepth 76 multipv 1 score cp 604 nodes 52971384 nps 2584096 hashfull 1000 tbhits 0 time 20499 pv f6g7 d6d5 g5g6 f3e4 b4c3 a1b1 c3c6 e4c4 c6b6 b1c1 b6e3 c1b2 e3f2 b2a1 f2g1 a1b2 g1h2 b2a1 g7h8 c4c8 h8h7 c8f5 h2g1 a1a2 g1e3 a2b2 h7h6 b2c2 e3c5 c2d3 c5b5 d3e3 b5b6 d5d4 g6g7 f5f4 h6h7 f4e4 b6g6 e4e7 g6g1 e3e2 g1d4

centipawn score = 604
white is clearly winning

info depth 30 seldepth 50 multipv 1 score cp 64 nodes 10687971 nps 1847212 hashfull 982 tbhits 0 time 5786 pv f6g7 d6d5 b4d4 a1b1 g5g6 f3f5 d4b6 b1c2 b6c5 c2b1 c5d4 f5d7 g7h6 d7e6 d4d3 b1b2 d3d2 b2b1 d2d4 b1a2 h6g5 e6e7 d4f6 e7e3 f6f4 e3c3 f4f2 a2b1 f2f1 b1a2 f1g2 a2b1 g2f2 c3c1 g5g4

centipawn score = 64
position is equal

@vondele , first centipawn is 10x bigger than second centipawn?! Do you think this is not a serious problem?

@vondele
Copy link
Member Author

vondele commented Feb 4, 2023

That is useless information, and can't be followed up.
If you do not want to share the position, this can not be reproduced.
Please stop adding useless posts, or we need to block you interacting with the repo.

@official-stockfish official-stockfish deleted a comment Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to be merged Will be merged shortly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants