It is currently Thu Apr 25, 2024 6:06 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
Offline
 Post subject: Kellin Pelrine Beats AI
Post #1 Posted: Sat Feb 18, 2023 3:13 am 
Judan

Posts: 6160
Liked others: 0
Was liked: 789
From the BGA mailing list, I have learned that Kellin Pelrine, a strong US amateur, has beaten a strong AI in 14 of 15 games. Congratulations!

https://www.ft.com/content/175e5314-a7f ... 3219f433a1
https://goattack.far.ai/human-evaluation
https://goattack.far.ai/pdfs/go_attack_paper.pdf

The news article leaves it ambiguous which AI has been beaten. Is it KataGo?

Top
 Profile  
 
Offline
 Post subject: Re: Kellin Pelrine Beats AI
Post #2 Posted: Sat Feb 18, 2023 3:52 am 
Lives in gote

Posts: 486
Location: Netherlands
Liked others: 270
Was liked: 147
Rank: EGF 3d
Universal go server handle: gennan
Yes, I think it was. But the creator of KataGo has been training KataGo recently to patch this exploit that was uncovered by that AI research group. I suppose the KataGo instances running on KGS have not yet been updated to fix this vulnerability.
2 months ago a 5k player on OGS also reported a succesful attempt to exploit this vulnerability: https://forums.online-go.com/t/potential-rank-inflation-on-ogs-or-how-to-beat-katago-with-one-simple-trick-free/45380/106.

Top
 Profile  
 
Offline
 Post subject: Re: Kellin Pelrine Beats AI
Post #3 Posted: Sat Feb 18, 2023 8:30 pm 
Lives in sente

Posts: 757
Liked others: 114
Was liked: 916
Rank: maybe 2d
The latest 60 block net has improved a lot in understanding these positions, but most of the improvement is in positions that are not too many moves away from the final capture of the group, so if you take care to play in a way such that point where things become inevitable is much farther from that I think the current version is probably still quite exploitable. It will take more cycles though successive nets for the learning to "propagate backward" from the final end positions of the group being captured or not, to learn earlier positions. We'll see how it goes over the next months. :)


This post by lightvector was liked by 4 people: dfan, gennan, hyperpape, PC_Screen
Top
 Profile  
 
Offline
 Post subject: Re: Kellin Pelrine Beats AI
Post #4 Posted: Sun Feb 19, 2023 3:14 pm 
Tengen

Posts: 4380
Location: North Carolina
Liked others: 499
Was liked: 733
Rank: AGA 3k
GD Posts: 65
OGS: Hyperpape 4k
Have there been any attempts to exploit other strong AI using these techniques? Curious whether this is particular to KataGo or if it's a common problem of self-play based training.

Beyond that, is there any background on how these vulnerabilities were discovered? I remember the earlier demonstrations where weak bots beat KataGo, but hadn't heard about how it was found.

_________________
Occupy Babel!

Top
 Profile  
 
Offline
 Post subject: Re: Kellin Pelrine Beats AI
Post #5 Posted: Sun Feb 19, 2023 11:08 pm 
Judan

Posts: 6160
Liked others: 0
Was liked: 789
Everything outside the ordinary can be tried to find gaps in an AI's "understanding": unusual rules applications, topologies, ko fights, semeais, life and death, tactics, strategies, hardware failures, software bugs, cheating by exploiting weaknesses in human protocols managing AI im- or export... We wish AI to have human-like understanding of the game (or any other domain, such as self-driving cars) but AI does not have it. Human understanding has gaps and AI understanding has - possibly other - gaps. Making AI robust against severe consequences of gaps is a general problem for future research.

Top
 Profile  
 
Offline
 Post subject: Re: Kellin Pelrine Beats AI
Post #6 Posted: Mon Feb 20, 2023 6:43 am 
Lives in sente

Posts: 757
Liked others: 114
Was liked: 916
Rank: maybe 2d
@hyperpape - I tested LZ, ELF, and I think MiniGo some time back when cyclic group topology weakness was first found, in like 2020 or 2021, and all of them shared the same misevaluations, so it's fundamental to AlphaZero with the standard convnet neural net architectures. And if you understand the inductive bias of the architecture, I think it's also easy to understand why. The move ordering and kinds of sequences you need to use to evoke the issue against each one of course could be different just by random happenstance, and it could of course "accidentally" vary between how hard or easy it is to elicit just due to different preferences between the bots in how they play, but all of them share the same misgeneralization about how to determine the life and death of groups.

Top
 Profile  
 
Offline
 Post subject: Re: Kellin Pelrine Beats AI
Post #7 Posted: Mon Feb 20, 2023 7:03 am 
Judan

Posts: 6160
Liked others: 0
Was liked: 789
lightvector wrote:
the same misgeneralization about how to determine the life and death of groups.


How can you even know a) that AI is aware of LD groups at all, b) that there is some generalisation at all and c) what the (mis)generalisation is? You havn't reverse-engineered the neural nets etc. to identify such concepts in them, have you? It is all black box and guessed interpretation, isn't it?

Top
 Profile  
 
Offline
 Post subject: Re: Kellin Pelrine Beats AI
Post #8 Posted: Mon Feb 20, 2023 10:09 am 
Lives in sente

Posts: 757
Liked others: 114
Was liked: 916
Rank: maybe 2d
Definitely it's not proven!

Given what we know about how image-processing neural nets work (for which detailed analysis *has* been done of their internal activations), and the fact that convnets in Go use exactly the same layers and operations, we can have a good high-level idea of what the neural nets are doing (e.g. the inductive bias to attend to local features and the fact that information about liberties and eyes is necessarily going to be transmitted by waves of activations of subsets of the internal channels one step at a time across the board). I also have a colleague who did a little bit of exploratory unpublished work looking at the activations within a KataGo net as well.

You can also get much richer information about how the net is processing the board by visualizing the ownership prediction, which predicts the final ownership of every individual point on the board, rather than just giving an overall winrate or score, so you can exactly tell what the net "thinks" about the final life-and-death of every group, and how it varies as you adjust the position. And you can see how that varies as you make controlled edits to a position, making or breaking a connection here or there, filling in an eye or not, adding a liberty or removing it, etc. Across many such positions, the big mistaken evaluation happens when you add a connection giving a cyclic topology to the group, and not other things, including not merely surrounding one or more groups, and including not varying the life and death of the surrounded group or bordering groups in ways that don't affect the correct outcome of the semeai.

Back many years ago, I also trained many smaller nets with various shallower depth (where the number of conv layers didn't allow information to propagate all the way across the board) and looked at how ownership predictions varied through a large group - you could also see how far the information about the presence of one or two eyes could propagate outward along the group to change the ownership prediction, and at what point that propagation died out and more distant stones in the exact same chain were no longer predicted as definitely alive.

So, yes, some actual direct inspection of activations, but also plenty of black box "guessed" interpretations. I think all this is likely right at a high level, but of course we don't have all the mechanistic details.


This post by lightvector was liked by 2 people: ez4u, hyperpape
Top
 Profile  
 
Offline
 Post subject: Re: Kellin Pelrine Beats AI
Post #9 Posted: Tue Mar 07, 2023 6:49 pm 
Lives in gote

Posts: 677
Liked others: 6
Was liked: 31
KGS: 2d
How about taking advantage of the horizont problem by making the game as complex as possible so that even top AI cannot look forward too much and beyond the horizon it would be a 50/50 chance that the complexity is in favor of the human.

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group