r/MachineLearning • • Jan 30 '16

Synopsis of top Go professional's analysis of Google's Deepmind's Go AI

Hi there. Earlier this month I had a discussion over on /r/hearthstone with /u/yetipirate about Computer Go. Then the news hit this week of the first Go AI to beat a human professional.

We had some more discussion then, and I made a synopsis of this video, where the US Go Association has Myungwan Kim, 9-Dan Pro, analyse the games between the AlphaGo AI and human professional Fan Hui, 2-Dan Pro. (FTR: Professional go ranks start at 1-Dan and go up to 9-Dan, but rather than the absolute top 9-Dan is more like the beginning of grandmastery. The best players in the world are like 9-Dan+++++. Lee Sedol, which AlphaGo will challenge next this March, is at this latter level.)

/u/yetipirate suggested this synopsis might interest some people here as well, since it digests the salient points of a two hour video with lots of Go jargon into a more manageable post. So hence I'm posting it here, I hope you all enjoy it. Feel free to ask me any questions about Go, but I'm not that strong myself so ymmv. Anyway without further ado:

In General:

The match has been big news in East-Asia as well. The thing which most shocked all the professionals was that AlphaGo played so much like a human player. Their first impressions were that it's as if this was a human playing, not a computer.

Since how a human plays is, obviously, pretty well known, they decided that they'll focus commentary mostly on those cases where AlphaGo doesn't play like a human.

The first thing that Myungwan Kim noted was that AlphaGo has a Japanese playstyle (this is especially interesting because among the three traditional Go powerhouses, China, Korea, and Japan, the Japanese have been the weakest in international competitions for the past several decades). The commentators don't know, but they suspect it is that the original human data set was biased towards Japanese playstyles.

Myungwan Kim also makes a comment about one of the lines continually repeated in the coverage of Computer Go. The line that "if you ask a top Go player why they like a certain move, they'll often say 'it felt right'". Myungwan Kim wanted to add that just because it's based on intuition, doesn't mean there's no logic behind it at all. Top Go players aren't just guessing what are good moves, they have a real and complicated rational understanding about what specific moves are doing. Even if the final decision might come down to which move feels the best, it's not as simple as top pro's just doing a random move and saying 'I felt like it'.

The Games:

In the first game both sides played very passively in the opening. Leisurely and gentle they say.

Myungwan Kim finds that AlphaGo has a weakness here, it doesn't seem to understand the value of taking and holding initiative. Complicated to explain, but at its core it's about doing moves which force your opponent to use their turn to react to your move over doing moves which might be equally valuable to you, but leave your opponent free to do whatever they want on their turn.

Important, Myungwan Kim says because of this that the first game Fan Hui was winning in the opening. He says this was the only game Fan Hui was winning after the opening. He estimates Fan Hui was about 10 points ahead, and can't see white getting back even 5 points coming out of that opening. Myungwan Kim offers some alternate moves for AlphaGo which would still have Fan Hui in the lead, but would've given AlphaGo better opportunities to comeback.

Conclusion from the opening: AlphaGo lost because it didn't understand the value of initiative.

Myungwan Kim later points to one huge mistake by Fan Hui in the midgame that lost him the game. I can't go into detail here because, as characteristic of top-level Go, it's the difference of placing one stone one space higher. But Myungwan Kim says that while Fan Hui made other small mistakes, this one move is the big one which let AlphaGo come back from losing the opening.

Final conclusion from game one: Aside from not understanding initiative. Myungwan Kim says AlphaGo betrays itself as a computer in that it sometimes it goes too far in mimicking standard professional play and does the most common move instead of the most optimal move. In other words, it's extremely book smart, but at times fails to notice when it should be ignoring the books because the specific situation in the game makes the less standard move the most optimal one instead. (A bit cliche imo, but Myungwan Kim says "AlphaGo is not creative".) They think that might really hurt AlphaGo in the game against Lee Sedol.

Game 2, they note Fan Hui really played too aggressively, as he noted in his own post-match interview. Myungwan Kim says he can really see Fan Hui wasn't playing his best game, but was trying to test AlphaGo to see if it could be tricked into making exploitable mistakes.

Myungwan Kim says Fan Hui actually put up a really good fight. After the opening it should've been over for Fan Hui, but AlphaGo almost allowed Fan Hui to get back in the game.

Game 3 is similar to the fifth game, though Fan Hui played better in the beginning here. Myungwan Kim notes several moves by AlphaGo which are top professional moves. He notes some moves by Fan Hui which he thinks hints that Fan Hui might be a bit out of practice when it comes to playing professional level games (he says it's the kind of move you do if too used to playing teaching games against amateurs). Fan Hui lost because he played over-aggressive and left too many holes in his defence as a result.

On the fifth game, Myungwan Kim says AlphaGo was winning from the beginning here. They marvel at some of AlphaGo's moves here, but they're not sure whether AlphaGo really knew what it was doing or if it just got 'lucky' somehow.

Myungwan Kim points out AlphaGo made a huge mistake early in this game, but was saved because not long after Fan Hui made an equally huge mistake. But this is an example where he thinks a real grandmaster like Lee Sedol would not have allowed AlphaGo to get away with the kind of mistake it made there.

AlphaGo's Strengths and Weaknesses:

Myungwan Kim lists AlphaGo's strengths:

  • It's not afraid of 'Ko'. 'Ko' is too complex a concept to explain succinctly, for an attempt see my post here. They marvel at some of AlphaGo's moves surrounding a 'Ko' situation, but aren't sure if AlphaGo really knew what it was doing or just got lucky that it worked out.

  • Reading might be AlphaGo's strength. As in, cases where it comes down to very straightforward fights and moves it's very strong at choosing the right moves.

Myungwan Kim lists AlphaGo's weaknesses:

  • Doesn't understand initiative, as explained earlier.

  • At times too obsessed with following common patterns, when the specific situation might require creative deviation from those patterns. Also explained earlier.

  • It doesn't understand 'Aji'. 'Aji' is difficult to explain, but it refers to the amount of uncertainty remaining in a specific grouping of white and black stones. (Usually, it's about the chance that a group of stones which is 'death' might become alive and vice versa as a result of things happening elsewhere on the board.) You can also put this differently as: AlphaGo lacks proper long-term thinking.

  • Myungwan Kim thinks AlphaGo has difficulty, or even doesn't at all, evaluating the value of specific stones. It's good at making moves which directly gain territory for itself, but tends to miss moves which reduce the value of the opponent's stones.

  • It can make really high level moves at times, but it doesn't understand those moves. Which it displays by making the right moves at the wrong time.

More generally Myungwan Kim thinks a weakness of AlphaGo is its insularity. He really stresses that human pro's become much stronger when they discuss and analyse their games with other pro's. And because AlphaGo primarily plays against itself the quality of the feedback it gets on its play is too one-note, which leaves holes in its plays whereas human pro's getting feedback from many other human pro's end up with more robust and stronger playstyles. He really thinks to progress past its current level AlphaGo needs to play more with top human pro's rather than just itself. Right now, Myungwan Kim en most pro's he knows don't feel threatened by AlphaGo. They also talk about how AlphaGo can be useful for human pro's to study and become stronger, which can make AlphaGo stronger in turn. (This last paragraph is imo all just Myungwan Kim musing based on his understanding of how AlphaGo was designed more than evaluating its plays themselves, so that's why I didn't list it as a bullet point.)

In general, I get the sense from Myungwan Kim's explanations that he thinks AlphaGo is stronger at the more concrete parts of Go play, such as territory and life-or-death, and weaker at the more vague concepts, such as influence and uncertainty.

[word limit hit, final part below]

543 Upvotes

130 comments sorted by

208

u/NFB42 Jan 30 '16

Upcoming Match Against Lee Sedol:

