It is currently Thu Oct 31, 2024 4:14 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 18 posts ] 
Author Message
Offline
 Post subject: Ko fight example for non-players
Post #1 Posted: Wed Mar 02, 2016 8:43 am 
Dies in gote

Posts: 21
Location: Switzerland
Liked others: 0
Was liked: 3
Universal go server handle: hanspi
Online playing schedule: mainly playing on FoxWeiqi
Dear L19 community,

I'm going to give a talk at my university about the AlphaGo vs Lee Sedol match. The professional An Younggil pointed out how AlphaGo wasted a very strong ko threat in Game 2 against Fan Hui in October; and the general agreement among pros seems to be that, like it is for every go software, ko is a weakness of AlphaGo.

This is why I would like to show an example of a ko fight where it is comparatively easy to show
- how ko threats are made everywhere on the board (the fight jumps here and there)
- and that at some point one of the players will ignore the threat because if it has lower value for him than filling the ko.

The point is that I can then show people move 31 of game 2 of AlphaGo vs Fan Hui and tell them why it is wrong and why I think Lee Sedol will be able to exploit this in march.

Would anyone have a good example of an illustrative ko fight?

Hanspeter

Top
 Profile  
 
Offline
 Post subject: Re: Ko fight example for non-players
Post #2 Posted: Wed Mar 02, 2016 10:55 am 
Gosei
User avatar

Posts: 1848
Location: Bellevue, WA
Liked others: 90
Was liked: 837
Rank: AGA 5d
KGS: Capsule 4d
Tygem: 치킨까스 5d
Actually the game that was just played between Murakawa Daisuke 8p and Lee Sedol 9p in the Nongshim Cup is a great example of a game with multiple ko fights, generating and calculating ko threats, etc. A video commentary of the game is available on the AGA channel here (mostly the last hour of the video) and the SGF of the game should show up on go4go pretty shortly.

Top
 Profile  
 
Offline
 Post subject: Re: Ko fight example for non-players
Post #3 Posted: Wed Mar 02, 2016 11:08 am 
Honinbo

Posts: 10905
Liked others: 3651
Was liked: 3374
hanspi wrote:
I would like to show an example of a ko fight where it is comparatively easy to show
- how ko threats are made everywhere on the board (the fight jumps here and there)
- and that at some point one of the players will ignore the threat because if it has lower value for him than filling the ko.


I think that that is asking too much of people unfamiliar with the game. If need be, you can just state the second point without proof.

I do think that your audience can understand ko threats that threaten to capture stones immediately. You can show them that easily. :) Furthermore, :b31: in the game threatens to capture some stones.

My suggestion would be to take a final ko fight over a single stone and illustrate it with ko threats that threaten to capture stones. Pro game records hardly ever show such fights, but you can use one of your own games, or make one up. :)

_________________
The Adkins Principle:
At some point, doesn't thinking have to go on?
— Winona Adkins

Visualize whirled peas.

Everything with love. Stay safe.

Top
 Profile  
 
Offline
 Post subject: Re: Ko fight example for non-players
Post #4 Posted: Wed Mar 02, 2016 1:01 pm 
Lives in gote

Posts: 426
Liked others: 186
Was liked: 191
In addition to an example it is important to mention that winning a ko means that the opponent gets two (or more) moves somewhere else. The effects are nonlocal in time and space. Strong human players will often see that a big ko is possible, and play crazy-looking moves with the main purpose of generating ko threats.

Top
 Profile  
 
Offline
 Post subject:
Post #5 Posted: Wed Mar 02, 2016 1:08 pm 
Honinbo
User avatar

Posts: 8859
Location: Santa Barbara, CA
Liked others: 349
Was liked: 2076
GD Posts: 312
Bill Spight wrote:
asking too much of people unfamiliar with the game.
Hi Hanspeter,

I'd like to second what Bill wrote:
even for people familiar with the game, ko can be difficult.
Example: for kyu levels and even low dan levels,
there is still considerable confusion about ko.

Discussion about ko can easily fill a book.

Your target audience has not even digested basic liberties, ataris, and the ko shape yet ( not to mention life-and-death shapes. )
They are raw pedestrians: they're exposed to ataris for the first time in their life only during your lecture.

