RSIF as alternative to armageddon

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

Moderators: hgm, Rebel, chrisw

Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: RSIF as alternative to armageddon

Post by Ferdy »

Ferdy wrote: Tue Jul 30, 2019 2:30 am
Ferdy wrote: Sun Jul 28, 2019 11:58 pm
todd wrote: Sun Jul 28, 2019 6:09 pm Neat idea - I'll try to play a few games with friends who like variants.

What happens if two conflicting conditions occur on the same move?

For example, here, after black plays 1... Rc6, white plays 2. Nxc6, resulting in both stalemate and insufficient material.

[d]k1r5/8/1K6/4N3/8/8/8/8 b - - 0 1


Repetition and 50 move rule could also be triggered at the same time, as can stalemate and the 50 move rule.

I suppose it's not possible to trigger repetition and insufficient material at the same time, though, as reducing to insufficient material implies a capture, which cannot be repeated.
I have not thought such conflict of interests, but I think after white's Nxc6, white can decide for stalemate or insufficient.

In case of repetition and fifty, the player that made the last move can also decide if it is repetition or fifty. So generally the player that made the last move will decide.

Deuterium rsif is not optimized on those specific rules. Will make some modification and try another tests.
Implemented the conflict on stalemate and insufficient mating material rules. The player that played the last move will decide if it is stalemate or insufficient.

Test 1:
k7/8/1Kr5/4N3/8/8/8/8 w - - bm Nxc6; c0 "win in 1 move via rsif stalemate wins for white";
White should play the bm to win the game.

[d]k7/8/1Kr5/4N3/8/8/8/8 w - - 0 1
Deuterium rsif

Code: Select all

position fen k7/8/1Kr5/4N3/8/8/8/8 w - - 0 1
go movetime 50
info depth 1 seldepth 4 multipv 1 score cp -478 time 1 nodes 23 nps 23000 pv b6a5 c6c5 a5b4 c5e5
info depth 2 seldepth 4 multipv 1 score mate 1 time 18 nodes 44 nps 2444 pv e5c6
info depth 2 seldepth 3 multipv 1 score mate 1 time 28 nodes 54 nps 1928 pv e5c6
info depth 3 seldepth 2 multipv 1 score mate 1 time 33 nodes 60 nps 1818 pv e5c6
info depth 4 seldepth 5 multipv 1 score mate 1 time 36 nodes 83 nps 2305 pv e5c6
info depth 5 seldepth 5 multipv 1 score mate 1 time 39 nodes 114 nps 2923 pv e5c6
info depth 6 seldepth 6 multipv 1 score mate 1 time 42 nodes 147 nps 3500 pv e5c6
info depth 7 seldepth 6 multipv 1 score mate 1 time 45 nodes 179 nps 3977 pv e5c6
info depth 8 seldepth 6 multipv 1 score mate 1 time 47 nodes 212 nps 4510 pv e5c6
info time 54 nodes 213
bestmove e5c6

Test 2:
k1r5/8/1K6/4N3/8/8/8/8 b - - am Rc6+; c0 "After Nxc6 black cannot claim insufficient mating material rule because white will claim first stalemate which is a win for white";
Black should not play Rc6+.

[d]k1r5/8/1K6/4N3/8/8/8/8 b - - 0 1
Deuterium rsif

Code: Select all

position fen k1r5/8/1K6/4N3/8/8/8/8 b - - 0 1
go movetime 50
info depth 1 seldepth 2 multipv 1 score cp 20 time 1 nodes 20 nps 20000 pv a8b8
info depth 2 seldepth 5 multipv 1 score cp 19 time 15 nodes 100 nps 6666 pv a8b8 b6b5
info depth 3 seldepth 5 multipv 1 score cp 21 time 15 nodes 394 nps 26266 pv c8e8 e5f3 a8b8
info depth 4 seldepth 7 multipv 1 score cp 19 time 31 nodes 1168 nps 37677 pv c8c1 e5d3 c1b1 b6c6 a8b8
info depth 5 seldepth 8 multipv 1 score cp 21 time 31 nodes 1801 nps 58096 pv c8c1 e5d3 c1c6 b6b5 a8b7
info depth 6 seldepth 10 multipv 1 score cp 21 time 31 nodes 3300 nps 106451 pv c8b8 b6c6 b8b6 c6c7 a8a7 e5d7 b6c6 c7d8
info depth 7 seldepth 10 multipv 1 score cp 23 time 31 nodes 5970 nps 192580 pv c8c5 e5f3 c5c6 b6b5 a8b7 f3d4 c6c8
info depth 8 seldepth 11 multipv 1 score cp 23 time 46 nodes 7353 nps 159847 pv c8c5 e5f3 c5c6 b6a5 a8b7 a5b5 c6c8 f3d4
info depth 9 seldepth 12 multipv 1 score cp 25 time 46 nodes 11313 nps 245934 pv c8c5 e5d3 c5c6 b6b5 a8b7 b5b4 c6c4 b4b5 c4c5 b5b4 c5c6
info time 62 nodes 11324
bestmove c8c5
Test 3:
6k1/4Q1p1/5p2/8/8/8/KP3qr1/8 w - - 91 150 bm Qe8+; c0 "White wins due to rsif 3-position repetition. Black cannot claim fify-move because it was white that played last.";
Notice the 91 in "6k1/4Q1p1/5p2/8/8/8/KP3qr1/8 w - - 91 150" that is the half-move clock. In normal chess if it reaches 100 without being checkmated one can claim a draw due to fifty-move draw rule.
So in that position white has to find a way to get the 3-position repetition in order to win in rsif rule but should not exceed 100 otherwise black will win.