Myungwan Kim says that with all his respect to the Google team, he thinks AlphaGo as it played against Fan Hui will have no chance against Lee Sedol. He says all pro's who've looked at these games generally agree that AlphaGo would need a one or two stone handicap against Lee Sedol.

Myungwan Kim actually says he thinks AlphaGo when it faces off against Lee Sedol might be as strong as he is. In which case he still predicts Lee Sedol will win every game.

They think that Lee Sedol won't make the mistake of playing overly aggressive like Fan Hui did.

They feel Google is overplaying their hand somewhat challenging Lee Sedol this quickly. They say it's an amazing accomplishment to get an AI this strong, but as is it's not yet at grandmaster level. So by moving the goalpost from beating a low-level pro to beating a grandmaster this quickly they're somewhat cheapening their own accomplishment in beating Fan Hui.

My thoughts:

Just keep in mind even at my best when I played a lot I was never more than a middle-ranking amateur (not even a Dan rank, just a high Kyuu rank). But what I find interesting is what seems like a polar opposition between AlphaGo and Deep Blue. Deep Blue worked, afaik, because it could read much further ahead than any human chess player. But AlphaGo actually has as its weakness that it doesn't read ahead that well at all (and one difference between Chess and Go players is that Go players can in limited ways read dozens and dozens of moves ahead). Deep Blue worked by being a superhuman calculator. AlphaGo works by having a kind of superhuman intuition about what are good and what are bad moves, but it still makes mistakes because it doesn't really understand why a move is good or bad.

It'll be very interesting whether the program as is can ever compensate for that flaw. Since I don't understand anything about the program my first guess would just be yes, but if it turns out to be no, that would actually be even more fascinating. From a Go perspective and from a programming perspective, I'd wager. :)

8

u/SuperFX Jan 31 '16

Go players can in limited ways read dozens and dozens of moves ahead

Can you expand on your statement above? I find it intriguing.

34

u/NFB42 Jan 31 '16

On a pure "they'll make that move, then I'll make this move, then they'll make that move" pro players will routinely read one or two dozen moves ahead. In rare instances more.

But what I meant with limited is something a bit more complicated. Which is that, as a human, what you can do is you look at one part of the board, say the upper right corner. And you can now create a mental image where you say, okay, let's presume this part of the board stays the same, now let me guess how the rest of the board will look like 50 moves from now.

This is something pro players do all the time (and a skill that is way above my play level so take my explanation with some grains of salt). They will have a sense how the rest of the game is likely to play out, not move-for-move but as in "white will likely get a strong formation of stones here, black will likely get a strong formation of stones here", and then they can think about how that will affect that formation of stones in the upper right corner. And they can decide to make a move, or not make a move, based on these predictions.

Iirc one direct example of AlphaGo being weak at this was that it would make moves, which were the proper 'professional level' move, but it would make those moves way too early. It would play them immediately as the specific local shape appeared, when the pro's only play those moves much later in the game when the situation on other parts of the board made them necessary.

4

u/keepthepace Jan 31 '16

Could this weakness be linked toward the "Japanese style" that you said seemed to be favored in AlphaGo's database?

7

u/NFB42 Jan 31 '16

Unlikely, they mention in the video that the Japanese style is not innately worse than other styles. It was my own addition to note that the Japanese have been internationally weak over the past few decades, because that makes the end result being a Japanese style surprising. But that didn't mean the Japanese style itself is weak. Though truly understanding the difference between Japanese and Chinese/Korean style is way above my play level, so I can't explain it any more than this.

1

u/ChristianKl Jan 31 '16

No. Here Japanese style basically means that AlphaGo doesn't play aggressive but often more conservative moves.

8

u/fspeech Jan 31 '16

Good descriptions. One thing humans do is to imagine a future board position and see how that can be arrived at, using backward chaining. Ladder is an extreme case. AlphaGo only does forward searches, which could be its Achilles heel.

25

u/Coffee2theorems Jan 31 '16

Ladder problems are one of the simplest, since they don't usually branch much but have many moves in them. Take this for an example: https://gogameguru.com/i/go-problems/solutions/heart-go-problem.pdf, and imagine staring at the first diagram and visualizing the result of the last diagram in your head.

1

u/UNisopod Feb 08 '16

If they didn't pre-build in some structure for working out ladders then it's essentially the same thing as them handicapping their own design.

1

u/UNisopod Feb 08 '16

The way I like to think about it is that, metaphorically, Go is like playing chess if you had to create all of your pieces from scratch every game one move at a time out of much lower-level interactions. Different structures of pieces can "behave" in different ways, and that behavior can be changed over time with the addition or removal of further pieces (I also liken it to protein folding in the way it can be oddly sensitive).

And so good players aren't just about evaluating the value of the next N moves, but are also evaluating in a more general sense what kinds of influence those moves will have on the structures on the board, many of which won't come directly back into immediate relevance until much later on in the game.

3

u/keepthepace Jan 31 '16

Do we know if this is the same version of AlphaGo that they are going to use against Lee Sedol or if it will be an improved version?

10

u/NFB42 Jan 31 '16

We assume it'll be an improved version. The matches against Fan Hui were played months ago already, so of the top of my head I believe they'll have had like five months from those matches to the match against Lee Sedol.

The pro's were sceptical the program could become a grandmaster in such a short time. But of course, while they're masters of Go they don't know that much about AI, so they could very well be wrong on that account. No one except the Deepmind team knows how much stronger AlphaGo will be come March.

7

u/keepthepace Jan 31 '16

Ok, because reading the publication on the algorithm really made it sound like it was a work in progress that they put against Fan Hui. There are tons of improvements that they can do, and with all the publicity they attracted, they can also just borrow a datacenter to crunch numbers and make different versions of AlphaGo play against themselves to generate even more data.

Comments like yours about the lack of depth in forward thinking may also be invaluable to them. They use a rather classical tree search that I suspect may be biased toward exploring a lot of options close to the situation rather than exploring a few long likely threads. I suspect it would be just tweaking for them to change this behavior radically. Unfortunately, they only know how grand masters ever played, not how they explored the space of probabilities, so they can't use deep-learning for that.

It probably won't exactly play like a human, as the psychological part and the exchange with masters about how they explore the possibilities are just not there, but it will get a better intuition and quite possibly a hugely improved search algorithm in its next game. So I would say that all bets are off!

0

u/DrXaos Feb 02 '16

| They use a rather classical tree search that I suspect may be biased toward exploring a lot of options close to the situation rather than exploring a few long likely threads.

Actually it seems the other way around---the algorithm plays out some trees out to game end (win/loss).

11

u/WilliamDhalgren Jan 31 '16 edited Jan 31 '16

Myungwan Kim says that with all his respect to the Google team, he thinks AlphaGo as it played against Fan Hui will have no chance against Lee Sedol. He says all pro's who've looked at these games generally agree that AlphaGo would need a one or two stone handicap against Lee Sedol.

Well, apparently Google agrees - if you look at how they themselves estimate their strength to be, they seem to think its arond 5-6p, and I guess 4-5 ranks dividing that from a 9+++p player like Lee could be worth at least a stone, maybe two (think I saw estimates that in professional ranks, 3 or 4 ranks roughly equal 1 stone)

see ther graph: http://www.nature.com/nature/journal/v529/n7587/images/nature16961-f4.jpg , with the distributed version of AlphaGo estimated (internally) as, if I'm eyeballing this right, around 5-6p.

Other than that, I'm not sure playing against real humans can give AlphaGo enough matches to progress much given the algorithms used to train it, so I suspect it will just have to do with playing itself, or at best maybe some different tweaks on the algorithms or initializaion datasets. I mean, they use the entire available datasets of <EDIT>all professional games strong amateur games on KGS server, about double the size of the dataset of all pofessional games</EDIT> to just bootstrap the thing; its not that large a database for deep learning scales, so I fear while this "collaborating with peers" might seem an intuitive way for a Go professional to progress, it isn't sadly applicable to machine learning as practiced today.

2