If you already have a lot of experience interacting with raw beginners, great.
If not, a good preparation for your talk would be to teach complete non-players --
maybe between 25 to 50 individuals, spending at least one hour with each person --
then you find out how much they can absorb, and where they struggle.
This gives you some reference how deep you dig in your upcoming talk.

Dr. Demis Hassabis' lecture is an excellent example of how to talk about Go to a general audience (at Oxford University).

Top
 Profile  
 
Offline
 Post subject: Re: Ko fight example for non-players
Post #6 Posted: Wed Mar 02, 2016 1:23 pm 
Lives in sente

Posts: 902
Location: Fort Collins, CO
Liked others: 319
Was liked: 287
Rank: AGA 3k
Universal go server handle: jeromie
If you really want to illustrate a ko fight to a group of people who are generally unfamiliar with the game, I think you could make up an artificial position that involves a big ko for the life of a group and a number of ataris as ko threats. If you walk through this slowly, I think you could illustrate the importance of a ko fight to someone who knows only the basic rules of the game. As others have said, anything from a professional game is likely to be too subtle to follow. I have trouble following ko fights with the aid of commentary!

Top
 Profile  
 
Offline
 Post subject: Re: Ko fight example for non-players
Post #7 Posted: Wed Mar 02, 2016 9:05 pm 
Judan

Posts: 6725
Location: Cambridge, UK
Liked others: 436
Was liked: 3719
Rank: UK 4 dan
KGS: Uberdude 4d
OGS: Uberdude 7d
But the big problem with talking about ko threats to say black 31 is bad is it is wrong. Black 31 is not bad per se (though it is two moves earlier than the usual timing but there doesn't seem to be a way to turn that into a mistake), the problem is AlphaGo failed to make use of it by playing at a6 for move 35. This is a probe which asks white if he wants to allow black some double sente endgame (downside is the block on lower side is no longer sente) or make the b9 cut tesuji which gives blank two eyes but allows white to take sente. Fan Hui played the a7 hane with perfect timing to turn 31 into a bad move. I would not try to explain this to beginners let alone non-players!

Top
 Profile  
 
Offline
 Post subject: Re: Ko fight example for non-players
Post #8 Posted: Thu Mar 03, 2016 12:14 am 
Dies in gote

Posts: 21
Location: Switzerland
Liked others: 0
Was liked: 3
Universal go server handle: hanspi
Online playing schedule: mainly playing on FoxWeiqi
Dear community,

thank you very much for all these useful hints, they have helped me a lot, and have brought me to the realization that I cannot really talk about ko to non-players. I will simply omit this, then.

After all, our talk is more about the AI side and about what might me the problem if AlphaGo just learns by itself from a database of 150000 games. Ko would be one thing, because a drawn-out ko fight is so complex that there may not be enough training data around to really learn it.

So I'll switch over to just using the ladder as an example, which every beginner knows, absolutely needs to know, but needs to know it in order to then NOT PLAY it. In all its game database, AlphaGo has probably seen only a handful of ladders. In the 88000-game GoGoD library I have found only 50 ladder segments, and always in situations where the space was so narrow such that even if the inner player could connect the ladder somewhere, the outer player still had attack potential from it.

So if AlphaGo knows about ladders, it has read about them "between the lines", which is in principle possible for a machine doing deep learning, but it is simple to argue that a teacher showing you a few ladders and then say "don't play this if you are going to lose it" is much more effective.

I can then just mention the ko in the end to tell people that there is a game mechanism in Go that has remote influence just as the ladder has, but with extremely much more complicated dependencies.

Not quite correct, I'm sure, but good enough for non-players.

And some small comments:

@Solomon: I'll look at it for my personal ediucation, thanks!

@Bill Spight: got your point, and it influenced my decision greatly.

@Calvin Clark: true, and this just reminded me that at my present playing strength I should anyway be very reluctant to talk about ko to anyone.

@EdLee: I have very little experience with raw beginners. My 7-year-old (with whom I play 13x13 handicap games) went over the talk wit me, though, and I made sure that he could follow everything. And before you ask: he could follow everything ... except the ko :)

@jeromie: I thought about this, and when I tried to build one, I realized that I don't think I know as much about ko fights as I should know to construct a simple and good example.

