New android app "BadukAI"
-
akigo
- Lives with ko
- Posts: 186
- Joined: Sun Jun 28, 2020 11:20 am
- GD Posts: 0
- Has thanked: 13 times
- Been thanked: 154 times
Re: New android app "BadukAI"
@And
I loaded your sgf and let the kyu bot play many times: It never played on that point. And looking at the internals, it considers the point as illegal. So I'm sorry, I can't explain that behaviour at the moment.
But looking at the position it's not a great loss to be unable to continue ...
As for the strength of the kyu bot: In addition to the remarks by go4thewin you have to keep in mind that it only considers a random subset of the moves. So there is a huge element of chance in its play. Hence, it sometimes makes mistakes that are way below its average strength. In order to get a reliable estimate of its average strength at a certain level you would have to play really many games.
If that variance in play is a nuisance to you, you could also try using the 6b network with 1 thread, 1 playout. This might also deliver kyu strength.
I loaded your sgf and let the kyu bot play many times: It never played on that point. And looking at the internals, it considers the point as illegal. So I'm sorry, I can't explain that behaviour at the moment.
But looking at the position it's not a great loss to be unable to continue ...
As for the strength of the kyu bot: In addition to the remarks by go4thewin you have to keep in mind that it only considers a random subset of the moves. So there is a huge element of chance in its play. Hence, it sometimes makes mistakes that are way below its average strength. In order to get a reliable estimate of its average strength at a certain level you would have to play really many games.
If that variance in play is a nuisance to you, you could also try using the 6b network with 1 thread, 1 playout. This might also deliver kyu strength.
-
And
- Gosei
- Posts: 1464
- Joined: Tue Sep 25, 2018 10:28 am
- GD Posts: 0
- Has thanked: 212 times
- Been thanked: 215 times
Re: New android app "BadukAI"
I don't know who did it, but thanks !!! I haven't solved puzzles with such pleasure in a long time!
I am posting a log file here and who cares, try to find a game with a forbidden move! (viewtopic.php?p=260283#p260283)
solution
@akigo
I am posting a log file here and who cares, try to find a game with a forbidden move! (viewtopic.php?p=260283#p260283)
solution
- Attachments
-
- 20201003-180621-25D4F99B.LOG.GZ
- (656.76 KiB) Downloaded 881 times
-
akigo
- Lives with ko
- Posts: 186
- Joined: Sun Jun 28, 2020 11:20 am
- GD Posts: 0
- Has thanked: 13 times
- Been thanked: 154 times
Re: New android app "BadukAI"
@And
thank you very much for the log file, that explained everything:
The bug is that suicide moves are not taken back (when you navigate by tapping in the histogram or by the arrow buttons). Shame on me, I didn't yet know they were legal (if more than one stone) with Tromp-Taylor when writing this part of the code.
In case of your sgf this has the following consequence: In the first game there were 315 real moves (rest was pass) including one suicide move (the last one). Because of the bug, only 314 undos were sent to KataGo, so in KataGo's memory the first stone of the first game (hoshi in the top right corner) was still there. So the kyu bot played a different game than that visible on the screen. If that black hoshi stone would have been there, a lot of white stones would have been captured during the game, and at the end the move, that the kyu bot played, would have been legal.
This is also the reason that the kyu bot often played so "badly" in the second (and consecutive) games. Whenever there was a suicide move in the first game (i.e. almost always) it "saw" additional stones in consecutive games.
I will fix this bug in the next version, but for the time being there is an easy workaround: Just restart KataGo after finishing one game (easiest way is "Edit config", don't change anything, then "Save", then BadukAI will restart KataGo to apply the parameters).
thank you very much for the log file, that explained everything:
The bug is that suicide moves are not taken back (when you navigate by tapping in the histogram or by the arrow buttons). Shame on me, I didn't yet know they were legal (if more than one stone) with Tromp-Taylor when writing this part of the code.
In case of your sgf this has the following consequence: In the first game there were 315 real moves (rest was pass) including one suicide move (the last one). Because of the bug, only 314 undos were sent to KataGo, so in KataGo's memory the first stone of the first game (hoshi in the top right corner) was still there. So the kyu bot played a different game than that visible on the screen. If that black hoshi stone would have been there, a lot of white stones would have been captured during the game, and at the end the move, that the kyu bot played, would have been legal.
This is also the reason that the kyu bot often played so "badly" in the second (and consecutive) games. Whenever there was a suicide move in the first game (i.e. almost always) it "saw" additional stones in consecutive games.
I will fix this bug in the next version, but for the time being there is an easy workaround: Just restart KataGo after finishing one game (easiest way is "Edit config", don't change anything, then "Save", then BadukAI will restart KataGo to apply the parameters).
-
go4thewin
- Lives with ko
- Posts: 150
- Joined: Thu Jan 23, 2020 6:09 am
- Rank: 25 kyu
- GD Posts: 0
- Has thanked: 200 times
- Been thanked: 30 times
Re: New android app "BadukAI"
nice to see the 10b beat crazystone! in case you were curious, the s167 15b can beat the s5303 20b policy by using 6 playouts max (1 thread) 
revised: edit: also if you dont want to use kyu_rank, 6b Katago 4 playouts (1 thread) vs gnugo level 10 - 4:0
revised: edit: also if you dont want to use kyu_rank, 6b Katago 4 playouts (1 thread) vs gnugo level 10 - 4:0
Last edited by go4thewin on Thu Oct 08, 2020 5:05 pm, edited 1 time in total.
-
And
- Gosei
- Posts: 1464
- Joined: Tue Sep 25, 2018 10:28 am
- GD Posts: 0
- Has thanked: 212 times
- Been thanked: 215 times
Re: New android app "BadukAI"
BadukAI (KG 10b, 3s/move) - CSDL 5d 1:1 (CS W +R, KG W +R)
BadukAI (KG 10b, 4s/move) - CSDL 5d 1:1 (CS B +R, KG B +R)
BadukAI (KG 10b, 5s/move) - CSDL 5d 0:2 (CS B +R, CS W +R)
BadukAI (KG 10b, 4s/move) - CSDL 5d 1:1 (CS B +R, KG B +R)
BadukAI (KG 10b, 5s/move) - CSDL 5d 0:2 (CS B +R, CS W +R)
-
Amigo
- Dies in gote
- Posts: 54
- Joined: Sat Sep 28, 2019 12:06 pm
- GD Posts: 0
- Has thanked: 60 times
- Been thanked: 10 times
Re: New android app "BadukAI"
akigo, thanks a lot for KataGo for android! will you add Chinese rules soon? they are somehow more familiar to people ...
and you can make a window, like with a message about surrender, when KataGo passes? otherwise it’s not immediately clear whether this is a pass or something else.
-
akigo
- Lives with ko
- Posts: 186
- Joined: Sun Jun 28, 2020 11:20 am
- GD Posts: 0
- Has thanked: 13 times
- Been thanked: 154 times
Re: New android app "BadukAI"
I made a new version (0.9) with the following changes:
1) When AI passes, a popup message is displayed shortly, which informs about the pass
2) KataGo now uses chinese rules
1) When AI passes, a popup message is displayed shortly, which informs about the pass
2) KataGo now uses chinese rules