u/JonasBrosSuck Jan 31 '16

could it be that they want to challenge the top player just to get the "Best" data?

2

u/londons_explorer Feb 02 '16

A few games won't help much. Machine learning usually needs thousands of examples to "learn" something new.

4

u/flexiverse Jan 31 '16

Still it's pretty cool that a "dumb"'machine can play so well, just based on a history of patterns and book play.

Makes me think if they "taught" it initiative, aji, ko et al, it would beat grandmaster level.

I'm praying the humans win, but it does seem alphago can be trained better!!! I mean as it stands will it beat 99% of players ????

9

u/kqr Jan 31 '16

Way more than 99 percent. Fan Hui, who it readily beat in five games out of five, is ranked something among the thousand best players in the world IIRC. So at best/worst, it can only be beaten by a thousand people of many millions of players.

2

u/Serinus Feb 01 '16

Based on the description though, I think Fan Hui would likely win the next best of five. It seems he spent some moves testing the machine, plus he's used to teaching amateurs and made a mistake or two from that.

6

u/kqr Feb 01 '16 edited Feb 01 '16

It's easy in hindsight to say "just don't make those mistakes then?" but the difference in skill between two players, which takes years of practise to bridge, is how often they make mistakes and how grave they are. To stop making those mistakes Fan Hui would need years of practise. During which time AlphaGo would get even stronger...

I, too, think Fan Hui could play stronger -- we saw that in the first game -- but beat the computer a best of five? Highly doubt it. Even if they are evenly matched there's only a 50 % chance he'll win it.

1

u/UNisopod Feb 08 '16

There's a big difference between learning a skill for the first time and getting a skill back that's gone out of regular usage.

1

u/flexiverse Jan 31 '16

Wow even less than I thought !

51

u/[deleted] Jan 30 '16

[removed] — view removed comment

30

u/Mr-Yellow Jan 30 '16

Wonder how cloaked in bias these statement are. Will be interesting to see if all this hubris is smashed with similar results and the "not grandmaster enough" stuff turns out to be not much more than denial.

101

u/NFB42 Jan 30 '16

I think in their belief that AlphaGo cannot sufficiently improve to grandmaster level you can question if that's not bias. But when it comes to the playing strength it displayed against Fan Hui I suggest taking them at their word. Myungwan Kim gave very specific and clear examples of the mistakes made by AlphaGo, as wel as examples of where it played very well. There's just no way for me to get that specific while staying accessible to non-Go players. But it would be very ungenerous towards Myungwan Kim to suggest he was giving a biased analysis and not his honest professional opinion of AlphaGo's current strength.

22

u/Mr-Yellow Jan 30 '16

displayed against Fan Hui I suggest taking them at their word

For sure, it's definitely grounded in reality of what went down.

Myungwan Kim gave very specific and clear examples of the mistakes made by AlphaGo, as wel as examples of where it played very well.

Question is to what degree that shows actual weakness against a stronger player compared to just what happened and which patterns were being activated. Would those examples just shift when looking at a stronger player. When presented with different input would the output surprise a pro player who had seen this output previously.

Hard to say if this is a weakness which could be exploited or if once attempting to exploit it the opportunity would be closed.

honest professional opinion

Don't doubt it and good analysis at that. Simply musing on the psychology of the response from the Go community. What happens next may be interesting.

39

u/NFB42 Jan 30 '16

Question is to what degree that shows actual weakness against a stronger player compared to just what happened and which patterns were being activated. Would those examples just shift when looking at a stronger player. When presented with different input would the output surprise a pro player who had seen this output previously. Hard to say if this is a weakness which could be exploited or if once attempting to exploit it the opportunity would be closed.

This is indeed the open question. I'll just add that they did try to account for this in their analysis. The current Go AI's are already well known for playing sub-optimally when they think they're winning, and Myungwan Kim has actually himself played human vs computer matches in the past. A lot of Myungwan Kim's estimate of AlphaGo's strength comes from opening moves where AlphaGo put itself in losing positions. They didn't put as much weight in mistakes later in the game when AlphaGo was already winning, since that could just be AlphaGo playing it safe since it knows it's ahead.

Oh, and I agree that it'll look a bit foolish if AlphaGo wins in march. But that's also why I just wanted to specify that's a different thing from their analysis of how strong it is now. Myungwan Kim actually said he'll be rooting for AlphaGo, because he likes rooting for an underdog. ;)

1

u/ChristianKl Jan 31 '16

On of the criticisms of AlphaGo in the video is that it doesn't play creative or surprising moves but rather conservative moves.

1

u/Mr-Yellow Jan 31 '16

That's the thing, is it only searching as far as it needs. Will "conservative" shift to be just barely enough to beat whatever input is coming in. Will a lack of creativity and pure value based approach be enough to beat even the most devious human player.

11

u/BullockHouse Jan 31 '16

It'd be interesting to have go professionals analyze a game btween AlphaGo and a human master without knowing that either is a machine. I suspect the analysis might look rather different

3

u/KapteeniJ Feb 01 '16

If you bring one or two top go players in the same room to analyze a game played at this level, they would be certain one of the players was a bot.

You could still fool them and have the game be played between 2 bots.

1

u/BullockHouse Feb 01 '16

You could also give them a large set of games to analyze, most of which are human vs. human, so they can't make any assumptions about which games are automated play.

1

u/supersillyus Feb 06 '16

sounds like a statistician/cs guy's job, not a Go masters

4

u/Coffee2theorems Jan 31 '16

But when it comes to the playing strength it displayed against Fan Hui I suggest taking them at their word.

I'd take them at their word when it comes to the Go content, but not when they try to analyze how AlphaGo "thinks" or what kinds of mistakes it is prone to making. The comments in that regard seem to have been made without even a basic understanding of how the system works, and only five games isn't enough to say much with pure black-box analysis.

As an example, a common theme with modern computer Go programs is that they only care about winning, and can seem to be fooling around when they think they're clearly ahead or behind. If the game is already won or lost, then it doesn't matter much where one plays, does it? If one does not know this, then one can easily misjudge the program's capabilities. For proper analysis, one has to concentrate on moves that truly make a difference between win and loss.

14

u/NFB42 Jan 31 '16 edited Jan 31 '16

For the record, they were very well aware of Go computers playing sub-optimally from winning positions and spend next to no time discussing such moves.

1

u/Coffee2theorems Jan 31 '16

AI is not their field of expertise. Would you trust the assessment of a handwriting expert on the kinds of errors an OCR system makes if they're given only five samples, especially when actually good OCR systems were a new thing? I'd take that with a grain of salt.

Still, I think I'm going to actually watch that video. Usually I find videos a waste of time (text is so much faster to read), but this one sounds like it's worth it.

4

u/aysz88 Jan 31 '16 edited Jan 31 '16

I'd say that, in this particular case, the video is superior mainly because they're rapid-fire marking up diagrams of the game state. [edit] Oh, I didn't see the comment below where you said you are a high-level Go player, so you probably knew that this might be in the video.

(Unfortunately, the pace of conversation can get slow, perhaps because one of the participants doesn't seem to be totally fluent in English. But that's hard to avoid, I suppose.)

1

u/ChristianKl Jan 31 '16

I think the pace is slow because Myungwan Kim actually thinks a few times about the position and not because of his English abilities.

1

u/MozarellaMelt Mar 11 '16

Well, AlphaGo has now gone 2-0 against Lee Sedol. Do you know where one might find analysis of the sort you posted in this thread for those matches, and are you going to do another synopsis post? I'd like to see some go experts look at how its playstyle has changed and its current form's similarities and differences compared to a human player.

1

u/NFB42 Mar 11 '16

Yes, you can find the matches with live expert commentating at the Deepmind teams's youtube channel

I personally recommend the second match video, Lee Sedol was playing much better the second time around, and the commentators go into what you're asking about differences with the previous AlphaGo. For example, there is one move which they label as 'creative' and are very excited about. As per my analysis the previous version wasn't showing any creativity.

