Life In 19x19
http://lifein19x19.com/

New android app "BadukAI"
http://lifein19x19.com/viewtopic.php?f=18&t=17784
Page 10 of 17

Author:  And [ Sat Oct 24, 2020 8:29 am ]
Post subject:  Re: New android app "BadukAI"

does anyone know how to make sure that LZ does not give up, for example in Sabaki? and what is the range of the -r parameter?

Author:  And [ Sat Oct 24, 2020 12:52 pm ]
Post subject:  Re: New android app "BadukAI"

the new board and stones are certainly more interesting, thanks! :)

Author:  go4thewin [ Sun Oct 25, 2020 8:23 am ]
Post subject:  Re: New android app "BadukAI"

BadukAI 15b 4 playout (1 thread) vs Golaxy 4d 1:0 baduk ai won easily as black with 7.5 komi
Attachment:
15b4poVSgolaxy4d.sgf [674 Bytes]
Downloaded 28 times

order to play katago bots ddk - 4d+ by playout and net size below
Attachment:
Katago Mobile Strength.xlsx [5.88 KiB]
Downloaded 88 times

BadukAI 15b 4 playout (1 thread) vs Golaxy 5d 1:0 but very close. (misclick so middle game appears as variation) http://eidogo.com/#2SJaN1Tt

BadukAi 20b 1 playout vs Golaxy 6d 1:0
Attachment:
20b1poVSgolaxy6d.sgf [990 Bytes]
Downloaded 29 times
20b katago is stronger than the 6d bot I think
BadukAi 20b 2 playout vs Golaxy 7d 1:0
http://eidogo.com/#2mYoaKgPz:0,0
I think with 2po katago is stronger than the 7d bot

BadukAi 40b 1 playout vs Golaxy 8d 1:0
http://eidogo.com/#I4UY0h6J:0,0
15b 1 playout vs cspro 5d 1:0 http://eidogo.com/#vVunLVxD

Author:  akigo [ Sun Oct 25, 2020 9:11 am ]
Post subject:  Re: New android app "BadukAI"

I made a new version (0.14) responding to feature requests from various sources:

  • "edit config"-dialog now has a fixed height
  • settings (like think time) are now persistent, that is BadukAI remembers them on next app start
  • the current position is saved automatically and you can reload it after next app start with the new button "load last game" in the "load sgf"-dialog
  • restriction of pondering to a rectangle is now also available for KataGo
  • the "resign percentage" for LeelaZero is now editable in "edit config"-dialog (value between 0 and 99, LZ resigns if winrate percentage is lower than this value)

Author:  Amigo [ Sun Oct 25, 2020 12:31 pm ]
Post subject:  Re: New android app "BadukAI"

what a great app! I am delighted!!!

Author:  ispolin [ Mon Oct 26, 2020 6:47 am ]
Post subject:  Re: New android app "BadukAI"

:D Terrific! Thank you, Andreas!

Author:  And [ Mon Oct 26, 2020 8:50 am ]
Post subject:  Re: New android app "BadukAI"

KG B, resign. after saving sgf: screenshot. I pressed "ponder" twice, it seemed to be normal, I watched the game, but after a couple of minutes it was the same again.
EDIT the winrate is okay, just such a game :)

Attachments:
KG.jpg
KG.jpg [ 173.69 KiB | Viewed 1377 times ]

Author:  akigo [ Mon Oct 26, 2020 12:51 pm ]
Post subject:  Re: New android app "BadukAI"

@And

The space bar on a physical keyboard toggles pondering too. This is normally irrelevant on real devices, so I never mentioned it. But if you used an emulator, this might explain the surprising pondering.

I will remove that in the next release, since it bypasses the UI and leaves the "ponder"-button in an inconsistent state.

Author:  And [ Tue Oct 27, 2020 12:36 am ]
Post subject:  Re: New android app "BadukAI"

@akigo

thanks! I tried to save the sgf on the tablet, when I typed the name, when touch the "space" can see in the background how pondering turns on, when touch it again, it turns off

Author:  go4thewin [ Wed Oct 28, 2020 5:18 am ]
Post subject:  Re: New android app "BadukAI"

@akigo
thanks so much, it feels like sabaki is now on android. Feel free to ignore this suggestion to increase kyu rank strength, it would probably be a huge task or maybe not even possible. I was wondering, the onlinego app on github found a way to specify different visits in katago for "hint“ (30) “territory“ (10) and play (20). I was wondering if you want to use his code to make the higher kyu ranks stronger. The 15b net is easily stronger than the golaxy's 7d bot at 20 visits. Since most devices are octacore or less, maybe kyu rank -4 can be the policy network full strength (katrain has a policy bot) kyu rank -5 can be 8 visits, -6 12 visits, -7 16 visits, and -8 20 visits. Using the 20b net instead would give a true 9 dan bot if the user has the cpu for that.

also, if it is of interest to anyone, i just realized you can use both analyze all and ponder together. So it will give you the winrate over the whole game and you can go and ponder a specific move and see the optimal variation played out by clicking the coordinate icon at the bottom

Author:  akigo [ Wed Oct 28, 2020 3:27 pm ]
Post subject:  Re: New android app "BadukAI"

@go4thewin

Currently the label "kyu-rank" is a little misleading: After all, what this setting does is providing a katrain bot with the strength parameter you enter. But as your experiments (and also the online rankings of the katrain bots) show, the real rank of the resulting bot is several levels off this strength parameter. So a more accurate label would be "katrain bot with strength parameter:", but this doesn't fit on the screen ;-).

