44
u/zhewriix Mar 09 '16
As someone who doesn't play Go... Could anyone explain what happened in the end?
76
u/Still_Wind Mar 09 '16
Because white plays second it gets an extra 7.5 points called komi. Sedol did some counting and decided that despite being ahead on the board, he did not have enough points to overcome the komi. Lee then put one of his captured white stones on the board in an arbitrary place signaling that he resigned.
8
18
u/HenkPoley Mar 09 '16
So in principle this 'arbitrary' 7.5 points could be set at the wrong delta, and have caused the fate of this match. Is this more of an 'AlphaGo didn't lose' ?
56
u/ToastyKen Mar 09 '16 edited Mar 09 '16
Whoever goes first (always black) has an advantage, so white gets "Komi" points to compensate. The exact amount has changed over time and also depends on rule set, but is intended to reflect the advantage. In Chinese rules, going first is considered to give you about a 7.5 point advantage.
Thus by giving white 7.5 bonus points, the final scores should be fair.
[Edit: corrected 7.5 stone to 7.5 points]
12
u/HoldMyWater Mar 09 '16
I think the person you replied knows the idea behind komi. They were simply questioning how it was derived and whether it is truly set at the fairest value.
→ More replies (2)7
69
u/Still_Wind Mar 09 '16
The 7.5 is not arbitrary. It is the agreed upon point value of going first between players of assumed equal strength based on historical data. It is meant to make the game 'fair'. The number drifts between groups of players but is usually between 5 and 8 with an extra .5 to prevent ties.
AlphaGo definitely won but it could be that the true fair komi is some other number.
9
18
u/Coffee2theorems Mar 09 '16
Is this more of an 'AlphaGo didn't lose' ?
No. Simply winning one serious game against Lee Sedol is already a tremendous achievement. I expected this match to go 0/5 in favor of Lee, and that AI winning against that level of player would still be 10 years into the future, even after AlphaGo's previous match and the Nature paper. This is awesome!
So in principle this 'arbitrary' 7.5 points could be set at the wrong delta
Possible, of course. They used to play with 5.5 a few decades back, but it was adjusted to 6.5 because it was felt that black had a slight advantage. 7.5 is a bit high, but these are just a couple of points on board at the most that we're talking about here, or a few percentage points in win probability (as in real game statistics, not some funny number output by Monte Carlo programs).
→ More replies (3)12
Mar 09 '16
Yes, but alphago won by approximately 2.5 points.
0
Mar 09 '16
[deleted]
4
Mar 09 '16
Once it's confident it can win, all moves seem equally good to it, so it basically plays randomly and throws away points.
I don't know much about Go, is there any metagame in normal professional matches that would require an individual to win by points over a series of games rather than just count the number of wins?
→ More replies (5)3
Mar 09 '16
Reminds me of the game neural net that learned how to play tetris. When the blocks were right at the top and it was about to lose, it would pause the game and leave it paused :) The only winning move.
3
u/themoosemind Mar 09 '16
Does it make a difference when somebody ends? So I guess depending on the outcome, one gets a different number of points? So it is possible to say by how far somebody won?
Are there draws, too?
5
u/Still_Wind Mar 09 '16
Draws are prevented by having a komi with +.5 as there is no other way to get fractional points. This game ended in resignation but it could also have played out fully. In that case a player who is happy with the current board position would pass. Then if the other player is also happy with position he/she will also pass. Then scoring happens. Players have a discussion about groups that are alive and dead then the territories are counted up with dead stones counted as captured and removed from the board. If that happens, then each player will have a score and the higher score wins. The difference in scores can tell you how far someone has won.
When someone passes does make a difference because the other person might see move that he/she can make that would be beneficial to him/her. In that case he/she would respond to the pass by playing another move and normal play resumes until a player passes again. The timing for resignation does not matter.
4
u/ToastyKen Mar 09 '16
In this case black resigned, but games can properly end when both players pass, in which case you take score. 7.5 komi points are awarded to white to compensate for black's first move advantage; the 0.5 is specifically to prevent draws.
There are multiple scoring systems, named by country. This game is being played under "Chinese rules".
23
u/graycrawford Mar 09 '16
Lee resigned, putting one of AlphaGo's pieces that he captured onto the board, off-grid.
4
u/TenshiS Mar 09 '16
Yes, but why?
31
u/BullockHouse Mar 09 '16
Because it was clear to him that he couldn't win.
-7
u/TenshiS Mar 09 '16
That's the best explanation one can give? Wasn't there any move that he messed up, or some strategic weakness, or fatigue, or whatever? Just 'he felt like resigning'?
65
u/sgblizzard Mar 09 '16
The stage at the end of the game is call "closing", where players normally clear up those left-over steps to "substantiate" the area each occupies. However, for professional players like Lee, he is able to tell from his training that no matter how hard he tried during closing, he would not be able to win the game. This is not through an intelligent guess or gut feeling, but very precise mind calculation. So he resigned.
7
25
Mar 09 '16 edited Mar 09 '16
People were saying Sedol made a mistake at the bottom right corner, trying to attack the white dragon instead of settling for making points in the corner. When Sedol made the move, a 9dan commentator (Myungwan Kim from the AGA channel) immediately said that this looked like it could be a losing move. Immediately after resigning, Sedol played the variation that had been suggested by Myungwan Kim.
So it might be that Sedol made a big mistake there, and couldn't make up for it in the following moves. At the end, he just resigned because there was no way to come back anymore.
→ More replies (1)8
u/aysz88 Mar 09 '16
I think Go sites/blogs will have commentary on exactly what happened. The game was being played at a high enough level that in real time, even the pro players had a tough time pinpointing exactly what went wrong (I mean, Lee Sedol lost, after all). They'll need more time for in-depth analysis.
(Also note that the original post you're replying to says "as someone who doesn't play Go" so people are interpreting the question as referring to something out-of-game.)
6
u/jirachiex Mar 09 '16
It is customary for a player to resign when they recognize that they have lost.
→ More replies (4)2
u/BullockHouse Mar 09 '16
I'm not a go professional, but I imagine if you analyze the board closely, it's clear that no sequence of moves will win enough territory to make up the penalty he paid for playing the first move.
6
u/websnarf Mar 09 '16
Because he calculated all possibilities and could see that he was lost no matter what he did.
→ More replies (2)7
u/say_wot_again ML Engineer Mar 09 '16
Like, when Sedol was just taking pieces off? He was replaying the end of the match trying to see where he messed up. He had already resigned.
→ More replies (4)
6
u/sieisteinmodel Mar 09 '16
I feel so happy.
Why?
64
u/meflou Mar 09 '16
I don't know. I will side with Robots. A better long term plan.
10
→ More replies (1)3
21
u/BullockHouse Mar 09 '16 edited Mar 09 '16
It's a massive step forward technologically. It's like landing on the moon or inventing two-ply toilet paper. It's a monument to human achievement, and it's going to make everyone's lives better in the long run.
EDIT: More concretely, going from games like chess to games like Go is very difficult, because the search space grows much faster (1010s vs 10100s). The fact that this kind of leap can be made relatively easily by neural networks is a good sign that they'll be able to make further jumps. Like jumps to manipulating the truly colossal, chaotic search space of real life.
-7
u/d3f4ult Mar 09 '16
It's way more likely that it will make the lives of a select few much better while leaving the overwhelming majority of the population starving
-1
u/BullockHouse Mar 09 '16
There has literally never been a technological leap in individual productivity that caused a major increase unemployment in the long term. It's a fantasy.
8
u/sieisteinmodel Mar 09 '16
Related:
There has never been a mass killing due to technological advances. (ca. 1944)
There has never been any influence on world climate due to technological advances. (ca. 2000)
There has never been a financial crisis due to invalid assumptions. (ca. 2007)
There are no non-stationary time series. (ca. 1700)
-9
u/sieisteinmodel Mar 09 '16
It's a massive step forward technologically. It's like landing on the moon or inventing two-ply toilet paper. It's a monument to human achievement, and it's going to make everyone's lives better in the long run.
Don't fool yourself. The technological requirements to end world hunger are in place today. People will continue to starve and kill each other: history indicates that no technological advancement is going to change that. I personally don't see why
artificial intelligencepowerful autonomous decision making systems should be an exception.→ More replies (1)3
u/BullockHouse Mar 09 '16
Well, I mean, it's worth noting that while we lag being where we could be if everyone was perfectly kind and rational and efficient, we're still doing better than we've ever been. Both starving and killing are at an all-time low, and falling rapidly. Most of that is driven by economics and technology. Strong autonomous decision making systems are good for both.
→ More replies (1)1
u/sieisteinmodel Mar 09 '16
Don't get me wrong, I agree that they are powerful tools. But we should not hail them as saviours by themselves.
9
2
3
u/j_lyf Mar 09 '16
They're going to take your job.
15
1
u/ma2rten Mar 09 '16
If your job is playing Go and they happen to have a super computer, then maybe.
1
-4
u/PenileConvolution Mar 09 '16
Probably because he knows nothing about machine learning and yet got to reap all that sweet sweet karma on /r/MachineLearning.
6
30
Mar 09 '16
If someone with experience in the field could let me know: Is this more significant than Deep Blue vs. Kasparov?
127
u/HowDeepisYourLearnin Mar 09 '16
Go is a way more complex game. It's the Deep Blue vs. Kasparov of our times.
25
u/TheOsuConspiracy Mar 09 '16
Yep, much more significant than Deep Blue tbh.
10
u/Coffee2theorems Mar 09 '16
Yeah. As a Go player I might be biased, but still. The real great thing is that deep learning is used for the position evaluation function, which is then used inside a tree search. I never read what Deep Blue used, but in modern chess programs the position evaluations are hand-tuned, not learned, certainly not with anything as heavy-duty as deep learning. It's that learning aspect of it that really makes it interesting. That, and combining learning and search is rarely done with such resounding success, so that's progress too.
6
u/yaosio Mar 09 '16
Deep Blue brute forced the win and used Chess specific processors. Modern Chess engines evaluate far fewer positions than Deep Blue.
4
u/darkmighty Mar 09 '16 edited Mar 09 '16
Deep Blue already had a rudimentary evaluation function to cull search depth (otherwise it's clearly an intractable problem):
"Deep Blue's evaluation function was initially written in a generalized form, with many to-be-determined parameters (e.g. how important is a safe king position compared to a space advantage in the center, etc.). The optimal values for these parameters were then determined by the system itself, by analyzing thousands of master games."
Which looks like a predecessor to AG's approach. However, unlike AG, DeepBlue had fine tuning:
"In the opening book there were over 4,000 positions and 700,000 grandmaster games. The endgame database contained many six piece endgames and five or fewer piece positions. Before the second match, the chess knowledge of the program was fine tuned by grandmaster Joel Benjamin. The opening library was provided by grandmasters Miguel Illescas, John Fedorowicz, and Nick de Firmian."
And it's overall strength really seemed very reliant on raw processing power, since they didn't have a rollout heuristic.
4
Mar 09 '16
Why is massive-ness of the search tree directly correlated to difficulty/complexity?
Shouldn't it be more about how hard is it too choose between the available options and how a slight miscalculation now affects you in the future?
I don't understand Go or AlphaGo, but the breadth and depth argument was present in the Paper and the videos.
20
u/HowDeepisYourLearnin Mar 09 '16
Shouldn't it be more about how hard is it too choose between the available options and how a slight miscalculation now affects you in the future?
The way the algorithm makes choices is by choosing a subset of all possible moves given a position. Then for each of those, it looks at possible moves the opponent might make. If you do this over and over again (called a rollout), until you reach the end of the game, you will draw at worst.
How ever, if there are many options per turn, you won't be able to roll out the game completetly.
So instead you only explore some options per turn (reducing breadth) and at a certain ply you evaluate the state of the board and call that the value of all the moves up to that state (limited depth).
Does that make sense?
11
Mar 09 '16
Yes, I know the concept. However my doubt was different. Suppose you're placed on a grid and asked to move from one point to another. Here, depending on the distance between the two points, the tree might be enormous. Yet, out of the 4 choices you have to move (up, down, left, right), making mistakes doesn't matter much as you can always correct it down the road. Also, there is a general heuristic and as long as you approximately follow it, you'll be able to reach your goal. In this case, size of the tree doesn't imply complexity. However I agree that there are cases in which simple heuristics are not present and mistakes cost you too much. I was wondering how much of this second kind of a game Go was.
15
u/bipptybop Mar 09 '16
In a balanced adversarial game, there is no correcting your mistakes. If you make a mistake you are behind and your only hope is your opponent making a mistake.
3
u/ActiveNerd Mar 09 '16 edited Mar 09 '16
Aside from the adversarial point made by someone else, the other trick is knowing how good the move you made actually is. In go, there is a concept of life and death of areas. Essentially any group that can be surrounded is both alive and dead. This is really important because being able to see life or death as an inevitability of a section allows humans to properly value moves in that area. For amateurs, this is incredibly hard. It's easy to see a section that's alive once it is secured but everything else is really tough.
There is no simple heuristic for Go. Watch the stream of the game last night, maybe in the last hour or so, and listen to the pro suggest moves and try to determine point values. It's really really hard and a small mistake can easily cost you the game. Most single move he was talking about at the end were around the threshold of winning or losing.
For an analogy, you are drunk on a grid and you walk the wrong way. You opponent, on their turn, builds a wall in front of your best alternate path.
→ More replies (3)→ More replies (1)2
4
u/themoosemind Mar 09 '16
If you do this over and over again (called a rollout), until you reach the end of the game, you will draw at worst.
Are you sure? This would mean that the game was "fair", meaning both players have the same chances of winning. I think there might be the possibility that with two perfect players, either white or black might always win.
→ More replies (4)18
u/hogepiyo Mar 09 '16
I presume that what made it difficult to create a strong Go playing program is more of the kind of the game than the size of the search tree. The reasoning behind this is the fact that until Monte Carlo tree search was invented, a computer program couldn't beat a professional human player in Go even with 9x9 board size settings, which make the size of the search tree smaller than that of chess.
4
5
Mar 09 '16
It's not just the tree search that makes it difficult. Chess has a lot of mini-goals which are easy to measure (e.g. How many squares you are threatening or how strong your remaining pieces are), that makes it easier to assess how good your position is without simulating 20 moves ahead. In Go it's much harder to measure how good your position is. Without a clever way to assign a strength to each position it would have required a lot more computing power.
20
u/REOreddit Mar 09 '16 edited Mar 09 '16
In short, yes. Deep Blue was "hand-written" to play chess and specifically programmed to beat Kasparov (IBM scrapped the machine after winning), so it was VERY narrow AI.
AlphaGo uses a mix of techniques. It uses a specific kind of tree search that is needed to play Go, but it also uses machine learning to evaluate how to play and also to get better after each game (either played against a human or against a copy of itself, which it can do thousands of times in a day). Deep Blue was not capable of this. IBM had to modify the code by hand after each match to make it better.
AlphaGo played against the European champion in october and won 5-0. But that human player would probably lose more than 90% of games against Lee Sedol (who was defeated today in the 1st match), so top professional go players analyzed those 5 games in october and arrived to the conclusion that AlphaGo was not on the same level as Lee Sedol, completely ignoring that AlphaGo had 5 months to LEARN non-stop. And also the hardware Deepmind (Google) brought to this match was much more powerful than the one used in october, which by itself is a big difference.
6
u/ma2rten Mar 09 '16
I think this is the correct answer. Go might be a more complex game, but some time has passed since DeepBlue so of cause we made advances since then. However DeepBlues AI is specific to chess, while AlphaGo's api can hopefully be applied to other problems.
3
u/VelveteenAmbush Mar 09 '16
AlphaGo played against the European champion in october and won 5-0. But that human player would probably lose more than 90% of games against Lee Sedol (who was defeated today in the 1st match),
This logic bugs me a little... the fact that Sedol and Hui are miles apart in terms of human potential doesn't mean they're miles apart in terms of computational complexity or algorithmic sophistication. Presumably human potential is an asymptote, and presumably the world champions are far along the diminishing returns of the asymptote. There's no a priori reason to think that a computer that was just slightly better than Hui wouldn't be able to blow the world champion out of the water just a few months later.
so top professional go players analyzed those 5 games in october and arrived to the conclusion that AlphaGo was not on the same level as Lee Sedol
This argument also bugs me. Maybe a human playing the game that AlphaGo played would be of a certain level, but a computer is basically an alien here... and we really have no idea what an optimal Go game would even look like, if we were to witness it. Maybe the optimal game naively looks like a cautious middle-level human expert by our current standards, but one that always seems to eke out an advantage at some point.
Anyway, easy to say in hindsight, just my thoughts having seen a lot of super-confident predictions of Sedol's victory over the past few months based on this kind of logic.
28
Mar 09 '16
In simple terms, yes
Chess represents a relative small solution space; it is possible for computers to calculate almost all possible moves over a certain depth (i.e. 5 moves into the future for both players) with relative ease. By assigning point values to each piece and position, you can calculate the relative advantage of both players. That is how chess engines work.
The DeepMind Go engine works by probabilistic modeling of each possible state the game is in. It does not explicitly compute values beyond a very small space, and depends upon prior experience to develop its moves. It is an entirely different solution-brute force vs. algorithmic advantage. From this point of view, it is extremely significant.
0
u/Sakagami0 Mar 09 '16
I woudnt say its too different. DeepMind sounds like it uses recurrent neural nets to figure out areas to "look" and uses an evaluation function thats based on another neural net trained on collections of board states based on which boards cause whomever to win.
The probabilistic modeling still uses a variation of minmax. And an eval fn is still applied when it goes deep enough. Difference is the size.
Although i am really curious about their layers and what kind of heuristics they wrote in (and what kind they were able to train).
9
Mar 09 '16
AlphaGo does not incorporate recurrent nets. It incorporates tree search and convolutional layers combined with a policy and value network for local prediction. The actual manner in which this is evaluated (self-score for win conditions vs. a ground truth for deep blue) is what underlies these differences.
The paper is available @ http://www.nature.com/nature/journal/v529/n7587/full/nature16961.html if you feel as though this response was not adequate.
1
u/tathata Mar 09 '16
Love your user name - you must be in the field since you signed up just to reply to this post!
1
10
u/jasonheh Mar 09 '16
I think a better comparison is AlphaGO vs TD-Gammon. In terms of the machine learning techniques used, TD-Gammon did something much more similar in principal to AlphaGo (but with Backgammon) ~25 years ago
2
u/WilliamDhalgren Mar 09 '16 edited Mar 09 '16
what, it used a policy network suggesting promising moves in its tree search, evaluated each by monte carlo fast rollouts using a softmax over 3x3 patterns and hand-crafted tactical features, as well as by a value network for winning chances of each position, then mixed the rollout and value network scores 50-50 to calculate the final evaluation of each node in the search tree?
hint: nope, TD-Gammon did nothing of the sort....EDIT: I apologise, shouldn't have snapped like that... guess I really need to catch some sleep already
25
u/cybrbeast Mar 09 '16 edited Mar 09 '16
Way more significant. Deepblue applied brute force calculation to basically scan through nearly all possible chess positions and pick the most favorable route and was therefore mostly a matter of having enough processing power.
The brute force method is completely unfeasible for Go and to solve it they developed a system that's likely more similar to humans in recognizing winning patterns instead of contemplating all possibilities. They trained it by letting it analyze millions of games and then have it compete against itself.
This more general learning method is likely to also allow the AlphaGo system to perform well in other domains without requiring full reprogramming.
2
u/phire Mar 09 '16
IBM also designed custom silicon that specialized in brute forcing chess positions.
Modern chess algorithms are stronger on standard consumer hardware.
7
Mar 09 '16
I would say that it shows that AI has advanced. Deep Blue (or at least its prototype) relied on simple evaluation functions, which I would guess were supplied with piece and position valuations (e.g., knights are worth 3 points, pawns 1) to help them value moves. You can make similar positional valuations in Go. AlphaGo is unique from Deep Blue, though, because it learned how to value positions on its own (with guidance, obviously).
I don't remember where I read/heard it, but I believe Demis Hassabis said a breakthrough in AlphaGo's development was when they reached a neural network that could predict a winner based on a position. That valuation neural network is just one of a few components of AlphaGo, but it illustrates the fact that AlphaGo learned something (what constitutes a good position in Go). Deep Blue, on the other hand, seems to owe its success to its ability to quickly process information that it was given about the game of chess. That's why I'd say AlphaGo is a significant step beyond what Deep Blue accomplished. It shows how far machine learning/AI has come in 20 years.
9
Mar 09 '16
I have to disagree with some of your points. DeepBlue used very complex handcrafted evaluation functions. The main issue with Go for the past decade is that no one managed to create relevant evaluation function in Go.
The advance is that AlphaGo managed to find these evaluation functions (as you said, it's the "neural network that could predict a winner based on a position")
19
u/TheOsuConspiracy Mar 09 '16
The biggest and most important difference is the lack of hand crafting.
5
Mar 09 '16 edited Mar 09 '16
I entirely agree with this. I just wanted to say that "Deep Blue (or at least its prototype) relied on simple evaluation functions" was misleading. The full point of DeeBlue was using hundred of professional chess players explanations and translating them into complex handcrafted evaluation functions.
Something that is seemingly obsolete now
→ More replies (1)1
u/Mx7f Mar 09 '16
Not to discount the achievement, but its not like they got rid of handcrafting entirely. The handcrafting was moved into the design of the neural networks and the choice of input features.
→ More replies (1)1
Mar 09 '16
Read the third paragraph of this page: https://en.m.wikipedia.org/wiki/Deep_Thought_(chess_computer)
"Simple evaluation functions" is the phrase used in that paragraph.
4
Mar 09 '16 edited Mar 09 '16
Deep Thought was a 1989 precursor to Deep Blue, which used a different architecture
Here is the relevant passage : https://en.wikipedia.org/wiki/Deep_Blue_(chess_computer)
Deep Blue's evaluation function was initially written in a generalized form, with many to-be-determined parameters (e.g. how important is a safe king position compared to a space advantage in the center, etc.). The optimal values for these parameters were then determined by the system itself, by analyzing thousands of master games. The evaluation function had been split into 8,000 parts, many of them designed for special positions
Edit : you are right, the generation before Deep Blue used simple evaluation functions. Deep blue itself used extremely complex ones.
→ More replies (1)25
Mar 09 '16
As a cultural landmark, no. Especially in western cultures, where chess is more prevalent, and was the "intellectual activity" par excellence.
In computer science in general, not really. As I understand it, AlphaGo is the intersection of two already well established algorithm (deep learning and monte carlo tree search). But such a result will only propel those techniques even more to the forefront (if that is possible)
In knowledge representation, definitely. Deep Learning was already considered a considerable progress in how to encode information (c.f autoencoders). It outperformed custom handmade descriptors but it still competes on the same class of problems. However this is unprecedented. AlphaGo has an internal representation of the problem that is "an order of magnitude better" than what human beings can create.
12
u/visarga Mar 09 '16
AlphaGo is the intersection of two already well established algorithm (deep learning and monte carlo tree search)
Not just deep learning, it is also using reinforcement learning, which is DeepMind's speciality
2
Mar 09 '16
Sorry, I used liberally monte carlo tree search as the reinforcement learning part (RL). It was not exact. It should have been (deep learning and reinforcement learning)
So, if I may, DeepMind's specialty is Deep Learning. It uses it at least twice, to learn a policy strategy and to learn a state valuation.
It is true however that AlphaGo uses RL to learn a "super policy" which is better than the one derived from pure deep learning. Also, AlphaGo uses reinforcement learning during gameplay to explore the state space (via Monte Carlo Tree Search, which is just RL)
1
u/tdgros Mar 09 '16
don't know if I agree on the terms:
To me RL is used at training time only, to learn the policies (we optimize the policies by looking at its average returns).
And MCTS is used during gameplay (in order to evaluate the valuation). Of course, anything that's used during gameplay was used during training...
Or am I misusing the terms?
4
Mar 09 '16 edited Mar 09 '16
MCTS most popular version is UCT, which is the application of UCB to trees (UCT = UCB for Trees). UCB ("Upper Confidence Bound") itself is a RL algorithm, which had widespread success because it was proved that no other algorithm can perform better asymptotically. Which is really really impressive.
In short, MCTS is a RL algorithm, where you choose the branch to explore which maximizes "average score so far" + "exploration/exploitation compromise".
→ More replies (1)6
u/maccam912 Mar 09 '16
For whoever answers this: I've heard that Deep Blue was tuned to play against Kasparov's style specifically. Was AlphaGO tuned to win against Lee, or would it be able to do as well against any equally strong player?
7
u/delicious_truffles Mar 09 '16
I don't think anyone will be able to say until weeks from now, but I would suspect that AlphaGo would be given every advantage it could, including being trained specifically to play against Lee Sedol.
-1
u/TenshiS Mar 09 '16 edited Mar 09 '16
Edit: seems I was wrong
10
Mar 09 '16 edited Mar 09 '16
This is incorrect. AlphaGo uses MCTS, which is not used in Atari. AlphaGo is programmed with the rules of Go (without which a tree search is not possible), and even has some special features added to match for specific Go situations (e.g. ladders). And finally AlphaGo also uses supervised learning (on top of RL) to learn from human games. I invite you to look up the Nature paper where all of this is explained.
5
Mar 09 '16
Learning Atari was different. In the Atari games, DeepMind was told to maximize the in-game score and that's it. For AlphaGo they provided much more supervision with sample games that were labeled with their end results so AlphaGo did not need to learn everything from scratch.
It is still more general than Deep Blue and incredibly impressive.
12
u/operatictenor Mar 09 '16
It is much more significant. Beating a human chess player was largely an issue of creating a powerful computation engine. Beating a top Go professional involved much deeper machine learning techniques. The game of Go has many more possible board positions, and a computational approach was generally accepted as infeasible.
→ More replies (4)-12
u/HowDeepisYourLearnin Mar 09 '16
Is this a joke?
Beating a human chess player was largely an issue of creating a powerful computation engine.
Same for Go.
Beating a top Go professional involved much deeper machine learning techniques
I hate this sentence for some reason.
a computational approach was generally accepted as infeasible.
This is very much a 'computational approach'. It's still very much a brute force approach, they're just being clever about how they go about it.
10
u/XalosXandrez Mar 09 '16
It's still very much a brute force approach, they're just being clever about how they go about it.Not an algorithms expert, but isn't that fundamentally better than brute force by definition?
2
u/CyberByte Mar 09 '16
What is the definition of brute force though? If it's something like "try all possibilities" then Deep Blue isn't brute force either. To me the current usage seems highly subjective and essentially based on cleverness vs. computational power. There is no denying that AlphaGo uses a lot of "force" and that this makes a big difference. The question is whether that force is used (relatively) brute or (relatively) clever.
2
Mar 09 '16
I strongly disagree. If you took the fundamental ideas behind DeepBlue, and took the most powerful supercomputer available today, you would end up with a player a lot weaker than AlphaGo.
Advances in algorithms are critical to the success of AlphaGo
→ More replies (10)8
u/websnarf Mar 09 '16
Well, Deep Blue vs. Kasparov was historic, because it was the first serious game where a computer beat the best ever human player. No offense to Lee Sedol, but he is ranked, roughly, 4th in the world right now.
Nevertheless, there has apparently been a very high leap in playing strength for Alpha Go just in the time from the last match to the current match. And that's after making such a monumental leap in strength in the last match. If you compare this to the history of computer chess, certainly Alpha Go is on a performance curve that is far more impressive.
Shockingly, Alpha Go continues its undefeated streak against all human players.
1
u/rndnum123 Mar 09 '16
Not entirely a undefeated winning streak, It lost 3 or 2 times in the 5 unofficial matches against the European champion, there were different timing rules though in these unofficial matches.
3
u/ostedog Mar 09 '16
According to Wikipedia Go has 10761 possible games while chess only has 10120, so Go is a lot more complex.
→ More replies (11)
10
u/Coffee2theorems Mar 09 '16
What's with the poor video quality? Choppy audio, constant interruption by "THE MATCH WILL START IN 0 seconds" (gee, I didn't notice despite the million notifications! and it should really be negative numbers anyway), and you've got a 9 dan commentator on but you don't bother showing what he's showing on the actual screen because that still image is so much more interesting (not). I mean, WTF? "Let's blow over a million bucks on this and do the video with 5 bucks" or what was the idea?
4
u/mvhsbball22 Mar 09 '16
This gets better about 30 minutes or so after the game starts. Who knows what happened, but eventually the transmission got to a decent state.
3
u/Xillyfos Mar 10 '16
Still, they could have used a decent producer (or whatever the person is called who decides what video stream to show at which time). Very often they showed the playing board without showing the commentator, even though the commentator was clearly in the middle of talking about hypothetical moves on the commentator board using words like "here" and "like this" which did not make any sense at all without video. I think even I with no experience whatsoever could have done a better job choosing which video streams to show and when to show them.
And why didn't they show Lee in person more often? It would be so interesting to see his body language and other reactions when moves were made by AlphaGo. While watching the human making moves on behalf of AlphaGo was completely uninteresting, as he had no part in the game whatsoever.
I actually had a feeling that Google—as some sort of practical joke—had made an artificial intelligence produce the program and select what video streams to show to the viewers. :-) I simply can't imagine that any human being could be that far off in choosing the video streams.
And, I mean, yes, it was free to watch, but still, they could have had some decency to make the viewing experience just a bit nicer when you spend your time watching it and a 9 dan commentator spending his time commentating it (which I think he was excellent at; and he would have been even better without getting interrupted by that annoying amateur disturbing him, asking annoying questions and trying to show off all the time).
End of rant!
2
u/mvhsbball22 Mar 10 '16
I basically agree with everything you've said.
I thought the 9-dan guy was amazing. I also tried to put myself in the shoes of the other guy (no idea why he got picked for that job), though. I imagine that for him it was sort of like standing next to a living legend in whatever your hobby of choice is. He just seemed like he was trying to show that he knew what was going on, even though what was happening was probably as far beyond his skills as he is beyond mine.
Overall, for someone watching Go for the first time, I thought it was tolerable. I've watched some nascent industries develop their online streaming prowess, and this is nowhere near the worst thing I've seen. :)
18
16
u/womghei Mar 09 '16
Hey guys, what does "W + Res" mean?
32
u/TychosNose Mar 09 '16
White wins by resignation. Otherwise the "+ Res" would be the score difference.
5
7
Mar 09 '16
[removed] — view removed comment
2
u/masasin Mar 09 '16
What if Black resigns while ahead? Would this still be a win for White?
2
u/hixidom Mar 09 '16
Then you could just resign the moment you get your first point. Not allowed I presume.
0
Mar 09 '16
[deleted]
2
u/VelveteenAmbush Mar 09 '16
What if Black resigns but notes that he is doing so under protest? Does it count as a draw in that case?
6
Mar 10 '16
According to the complex rules of the game of go he would be shot in the face with a gatling gun handled by the red eyed black squirrel of death.
7
u/elevul Mar 09 '16
Incredible. I was not sure it would have been able to improve enough in the last months to do this, but it did.
Awesome, can't wait to see what other things Google will be capable of doing with this AI!
12
u/ddofer Mar 09 '16
Does anyone know how much computing power AlphaGo has? i.e how many servers/GPUs? (I'm curious as to how much electricity it's using).
5
u/6b656b Mar 09 '16
Their [paper] (http://www.zhenzhubay.com/zzw/upload/up/2/f6c3512.pdf) from around the time of the previous match says "We also implemented a distributed version of AlphaGo that exploited multiple machines, 40 search threads, 1202 CPUs and 176 GPUs."
This isn't enough information to tell exactly how much electricity it used, but 50-100 kW seems like a reasonable estimate.
1
3
u/GratefulTony Mar 09 '16
I heard in the pre-match banter that there was both "distributed" AG and "non-distributed" AG. Distributed was used for the match, but they said the distributed version was only marginally better. not sure if this means test-time or train-time. Worth noting AG ran down its clock by a lot.
Not sure how many GPUs are in each version, or if distributed means model parallelization. It would seem that would be a fair way to evaluate many contingencies.
12
u/VelveteenAmbush Mar 09 '16
Worth noting AG ran down its clock by a lot.
Shouldn't we expect it to? If more time means it can examine a few more positions, it seems like a strictly superior strategy to take all of the available time. It really says nothing about the strength of the algorithm to observe that it did so.
2
9
u/Grammr Mar 09 '16
While that's definitely a great accomplishment, there's a bitter taste in my mouth that people can only win starcraft and seven minutes in heaven now. And if interested, it giants like Google will finish the first problem quite fast
5
u/CyberByte Mar 09 '16
Also other video games and games like poker (e.g. no limit Texas Hold'em). Beating Go is great, but most things are not two player turn taking perfect information games.
0
Mar 09 '16
[deleted]
6
u/CyberByte Mar 09 '16
That's sounds a lot like "Have you seen Deep Blue play through chess? It won't be long until we solve larger two player turn taking perfect information games."
5
u/Ek_Los_Die_Hier Mar 09 '16
Modern video games, especially ones like first person shooter games are almost as complex as navigating real life, that's not as straightforward as you make it out to sound.
2
4
u/The_Agendine Mar 09 '16
Does anyone know if AlphaGo is doing anything to modulate its time-management? Is it strategically allocating the available game-time to go further out in the decisionmaking process for some moves versus others, or is it just running each move "however long it takes" and letting the game timer fall where it may?
7
u/danielvarga Mar 09 '16
From the Wired article: "At the lunch prior to the match, Hassabis also said that since October, he and his team had also used machine learning techniques to improve AlphaGo’s ability to manage time. In the early to middle part of the game, it matched Lee Sedol with a rapid rate of play.
1
11
u/sorrge Mar 09 '16
Humans need to switch to 21x21 or even irregular boards. Not only the search space is larger, but also there are no pro game databases for other sizes, meaning the machines will have to generalize much better. I think they are still not very good at that kind of thing.
50
u/asdf3011 Mar 09 '16
Remember these can be a bigger disadvantage to humans then bots. Computer may out pace humans in the learning of a new board type.
11
u/unkz Mar 09 '16
I remember back when chinook was being developed for checkers, one of the top human players liked to play "out of book" to gain an advantage by using his human ability to generalize better than other human opponents who liked to specialize along known lines of play. He got beaten particularly badly by chinook, as the ai's faster search strength far outpaced the lack of dictionary advantage. Checkers has a much smaller search space and if I recall correctly there was a greater emphasis on brute force searching, so it's not perfectly analogous but it is suggestive.
7
Mar 09 '16
On the english commentary they said that after a few opening moves they had already gone beyond standard opening games. As for the closing database, the commentary said that any pro player could play moves easily in under a minute, it is a lot more localized so I don't think it would need a database.
1
u/sorrge Mar 09 '16
I was talking about a database of strong human games, which is needed to train one of the networks in AlphaGo. Without it, it would have to learn the game from scratch, which is probably much more difficult.
Also, the current architecture works only for one board size. AlphaGo will need a considerable redesign in order to be able to play on any board size (which is not a problem for more generic MCTS programs). For humans, such generalization is easy, e.g. I suppose Lee Sedol is also very strong on a 15x37 board, on a board with holes etc.
9
1
Mar 09 '16
AlphaGo will need a considerable redesign in order to be able to play on any board size
That's what I thought, I couldn't see any way of using the bulk of its progress on the 19x19 board to be used in a larger square board, let alone an irregular board.
2
u/VelveteenAmbush Mar 09 '16
But human beings who trained their whole lives on 19x19 board would presumably also be thrown by a giant heart-shaped board or a 37x17 board or whatever, no? Is there any reason to think that the humans would be less thrown than the computer, or that they would be faster to retrain?
2
u/sorrge Mar 09 '16
There are two primary reasons:
The current architecture works for a single board size. CNNs are invariant to translation, but we are talking about changing the board, not translating it. Unlike the image recognition, we can't apply AlphaGo using a sliding window: the information ultimately has to be integrated in a board shape-dependent manner.
There will be no sample games to bootstrap the learning.
Actually humans play on different board sizes easily. It is common for beginners to practice on smaller boards, for example.
2
u/darkmighty Mar 09 '16
Like Coffee2theorems said, it doesn't make any sense to engineer a game that probably won't be any more enjoyable for humans just to be able to beat an AI (even if it would make us beat it, it would only last a short while) -- the purpose of those games is simply to be interesting to humans. We need to move to the next AI challenges, like theorem proving, large scale goal-oriented motion planning, etc.
3
u/Coffee2theorems Mar 09 '16
Nah. If a computer program is exceedingly good at Go, then bully for it!
What this means is that AI needs to tackle the next challenge. Like theorem proving, that would be cool and useful. Imagine that Fermat's Last Theorem (or even better, the Poincare conjecture) had been proved by Deep Mind instead of a human! That would be the AI event of the century, and there are many more where those came from.
Google: Use your SkyNet AIs to prove us the Riemann Hypothesis next, pretty plz. Will donate a few cups of coffee for the Cause.
3
u/sorrge Mar 09 '16
I agree, it's like an evasive maneuver. As far as AI is concerned, Go can be declared solved at this point.
I'm sure Google doesn't need donations. Also, how about passing text-based Turing test? You know, just to cross it off the list. That would generate enormous return in PR as well.
1
u/VelveteenAmbush Mar 09 '16
Why would you expect that human skill would scale better to larger or stranger board dimensions than the computer? Presumably the humans would also need a bunch of training data if you will to develop intuitions applicable to those board sizes/shapes.
1
u/CyberByte Mar 10 '16
Why would you expect that human skill would scale better to larger or stranger board dimensions than the computer?
I don't know if it will still hold true, but this has traditionally been the case. Why did it take this long to go from beating chess to beating Go? People always talk about the complexity, but it's a symmetric game. Humans should be "bothered" by the increased complexity too, but throughout history it has appeared that we can deal with this better than our AI algorithms.
Presumably the humans would also need a bunch of training data if you will to develop intuitions applicable to those board sizes/shapes.
Yes and no. Humans are very flexible and capable of transfer learning. If you tell Lee Sedol one second before the match that the game will be played on a heart-shaped board with 333 cells, he will be able to play. Furthermore, I would (on the whole) expect him to be better at it than similarly unprepared lower ranked Go players.
Of course, there is still a lot of room for improvement through training. Or in other words: Sedol would be much worse compared to an imaginary maximum for trained human players on this new board than he is for the regular board.
The question is how much training an AlphaGo variant needs to catch up to Sedol's (initial) skill level on the new board. One major problem would be that (as /u/sorrge mentioned) there would be no huge databases of played games, so the supervised learning portion of AlphaGo wouldn't work as it does now. Self-play alone might not be good enough. I could imagine that some knowledge transfer would be possible from the current AlphaGo system, but that remains to be seen.
And in the end we get back to the original question. If it took two decades to move from chess to Go because of game complexity (tree width and depth), why do we think "larger Go" could be solved just like that if it constitutes a similar jump in complexity?
1
u/VelveteenAmbush Mar 10 '16
Why did it take this long to go from beating chess to beating Go?
In part because we needed better hardware, and in part because we needed new techniques.
One major problem would be that (as /u/sorrge mentioned) there would be no huge databases of played games, so the supervised learning portion of AlphaGo wouldn't work as it does now. Self-play alone might not be good enough. I could imagine that some knowledge transfer would be possible from the current AlphaGo system, but that remains to be seen.
On the other hand, self play stacked on top of transfer learning might well be good enough. And if it isn't, the database of games will be built up fairly rapidly if that becomes the new standard. Unless it doesn't become the new standard, and its only purpose is to have a challenge on which humans can defeat computers... in which case why not just have a towel folding competition?
why do we think "larger Go" could be solved just like that if it constitutes a similar jump in complexity?
Because it doesn't constitute a similar jump in complexity. Convolutional neural nets can capture "spatial intuition" in a way that simple brute-force tree searching can't. Now that we've wrung a serious Go champion out of this technique, I don't think anyone should be confident that it couldn't scale up as fast or faster than people could.
5
5
u/trnickson Mar 09 '16
What next? Crusader kings might be fun :)
8
u/G_Morgan Mar 09 '16
I wonder if a deep learning AI wouldn't either bother training that genius son because RNG is bound to kill him.
1
u/gibberfish Mar 09 '16 edited Mar 09 '16
Don't most game AI's sort of rely on similar techniques already? (combination of handcrafted rules and neural nets or other black box ML techniques)
5
u/trnickson Mar 09 '16
I don't think so. Very few game AIs are programmed to play the game with the same resources the human is - that's hard, and it's really hard to do this while tuning it so it is fun. Game AIs have access to the full game state, aren't really agents in the sense that deepmind's game bots are and are there to make the fun not win so are much easier to program with decision trees and other hard wired behaviour.
2
u/gibberfish Mar 09 '16
I was thinking more in terms of handcrafted vs. learning models irrespective of if they "cheat" a little. A quick search does show Supreme Commander 2 used NN's, but it was still considered a rarity apparently.
This reminds me I also came across this game recently which I think demonstrates modeling independent agents like you talk about using adaptive neural nets, though I haven't really looked into it yet.
2
u/Tiramisuu2 Mar 10 '16
Have the AlphaGo authors released a paper on how they managed to recognize features in GO?
Is it simply a matter of deep backchaining all the way through to the end with a massive set of game play OR are there a set of local and global features that the network optimizes?
I'd love to see this differentiated against the neural networks used to develop World Class Backgammon software that has been in existence for the last 15 years or so.
3
2
1
u/vznvzn Mar 09 '16
stunning! but it would be nice to see a ref to a web page somewhere documenting the game etc. heres a bunch of background links on the matches
1
0
u/teling Mar 09 '16
if alphaGo was trained on 9d pro games how can it have beaten a 9d pro? If the policy network is trying to simulate the moves that a 9d pro would make, how could it surpass its "teacher"? Could reinforcement learning have helped? I thought the paper said the reinforcement learning didn't have much of an effect
16
u/BullockHouse Mar 09 '16
I'm sure alphaGo also had a large amount of self play, and could level up that way, even in the absence of a stronger teacher. It also had a tree search component, and could potentially spend much larger amounts of simulated time poring over possible moves than a real human.
5
u/cybrbeast Mar 09 '16 edited Mar 09 '16
By playing against versions of itself: https://youtu.be/4fjmnOQuqao?t=52m45s
Interestingly this is somewhat similar to how Checkers was mastered by one of the first machine learning implementations in 1959
https://en.wikipedia.org/wiki/Arthur_Samuel#Computer_checkers_.28draughts.29_development
4
3
u/ma2rten Mar 09 '16
I thought the paper said the reinforcement learning didn't have much of an effect
You are wrong. If that was true it would be super pointless. Reinforcement learning and self-play was the key. There are too many possible combinations to cover every possible situation using supervised learning.
1
u/teling Mar 10 '16
Youre right. I reread it and RL was important for the value network not the policy network. A better value network strengthened MCTS maybe very significantly
2
u/m000pan Mar 09 '16
It takes just 3ms for AlphaGo's policy network to choose a move, which is much shorter than for 9d pros to do so.
1
u/hixidom Mar 09 '16
But, in last night's match, some of AlphaGo's moves took a lot longer than 3ms.
1
u/Masterbrew Mar 09 '16
Not sure what your point is?
The policy network alone can't play at 9d pro lvl. With MCTS and everything running, Alphago's time usage was similar to Lee Sedol.
1
u/m000pan Mar 10 '16 edited Mar 10 '16
My point is that the policy network can be more time-efficient even if it only mimics pros' moves. That means, if AlphaGo and pros spend the same amount of time, AlphaGo can be stronger because it can examine more positions.
He's asking why AlphaGo can be stronger than pros if its policy network just mimics pros' moves. My answer explains why. AlphaGo's strength and its policy network's strength can be different.
Of course I know AlphaGo's policy network is actually not as strong as pros. That's just an assumption.
3
1
u/graycrawford Mar 09 '16
Because not every 9d pro would play the exact same moves, and there is a measurable difference (in total) between certain movesets and others. If the computer calculates that a certain moveset looks the most promising, it'll do that.
0
Mar 09 '16
[deleted]
2
u/VelveteenAmbush Mar 09 '16
The self play stuff is so much sexier than all of its other techniques.
0
-3
u/easypenta Mar 09 '16 edited Mar 09 '16
Very honestly I think Google just pretended it was much weaker and not showing what AlphaGO really can do in the 5-0 game against that European champion. This is great for marketing and also didn't show any real strength for Sedlo to study at all. It makes much more noise in media if everyone believes AlphaGO has no way to win then it beats Sedlo 5-0 or 4-1. I believe Google knows they have at least 70% winning chance before challenging Sedlo.
2
0
0
36
u/wowholdonwhat Mar 09 '16
Wait but there are several games right? This was just the first one?