I'm afraid I won't be making another synopsis, I just do not have the time. But you can try and google around. This match of course has received major media attention, especially from the go community, much more than the previous match.

2

u/MozarellaMelt Mar 11 '16

Alright, well thanks for the great writeup on the first matches. I saw some of the second match video yesterday and I think I might watch the next one live tonight. I'll keep an eye on r/baduk for analysis :D

8

u/REOreddit Jan 30 '16

I think in their belief that AlphaGo cannot sufficiently improve to grandmaster level you can question if that's not bias.

Deepmind explains that AlphaGo can play 1 million games in a day, and that means about 150 million games in 5 months (october to march). For comparison they say a human Go player maybe plays 1000 in a year. I have no clue if that will be enough, considering it's playing mostly against itself, but that's for sure a lot of training.

28

u/fspeech Jan 31 '16

Not sure why people keep on repeating this self playing thing without reading the paper. The RL trained nn is not used to generate moves as it is found to be inferior to the human only model. Self playing is used to remove bias from the human model when training the value network. Think of it this way: recorded human games are not statistically representative as moves that humans evaluate in their heads and rejected are not recorded. However the value network need to be able to evaluate all possible positions during search, like those played out in experts' heads.

29

u/opticaller Jan 31 '16

imo, the thing is not the number of games at this point, but it should be given such games that are played differently or more intuitively at the top-level which can give Alphago more creativity and variations.

6

u/electricfistula Jan 31 '16

It doesn't have to be playing against itself. For example, they could train alternate instances of the program on only Korean, Chinese, or Japanese games and have an AI of each style. They could train an AI only on a set of games where lots of captures happened, or where few captures happened, and have an AI that likes to fight and one that doesn't. They could train one on games that spend a lot of moves in Ko fights, etc. Once they have these alternate versions of the AI, they can all play against each other, and learn from one another and the strongest can go on to face humanity.

One other thing that wasn't considered in the summary is that Google can just plug more computers into this algorithm. If what we've seen is AlphaGo with a brain running on one hundred computers, what will AlphaGo look like running on ten thousand computers?

If Google is willing to commit those resources, which they do have available, then AlphaGo may be able to make gigantic leaps in ability at will. Google could play game one with a hundred machines online, lose and decide to power up AlphaGo for game two.

4

u/[deleted] Jan 31 '16

not necessarily it will play against itself. Most likely it will be variations of itself and ML will be employed to evolve the best AlphaGo they can.

1

u/darkmighty Jan 31 '16

Is having variations really necessary here? In nature it makes sense because of factors like speciation (branching to several species to exploit different niches), group collaboration (each individual has a sightly different ability so overall they perform better), or threat prevention (a virus does not wipe out the whole population because some carry congenital resistance). For a game player though you're talking about a totally ordered skill set: A beats B, B beats C implies A beats C. That's necessarily true for a given tournament structure, but not necessarily true across different tournament formats (B might be better in one and A in another). Conclusion: it seems to make sense to focus on the best specimen only; or is it possible that it's training algorithm might get stuck on a local maximum?

9

u/yoshiK Jan 31 '16

I am not really knowledgeable about Go but my intuition is, that by focusing on the best specimen you are just creating a program that is good at beating itself.1 Let's say that the program makes consistently a mistake in the 10th round, which it can not exploit itself, then I am not sure were the information that it is a bad move should come from.

1 Very loosely speaking, I am aware that for any program playing itself the win probability is .5.

2

u/darkmighty Jan 31 '16

Yea I'll check out the paper when I have more time and comment back, but your intuition makes sense. I was hoping they could modify the chosen moves after a game was lost (for a single player) and reinforce the moves that lead to victory, without the need for the additional player, but I guess it depends on the details.

2

u/sifnt Jan 31 '16

If a program trained against itself has sufficient learning capacity/training, then you'd expect the global minimum to be the nash equilibrium.

No one; human or other could do better than play an equivalent nash equilibrium strategy against such a program, while a non nash equilibrium strategy would be exploitable by a competent adversary.

3

u/yoshiK Jan 31 '16

IIRC the global minimum is necessarily a Nash equilibrium, however if you have some true evaluation function G and some approximation G' of your program, then just using games between the program would only find Nash equilibria in G'. I would even expect that usually you can find series of Nash equilibria in G' which are not even local minima in G.

2

u/no-mad Jan 31 '16 edited Jan 31 '16

I think AlphaGo is still gearing up and probably does not have a hard upper limit on improving game play. Keep the electricity on and it can still be playing Go in six hundred years.

-17

u/[deleted] Jan 31 '16 edited Jan 31 '16

their belief that AlphaGo cannot sufficiently improve to grandmaster level

that is the epitome of hubris, and shows they have zero understanding of machine learning. Given enough time and data, AlphaGo will reach (and surpass) grandmaster level.

Edit: who the fuck downvoted this? Go take a few AI courses and unsubscribe from this sub.

9

u/sorrge Jan 31 '16

Given enough time, you can solve the game completely. However, there are practical limits, which are difficult to evaluate at this stage. The limits of this technology could also be below the grandmaster level.

3

u/Basheesh Jan 31 '16

That's not true. You're assuming that a grandmaster strategy can be learned from the data. Usually, for games, you need more than data (at least than the type of data that can usually be acquired) to reach the top level (e.g. CFR for poker, MCTS for Go).

-3

u/[deleted] Jan 31 '16

If you have the data of every change in board state, you know every move. How would you need anything more?

2

u/KapteeniJ Feb 01 '16

Alphago probably won't.

MCTS simply doesn't seem equipped to actually rise to the class of best of the best. It's good for making pretty strong bots, but I'm not sure if it can ever understand the concept of Aji, for example. Without concept of aji, you simply don't beat best human players. That's just too big a handicap you're giving to humans. Even with god-tier ability to read ahead.

If Alphago really, really improves its reading ability, I could see it winning one or two matches against top human pros. But then humans would adapt. The errors in reading humans made, they would learn from those, but Alphago won't learn concept of aji, so it keeps giving humans ridiculously large handicap while its advantage in ability to read ahead would shrink away.

You either need to be slightly better and not do any particular mistakes, or if you do mistakes, you need to be really, really much stronger than humans to compensate for those mistakes. Alphago by design will make really, really big mistakes. Thus I don't see it ever being better than humans.

Better than me, sure. Good enough to teach top pros thing or two about go? Hopefully, yes.

1

u/bbaaaa Feb 01 '16

fwiw you may be getting down votes because of the seemingly arrogant tone of the comment. That's independent of being right.

37

u/Coffee2theorems Jan 31 '16

Will be interesting to see if all this hubris is smashed with similar results and the "not grandmaster enough" stuff turns out to be not much more than denial.

Unlikely. It's been a while since I've followed the Go scene, but Fan Hui sounds like one of those pros who essentially quit in order to move to Europe to live and teach amateurs. That's VERY different from the pros who actively play other professionals competitively. He'd essentially be retired. He's also "only" 2 dan (as much as any pro is "only" anything), and the skill difference between the low dans and the high dans is huge. To the low dans, Go is more about teaching amateurs, whereas to the high dans it's a competitive sport between peers with big prizes on the line.