@Uberdude: yes, I see, this does not make it easier, of course. I just saw a wasted ko threat, but not that there could have been another plan which, if followed up, would have been a good plan.

Top
 Profile  
 
Offline
 Post subject:
Post #9 Posted: Thu Mar 03, 2016 2:21 am 
Honinbo
User avatar

Posts: 8859
Location: Santa Barbara, CA
Liked others: 349
Was liked: 2076
GD Posts: 312
hanspi wrote:
So I'll switch over to just using the ladder as an example
Hi Hanspeter,

Interesting you should mention the ladder.
The audience at Dr. Hassabis' speech didn't ask many very Go-specific questions --
but I'd like to ask him if AlphaGo has any "handcrafted" (his term) tweaks at all --
e.g. special ladder-recognition code; Japanese rules vs. Chinese rules, etc. -- Just curious. Thanks. :)
hanspi wrote:
but needs to know it in order to then NOT PLAY it.
Or, play it, depending on the case. :mrgreen:
hanspi wrote:
My 7-year-old
Congrats. For a great variety of non-players,
the age and other backgrounds matter a great deal. :)

Top
 Profile  
 
Offline
 Post subject: Re: Ko fight example for non-players
Post #10 Posted: Thu Mar 03, 2016 3:03 am 
Judan

Posts: 6725
Location: Cambridge, UK
Liked others: 436
Was liked: 3719
Rank: UK 4 dan
KGS: Uberdude 4d
OGS: Uberdude 7d
EdLee wrote:
hanspi wrote:
So I'll switch over to just using the ladder as an example
Hi Hanspeter,

Interesting you should mention the ladder.
The audience at Dr. Hassabis' speech didn't ask many very Go-specific questions --
but I'd like to ask him if AlphaGo has any "handcrafted" (his term) tweaks at all --
e.g. special ladder-recognition code;


