KataGo Distributed Training and new networks

For discussing go computing, software announcements, etc.
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: KataGo Distributed Training and new networks

Post by And »

7 and 8 game 2:0 (3:5)
(TIME_B: 1825.3 TIME_W: 1867.4)
(TIME_B: 1902.4 TIME_W: 1969.4)


Attachments
katago 40b - 20b.sgf
(1.97 KiB) Downloaded 957 times
katago 40b - 20b.sgf
(2.06 KiB) Downloaded 971 times
lightvector
Lives in sente
Posts: 759
Joined: Sat Jun 19, 2010 10:11 pm
Rank: maybe 2d
GD Posts: 0
Has thanked: 114 times
Been thanked: 916 times

Re: KataGo Distributed Training and new networks

Post by lightvector »

When testing such small number of playouts, take care that numSearchThreads is set to a very small number too. I would recommend to set the number of search threads to no more than 1/20th of the number of playouts. If you have too many threads competing to perform very few playouts while the search tree is very small, many threads will be forced to search garbage variations, which could result in even worse play than having fewer threads and using fewer playouts.
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: KataGo Distributed Training and new networks

Post by And »

this is useful information, thank you very much!
ps in these games, the number of search threads = 3
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: KataGo Distributed Training and new networks

Post by And »

9 and 10 game 1:1
(TIME_B: 1929.8 TIME_W: 2416.8)
(TIME_B: 2099.1 TIME_W: 1584.4)

after 10 games katago b40c256-s118 50 playouts (B) - b20c256x2-s530 100 playouts (W) 4:6


Attachments
katago 40b - 20b.sgf
(2.42 KiB) Downloaded 942 times
katago 40b - 20b.sgf
(1.95 KiB) Downloaded 946 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: KataGo Distributed Training and new networks

Post by And »

katago b40c256-s118 50 playouts (W) - b20c256x2-s530 100 playouts (B) 9:1
after 20 games katago b40c256-s118 50 playouts - b20c256x2-s530 100 playouts 13:7

b20 (B) won the 7th game (TIME_B: 1791 TIME_W: 2049.1)
Attachments
katago 40b - 20b.sgf
(2.02 KiB) Downloaded 948 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: KataGo Distributed Training and new networks

Post by And »

10 sec/move katago b40-s118 - b20-s530 15:5 (b40 won 7 Black, 8 White. KataGo - Eigen AVX2, numSearchThreads = 1)
b20 won the shortest and longest game with white:


Attachments
40b-20b-0.sgf
(878 Bytes) Downloaded 1427 times
40b-20b-9.sgf
(1.91 KiB) Downloaded 1425 times
Last edited by And on Thu Jul 07, 2022 4:05 am, 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: KataGo Distributed Training and new networks

Post by And »

b40 also won the shortest and longest game with white:


Attachments
20b-40b-0.sgf
(1.91 KiB) Downloaded 1404 times
20b-40b-9.sgf
(657 Bytes) Downloaded 1431 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: KataGo Distributed Training and new networks

Post by And »

KataGo b60c320-s632 maxPlayouts 1, numSearchThreads 1 - CS Zero 9d H5
Attachments
CS Zero - KataGo.sgf
(2.37 KiB) Downloaded 1373 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: KataGo Distributed Training and new networks

Post by And »

KataGo b60c320-s647 maxPlayouts 1, numSearchThreads 1 - CS Zero 9d

Attachments
katago - CS Zero.sgf
(504 Bytes) Downloaded 1244 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: KataGo Distributed Training and new networks

Post by And »

new 18 block network
https://cdn.discordapp.com/attachments/ ... r05.bin.gz
does not work on KataGo 1.11.0: "This neural net requires a newer KataGo version."
https://discord.com/channels/4170221623 ... 2637639690
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: KataGo Distributed Training and new networks

Post by And »

New Go-playing trick defeats world-class Go AI—but loses to human amateurs

Last week, a group of AI researchers published a paper outlining a method to defeat KataGo by using adversarial techniques that take advantage of KataGo's blind spots
https://arstechnica.com/information-tec ... -amateurs/
User avatar
Harleqin
Lives in sente
Posts: 921
Joined: Sat Mar 06, 2010 10:31 am
Rank: German 2 dan
GD Posts: 0
Has thanked: 401 times
Been thanked: 164 times

Re: KataGo Distributed Training and new networks

Post by Harleqin »

Ugh. According to the article, this just exploits that they implemented the rules as »two passes end the game«, but KataGo by itself doesn't know this. I wonder whether the authors even understand Go.
A good system naturally covers all corner cases without further effort.
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: KataGo Distributed Training and new networks

Post by And »

I think the end is the most interesting:

"The research shows that AI systems that seem to perform at a human level are often doing so in a very alien way, and so can fail in ways that are surprising to humans," explains Gleave. "This result is entertaining in Go, but similar failures in safety-critical systems could be dangerous."
Imagine a self-driving car AI that encounters a wildly unlikely scenario it doesn't expect, allowing a human to trick it into performing dangerous behaviors, for example. "[This research] underscores the need for better automated testing of AI systems to find worst-case failure modes," says Gleave, "not just test average-case performance."
A half-decade after AI finally triumphed over the best human Go players, the ancient game continues its influential role in machine learning. Insights into the weaknesses of Go-playing AI, once broadly applied, may even end up saving lives.
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: KataGo Distributed Training and new networks

Post by And »

who compiled the version for Windows with support for the new 18b network, upload please!
PC_Screen
Beginner
Posts: 17
Joined: Sat Sep 10, 2022 6:03 am
GD Posts: 0
Has thanked: 1 time
Been thanked: 10 times

Re: KataGo Distributed Training and new networks

Post by PC_Screen »

Drop this katago.exe file in a working katago v1.11 OpenCL folder and have it replace the old katago.exe and it should work. The new 18b net is actually a bit faster and stronger than the old 40b net despite being "smaller" (it's a new architecture) and it's still mid-training so it should grow stronger over the following weeks/months.

https://drive.google.com/file/d/1-uWOZS ... SDRQt/view
Post Reply