That's not to say that this isn't a huge achievement. It is. I looked through the game records and they looked like regular human-vs-human high dan game to me (I'm amateur 2d). That's amazing, and beating a 2d pro is amazing too. It's in the same ballpark with a program participating in the world amateur Go championship and winning (the top amateurs are low-level pro level).

However, that is very far from beating a 9 dan pro, especially an (apparently still-current) superstar like Lee Sedol which is yet another rung above "ordinary" mortal 9 dan pros. It's a safe bet that AlphaGo won't win that one - it'll be a miracle if it wins even one game. It's also quite true as the commenters say that you don't really get comebacks against a player like that, not of the kind that happened here, where the player who's winning just makes mistakes and oops the roles are reversed. The top pros are too careful reeling a won game in for that. The way to get a comeback at that level is to "shake the board" as the Koreans say, i.e. aggressively turn the situation into a complicated mess neither player can see the end of and then hope to win the toss-up. That's a level of meta that I'm pretty sure AlphaGo doesn't do; you'd have to seek not "better" positions but more difficult positions.

3

u/WilliamDhalgren Jan 31 '16 edited Jan 31 '16

It's a safe bet that AlphaGo won't win that one - it'll be a miracle if it wins even one game.

If they don't improve at all then -- yeah, certainly; using Fan Hui's ranking of 2908 at http://www.goratings.org as anchor, they calculate using bayeselo the ranking of their best system at 3140 elo. Lee Sedol has 3516 elo, so almost 400ish elo more. Apparently basic elo as used in chess would suggest that should give 10ish% of chance still, but seems its much smaller for highest-level go play, if how these diminish in EGS rankings with the strength of opponents is anything to go by: https://en.wikipedia.org/wiki/File:Estimated_Win_Probabilities_under_EGF_Rating_System.png

2

u/asthasr Feb 01 '16

I wouldn't use those ratings for any real analysis. The problem is that there simply aren't enough games between the different regions in Go. East Asia is so far beyond Europe and North America that only special exhibition games are played; CJK pros are constantly playing competitive matches among themselves.

1

u/Thucydides411 Feb 01 '16

There's no way to know AlphaGo's rating, other than to say that it's probably significantly stronger than 2908. The program didn't lose a single game, so the rating of 3140 is essentially meaningless, except as a lower bound. Based on the outcome of these five games alone, AlphaGo may well be as strong or stronger than Lee Sedol. After all, AlphaGo achieved exactly the same score against Fan Hui as one would expect Lee Sedol to achieve.

1

u/WilliamDhalgren Feb 01 '16 edited Feb 01 '16

If I understand correctly the process of anchoring their scale, they used the full sample of 10 games against Fan Hui to anchor the metric, ignoring the differences in time controls; AlphaGo won the formal matches by 5-0, true, but it won the informal matches with short time controls by 3-2, so they do have an approximate reference point that way. Lee shouldn't lose 20% of his games against a 2p pro. They also ran 4-stone handicap matches against Zen and Crazystone programs, that should be around KGS-6d amateur strength (before handicap) and winning percentages against them from an internal tournament.

Its all very approximate, but at least its clear they themselves belive they need and can make advances on what they have before the Lee matches.

3

u/Thucydides411 Feb 01 '16

I'm not sure how much games at shorter time controls say about how games at longer time controls should play out. I don't know how AlphaGo's strength scales with search time. Based on the outcomes of the formal games, however, it's impossible to give anything but a lower bound on AlphaGo's playing strength.

It's also important to keep in mind that these games were played several months ago, and that development of AlphaGo is likely very rapid. I'm very skeptical of the confidence many Go players are expressing that Lee Sedol will trounce AlphaGo. I think the match will shock a lot of people.

2

u/WilliamDhalgren Feb 01 '16 edited Feb 01 '16

Fair point re impact of time controls; I havent'a clue either. And def, I'm pretty confident the team has a lot of low-hanging fruit to pick in order to improve this system. Like, I was just commenting on r/baduk, its mind-blowing to me that this system was never exposed to a single pro game in training at all (which facebook used exclusively and got SOTA results), or that they had a fairly substantial dataset used in training just one component - fast rollout - but also not used for training move prediction at all. Even though they state even small improvements on move prediction netted them significant improvements in play strength. Or that they used only 1 day of training (and 1.28 million games) for reinforcement learning from self-play. Getting to amateur 5d rank. Used that to produce a dataset of 30 million games (!!!) to train position evaluation on, picking just 1 positions from each and throwing the other ~150 away, for using all moves lead to overfitting. Can they choose 10 positons and still avoid overfitting, increasing the dataset by an order of magnitude? Can they maybe bootstrap from AlphaGo they have now, and create a dataset of 30 million positions from games played 1500 elo points stronger than their "puny" 5dan player, and learn positional evaluation on that? etc.

4

u/Mr-Yellow Jan 31 '16

However, that is very far from beating a 9 dan pro

This remains to be seen. If that is found to be the case then this will be more interesting to watch as the model will need new pieces.

There is a chance that fundamentally there is no real difference in the model required to beat any rank.

you'd have to seek not "better" positions but more difficult position

Now we're getting to model changes, given there is no real tactics being executed. Does the agent need to think about the tactics it's executing, or can it just play the response once the input aligns in a way which makes them likely to be played.... Will the input align in such a way that it results in responses that cause even the highest player to be beaten? We don't know yet, for that you need input generated by a higher ranked player.

7

u/Coffee2theorems Jan 31 '16

If that is found to be the case then this will be more interesting to watch as the model will need new pieces.

If AlphaGo actually happens to win the match against Sedol, then that will be interesting. If that happens, I'm totally printing out the game records and going to a Go club to discuss them with other players and savor the milestone with more than a few pints of beer.

9

u/Areign Jan 31 '16

its not denial, not based on the size of the mistakes that are being made in the games. If you read reviews of ke jie and lee sedol, the reviewer will be like, he made those 3 mistakes, each lost him 2 points, he lost the game by 2.5 points. The mistakes being made by both players in these games are like 10-15 pt mistakes, which is rare at the highest level.

Its pretty objective in that sense.

The computer may improve enough, Lee Sedol could get sick or have a terrible few games, but at its current level, based on the data we can see, it is not the best go playing entity in existence. 1 month ago, go computers were about as strong as 1960's chess computers, today they are around the level of 1970's chess computers, beating Lee Sedol would require the computer to play at the level of 1980 or 1990 chess computers.

I think it may be a mistake to challenge Lee Sedol currently, because this development, accelerated go computers by a decade, now people will fail to focus on that insane accomplishment and instead focus on how we didn't jump 3 decades.

1

u/Mr-Yellow Jan 31 '16

ts current level, based on the data we can see

It's current level and the data you see may be two different things, given the nature of the algo. 10pt mistakes might turn into 2pt mistakes once looking at data generated by play against someone else.

5

u/Areign Jan 31 '16

no...thats not how it works. The size of the mistake has almost nothing to do with who you are facing or what data/logic was used to make the move. All that matters is how it could be best punished. So unless you see the review and feel that the optimal non-mistake continuation has some flaw that the reviewer missed, then its still a 10pt mistake.

1

u/Mr-Yellow Jan 31 '16

thats not how it works

Go or the algo? Because that's how the algo works.

You can't assume that these mistakes would remain in the same magnitude when facing input with smaller mistakes in it.

2

u/UNisopod Feb 08 '16

For mistakes of that size to "turn into" much smaller mistakes in this context would mean something more along the lines of re-writing our understanding of Go in a deep way because our current ability to analyze games after-the-fact is fundamentally flawed.

Given the end-state of a game for such analysis, it's not a difficult thing to point to the impact that individual plays along the way have in arriving at that outcome. Like most problems, working backwards from the completed solution is easy, it's working forwards that's hard. We're good at the former, and it's probably safe to assume that AlphaGo isn't going to be so good at the latter that we have to change the way we analyze games just to understand how good it is - especially considering that it does make mistakes.

2

u/Areign Jan 31 '16

i have no idea what you are talking about.

Either A) when you say 'input' you mean the training data and the board, in which case, the only 'mistakes' could be within the training data which isn't going to become perfect any time soon so I'm unsure how thats relevant. Or B) the input is the board, which can't have mistakes in it because it is simply a board state.

At first i assumed you didn't really understand Go, but understood how machine learning worked...im much less sure now. If you design an algorithm to make good moves, and it doesn't make good moves in certain situations, it is not the situation which is wrong, it is the algorithm.

1