Yes it does. If you read the Nature paper you will see that ladders are one of the feature planes of the policy neural network (and maybe value too, I can't remember).

Top
 Profile  
 
Offline
 Post subject: Re: Ko fight example for non-players
Post #11 Posted: Thu Mar 03, 2016 4:02 am 
Lives in sente
User avatar

Posts: 1312
Liked others: 14
Was liked: 153
Rank: German 1 Kyu
Uberdude wrote:
EdLee wrote:
hanspi wrote:
So I'll switch over to just using the ladder as an example
Hi Hanspeter,
Interesting you should mention the ladder.
The audience at Dr. Hassabis' speech didn't ask many very Go-specific questions --
but I'd like to ask him if AlphaGo has any "handcrafted" (his term) tweaks at all --
e.g. special ladder-recognition code;

Yes it does. If you read the Nature paper you will see that ladders are one of the feature planes of the policy neural network (and maybe value too, I can't remember).

"Ladders" is nothing AlphaGo could learn from the core material, simply because -- at the level of games used -- you will never find a ladder played out that does not work, nor a ladder that works (with the exception of very short ladders towards the edge of the board).

The same is true for "forbidden moves".

_________________
The really most difficult Go problem ever: https://igohatsuyoron120.de/index.htm
Igo Hatsuyōron #120 (really solved by KataGo)

Top
 Profile  
 
Offline
 Post subject: Re: Ko fight example for non-players
Post #12 Posted: Thu Mar 03, 2016 4:12 am 
Lives in gote

Posts: 450
Liked others: 5
Was liked: 189
Rank: BGA 3 dan
The troubles with embarking on heuristics about ko include the fact that the simple ones are mainly wrong. Unless the ko is "all-dominating", the game gets into a kind of loop, from which either player can exit. Exactly when to exit - well, it's a long story.

Top
 Profile  
 
Offline
 Post subject: Re: Ko fight example for non-players
Post #13 Posted: Thu Mar 03, 2016 5:15 am 
Dies in gote

Posts: 21
Location: Switzerland
Liked others: 0
Was liked: 3
Universal go server handle: hanspi
Online playing schedule: mainly playing on FoxWeiqi
Uberdude wrote:
Yes it does. If you read the Nature paper you will see that ladders are one of the feature planes of the policy neural network (and maybe value too, I can't remember).


And it is the only one.

The complete list, from the Nature paper: The features that we use come directly from the raw representation of the game rules, indicating the status of each intersection of the Go board: stone colour, liberties (adjacent empty points of stone’s chain), captures, legality, turns since stone was played, and (for the value network only) the current colour to play. In addition, we use one simple tactical feature that computes the outcome of a ladder search.

Top
 Profile  
 
Offline
 Post subject: Re: Ko fight example for non-players
Post #14 Posted: Thu Mar 03, 2016 5:25 am 
Dies in gote

Posts: 21
Location: Switzerland
Liked others: 0
Was liked: 3
Universal go server handle: hanspi
Online playing schedule: mainly playing on FoxWeiqi
Cassandra wrote:
"Ladders" is nothing AlphaGo could learn from the core material, simply because -- at the level of games used -- you will never find a ladder played out that does not work, nor a ladder that works (with the exception of very short ladders towards the edge of the board).


And this is almost, but not quite, true. I just drew a ladder accross a board and searched for a 5x5 pattern in the GoGoD CD, finding 44 games. I checked a few of them, and all of them were ladders running through the board centre into black-white structures of awesome complexity such that, I think, it was clear to neither player who'd profit more from the ladder.

So without a hand-programmed ladder, AlphaGo would even learn the wrong thing from the database.

I wonder what'd happen if someone took the time to teach AlphaGo the Nihon-Kiin book of Go Proverbs. That contains precisely the sort material AlphaGo wouldn't find in the data. What do you think?

Top
 Profile  
 
Offline
 Post subject: Re: Ko fight example for non-players
Post #15 Posted: Thu Mar 03, 2016 10:00 am 
Oza

Posts: 2264
Liked others: 1180
Was liked: 553
Cassandra wrote:
"Ladders" is nothing AlphaGo could learn from the core material, simply because -- at the level of games used -- you will never find a ladder played out that does not work, nor a ladder that works (with the exception of very short ladders towards the edge of the board).

What about the famous game where Lee Sedol played out a long broken ladder, to win the game?


This post by xed_over was liked by: Bonobo
Top
 Profile  
 
Offline
 Post subject: Re: Ko fight example for non-players
Post #16 Posted: Thu Mar 03, 2016 10:15 am 
Gosei
User avatar

Posts: 1848
Location: Bellevue, WA
Liked others: 90
Was liked: 837
Rank: AGA 5d
KGS: Capsule 4d
Tygem: 치킨까스 5d
xed_over wrote:
Cassandra wrote:
"Ladders" is nothing AlphaGo could learn from the core material, simply because -- at the level of games used -- you will never find a ladder played out that does not work, nor a ladder that works (with the exception of very short ladders towards the edge of the board).

What about the famous game where Lee Sedol played out a long broken ladder, to win the game?



This post by Solomon was liked by: Bonobo
Top
 Profile  
 
Offline
 Post subject: Re: Ko fight example for non-players
Post #17 Posted: Thu Mar 03, 2016 10:23 am 
Lives in sente
User avatar

Posts: 1312
Liked others: 14
Was liked: 153
Rank: German 1 Kyu
xed_over wrote:
Cassandra wrote:
"Ladders" is nothing AlphaGo could learn from the core material, simply because -- at the level of games used -- you will never find a ladder played out that does not work, nor a ladder that works (with the exception of very short ladders towards the edge of the board).

What about the famous game where Lee Sedol played out a long broken ladder, to win the game?

I do not think that AlphaGo will be able to "learn" from non-recurring incidents.

_________________
The really most difficult Go problem ever: https://igohatsuyoron120.de/index.htm
Igo Hatsuyōron #120 (really solved by KataGo)


This post by Cassandra was liked by: Bonobo
Top
 Profile  
 
Offline
 Post subject: Re: Ko fight example for non-players
Post #18 Posted: Fri Mar 04, 2016 2:13 pm 
Dies in gote

Posts: 21
Location: Switzerland
Liked others: 0
Was liked: 3
Universal go server handle: hanspi
Online playing schedule: mainly playing on FoxWeiqi
Cassandra wrote:
I do not think that AlphaGo will be able to "learn" from non-recurring incidents.


I didn't think so either, but apparently it can by playing against itself with some random changes to games it has seen. Nice article here: https://gogameguru.com/can-alphago-defeat-lee-sedol/

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 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