[d]6k1/4Q1p1/5p2/8/8/8/KP3qr1/8 w - -
Deuterium rsif:

Code: Select all

position fen 6k1/4Q1p1/5p2/8/8/8/KP3qr1/8 w - - 91 150
go movetime 50
info depth 1 seldepth 6 multipv 1 score cp -651 time 1 nodes 59 nps 59000 pv e7b7 g2g1
info depth 2 seldepth 6 multipv 1 score cp -651 time 1 nodes 153 nps 153000 pv e7b7 g2g1
info depth 3 seldepth 8 multipv 1 score cp -681 time 15 nodes 581 nps 38733 pv e7e8
info depth 3 seldepth 9 multipv 1 score cp -665 time 15 nodes 686 nps 45733 pv e7e8 g8h7 e8b8 h7h6
info depth 4 seldepth 9 multipv 1 score cp -665 time 15 nodes 1026 nps 68400 pv e7e8 g8h7 e8h5 h7g8 h5e8 g8h7 e8b8 h7h6
info depth 5 seldepth 9 multipv 1 score mate 5 time 15 nodes 1035 nps 69000 pv e7e8
info depth 5 seldepth 9 multipv 1 score mate 5 time 31 nodes 1521 nps 49064 pv e7e8 g8h7 e8h5 h7g8 h5e8 g8h7 e8h5 h7g8 h5e8
info depth 6 seldepth 9 multipv 1 score mate 5 time 31 nodes 2123 nps 68483 pv e7e8 g8h7 e8h5 h7g8 h5e8 g8h7 e8h5 h7g8 h5e8
info depth 7 seldepth 9 multipv 1 score mate 5 time 31 nodes 2934 nps 94645 pv e7e8 g8h7 e8h5 h7g8 h5e8 g8h7 e8h5 h7g8 h5e8
info depth 8 seldepth 10 multipv 1 score mate 5 time 46 nodes 3929 nps 85413 pv e7e8 g8h7 e8h5 h7g8 h5e8 g8h7 e8h5 h7g8 h5e8
info depth 9 seldepth 11 multipv 1 score mate 5 time 46 nodes 4986 nps 108391 pv  e7e8 g8h7 e8h5 h7g8 h5e8 g8h7 e8h5 h7g8 h5e8
info depth 10 seldepth 14 multipv 1 score mate 5 time 46 nodes 6498 nps 141260 pv e7e8 g8h7 e8h5 h7g8 h5e8 g8h7 e8h5 h7g8 h5e8
info depth 11 seldepth 14 multipv 1 score mate 5 time 46 nodes 8381 nps 182195 pv e7e8 g8h7 e8h5 h7g8 h5e8 g8h7 e8h5 h7g8 h5e8
info time 62 nodes 8390
bestmove e7e8
So it can win in 5 moves on rsif rule with pv e7e8 g8h7 e8h5 h7g8 h5e8 g8h7 e8h5 h7g8 h5e8. The white five moves are: e7e8, e8h5, h5e8, e8h5, h5e8, which is a 3-position repetition after that move sequence.
Black could have claimed fifty-move rule because the halmove-clock has reached 100 (91+9=100), but it is white that played the last move h8e8, so white wins.

Test 4
If we increase that 91 to 92, Deuterium rsif would no longer consider it as a win for white.

6k1/4Q1p1/5p2/8/8/8/KP3qr1/8 w - - 92 150 c0 "Black is winning, white could not deliver a 3-position repetition win due to fifty-move rule which black will win instead";

[d]6k1/4Q1p1/5p2/8/8/8/KP3qr1/8 w - - 92 150
Deuterium rsif

Code: Select all

