New android app "BadukAI"

For discussing go computing, software announcements, etc.
Post Reply
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"

Post by go4thewin »

akigo wrote:I made a new release (0.6):

@go4thewin
It includes a calibrated bot as in KaTrain (full credit to sanderland's great KaTrain project for the underlying algorithms). If KataGo is active, you can edit a "kyu-rank" in settings. If you enter a number between 30 and -8 (denoting 9-dan), a calibrated bot of roughly this strength will make the AI moves. If you enter anything else, full KataGo will be in charge of AI moves again. Analysis (via "ponder" or "analyse all") will always be done by full Katago
@And
Since your goal is to get rid of unused networks, I decided to implement this directly.
It works perfectly. Whats so interesting to me is that even though it doesn't get stronger than 4 dan, each bot (especially -1 to -8) plays differently and very well with just 1 visit. The 1 visit keeps the moves very fast even with the 20b net, but its like 8 different high quality opponents. That is like magic to me how its done. In the past, playing a bot with 1 visit was boring because it always played the same moves. All of these bots play different strong moves, and they are able to easily beat kyu players. You can reliably use how they play to improve.
Last edited by go4thewin on Wed Sep 30, 2020 5:51 pm, edited 12 times in total.
set katago to play at your level https://docdro.id/sHZU1ti or experiment with gtp4zen ( https://rb.gy/kx2ilb )
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"

Post by akigo »

So for everybody who does not also read the KataGo forum, I should clarify the current status:

1) It seems, that both the 15b and the (built-in) 20b network can be used with the calibration bot to achieve roughly the desired strength.

2) The ranks up to 4d are covered by the calibration research of the KaTrain project.

3) At higher ranks the strength of the calibration bot is somewhat "terra incognita". With the 15b network there probably won't be much increase of strength, since the bot uses only one playout and even the full policy is not stronger. With the 20b network it may still get stronger at higher ranks, but it is unclear by how much. 9-dan will not be reached.
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"

Post by And »

BadukAI (KG g170 6 block d26M, 10s/move) - CSDL 5d 1:1 (CS W +R, KG W +12.5)
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"

Post by And »

akigo everything works great! thank you very much!!!
and is it difficult for you to implement the display of winrate during the game, as in the analysis (on/off)? Or can it be turned on now, but I have not found how?
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"

Post by And »

go4thewin wrote: ...
Lastly, alternately if you don't want to put more work into changing the kyu_rank setting but still want to adjust the strength, a simpler adjustment might be to just add 3 more boxes, one where the user can input maxPlayouts, maxVisits, and numSearchThreads...
what if you just make the .cfg file editable?
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"

Post by go4thewin »

After playing around with the kyu_rank, these are the settings I would suggest to play against to improve based on your current rank. Playing up a couple bots than this list suggests probably would make one stronger as well if you dont get too caried away. Really great feature!
Attachments
Notepad15.pdf
kyu_rank
(172.93 KiB) Downloaded 912 times
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"

Post by And »

BadukAI (KG 10b 5d) - CSDL 5d 0:2 (CS B +149.5, CS W +108.5)
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"

Post by And »

go4thewin please accept my thanks for the offer to make the kyu_rank option. I thought about it, but I thought it was difficult to implement to ask for it! :D
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"

Post by go4thewin »

yeah thank you too And for the cpu suggestion! i wonder which is stronger, crazystone 5d or baduk ai 20b at -8 kyu_rank? I think i'll slowly play a few moves at a time starting tonight and find out. i just did a few sample games with the 40b last night on desktop and it beat gtp4zen7 9d 4-0 using only 7 playouts, so katago is very strong!

edit: 40b net (B) at -4 kyu_rank lost to CS by 8.5 (Komi 7.5). close game attached.
Attachments
Kata40b5dB_CsW.sgf
(4.69 KiB) Downloaded 842 times
Last edited by go4thewin on Thu Oct 01, 2020 10:34 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"

Post by And »

I didn't understand what it is :shock:
in both games last move, BadukAI (KG 15b 5d) - how is this possible?
sgf saved by BadukAI
Attachments
what it is.jpg
what it is.jpg (68.43 KiB) Viewed 53470 times
BadukAI - CS.sgf
(3.02 KiB) Downloaded 1620 times
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"

Post by go4thewin »

Wow, what a close game! Were the bots playing with komi? who was white? It looks like it was 181 to 180 without komi. Good to know that they are so even, thanks!
Last edited by go4thewin on Thu Oct 01, 2020 3:23 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"

Post by And »

in the first game CS W, in the second - BadukAI
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"

Post by And »

But it's not that! are you not embarrassed by suicidal moves?
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"

Post by go4thewin »

lol yeah youre right, sorry didnt see that! so crazystone won the second game by 80 points? ouch
Last edited by go4thewin on Thu Oct 01, 2020 3:35 pm, edited 2 times 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"

Post by And »

I was going to go to bed, but after that I probably have nightmares ...
Post Reply