u/Mr-Yellow Jan 31 '16

It makes "good enough" moves, I'm assuming that when presented with higher skill board state, "good enough" will shift somewhat and may well cover a higher ranked player.

Tactics, devious creativity, may not be required. There is a chance that reacting to board state is enough and given board state generated by play with a higher ranked player, the responses from the current implementation and training data, may be sufficient to win.

There is only one way to findout, while it will be very interesting whichever way things go.

4

u/Areign Jan 31 '16

You are confusing its behavior in general versus its behavior when ahead. It isn't programmed to make 'good enough moves' what it is programmed to do is to make good moves, i.e. moves that increase its chance of winning. When it is ahead, its play is conservative and plays moves that are 'suboptimal' in terms of points, but are used to clarify the board state. i,e, trading winning margin for clarity, but always leaving itself advantaged. This is different from making a move that could swing the game on its head, which is what the mistakes are. If you seriously think it is making moves that it deems sub optimal, then i have nothing more to say. The reality is that it is always trying to make the optimal move, but optimal for the program is different from optimal for the reviewer.

→ More replies (0)

4

u/KapteeniJ Jan 31 '16

People are sorta cheering for Alphago if anything. The matches didn't really give much reason to suspect Lee Sedol would have any trouble winning his match in March, but maybe Alphago just hid its full strength during those games? Be it how it may, the games seemed like ones played by really strong players, but such that both players did make mistakes.

Can't really call it a bias. Alphago won, but jump between Fan Hui and Lee Sedol is ridiculously large. There simply isn't much anything to suggest Lee Sedol would run into any problems winning the games presented there.

10

u/gabjuasfijwee Jan 30 '16

uhh, I don't think anyone is in "denial". you'd probably not say this if you understood Go and watched myungwan's analysis

-2

u/Mr-Yellow Jan 30 '16

Of course people are in denial to some degree in various ways.... Half the quotes from ML industry side and Go community side are "I didn't expect to see this so soon". This is a shock for many. Denial is a given.

4

u/w0bb13 Feb 01 '16

That's almost the opposite of denial. People in the go community aren't playing this down or claiming that it's not notable because it's Fan Hui and he had an off day.

People in the go community would have been shocked by a bot beating Fan Hui when he was on an off day and only half trying. This is definitely an incredible acheivement and leap forward, regardless of whether it can come close to Lee Sedol. I've seen plenty professionals saying it might be 50/50 between alphago and Lee. No-one would have said anything like that last year.

7

u/flexiverse Jan 31 '16

Well it's clear it's based on patterns and book play. Maybe stuff like initiative, aji etc.. Will give the advantage to humans ?

Is its ko Strength based on knowledge of patterns, i.e. Is ko algorithmic ?

So looking forward to march that will be amazing to see what happens !!!!

46

u/NFB42 Jan 31 '16 edited Jan 31 '16

They actually weren't sure about its Ko strength, because there was only one case where it really came into play. But in principle a Ko can be very straightforward. To try and explain what it is:

Without explaining the whole game: a Ko is a situation in which there is the potential for an infinite loop. The board starts in situation A, then one player makes a move changing it to situation B, but then the other player can make a move reverting the board to situation A. Thus creating a potentially infinite loop.

To prevent this, the most basic Ko rule simply says that it is illegal to do a move which returns the (whole) board to a position identical to one it already had before.

So then why do Ko's still exist? Because, imagine a situation where there's not just the potential for an infinite loop, but where both players would want to continue the infinite loop. So a case where situation A is really good for white, and situation B really good for black. Black would want to keep changing the board to B, and white would keep wanting to change the board back to A.

Now with a Ko rule they can't do that. You are white, black plays their turn and changes the board to B, now you're not allowed to revert the board back to A.

But there's a solution. What you do as white, you make a different move, somewhere else on the board away from the Ko situation. And you make a move that black has to respond to or lose many points. So black responds. Now the board has changed, it's no longer B, it's B2 . So white goes back to the Ko, and makes their move, reverting the situation to A locally, but not the whole board which is now A2 .

The above tactic is called 'making a Ko threat'. So one player threatens to do something which will gain them even more points than winning the Ko, and the other player has to respond, thus allowing the threatening player to take back the Ko. But, of course now the other player can do the same.

At its core, all Ko's are a simple arithmetic: whichever player has the most Ko threats should win the Ko.

In practice, this opens up all kinds of difficult situations. For example sometimes there are two moves which do the same basic thing, but one also creates potential for a Ko threat for yourself to use later. Even if there's no Ko at that moment in the game, optimal play is still doing the move which creates the Ko threat because if you do end up in a Ko later you can make use of it then. It's the kind of long-term planning that is common in top Go play.

TL;DR: I think you understand why I refrained from trying to explain Ko in my main post, haha >.<

18

u/aysz88 Jan 31 '16

I think you understand why I refrained from trying to explain Ko in my main post, haha >.<

I think this is actually a nice explanation (at least, for a total non-player like me); you might want to consider linking to it from your original post. :)

11

u/panfist Jan 31 '16

That was a very good explanation.

5

u/the_real_fake_nsa Jan 31 '16

Thanks for this great summary! I wonder if it's possible to hand the game records to an expert Go analyst without informing him/her that one player is AlphaGo, and asking for an analysis of each player's strengths and weaknesses. It strikes me that the comments about AlphaGo's play...

  • great at tasks requiring lots of computation and standard play

  • lacks creativity and insight

... are almost exactly the comments one would expect to be made about a computer player, before one ever observes the computer's play. So, how much are the comments influenced by the prior?

It might even be more interesting to inform an analyst that both players are human, and see what the resulting analysis yields about AlphaGo.

3

u/NFB42 Jan 31 '16

I think there might be some bias in how they put it, but at its core they weren't like speculating but really founding the analysis with clear and repeated examples of AlphaGo's play.

The lack of 'creativity' is something that is also a problem for many human players. It is the difference between being told how to play by players better than you, and actually understanding why you're doing certain moves on your own. The former can get you to do the right move in 90% of the cases, but you need the latter to recognise the 10% when you need to deviate from standard play.

It should also be noted that, as they said in the beginning, they were focussing their analysis on the things which felt bot like. They zeroed in on those instances were AlphaGo was making mistakes unlike those a human player would make at that level. In general their response and that of many pro's is that AlphaGo played very much like a human, and if they'd just been given the game notes they might not've guessed it was an AI playing.

3

u/[deleted] Feb 01 '16

among the three traditional Go powerhouses, China, Korea, and Japan

Could you describe these national playstyles?

2

u/NFB42 Feb 01 '16

No, sorry, that's way above my play level. I only know that in general, Japanese style is more passive and Chinese/Korean style more aggressive. But nothing with more detail.

2

u/[deleted] Feb 01 '16

Good enough for me!

6

u/KapteeniJ Feb 01 '16

I haven't kept up with this for a while, but historically, Japan dominated go throughout twentieth century. They had very old go-masters battle each other for whoever might be the best of the best. They also sorta sent "go-aid" to Korea and China, where go was not in the best shape ever, and provided opportunities for go players there. However, by 1990, Korea and China started to emerge as very potent go countries, with very strong emphasis put on practicing go problems and raw ability to read ahead. Young kids started to dominate the go world, and their style was increasingly aggressive and fight-oriented.

By comparison, Japanese style, with much tradition behind it, sought to establish very elegant balance between two sides, with relatively simple sequences chosen mostly throughout games. This style however simply wasn't good enough, Korea and China with their child prodigies just passed by Japan. Modern study seems to indicate that actually twentieth century great Japanese players in fact did often misread sequences, and had much weaker local reading ability than modern pros. To some extent, they made up for it by having extremely good sense of balance and flow of the game, but ultimately raw reading ahead ability seemed to dominate.