But as the setting isn't a real rank right now, I don't want to mix it up with other methods providing ranked bots.

I think that the current approach in BadukAI for generating opponents of appropriate strength works quite well:
    BadukAI provides the "raw" settings to tune bot strength:
      choosing a network
      limiting playouts and/or visits via "edit config"
      reducing strength below policy strength via "kyu-rank"
    Skilled users provide recommendations which "raw" settings to choose to get a certain bot strength (like you did in earlier posts)

This is much more flexible than any hard-coded approach.

Author:  And [ Thu Oct 29, 2020 10:14 am ]
Post subject:  Re: New android app "BadukAI"

how to connect KataGo to Sabaki, with the KaTrain parameter? for example "kyu-rank" -8

Author:  go4thewin [ Thu Oct 29, 2020 1:09 pm ]
Post subject:  Re: New android app "BadukAI"

@And good idea i dont think we can yet, maybe they will be inspired by akigo!
@akigo you are right. this current setup is the best, the program is already so strong. i did one game of the 15b 1 playout policy vs crazystone pro highest level “5d“ baduk ai won by 90!
Attachment:
File comment: baduk ai - black
cs pro - white
komi 7.5

15b1poVScs5d.sgf [1.37 KiB]
Downloaded 26 times

If anyone needs a bot weaker than the 6b net 1 playout policy, 20b kyu_rank 4 or 5 and above are weaker as are all of the golaxy kyu bots. 20b kyu rank -15 is good for someone learning the rules. On the high end, the 40b net at 3 visits is probably atleast kgs 7d. it beats golaxy's top 9d+++ free bot.
Attachment:
40b3visitVSgolaxypro3star.sgf [647 Bytes]
Downloaded 22 times
I tested the golaxy bot and won on kgs against the kgs 6d Hirabot by 50 playing as black. last updated mobile strength suggestions 30 kyu - 7d: https://docs.google.com/spreadsheets/d/ ... sp=sharing

Author:  And [ Sat Oct 31, 2020 3:31 am ]
Post subject:  Re: New android app "BadukAI"

KataGo makes a suicidal move again

Attachments:
KG 3d.sgf [1.86 KiB]
Downloaded 26 times
20201031-113556-82B01261.log.gz [325.02 KiB]
Downloaded 25 times

Author:  And [ Sat Oct 31, 2020 3:45 am ]
Post subject:  Re: New android app "BadukAI"

KaTrain 3d - CS Zero 3d 2:0 (B+, W+)
KG BadukAI 3d(-2) - CS Zero 3d 2:0 (B+, W+)
KG BadukAI 3d on emulator ~2sec/move

Author:  akigo [ Sat Oct 31, 2020 3:32 pm ]
Post subject:  Re: New android app "BadukAI"

@And

the kyu-rank bot is not KataGo. It only uses the policy output from KataGo's neural network to value moves. This network is independent of the ruleset. Therefore it can (and does) only exclude moves that are illegal with all rulesets (that is single-stone suicide). But multi-stone suicide moves have a normal (very low) policy value and are therefore sometimes chosen by the kyu-rank bot (but only if there is nothing better to do within the moves he considers, so this should not be a problem).

Author:  And [ Sun Nov 01, 2020 4:41 am ]
Post subject:  Re: New android app "BadukAI"

KaTrain (kyu-rank) does not commit and does not allow suicidal moves (I tried all the rules that are in the KaTrain), is it possible to do in BadukAI as well?

Author:  And [ Sun Nov 01, 2020 5:15 am ]
Post subject:  Re: New android app "BadukAI"

As far as I understand, it is now impossible to connect to the KaTrain through gtp. Would it be easier to assess the accuracy of a kyu-rank by playing a match of tens? hundreds? games. maybe this option will appear?

Author:  Amigo [ Sun Nov 01, 2020 7:29 am ]
Post subject:  Re: New android app "BadukAI"

it may be rational to remove lz 40b and kg 20b in the installation file, and add links to them "download lz 40b" and "download kg 20b" in manage networks. it seems to me not only I delete unnecessary networks after installation. the tablet often runs out of space.
and why unnecessary confusion? it is clear where such values come from in kyu-rank, but maybe it is better to dial "5d" and not "-4"? :)

Author:  akigo [ Sun Nov 01, 2020 2:38 pm ]
Post subject:  Re: New android app "BadukAI"

Amigo wrote:
it may be rational to remove lz 40b and kg 20b in the installation file, and add links to them "download lz 40b" and "download kg 20b" in manage networks. it seems to me not only I delete unnecessary networks after installation. the tablet often runs out of space.
and why unnecessary confusion? it is clear where such values come from in kyu-rank, but maybe it is better to dial "5d" and not "-4"? :)


For people with recent devices a few hundred MBs are not an issue, so I am not sure which option would be more convenient for most people. But there are two certain disadvantages of the download option:
1) The buttons for switching the network would not work right after installation
2) It would require internet access permission for the app which most people don't like to grant to an app for security and privacy reasons (especially if it is not really necessary)

The value in the kyu-rank option is more like a strength parameter, it doesn't really denote the rank, as I explained a few posts before. Values like "3d" for this option would further increase this false association, so I don't want to do that.

Page 10 of 17 All times are UTC - 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/