position fen 6k1/4Q1p1/5p2/8/8/8/KP3qr1/8 w - - 92 150
go movetime 50
info depth 1 seldepth 6 multipv 1 score cp -629 time 1 nodes 55 nps 55000 pv e7b7 g8h7
info depth 2 seldepth 6 multipv 1 score cp -665 time 16 nodes 304 nps 19000 pv e7e8 g8h7 e8b8 h7h6
info depth 3 seldepth 8 multipv 1 score cp -655 time 16 nodes 495 nps 30937 pv e7e8 g8h7 e8h5 h7g8 h5e8 g8h7 e8b8
info depth 4 seldepth 9 multipv 1 score cp -723 time 16 nodes 1487 nps 92937 pv e7b7 g8h7 b7b3 f2a7 b3a3
info depth 5 seldepth 9 multipv 1 score cp -769 time 16 nodes 2496 nps 156000 pv  e7b7 g8h7 b7b8 f2f1 b8b7 f1c4 b7b3
info depth 6 seldepth 11 multipv 1 score cp -782 time 32 nodes 3799 nps 118718 pv e7b7 g8h7 b7b8 f2f1 b8c8 g2g1
info depth 7 seldepth 13 multipv 1 score cp -876 time 32 nodes 8489 nps 265281 pv e7a3 f2f1 a3a8 g8h7 a8c6 g2g1 b2b4 f1f2 a2a3 g1a1 a3b3
info depth 8 seldepth 15 multipv 1 score cp -906 time 32 nodes 10896 nps 340500 pv e7a3
info depth 8 seldepth 17 multipv 1 score cp -1056 time 47 nodes 17431 nps 370872 pv e7a3 f2f1 a3a8 g8h7 a8c6 g2g1 b2b4 f1a1 a2b3 g1b1 b3c4 b1c1 c4d5 c1c6 d5c6
info depth 9 seldepth 15 multipv 1 score cp -1056 time 63 nodes 19656 nps 312000 pv e7b4 g8h7 b4b7 f2f1 b7c6 g2g1 b2b4 f1a1 a2b3 g1b1 b3c4 b1c1 c4d5 c1c6 d5c6
info time 63 nodes 19656
bestmove e7b4 ponder g8h7
User avatar
Ovyron
Posts: 4556
Joined: Tue Jul 03, 2007 4:30 am

Re: RSIF as alternative to armageddon

Post by Ovyron »

Ferdy wrote: Tue Jul 30, 2019 3:46 amBlack could have claimed fifty-move rule because the halmove-clock has reached 100 (91+9=100), but it is white that played the last move h8e8, so white wins.
If this is going to be used as an alternative to armageddon for human chess, I think such complex situations should be avoided.
Your beliefs create your reality, so be careful what you wish for.
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: RSIF as alternative to armageddon

Post by Ferdy »

Current test results out of scheduled 500 games. Games will be available after the match is finished.

Image
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: RSIF as alternative to armageddon

Post by Ferdy »

Ovyron wrote: Tue Jul 30, 2019 1:16 pm
Ferdy wrote: Tue Jul 30, 2019 3:46 amBlack could have claimed fifty-move rule because the halmove-clock has reached 100 (91+9=100), but it is white that played the last move h8e8, so white wins.
If this is going to be used as an alternative to armageddon for human chess, I think such complex situations should be avoided.
Perhaps it is time for us to get complicated than the dumb Armageddon "I draw I win I'm black" :). Chess players are capable of calculating complicated things. Professional players are even more capable. Then we have the correspondence, it is intesting to see its results.
User avatar
Ovyron
Posts: 4556
Joined: Tue Jul 03, 2007 4:30 am

Re: RSIF as alternative to armageddon

Post by Ovyron »

Yeah, but I don't like things that are "more complicated than necessary" maybe something like "50-move rule takes effect if no pawn move, capture, threefold repetition, stalemate or insufficient material has happened in the last 50 moves." Same functionality, but sides aren't able to claim anything because the other events reset the counter.
Your beliefs create your reality, so be careful what you wish for.
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: RSIF as alternative to armageddon

Post by Ferdy »

Ferdy wrote: Tue Jul 30, 2019 1:44 pm Current test results out of scheduled 500 games. Games will be available after the match is finished.

Image
Final match result after 500 games.

Image

Test games are in https://drive.google.com/file/d/1NQDCev ... sp=sharing

500 positions Noomen 3 move test suite used is at https://blogchess2016.blogspot.com/2017 ... suite.html
lkaufman
Posts: 5960
Joined: Sun Jan 10, 2010 6:15 am
Location: Maryland USA

Re: RSIF as alternative to armageddon

Post by lkaufman »

Ferdy wrote: Tue Jul 30, 2019 5:10 pm
Ferdy wrote: Tue Jul 30, 2019 1:44 pm Current test results out of scheduled 500 games. Games will be available after the match is finished.