Korea especially was known for their players that would choose extremely complicated moves, and make really difficult fights happen. This is the Korean style you'd so much hear about, and Lee Sedol was the one that managed to prove that this brutal and inelegant style could in fact beat the more elegant styles held by older pros, Lee ChangHo in particular.

Lee ChangHo was known as the "Stone Buddha" in 90's, he was the strongest player on the planet, with very calm moves, and very calm appearance during games. There were plenty of players trying to beat him with this "Korean style", but Lee Sedol was the one that finally took him down. Sedol was kinda posterboy for the reckless fighting style of modern Korea.

I don't really know how China fits in all of this. Their style seems closer to Koreans, but it's not really as flamboyantly reckless.

1

u/[deleted] Feb 01 '16

Awesome read, thank you!

0

u/[deleted] Feb 02 '16

[deleted]

1

u/[deleted] Feb 02 '16

Very cool!

16

u/dhpt Jan 31 '16

After Myungwan Kim's comments the consensus here seems to be that AlphaGo won't really have a chance in March, and people are wondering why Deepmind chose to challenge Lee Sedol. I think it may be possible to shed some light on this question by looking at figure 4a in the paper. It seems pretty plausible that before they decided to play Fan Hui they had calculated his Elo rating from his game records, and then pitted him against a version of AlphaGo that they expected to be significantly stronger based on its Elo rating (presumably derived from games against various other programs and their known strength on KGS). This version was AlphaGo distributed. They knew that AlphaGo on a single machine at that point probably wouldn't have been strong enough to beat Fan Hui. The big question for Deepmind before the match was mainly whether their internally derived Elo rating for AlphaGo would also apply under 'real world' conditions. According to the figure the version of AlphaGo that played Fan Hui has an approximate rank of ~5p, so it obviously can't beat Lee Sedol, and I'm sure Deepmind is very well aware of this. So why did they challenge him? It only really makes sense if you assume that when they approached him they either already had developed or were well on the way towards developing a version that they expect to be stronger then Sedol based on raw Elo. Does this mean they can beat Sedol? Who knows ...

7

u/newworkaccount Jan 31 '16

To me, it sounds as if they may be looking to test the accuracy of an internal Elo like algorithm. If it successfully predicted and ranked these games and participants, maybe testing whether it can do so in a match where AlphaGo is expected to lose is also valuable: they can then internally assess when it is ready to win, and move into a later showcase match relatively assured of victory.

1

u/dhpt Feb 01 '16

Possibly. Though with all the publicity this is getting it feels like the stakes are pretty high. I'm not sure they would have challenged Sedol publicly unless they were reasonably confident by the numbers. They could just play a bunch of top professionals under NDA, as kenkotoko suggested.

13

u/mkdz Jan 30 '16

This is great, you should cross post this to r/baduk!

22

u/jthill Jan 31 '16

He really stresses that human pro's become much stronger when they discuss and analyse their games with other pro's. And because AlphaGo primarily plays against itself the quality of the feedback it gets on its play is too one-note, which leaves holes in its plays whereas human pro's getting feedback from many other human pro's end up with more robust and stronger playstyles. He really thinks to progress past its current level AlphaGo needs to play more with top human pro's rather than just itself. Right now, Myungwan Kim en most pro's he knows don't feel threatened by AlphaGo. They also talk about how AlphaGo can be useful for human pro's to study and become stronger, which can make AlphaGo stronger in turn.

So in the last several weeks I have seen a space rocket return to the launch pad, serious discussion of a private-enterprise mission to colonize Mars, and Go grandmasters welcoming an artificial intelligence as a junior peer, reacting to its presence as a clear opportunity for mutual improvement.

4

u/GeeJo Jan 31 '16

It's a shame that /r/EverythingScience seems to have stopped doing the "This Week in Science" infographics. They were a great little resource.

8

u/sifnt Jan 31 '16 edited Jan 31 '16

This is really awesome, thanks for post. Very much appreciate the insights in Go as an eager follower of machine learning and AI in general.

From a Game Theory perspective, I wonder what it would take to start truly approximating a Nash Equilibrium strategy in Go. Obviously the true strategy is intractable bearing some absolute breakthrough, but getting 'close' would be awesome. I'd be very disappointed if top humans can be beaten without coming close to this optimum, which is why I hope for a human victory to push the frontier of AI further.

Hope to hear anyone more knowledgeable thoughts on the matter. In particular, given that the strategy/move space of Go is highly sparse, I have a hunch that Compressive Sensing could play a significant role in optimising the weights of the Monte Carlo Tree Search. Unfortunately I can't articulate this better currently.

13

u/Mr-Yellow Jan 30 '16

Interesting, seems to have spotted some key elements of how RL behaves.

At times too obsessed with following common patterns, when the specific situation might require creative deviation from those patterns. Also explained earlier.

I wonder if another net which hallucinates training examples would help bring some of this in.

23

u/[deleted] Jan 30 '16 edited Sep 25 '23

Redacted. this message was mass deleted/edited with redact.dev

13

u/Mr-Yellow Jan 30 '16

I would add that I believe expert swordsmen have some ability to learn by watching novices, and noticing the ways in which their decisions confuse or manipulate or exploit the experts.

Generative adversarial networks?

The training procedure for G is to maximize the probability of D making a mistake.

http://arxiv.org/abs/1406.2661

8

u/[deleted] Jan 30 '16 edited Jan 30 '16

Kind of, although that seems more like the ability to learn from mistakes and avoid them in the future than the ability to use mistakes to infer things about the problem structure or the ability to take inspiration from mistakes. From what I've seen in the past, many of those adversarial networks are using tiny deviations in order to trick the classifier into misclassification, whereas I'm looking for something less trollish and more substantive. It's in the same neighborhood as the ideas I am reaching toward, but not quite right. If you find one adversarial example, or an arbitrary collection of adversarial examples, that is not substantive. If you generate principled rules for producing adversarial examples, then used those rules to reason about the way the problem's true answers must look, that would be.

I came across a paper a couple months ago, I think Google's researchers were involved, that had something to do with inverse problem structuring, mathematical symmetry, and image classification, and that was the closest example I've ever seen of this idea. Unfortunately, my computer crashed shortly after that, and I haven't been able to recover the bookmark.

2

u/Noncomment Feb 02 '16

Look at the paper he posted. It's kind of like that. They train one network to produce images that look real, and another network to try to distinguish real images from the fake ones. Both nets are essentially fighting each other and trying to learn from each other's mistakes. There's at least some similarity to what you are talking about.

5

u/DwightKashrut Jan 31 '16

That sounds kind of like the how young songbirds inject noise into their fathers' songs as they learn them.

5

u/dexter89_kp Jan 30 '16

Thanks for this ! This is the type of commentary we need to understand these models heuristically.

3

u/dpdgo Feb 01 '16

The one angle which is most interesting to look at is form. If you take Fan Hui's comments seriously he did not consider the computer a threat coming into the match. Likely he did would not have taken a large amount of time to mentally prep for the machine beat down he expected. The machine beat a low level pro who probably spent very little time preparing for the match. Now you have a top pro with 2 months to get in top shape for a set of matches with a huge purse. Which guarantees the pro will be in top form. The physical an mental preparation for high level board game play for human players is difficult to understate.

2

u/AndreDaGiant Jan 31 '16

Sweet, thanks for the link to the review. Have been looking forward to seeing what pros think about AlphaGo's style.

2

u/Martin81 Jan 31 '16

Great read, thank you.

2

u/djc1000 Jan 31 '16

Who wants to place bets on the Lee Sedol-AlphaGo match? I will make odds.

1

u/mrmrpotatohead Feb 17 '16

I would be interested in this

2

u/[deleted] Feb 02 '16

whoa, that's cool, a Go player on the HS subreddit, strange that I didn't see that post, or maybe it didn't get to front page?

3

u/TotesMessenger Jan 31 '16

I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:

If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads. (Info / ^Contact)

3

u/c3534l Jan 30 '16

