Searching for draw

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

Moderators: hgm, Rebel, chrisw

User avatar
cdani
Posts: 2204
Joined: Sat Jan 18, 2014 10:24 am
Location: Andorra

Searching for draw

Post by cdani »

I'v seen a few times someone asking for an engine that searches for draw.
How do you think such engine should work? I understand that the feed position will be bad and the engine should try to save it. But in fact this is what the engines try when they are in a bad position. So what is the difference over a normal engine?
Uri Blass
Posts: 10267
Joined: Thu Mar 09, 2006 12:37 am
Location: Tel-Aviv Israel

Re: Searching for draw

Post by Uri Blass »

The difference is that the engine can search for forcing a draw also in a good position.

Here is an example:
[d]4rrk1/pp6/5Q2/8/8/8/3PPP2/4K3 w - - 1 1

white is better but if white search for a forced draw the engine will show the line
1.Qg6+ Kh8 2.Qh6+ Kg8 3.Qg6+ and is going to report draw in 5 plies because it forced repetition inside the search in 5 plies and you can assume repetition inside the search is a draw.

In the following position it is a forced draw in 4 plies

[d]4rrk1/pp6/7Q/8/8/8/3PPP2/4K3 w - - 0 1

Line is 1.Qg6+ Kh8 2.Qh6+ Kg8 and the engine forced repetition of the root position so it is a draw because if you could force repetition of the root position in 4 plies then you can force it again.

Note that repetition of history positions of the game should be relevant only if the position happened twice because the fact that you can repeat some history position does not prove that you can repeat it again.
Uri Blass
Posts: 10267
Joined: Thu Mar 09, 2006 12:37 am
Location: Tel-Aviv Israel

Re: Searching for draw

Post by Uri Blass »

I can add that the target is proving at least a draw and today if an engine say 0.00 I do not know if the engine found a forced draw or it is some equal position.

It is useful for analysis of games because humans sometimes need a draw in a game to win in the tournament so if they lose and analyze they want to know if they missed some way to force a draw that the engine can see and the fact that they had 0.00 score at some time of the game and did a mistake does not tell them in what point of the game they did a practical mistake and got out of a position that they could force a draw to a position that may be equal but the engine does not see a forced draw.
Uri Blass
Posts: 10267
Joined: Thu Mar 09, 2006 12:37 am
Location: Tel-Aviv Israel

Re: Searching for draw

Post by Uri Blass »

I can add that I believe that it can be useful also for computer chess to decide which move is better between 0.00 moves

Here is an example that I composed

[d]6k1/1p4p1/6Q1/8/8/1q6/1P4P1/1K6 w - - 0 1

both 1.Qe8+ and 1.g3 give evaluation of 0.00 but I consider 1.Qe8+ as better because white is the side that can force repetition by 1.Qe8+ and I see no proof that black can force a draw when the opposite is for 1.g3.

1.Qe8+ is evaluated as 0+(0.00 but maybe more than it that I do not see)
1.g3 is evaluated as 0-(0.00 but maybe less than it from white point of view that I do not see)

I know of no chess engine that has this calculations and I think that it is better if engines use part of their time to evaluate if one side can force a draw(the idea is to add 0.01 to the evaluation for moves that can force a draw and reduce 0.01 from the evaluation for moves when the opponent can force a draw).

Note that maybe a strong engine can see that black can force a draw also after 1.Qe8+ by searching deep enough but even if black can do it then black cannot do it as fast as white and black will need many plies to force a draw after 1.Qe8+.
User avatar
cdani
Posts: 2204
Joined: Sat Jan 18, 2014 10:24 am
Location: Andorra

Re: Searching for draw

Post by cdani »

I have done a version of Andscacs that evaluates repetition of position as 5000, so it takes it when possible:

https://1drv.ms/u/s!Aj8wlSmr_Hq3ispbyGn ... g?e=Rdzam9
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Searching for draw

Post by Ferdy »

Deuterium has options for repetition, insufficient, fiftymove and stalemate scores.

[d]4rrk1/pp6/5Q2/8/8/8/3PPP2/4K3 w - - 1 1

D:\Chess\Engines\Deuterium> .\Deuterium_v2019.2.37.73_64bit_pop.exe

Code: Select all