Image
Final match result after 500 games.

Image

Test games are in https://drive.google.com/file/d/1NQDCev ... sp=sharing

500 positions Noomen 3 move test suite used is at https://blogchess2016.blogspot.com/2017 ... suite.html
Since stalemate is probably not too common, perhaps just switching it to the Black column would bring the results close to 50-50? Or if the result was then too favorable for Black, making stalemate a loss for whoever had no move might make it about fair.
Komodo rules!
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: RSIF as alternative to armageddon

Post by Ferdy »

lkaufman wrote: Tue Jul 30, 2019 5:49 pm Since stalemate is probably not too common, perhaps just switching it to the Black column would bring the results close to 50-50? Or if the result was then too favorable for Black, making stalemate a loss for whoever had no move might make it about fair.
I agree, but it seems premature as Deuterium is not really optimal enough for this new rule (No pruning changes, no evaluation changes). I am examining the games if there is a way to improve the winrate of black (for insufficient and fifty-move). I encountered this position.

[d]2k5/8/2K5/5p2/5B2/8/8/8 b - - 43 160
An innocent looking position which black may won thru insufficient or fifty-move. But white has a very nice idea, it goes for the repetition trying to keep the black king at the sides/corner.
There is an opportunity here to improve black's play. But I need to study more games before implementing improvements. This is also one of the reasons why I played 500 games in the test so that there are more games to examine.
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: RSIF as alternative to armageddon

Post by Ferdy »

Ovyron wrote: Tue Jul 30, 2019 3:56 pm Yeah, but I don't like things that are "more complicated than necessary" maybe something like "50-move rule takes effect if no pawn move, capture, threefold repetition, stalemate or insufficient material has happened in the last 50 moves." Same functionality, but sides aren't able to claim anything because the other events reset the counter.
That can be considered of course, but it adds a new condition too. We have not fully explored RSIF, what we have right now are some games from unoptimized engine. One reason white performed better is because it can check and if black repeats position it loses. We need heuristics in engine playing black to counter this white's advantage. Now in ending white king attacks black king is possible, because if black repeats position it will lose. So how black would avoid this? Or even warn black that there is danger in ending if white king attacks the black king, we can improve the eval of black of course. Since the primary purpose of this variant is for tie-break, it is interesting to see ideas shown by human players on the board.
lkaufman
Posts: 5960
Joined: Sun Jan 10, 2010 6:15 am
Location: Maryland USA

Re: RSIF as alternative to armageddon

Post by lkaufman »

Ferdy wrote: Wed Jul 31, 2019 2:58 am
lkaufman wrote: Tue Jul 30, 2019 5:49 pm Since stalemate is probably not too common, perhaps just switching it to the Black column would bring the results close to 50-50? Or if the result was then too favorable for Black, making stalemate a loss for whoever had no move might make it about fair.
I agree, but it seems premature as Deuterium is not really optimal enough for this new rule (No pruning changes, no evaluation changes). I am examining the games if there is a way to improve the winrate of black (for insufficient and fifty-move). I encountered this position.

[d]2k5/8/2K5/5p2/5B2/8/8/8 b - - 43 160
An innocent looking position which black may won thru insufficient or fifty-move. But white has a very nice idea, it goes for the repetition trying to keep the black king at the sides/corner.
There is an opportunity here to improve black's play. But I need to study more games before implementing improvements. This is also one of the reasons why I played 500 games in the test so that there are more games to examine.
There is another consideration besides fairness and eliminating draws. I call it "acceptibility". I think that many chessplayers are open to the idea of reducing or eliminating draws, they seem to have accepted the armageddon with time handicaps to some degree. Ideas that move draws into one column or the other based on who is deemed to have played better are fine. These include calling a stalemate a loss for the player with no move, callilng bare king a loss, and forbidding some or all repetitions on the grounds that the repeater is the culprit. Ideas that reward Black for draws when it's too hard to assign "fault" are also logical, since it evens things up. But ideas that arbitrarily award whole categories of draws (such as repetitions or stalemate) to White regardless of fault seem quite unreasonable to me as a chessplayer, and probably would seem so to most strong players, even if they happen to result in balanced chances. There are many possible compromises, for example repetitions could be illegal for a player giving check (as in shogi and shang-chi), while other repetitions could be awarded to Black. But ultimately it is resolving how to handle the fifty move rule "draws" that is the big question. You could award them all to the player who made the last capture or pawn mode, but then White's advantage would be too decisive, unless perhaps this was combined with awarded non-checking repetitions to Black, maybe that would be fair? Many possibilities, but for this to go anywhere it has to make some sense to serious chess players, it cannot be totally arbitrary or it just won't seem like chess anymore.
Komodo rules!