Word of warning: I'm a crap Go player and I don't know many of the details of how the AI in this case actually works.

This makes sense from what I know of Go and the complications of creating an AI to play the game. In Go there are always a ton of different moves (compared to a game like Chess which has a lot of permutations, but only a few moves per turn) and a lot of ambiguity. This is often what makes it such an intuitive game: you can't really say there's any one reason why you prefer one move over another since there's so many moves where each is only slightly more beneficial than another.

The AI seems to have the sorts of setbacks that I would imagine it would have. They've managed to make it general enough that it can recognize general patterns and positions on the board into a sort of family-resemblance of games and choose from its repertoire plausible archs to go for. So it sounds like it's playing on a level that's above tactics, but still not quite the high-level strategy that really good Go players play with.

2

u/djminkus Jan 31 '16

Why is AlphaGo trained only against itself, and not against other AIs?

Is it a lack of training data, or a lack of available computing power?

2

u/generalbaguette Feb 03 '16

The other AIs aren't good enough to make it worthwhile.

-3

u/[deleted] Jan 31 '16

Holy shit, you know alot about Go

0

u/[deleted] Jan 31 '16

[deleted]

10

u/NFB42 Jan 31 '16

Thanks, it's great to have the perspective of someone versed both in Go and the programming side of AlphaGo!

I'm thinking that if it does end up incapable of breaking the Lee Sedol barrier, that might be because the stronger you get, the smaller the database of human plays at that level. So if it needs many tens of thousands of human games to form its base level, that might limit its ability to surpass the absolute top human players (of whom there's only a much smaller sample of games). But I could be completely wrong on this!

14

u/[deleted] Jan 31 '16 edited Jan 31 '16

Ha ha, it's a bit of a stretch to say I'm versed in either, but thank you.

I think it'll fail against Sedol because it's simply not creative enough due to using "flat" reinforcement learning. But I am extremely biased since that's my own area of interest ;-) Also, I think I want Go to remain an exciting problem for AI, since that would encourage people to create more interesting AI advances.

It is also possible that Sedol will be able to create situations which exploit AlphaGo's (apparent?) weaknesses when it comes to Aji, Sente and Kos (although the latter remains to be proved), thus devising a specific anti-computer strategy.

And finally, it's possible that the sheer amount of training might suffice for AlphaGo to beat Sedol, even if there remains some bias in its play. Humans have a kind of biological maximum, so one would expect the difference between the top humans to not be gigantic. Whereas computers probably have a different maximum and thus a much bigger margin for progression. We've seen that with Chess - nowadays computers are miles ahead of any human competition, and a half-decent smartphone can beat any human on the planet.

6

u/aysz88 Jan 31 '16

They're all simple but very high-level concepts ... The algorithms used are most likely incapable of discovering and exploiting these concepts as such (probably too abstract).

I'm puzzled by this; I thought that, in some sense, neural networks should find abstractions of (in this case) board state. For example, in handwriting recognition applications, I know the network learns to figure out what and where edges are, then puts them together into contours, etc.

Are those abstractions built in such a way that (multiple layers of) pattern-matching would not be able to recognize those situations?

5

u/[deleted] Jan 31 '16

While neural nets definitely can learn some unexpected abstractions, I would say that most of the things that successful neural nets learn are the things they were designed to learn. The systems that really work aren't just randomly-wired miscellaneous computing nodes; the nodes perform calculations that are likely to be useful to the representation.

For example, in computer vision applications, we can say "this node is for detecting diagonal edges" because it's learned a convolution operation that detects diagonal edges, because the entire layer it's part of is designed to learn convolution operations, because those are a useful operation in image processing.

In my own field, NLP, I feel like we don't have the right sorts of layers yet. Even in vision, where deep learning is working great, I think there are abstractions it's not learning, like DeepDream doesn't seem to learn the appropriate number of eyes and noses for a dog to have.

Looking at the AlphaGo paper, it looks like their first layer is designed to recognize things such as adjacency, captures, and ladders, and layers above that are convolutions like you'd use for computer vision. There may be high-level strategic considerations that aren't going to be well represented by convolutions.

2

u/AnvaMiba Jan 31 '16

I'm puzzled by this; I thought that, in some sense, neural networks should find abstractions of (in this case) board state.

Yes. Especially the value network, that's what it is for.

But in this architecture the neural networks are "simple" convolutional neural networks of fixed depth, therefore they are limited in the amount of computation they can perform per position evaluation.

A perhaps more general approach would be to somehow combine neural networks with search, where the search algorithm doesn't just do step-by-step simulation (as in this case) but searches in a more abstract solution space, where it can, for instance, reason about invariances, and so on. I don't know if this is needed to play world-champion-level Go, but it would be probably needed to have a general AI that does long term planning.

1

u/[deleted] Jan 31 '16 edited Feb 01 '16

The policy network is trained to output an action (i.e. a 19 x 19 mask with a single entry 1 where the next stone should be placed) given a 19 x 19 ternary input (e.g. 0: no stone, 1: your stones, -1: the opponent's stones, or a similar coding), using a large database of expert moves. That means that the network learns a given move at time t without knowing the moves at time t-1, t-2, … and so on. I think, to learn high-level strategies from games it might be necessary to consider the previous moves since otherwise it's probably hard to infer what a player is up to. In addition to that, when the network comes up with moves to take it is also forgetful, i.e. it will not remember some sort of strategy that it decided to follow in the previous moves. There probably will be some correlation of reoccurring high-level patterns that end up as statistics in the network weights, but it definitely seems to operate rather in local strategies rather than global ones due to the forgetfulness and rather simple tree search heuristics which encourage exploration. In a nutshell: It's doubtful high-level strategies can be efficiently learned just from looking at different unrelated positions. To circumvent that, we would probably need a recurrent neural network so that the program can learn and reproduce sequences, which, however, would likely be much, much harder to train; or perhaps it would require a different approach entirely (e.g. one without, or more use of restricted tree search).

6

u/fspeech Jan 31 '16

Very good. People who keep on salivating over millions more of self plays really need to read the paper.

The roll out can produce creative plays, as human model (used as prior) gets a decay factor during simulation. But with a probabilistic simulation the moves requiring long sequences are less likely to be discovered (ladder is found using special searches for example) so long range planning seems to all come from the position value estimates. This would explain the balanced feel of its game strategy (it's trained on KGS games, not particularly "Japanese" as speculated.)

3

u/AnvaMiba Jan 31 '16 edited Jan 31 '16

They're all simple but very high-level concepts that allow humans to see very far ahead in the game without having to branch into every likely variation (as a rollout does). The algorithms used are most likely incapable of discovering and exploiting these concepts as such (probably too abstract). It is quite possible that Monte Carlo fails to see the long term benefits of moves in those contexts, in particular in some cases in which humans can. For instance, if other moves early on in the sequence rollout look very good, AlphaGo could get sidetracked and miss the correct sequence.

I hope that beating Lee Sedol won't be just a matter of throwing more GPUs and self-play at the problem, because if it was the case then it would be, well, not very interesting.

If playing at that level required some novel algorithm designed for hierarchical/abstract planning rather than mere step-by-step simulation, maybe something like this recent proposal by Schmidhuber, it would be a far greater advancement, IMHO.

0

u/[deleted] Jan 30 '16

[deleted]

11

u/aysz88 Jan 31 '16

The speculation around "Japanese playstyle" seems to be a hint that the professionals expect AlphaGo to ingest a boatload more data and improve. I'd be really interested to know if that speculation is grounded in reality, and whether they would get improvements simply by feeding her more "diverse" data.

(Or, perhaps, they could just be conjuring up a hypothesis that happens to kinda fit these five games, but isn't quite what's actually going on.)

-8

u/visarga Jan 31 '16

What Go experts don't know is the speed at which computers can evolve in three months of self play and how much of difference will be to add 10x more computing power at it.

16

u/fspeech Jan 31 '16

Read the paper.