info string Deuterium v2019.2.37.73 64bit POPCNT
uci

Code: Select all

id name Deuterium v2019.2.37.73
...
option name RepetitionScore type spin default 0 min -29800 max 29800
option name InsufficientMaterialScore type spin default 0 min -29800 max 29800
option name FiftyMoveScore type spin default 0 min -29800 max 29800
option name StaleMateScore type spin default 0 min -29800 max 29800
option name TimeBufferMilliSec type spin default 60 min 0 max 1000
option name MultiPV type spin default 1 min 1 max 300
option name UCI_AnalyseMode type check default false
option name ClearHash type button
uciok
setoption name repetitionscore value 1000
position fen 4rrk1/pp6/5Q2/8/8/8/3PPP2/4K3 w - - 1 1
go movetime 5000

Code: Select all

info depth 1 seldepth 3 multipv 1 score cp 150 time 1 nodes 67 nps 67000 pv f6h6
info depth 2 seldepth 6 multipv 1 score cp 168 time 7 nodes 221 nps 31571 pv f6g6 g8h8 d2d4
info depth 3 seldepth 8 multipv 1 score cp 177 time 14 nodes 457 nps 32642 pv f6g6 g8h8 g6h6 h8g8 d2d4
info depth 4 seldepth 7 multipv 1 score cp 1000 time 24 nodes 475 nps 19791 pv f6g6
info depth 4 seldepth 6 multipv 1 score cp 1000 time 32 nodes 628 nps 19625 pv f6g6 g8h8 g6h6 h8g8 h6g6 g8h8
info depth 5 seldepth 6 multipv 1 score cp 1000 time 42 nodes 751 nps 17880 pv f6g6 g8h8 g6h6 h8g8 h6g6 g8h8
info depth 6 seldepth 6 multipv 1 score cp 1000 time 49 nodes 895 nps 18265 pv f6g6 g8h8 g6h6 h8g8 h6g6 g8h8
info depth 7 seldepth 7 multipv 1 score cp 1000 time 59 nodes 1116 nps 18915 pv f6g6 g8h8 g6h6 h8g8 h6g6 g8h8
info depth 8 seldepth 9 multipv 1 score cp 1000 time 69 nodes 1356 nps 19652 pv f6g6 g8h8 g6h6 h8g8 h6g6 g8h8
info depth 9 seldepth 9 multipv 1 score cp 1000 time 77 nodes 1784 nps 23168 pv f6g6 g8h8 g6h6 h8g8 h6g6 g8h8
info depth 10 seldepth 11 multipv 1 score cp 1000 time 89 nodes 2283 nps 25651 pv f6g6 g8h8 g6h6 h8g8 h6g6 g8h8
info depth 11 seldepth 11 multipv 1 score cp 1000 time 101 nodes 2995 nps 29653 pv f6g6 g8h8 g6h6 h8g8 h6g6 g8h8
info depth 12 seldepth 12 multipv 1 score cp 1000 time 110 nodes 3839 nps 34900 pv f6g6 g8h8 g6h6 h8g8 h6g6 g8h8
info depth 13 seldepth 12 multipv 1 score cp 1000 time 124 nodes 4975 nps 40120 pv f6g6 g8h8 g6h6 h8g8 h6g6 g8h8
info depth 14 seldepth 14 multipv 1 score cp 1000 time 134 nodes 6363 nps 47485 pv f6g6 g8h8 g6h6 h8g8 h6g6 g8h8
info depth 15 seldepth 14 multipv 1 score cp 1000 time 143 nodes 8109 nps 56706 pv f6g6 g8h8 g6h6 h8g8 h6g6 g8h8
info depth 16 seldepth 16 multipv 1 score cp 1000 time 155 nodes 10859 nps 70058 pv f6g6 g8h8 g6h6 h8g8 h6g6 g8h8
info depth 17 seldepth 22 multipv 1 score cp 1000 time 169 nodes 14147 nps 83710 pv f6g6 g8h8 g6h6 h8g8 h6g6 g8h8
info depth 18 seldepth 20 multipv 1 score cp 1000 time 183 nodes 18595 nps 101612 pv f6g6 g8h8 g6h6 h8g8 h6g6 g8h8
info depth 19 seldepth 20 multipv 1 score cp 1000 time 195 nodes 23778 nps 121938 pv f6g6 g8h8 g6h6 h8g8 h6g6 g8h8
info depth 20 seldepth 22 multipv 1 score cp 1000 time 211 nodes 29925 nps 141824 pv f6g6 g8h8 g6h6 h8g8 h6g6 g8h8
info depth 21 seldepth 23 multipv 1 score cp 1000 time 226 nodes 37362 nps 165318 pv f6g6 g8h8 g6h6 h8g8 h6g6 g8h8
info depth 22 seldepth 22 multipv 1 score cp 1000 time 241 nodes 47084 nps 195369 pv f6g6 g8h8 g6h6 h8g8 h6g6 g8h8
info depth 23 seldepth 27 multipv 1 score cp 1000 time 260 nodes 59560 nps 229076 pv f6g6 g8h8 g6h6 h8g8 h6g6 g8h8
info depth 24 seldepth 25 multipv 1 score cp 1000 time 279 nodes 73386 nps 263032 pv f6g6 g8h8 g6h6 h8g8 h6g6 g8h8
info depth 25 seldepth 28 multipv 1 score cp 1000 time 302 nodes 92223 nps 305374 pv f6g6 g8h8 g6h6 h8g8 h6g6 g8h8
info depth 26 seldepth 30 multipv 1 score cp 1000 time 358 nodes 140715 nps 393058 pv f6g6 g8h8 g6h6 h8g8 h6g6 g8h8
info depth 27 seldepth 32 multipv 1 score cp 1000 time 419 nodes 196836 nps 469775 pv f6g6 g8h8 g6h6 h8g8 h6g6 g8h8
info depth 28 seldepth 34 multipv 1 score cp 1000 time 492 nodes 265939 nps 540526 pv f6g6 g8h8 g6h6 h8g8 h6g6 g8h8
info depth 29 seldepth 33 multipv 1 score cp 1000 time 531 nodes 306186 nps 576621 pv f6g6 g8h8 g6h6 h8g8 h6g6 g8h8
info depth 30 seldepth 36 multipv 1 score cp 1000 time 791 nodes 566180 nps 715777 pv f6g6 g8h8 g6h6 h8g8 h6g6 g8h8
info depth 31 seldepth 36 multipv 1 score cp 1000 time 995 nodes 750400 nps 754170 pv f6g6 g8h8 g6h6 h8g8 h6g6 g8h8
info nodes 750400 nps 745924
info depth 32 seldepth 38 multipv 1 score cp 1000 time 1177 nodes 930932 nps 790936 pv f6g6 g8h8 g6h6 h8g8 h6g6 g8h8
info depth 33 seldepth 38 multipv 1 score cp 1000 time 1321 nodes 1088730 nps 824171 pv f6g6 g8h8 g6h6 h8g8 h6g6 g8h8
info depth 34 seldepth 39 multipv 1 score cp 1000 time 1530 nodes 1319678 nps 862534 pv f6g6 g8h8 g6h6 h8g8 h6g6 g8h8
info nodes 1759232 nps 876985
info depth 35 seldepth 44 multipv 1 score cp 1000 time 2646 nodes 2436440 nps 920801 pv f6g6 g8h8 g6h6 h8g8 h6g6 g8h8
info nodes 2796032 nps 930150
info nodes 3862272 nps 964121
info depth 36 seldepth 44 multipv 1 score cp 1000 time 4519 nodes 4419201 nps 977915 pv f6g6 g8h8 g6h6 h8g8 h6g6 g8h8
info time 5000 nodes 4884480
bestmove f6g6 ponder g8h8
Uri Blass
Posts: 10267
Joined: Thu Mar 09, 2006 12:37 am
Location: Tel-Aviv Israel

Re: Searching for draw

Post by Uri Blass »

cdani wrote: Thu Mar 11, 2021 10:42 pm I have done a version of Andscacs that evaluates repetition of position as 5000, so it takes it when possible:

https://1drv.ms/u/s!Aj8wlSmr_Hq3ispbyGn ... g?e=Rdzam9
It seems that it is not exactly take it when possible and it evaluates draw sometimes as -50.00 and sometimes as +50.00
I guess -50 if it is white to move and +50 if it is black to move.

Here it evaluate draw as -50 because the repetition is with white to move.

FEN: 6k1/qpp3p1/1p6/7Q/8/8/8/6K1 w - - 0 1

Andscacs:
1/3 00:00 31 31k -3.72 Qh5-e5
2/5 00:00 247 124k -4.00 Qh5-e5 c7-c6
2/6 00:00 391 196k -3.08 Qh5-d5+ Kg8-f8
2/3 00:00 400 200k 0.00 Qh5-e8+ Kg8-h7
3/7 00:00 502 251k -3.60 Qh5-e8+ Kg8-h7 Qe8-e5
4/6 00:00 2k 820k -3.74 Qh5-e8+ Kg8-h7 Qe8-e5 c7-c6
5/10+ 00:00 1k 396k -3.58 Qh5-e5
5/12+ 00:00 3k 988k -3.31 Kg1-h1
5/13 00:00 6k 1,483k -3.97 Qh5-e8+ Kg8-h7 Qe8-e5 b6-b5+ Kg1-g2 Qa7-b6
6/13+ 00:00 5k 1,253k -3.81 Qh5-d5+
6/12+ 00:00 9k 2,213k -3.65 Qh5-d5+
6/11+ 00:00 9k 2,312k -3.03 Qh5-d5+
6/12 00:00 6k 1,185k -2.88 Qh5-d5+ Kg8-f8 Qd5-d8+ Kf8-f7 Qd8xc7+ Kf7-g6 Qc7-e5 Qa7-a4
7/13 00:00 8k 1,553k -3.36 Qh5-e8+ Kg8-h7 Qe8-e4+ Kh7-h6 Qe4-f4+ Kh6-g6 Qf4xc7 b6-b5+ Kg1-g2 Qa7-e3
8/17 00:00 10k 1,740k -3.39 Qh5-e8+ Kg8-h7 Qe8-e4+ Kh7-h6 Qe4-h4+ Kh6-g6 Qh4-g3+ Kg6-h7 Qg3xc7 b6-b5+ Kg1-g2 Qa7-a6
9/19 00:00 16k 2,285k -3.30 Qh5-e8+ Kg8-h7 Qe8-e4+ g7-g6 Qe4-e7+ Kh7-h6 Qe7xc7 b6-b5+ Kg1-f1 Qa7-a4 Qc7xb7 Qa4-c4+ Kf1-g2
10/25+ 00:00 43k 3,610k -3.30 Qh5-e8+
10/23+ 00:00 71k 3,549k -3.20 Qh5-d5+
10/25 00:00 122k 4,076k -3.35 Qh5-d5+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/50 00:03 30,029k 9,217k +50.00 Qg6-e8+ Kg8-h7 Qe8-h5+ Kh7-g8 Qh5-e8+
53/53 00:03 30,464k 9,129k +50.00 Qg6-e8+ Kg8-h7 Qe8-h5+ Kh7-g8 Qh5-e8+
54/54 00:03 30,720k 9,146k +50.00 Qg6-e8+ Kg8-h7 Qe8-h5+ Kh7-g8 Qh5-e8+
55/55 00:03 35,522k 9,246k +50.00 Qg6-e8+ Kg8-h7 Qe8-h5+ Kh7-g8 Qh5-e8+
User avatar
cdani
Posts: 2204
Joined: Sat Jan 18, 2014 10:24 am
Location: Andorra

Re: Searching for draw

Post by cdani »

Uri Blass wrote: Fri Mar 12, 2021 9:15 pm It seems that it is not exactly take it when possible
Solved!
Just download it again.
If you don't ask me by private message I will not send you a version with nnue enabled much stronger :D
User avatar
cdani
Posts: 2204
Joined: Sat Jan 18, 2014 10:24 am
Location: Andorra

Re: Searching for draw

Post by cdani »

cdani wrote: Fri Mar 12, 2021 11:15 pm
Uri Blass wrote: Fri Mar 12, 2021 9:15 pm It seems that it is not exactly take it when possible
Solved!
Just download it again.
If you don't ask me by private message I will not send you a version with nnue enabled much stronger :D
Someone has used id? It works as expected? I tried and seems so.
If at least two or three ppl are interested, I can do the same modification to Stockfish.