r/baduk • u/gamarad • Oct 18 '17
AlphaGo Zero: Learning from scratch | DeepMind
https://deepmind.com/blog/alphago-zero-learning-scratch/69
u/chibicody 5 kyu Oct 18 '17
This is amazing. In my opinion this is much more significant than all AlphaGo's successes so far. It learned everything from scratch, rediscovered joseki and then found new ones and is now the strongest go player ever.
30
u/jcarlson08 3 kyu Oct 18 '17
Using just 4 TPUs.
27
u/Andeol57 2 dan Oct 18 '17
Without any hand-engineered features.
6
u/hyperforce Oct 19 '17
Someone had mentioned in a different thread that the agent state might be the previous 7 moves and the moves to simulate was like 1600.
While not features, they are hand-engineered aspects of the problem.
→ More replies (1)1
16
u/cafaxo Oct 18 '17
From the paper, page 23: "Each neural network fθi is optimised on the Google Cloud using TensorFlow, with 64 GPU workers and 19 CPU parameter servers." [emphasis mine]
15
u/RoboTeddy 4k Oct 19 '17
That's during training. While playing, it uses just one machine with 4 TPUs.
6
u/bdunderscore 8k Oct 19 '17
Note that training using 64 GPUs on AWS (p2.xlarge spot instances) for 72 hours would only cost about $630. This work sounds like it should be reproducible by outside teams without too much trouble.
2
u/dmwit 2k Oct 19 '17
Can you comment on the big disparity between your estimate and frankchn's, which lands at ~$10,000 for 3 days?
→ More replies (1)7
u/frankchn Oct 19 '17 edited Oct 19 '17
My estimates use the fastest GPUs you can buy on the cloud right now (a Tesla P100 in my example has 22 single-precision TFLOPS vs one core of a K80s, which is what you get with a p2.xlarge, has 4.29 TFLOPS), and much bigger VMs in general (64 p2.xlarges gets you 256 vCPUs, while 17 n1-standard-64s gets you 1088 vCPUs).
My estimates also uses regular VMs which will not be interrupted while AWS spot instances require you to place bids on the AWS spot market, and VMs will be taken away from you if market prices rise beyond your bid price.
In general, you can view my estimates as an upper bound and /u/bdunderscore's as a lower bound with regards to cost.
3
u/bdunderscore 8k Oct 19 '17
Yes, it's not clear exactly how high spec the Google GPUs are. I suspect they'd be midline, under the theory that they could get a better price per TFLOPS by buying more of a cheaper model. As for spot instances, since the bottleneck is going to be the selfplay, changing fleet size due to spot instance evictions shouldn't be an insurmountable issue.
3
u/seigenblues 4d Oct 19 '17
this is the training cluster. The 4TPUs is the machine it was playing the evaluation matches on. There's no details on how many selfplay-workers they used.
3 stages:
selfplay
training
evaluation
2
1
u/HaikuEU Oct 23 '17
So each neural networks is consumming around 70 kW I would say, the equivalent of 70,000 humans. We are talking about at least 200,000 humans equivalent here (more likely around 1,000,000)
14
u/seigenblues 4d Oct 18 '17
it used way, way more than that. Based on the numbers in the paper, it looks more like 1k-2k. (just my guess)
When playing, it only used 4.
11
Oct 18 '17
I do not think we should count training.
Training happens offline and can have any number of TPUS because it scales indefinitely.
→ More replies (10)1
20
u/nonobu Oct 19 '17
It's truly remarkable. However, this quote from a technologyreview article made me see it in a different light:
“What would be really impressive would be if AlphaGo beat [legendary South Korean champion] Lee Sedol after playing roughly as many games as he played in his career before becoming a champion. We’re nowhere near that.”
13
8
u/red75prim Oct 19 '17
Well, AlphaGo Zero played all the games in its own "head". I doubt Lee Sedol could have been a champion, if he was told the rules and then played only against himself.
9
u/chibicody 5 kyu Oct 19 '17
Yes, current techniques require a slow training of neural networks. A human can be shown something once and learn it. This "one shot learning" is an active topic of research.
3
u/VladimirMedvedev 2k Oct 19 '17
For that it should have as many transistors as neurons in human brain.
4
Oct 19 '17
Agreed. And it did so much more. It used fewer input than all previous versions and ran on a lot less hardware than at least some previous versions. And finally it didn't stop at a local maximum which should be huge fear if you don't use any external input.
→ More replies (8)4
u/KapteeniJ 3d Oct 19 '17
Worth noting that back when Lee Sedol games were on, Deepmind did comment that they estimated training AlphaGo without any human aid would take 2 extra months, compared to the AlphaGo Lee version.
Depending on how you look at it, it either took over a year, or just a couple of days.
40
u/xlog Oct 18 '17
29
u/asdjfsjhfkdjs 3k Oct 18 '17
Remember, everyone was 20k once, even AlphaGo: https://i.imgur.com/RNYH6nT.png
10
u/a_dog_named_bob 2k Oct 18 '17
For about a day.
29
11
u/Revoltwind Oct 18 '17
After a day, it was at top professional level (~3500 ELO) !!! (see figure 3a)
1
4
37
u/GetInThereLewis 10k Oct 18 '17
Figure 5 in the paper is really interesting, showing the timeline of Joseki discovered by AG Zero. More interesting is how it discovers new sequences beyond those, which I'm sure humans will be copying.... tomorrow.
15
u/LeinadSpoon 5k Oct 18 '17
I particularly enjoy the listing of its favorite josekis over time in 5b. I never would have thought of the 1x1, 6x8 approach joseki.
7
u/venustrapsflies 13 kyu Oct 19 '17
i'm glad they gave an example of that, to show it unlearning such an obviously bad set of moves
4
u/GetInThereLewis 10k Oct 18 '17
Haha, I was surprised that that was included under "joseki" as well.
2
u/TrekkiMonstr Oct 19 '17
Actually though, what the fuck is the 1-1 one. I'm so confused.
10
u/dmwit 2k Oct 19 '17
Turns out the machine is crap at playing for the first little while that it's learning. This is very uncharacteristic of entities that pick up new hobbies, I know.
2
u/TrekkiMonstr Oct 19 '17
Mb, thought it had continued doing it. Upon looking again, it didn't do it after hour 20.
→ More replies (1)3
Oct 18 '17
Extended Data Figure 1 and 2 too
https://deepmind.com/documents/119/agz_unformatted_nature.pdf
3
u/Im_thatguy Oct 19 '17
Anyone else notice the weird early kick that shows up at hours 55 and 70? I can't find an example of it in any of the full games posted. I've never seen any pro or prior version of AlphaGo play that so early and without a pincering stone.
1
0
Oct 19 '17
[deleted]
3
u/GetInThereLewis 10k Oct 19 '17
Not sure I’m following your comment? AG Zero seems to play 3-3 invasion early just like the Master games that inspired the pros to start doing it again.
0
Oct 19 '17
[deleted]
8
u/Gurxtav Oct 20 '17
Or it could be it later learned not to let the opponent get a chance to play it, in which case it would be played less in games against itself.
2
u/Im_thatguy Oct 19 '17 edited Oct 19 '17
I'm not sure what you are referring to. It played the 3-3 invasion twice on move 9 and 54 at the 70 hour mark.
34
u/xlog Oct 18 '17
According to the paper, AlphaGo Zero (the newest version) beat the version that played Ke Jie with 89-11 record.
18
u/sourc3original Oct 18 '17
So it has a lot more to learn then.
25
u/Sliver__Legion Oct 18 '17
The ELO didn’t seem to be plateauing at 40 days, that was just when they choose to stop. An AG0 with 100days of training instead would presumably do noticeably better than 89-11 vs Master — and that’s without considering any possible algorithmic improvements.
0
Oct 19 '17
[deleted]
21
u/Sliver__Legion Oct 19 '17
”Yeah, sure, we could make this God of Go even more godly, but frankly at this point why bother.”
Holy Moly, that’s a state of affairs. Anyone claiming this was possible 10 years ago would have been seen as absolutely crazy.
3
u/tat3179 Oct 19 '17
Now imagine an improved version of it that could take all kinds of knowledge and blend it together....
Imagine what kind of things it could think and figure out for us when it is capable of such godly analytical skill....
New metals, new biological and medicinal products...
6
Oct 19 '17
Cures for baldness and for cancer. A solution to global warming. World peace.
And an awful lot of paperclips.
→ More replies (4)8
u/TheOsuConspiracy Oct 19 '17
Seems very likely that the upper limit for Go skill is much higher than we ever anticipated.
5
u/cutelyaware 7 kyu Oct 19 '17
I doubt there is an upper limit. Only practical limits. I expect we could live to see go bots that play so strongly that we can't follow anything except the endgame. The rest would just look random.
3
u/TheOsuConspiracy Oct 19 '17
Well, Ke Jie used to think he was a couple stones away from the perfect game. I don't know how true that is now.
→ More replies (7)4
u/whupazz Oct 19 '17
"The team says they don’t know AlphaGo Zero’s upper limit—it got so strong that it didn’t seem worth training it anymore"
That seems like such marketing BS though. With google money available, there's no reason to not just let it run until it plateaus. In the history of mankind, when has anyone ever said "you know, I could easily take it further, but this seems good enough"?
7
u/KapteeniJ 3d Oct 19 '17
As far as Elo is concerned, it's as far above 9p as 9p is above 11k player. Unless they let pros play against it with handicap stones, or other bot developers really up their game, I just don't see how that's not an overkill of gigantic proportions.
5
u/Sliver__Legion Oct 20 '17
The Deepmind team has a lot of resources, but not infinite. They don’t consider Go to be that directly important, so they just made a fully self-taught bot that massively out leveled any other go playing entities in existence, and then said “okay, mission accomplished, no real need to let this train for another 100 days let’s just move on to more important/challenging stuff.”
1
u/Friday9i Oct 19 '17
It's probably even more impressive: from what we know, 7.5 komi is a bit too much and W gains around 75% of the Master vs Master games. Hence, I guess AG Zero wins almost all the games with White (~49 out of 50?) against Master, and most of the games with Black (~40 out of 50?), despite being at a huge disadvantage with Black!
27
u/empror 1 dan Oct 18 '17
This is so cool, I am speechless. I would like to quote the wise words of Chris Garlock: "Wow! Wow wow wow!"
1
26
u/HanzYuan Oct 18 '17
The theory that we should occupy the corner first was finally confirmed XD
8
u/abcd_z 13k Oct 18 '17
GG Shin Fuseki, no re. :(
8
u/IDe- Oct 18 '17
It still plays high moves, and likes 4-4. It's not like it's refuting shin fuseki or anything.
6
u/abcd_z 13k Oct 19 '17
Yeah. I had just... it's silly, but I was really hoping for validation of some of those really crazy openings you occasionally saw in shin fuseki. But no, 4-4, 3-4 and 3-3 are the name of the game here. :(
4
u/Freact 10k Oct 19 '17
Oh man, I really feel you here. It would have been so amazing if it had come up with some really bizarre opening moves away from the corners.
1
u/columbus8myhw Oct 30 '17
This doesn't necessarily mean that other good openings don't exist, it just means that they're hard to find. At each iteration, the machine can only explore strategies similar to the ones it's been using.
23
u/xlog Oct 18 '17
One major point is that the new version of AlphaGo uses only one neural network. Not two (value & policy), like the previous version.
6
u/IDe- Oct 18 '17
Which one did they ditch?
11
u/thedessertplanet Oct 18 '17
I think they integrated both. But haven't finished reading the paper.
9
u/wasteland44 Oct 18 '17
Yeah from the article:
It uses one neural network rather than two. Earlier versions of AlphaGo used a “policy network” to select the next move to play and a ”value network” to predict the winner of the game from each position. These are combined in AlphaGo Zero, allowing it to be trained and evaluated more efficiently.
5
u/Sliver__Legion Oct 18 '17
Also has no more rollouts/MCTS — it plays and estimates win percent purely from the network.
0
Oct 18 '17
[deleted]
4
u/Sliver__Legion Oct 18 '17
Yeah, could have been more clear there. It is definitely still tree searching, just not doing rollouts.
5
u/owenwp Oct 19 '17
They did also evaluate a version with no tree search at all, basically just playing the first move that "pops into its head". Its ELO was just a hair below the version that beat Fan Hui.
The training method was basically designed to make the network approximate the MCTS result by rewarding it for choosing the same sequences of moves during training. In a sense, the tree search during play just serves to give the neural network more chances to catch its own misreads.
2
Oct 18 '17 edited Oct 18 '17
I was kinda expecting that with the way they were training master.
They were training master to learn off of the previous version to copy those moves. And that was the leap that made master so strong. So this is kinda just the next level of that.
0
Oct 18 '17
[deleted]
3
u/themusicdan 14k Oct 19 '17
Surely integrating both networks allows for more granular decision-making? Wasn't Game 4 of the AlphaGo - Lee Sedol match affected by the policy network focusing on variations which didn't occur in the game?
0
Oct 19 '17
[deleted]
2
u/themusicdan 14k Oct 19 '17
I'm responding to the notion that "it's really the same thing" which seems true in theory with unlimited hardware, but not in practice where in every respect combining networks is a win in every aspect.
19
u/_pharaoh 4 dan Oct 18 '17 edited Oct 18 '17
This is insane. Awed in that it started like a beginner with fights in single parts of the board but then moved onto joseki esq play and l&d. In this sense, it's interesting to think about how both it and humans arrived at a similar understanding of the game. For alphago, however, this took a day and not millenniums haha. Of course now its understanding is much more advanced.
15
Oct 18 '17
it technically played millenniums worth of games though.
I bet that humans have played a comparable number of games if you only count ones that were worth teaching.
But in a way it means that the way we learned go throughout history was in fact the "correct way" Except we learned ladders much easier.
52
u/nonsensicalization Oct 18 '17 edited Oct 18 '17
So learning from humans just hindered its progress. GG humanity.
26
u/CC_EF_JTF Oct 18 '17
In a sense the most useful thing the human games did was create a benchmark to determine how quickly the AI could learn on its own.
Turns out it can learn about 20 years worth of human Go knowledge in roughly 20 days, and that's with a small amount of hardware. If the hardware scaled up then the time would be reduced quickly.
0
Oct 18 '17
[deleted]
7
u/a_dog_named_bob 2k Oct 18 '17
Buying it yourself, sure, but even for an amateur it's not all that expensive on a cloud platform.
→ More replies (11)4
u/boisdeb Oct 18 '17
Yeah but... I'm actually a bit disappointed. Alphago Zero games look to me (as a high kyu player) way more similar to human pro players than what I expected.
I uploaded one of Alphago Zero against himself: http://eidogo.com/#u2UdsDFJ
I was so certain the ultimate go strategy was much more abstract, cosmic go style.
8
u/loae Oct 18 '17
If I played something like move 26 or 27 against a pro, they would immediately tell me to stop playing it. Wow.
2
u/Hohol Oct 19 '17
Could you explain why these moves can be considered bad by pros?
3
u/loae Oct 19 '17 edited Oct 19 '17
Move 26, it seems too slow to me. I honestly don't understand why this is the biggest move on the board.
The group on the top right is not a group I would worry about. If trying to make moyo on the top, a little more to the left or towards the center may be better. Also top side probably can't become a big moyo because of the exchange at top right. Why not prioritize the right side, which still has potential of becoming a big moyo? White does eventually invade the right side after the exchange on the left side, so it must be judging move 26 to be bigger. But I don't understand why.
I also take back what I said about move 27. My previous post was made with very little thought. Thinking through the position a bit more, I can see how the exchange of 27 and 28 makes white's responses to 29 less effective.
What I was thinking was that this is an example of an exchange that human pros probably would not be in a hurry to play. It is the sort of exchange an amateur likes to play because amateurs can't quite handle the quantum nature of exchanges that haven't been made yet. Therefore an instructional pro would probably say to not make this exchange at all, or to follow it up with another push and cut. But I misjudged the position so this is not the case.
3
u/Im_thatguy Oct 19 '17
Give it a 21x21 or 23x23 board and it will probably start playing a more cosmic style.
→ More replies (3)2
1
18
u/enntwo 3d Oct 18 '17
Takes 40 days to train a network stronger than AG Master - from scratch. Can't wait to see some of the games.
26
16
u/danielrrich 10k Oct 18 '17
The paper has 20 AlphaGo Zero self play games located in the appendix. Cool stuff!
7
u/Revoltwind Oct 18 '17
Yes but not all 20 games are at its full strength. The 20 games are sampled along the training, so only the last game is at full strength.
16
32
u/fischgurke Oct 18 '17
I'm not religious, but for lack of a better word, I feel truly "blessed" to be alive and healthy enough to play Go during this time.
This is truly the "golden age" for Go players. We are the first generation to be given a peek at what will be possible as human Go evolves beyond its current state, and are given the freedom to try out unorthodox moves again because a Go god has played them against itself.
21
u/thedessertplanet Oct 18 '17
It's not just Go. The vast majority of humans are better of today than at any point in history before.
1
u/RoiderOrtiz Oct 19 '17
most are a lot worse off as well
9
u/thedessertplanet Oct 19 '17
Nope, actually not. See eg the Gates Notes ( https://www.gatesnotes.com/2017-Annual-Letter?WT.mc_id=02_14_2017_02_AL2017GFO_GF-GFO_&WT.tsrc=GFGFO ) for the statistics.
We have made enormous strides in reducing absolute poverty, malnutrition, malaria etc.
People like to talk about doom and gloom, and there's plenty of that to go around. But in aggregate humanity is doing better than ever.
→ More replies (2)
13
u/Lambykinz Oct 18 '17 edited Oct 18 '17
Wow, that's amazing. I can't wait to see the games!
Edit: Looks like they provided some games it played against AlphaGo Lee in the supplementary information section of the online paper: https://www.nature.com/nature/journal/v550/n7676/full/nature24270.html#supplementary-information you can download them from there, looks like about 80 games.
2
u/danielrrich 10k Oct 18 '17
The paper has them in the appendix. Look at the bottom of the site and you can download the paper. scroll to end and feast.
19
4
u/Lambykinz Oct 18 '17
Ah yes, but I think they are only showing the first 100 moves there. The link I gave lets you download the full games in SGF.
13
u/Neoncow Oct 18 '17
AlphaGo Zero does not use “rollouts” - fast, random games used by other Go programs to predict which player will win from the current board position. Instead, it relies on its high quality neural networks to evaluate positions.
Wait... no rollouts? Is it playing a pure neural network game and beating AlphaGo Master?
22
u/chibicody 5 kyu Oct 18 '17
It still has a tree search just using only the neural network for evaluation of the positions.
5
Oct 18 '17
I wonder what a version without tree would do. Just a single NN.
Alphago -1
29
u/peterborah Oct 18 '17
They actually talk about this in the paper. It's about as strong as the version that defeated Fan Hui, but much less strong than later versions.
0
Oct 18 '17
[deleted]
13
u/imbaczek Oct 18 '17
if you always take good branches in the tree, you expect the effect to compound the deeper you are.
→ More replies (5)2
u/ExtraTricky Oct 18 '17
I think likely part of it is going to be a difference between AI Elo and human Elo. If all players are AIs, then they will have much more consistency in their play and as a result getting the same winrate against a weaker opponent requires comparatively less difference in skill.
0
2
u/KapteeniJ 3d Oct 19 '17
Value of tree search compounds by how sensible your choices for nodes to evaluate are, and how good you're at estimating the value of each leaf position. If you're randomly picking moves to be evaluated, just randomly playing moves isn't that much worse strategy either.
2
u/asdjfsjhfkdjs 3k Oct 18 '17
I wonder if this version uses the "imagination" idea they wrote a paper about a while back - that looked like an improvement on MCTS.
3
u/Borthralla Oct 18 '17
It uses a Neural Network guided Monte Carlo tree search. So it's not just the neural network, but the Neural Network guides the actual search. The Monte Carlo tree search is also where it adjusts it's network. Pretty cool!
2
Oct 19 '17
I don't understand - did the neural network not guide the tree search before? If not then how were the simulated moves chosen?
2
u/Borthralla Oct 19 '17 edited Oct 19 '17
From the paper:
"The neural network in AlphaGo Zero is trained from games of selfplay by a novel reinforcement learning algorithm. In each position s, an MCTS search is executed, guided by the neural network fθ. The MCTS search outputs probabilities π of playing each move. These search probabilities usually select much stronger moves than the raw move probabilities p of the neural network fθ(s); MCTS may therefore be viewed as a powerful policy improvement operator20,21. Self-play with search—using the improved MCTS-based policy to select each move, then using the game winner z as a sample of the value—may be viewed as a powerful policy evaluation operator. The main idea of our reinforcement learning algorithm is to use these search operators repeatedly in a policy iteration procedure22,23: the neural network’s parameters are updated to make the move probabilities and value (p, v) = fθ(s) more closely match the improved search probabilities and selfplay winner (π, z); these new parameters are used in the next iteration of self-play to make the search even stronger."
From my understanding, the previous implementation had separate weights attributed to the neural network and monte carlo evaluations and they weren't really connected.
11
u/alireyns 7k Oct 18 '17
For those of us that are not as familiar with hardware properties and such, can someone explain the significance of this feat re: 4 TPU’s?
Thanks!
22
u/BadGoyWithAGun Oct 18 '17
A tensor processing unit is Google's custom hardware for accelerating machine learning applications. Information on it is pretty sparse since normal people can currently only access one through the Google cloud platform, but supposedly it has the size and power consumption close to that of a high-end GPU, which means 4 would fit into a single desktop computer, so this version of AlphaGo could presumably be used offline and in real time with a single PC.
11
u/thedessertplanet Oct 18 '17
And if that progress continues, soon enough on a phone.
1
u/Irbisek Oct 20 '17
I doubt it. There are pretty big limits on what you can fit in phone, in all respects - power, heat, size. Note modern phones use 8-16 core processors, instead of say 4 stronger ones, because we're already at a limit of what can be crammed there...
2
u/thedessertplanet Oct 20 '17
I was anticipating a further decrease in AlphaGo's resource requirements and a further increase in phones' capabilities.
Google is actually really keen to move more and more machine learning (evaluation, not training) onto phones like for example voice recognition, so a new version of AlphaGo would be a nice 'moonshot' for them.
2
u/picardythird 5k Oct 19 '17
The TPU has an architecture that is specifically optimized for machine learning performance. I would understand this to mean extremely high levels of parallelization and multithreading, but I don't have a datasheet so I can't say for certain. At any rate, it would be wasted on general consumers, since very few consumers are going to want a processor that is only superior at a small subset of processes. If they are able to better miniaturize their architecture, then I could see a standalone unit for AlphaGo being sold with a TPU inside. More likely, if they were to go the commercial route, would be selling access to their TPU servers on the Google Cloud.
10
u/RoiderOrtiz Oct 18 '17
so any reviews on new strategies it created?
0
Oct 18 '17
[deleted]
2
u/loae Oct 19 '17
Tuis sequence is not unseen in human Go.
However kosumitsuke response is uncommon in pro games, so this shape appears rarely.
2
u/Revoltwind Oct 18 '17
You're totally right. Most of the games contained in the supplementary materials are sampled along the training, so only the last few games are at superhuman level.
4
1
13
6
Oct 18 '17
Super amazing!! I wonder if pros will be able to tell the difference between this and the Master version, when analyzing the games later; I personally doubt they can.
5
u/Riokaii 1 dan Oct 19 '17
So far, I feel like I can tell just from the first 50 moves or so.
Master still liked experimenting in the opening, based on the selfplay games published, the new version seems to have settled into a fairly narrow range of joseki options, and entirely discarded numerous other joseki and opening patterns.
2
Oct 19 '17
Sure, you can distinguish between the two, but I meant can pros tell that Zero's moves are better than Master's moves...
4
6
u/HanzYuan Oct 19 '17
Master output an approximately 76% win rate for white, so roughly, it can master an advantage of 1.5 points (7.5 points minus perfect komi) by 76%
Now that Zero can dominate Master by 89%, which, by similar estimation, might be converted to around 2.5~3 points advantage, i.e. Zero might be 2.5 points stronger than Master.
2
u/Sliver__Legion Oct 20 '17
Where are you getting this 76% from? In the AMA they said AG0’s winrate with white was only ~55%.
6
u/xlog Oct 19 '17
In all of the 20 AG Zero vs AG Master games, one of the players did a 3-3 invasion within the first 10 moves of the game.
3
u/evanroberts85 1k Oct 19 '17
Yea, Zero always opened with star points too. Either they lowered the random variable, so it will always pick the 50.1% move over the 49.9% one, or Alpha go Zero has realised that the 3-4 point is pretty bad and the early invasion is a must if you want to stand a good chance of winning.
6
u/FeepingCreature Oct 19 '17
Out of interest, can anyone estimate how big the network is, in the sense of just the weights, if written to disk?
7
u/aegonbittersteel Oct 19 '17 edited Oct 19 '17
I eyeballed the network and estimated number of parameters in my head. Seems like around 23 million parameters which isn't all that much as deep nets go. (Apologies if that estimate is wrong)
EDIT: Totally estimated wrong the first time. Fixed.
EDIT 2: That's approximately 90 MB.
1
u/picardythird 5k Oct 19 '17
"The network" is just an algorithm; if it isn't running, it might occupy a few kB of data. However, its strength comes from what happens when you run it; I can't possibly speculate on what kind of processing and memory resources it would require, since I don't know the specifications of the Google TPU, but at a guess I would throw out maybe 40 high-end GPU's worth of processing, and perhaps 128 GB of memory.
5
u/TheOsuConspiracy Oct 19 '17
if it isn't running, it might occupy a few kB of data
Naw bro, you're off by a few orders of magnitude.
24
10
u/kimitsu_desu 1 kyu Oct 18 '17
I imagine Michael be like holy cow, plz Nihon kiin I need a vacation for a couple of months brb
5
u/Tiranasta 6 kyu Oct 19 '17
Now I want to know what happens if they let it keep self-improving for another year.
2
u/iinaytanii 6k Oct 19 '17
Probably not much better than where it is now. The system is going to have upper bounds. If you look at this graph you can see it's ELO rating starts plateauing pretty fast. They probably stopped when they did for a reason. Throughout AlphaGo's version progression they have been changing how the program functions. Just training more has diminishing returns.
4
u/KapteeniJ 3d Oct 19 '17
It doesn't plateau though. It seems to follow logarithmic growth pattern, which would imply it would get additional 2000-4000 Elo points with a year worth of training.
Humans are stuck at 3000 Elo points, just for comparison.
8
13
u/spaceandgames 2d Oct 18 '17
This is an interpretation:
The reason it's stronger is because of the architectural improvements. Not because it's starting from random play instead of human-inspired play.
The new version actually plays a more humanlike opening than before (e.g. it no longer plays lots of contact moves).
This could be viewed as independent confirmation of opening theory. Humans developed certain openings, and a seemingly independent AI developed very similar openings, so those openings probably reflect something inherent in Go more than they reflect vicissitudes of fashion.
AlphaGo no longer uses MCTS. MCTS might have been the cause of some of those weird plays.
0
Oct 18 '17
[deleted]
2
u/spaceandgames 2d Oct 18 '17
AlphaGo Zero uses a single network for both policy and value. That's an architectural change. Did Master already have this?
1
0
Oct 18 '17
[deleted]
2
u/a_dog_named_bob 2k Oct 18 '17
I'm not seeing how it still wouldn't count as an architectural change.
6
u/dmwit 2k Oct 19 '17
It's a change from the AlphaGo that beat Lee Sedol, but it's not a change from the AlphaGo that powered Master.
1
u/KapteeniJ 3d Oct 19 '17
The claim that Master uses the same architecture, but with go-specific inputs and a supervised bootstrap, and ended up 300 Elo weaker disproves this.
It had massive changes compared to the Master version.
2
Oct 19 '17
I pointed out the differences that are mentioned in the paper, so I have no idea where you got that from.
6
u/IsuckatGo Oct 18 '17
https://www.nature.com/nature/journal/v550/n7676/extref/nature24270-s2.zip
Here are self play games and zero vs lee and zero vs master games.
8
u/Freact 10k Oct 19 '17
This has been said many times but.... They NEED to release at least the final network to the public. The go community could learn so much from this by being able to play through games against it, swapping side, undoing, etc. It would be an amazing learning resource. On top of that I'm sure that people would be willing to pay a lot for access to this. I can't understand why they won't release it.
6
u/iinaytanii 6k Oct 19 '17
The TPU they use to power AlphaGo is custom hardware, you couldn't run it. It would not be trivial to rewrite it to work on consumer GPUs.
The papers they release actually do a pretty good job of saying how they accomplished AlphaGo and because of those papers there has been a huge leap in consumer go software. 8dan free engines are available, strong pro private engines are out there. Give them another year or two and they'll catch up to AG.
In the end though Deepmind is an AI company, not a go company. I'm very thankful for what they have done for the go community but I wouldn't say they NEED to do anything else.
1
u/yes4me2 Oct 22 '17
Google didn't pay millions to their workers to release their own product for free. Try to make a game for any phone, and you tell me if you want to give it away for free.
1
u/Freact 10k Oct 22 '17
I mean... I pointed out right in my comment that I believe people would be willing to pay alot for this kind of access
0
Oct 19 '17
[deleted]
7
u/Freact 10k Oct 19 '17
I'm not sure I agree with this assessment. What we as go players want is the finished product. The trained network. What other ai researchers/competitors want is not a good go player. It's powerful algorithms for training ai. The trained network need not reveal much information about how the network was trained. Analyzing neural nets to determine what/how they do is still a very difficult task. Not to mention that Google has released their methods anyways, so potential competitors should be able to duplicate most of the work. Go enthusiasts however can not, because of the time, resource, and knowledge requirements. None of these things are a barrier to their competition though. Hence my confusion.
2
u/TheOsuConspiracy Oct 19 '17
The networks only run on their TPUs. They could probably get a version that would run on consumer GPUs, but that's an investment that they likely don't care to make.
2
u/KapteeniJ 3d Oct 19 '17
At least what they've told, they wouldn't mind releasing it, but they use lots of technology in AlphaGo which they do not own themselves, and are only licensing, and as such, releasing it is a massive legal hassle.
3
5
u/autotldr Oct 18 '17
This is the best tl;dr I could make, original reduced by 72%. (I'm a bot)
In each iteration, the performance of the system improves by a small amount, and the quality of the self-play games increases, leading to more and more accurate neural networks and ever stronger versions of AlphaGo Zero.
AlphaGo Zero only uses the black and white stones from the Go board as its input, whereas previous versions of AlphaGo included a small number of hand-engineered features.
Earlier versions of AlphaGo used a "Policy network" to select the next move to play and a "Value network" to predict the winner of the game from each position.
Extended Summary | FAQ | Feedback | Top keywords: AlphaGo#1 network#2 version#3 game#4 more#5
5
5
2
u/wefolas Oct 19 '17
Sorry, haven't been following much. Have addressed whether komi should be different or whether AlphaGo has a strong preference for white?
4
Oct 19 '17
why is this all people care about. 7.5 komi gives humans even games under chinese rules. 6.5 komi gives humans even games under japanese rules. the answer is, komi shouldn't be different because we already have a great human komi.
2
u/KapteeniJ 3d Oct 19 '17
Even before AlphaGo, top pros were worried because 6.5 komi seemed too much and white was favored color in professional games. AlphaGo is just confirming that it's not just some human fad and 6.5 really is too much.
1
u/wefolas Oct 19 '17
That sounds as silly as saying human joseki or fuseki was good enough while Alphago’s invading 3-3 on move 6 and would rather crawl an extra time on second line than hane underneath.
Actually it does make me wonder, since zero is from scratch whether it still eases up with victory secured or picks best move since that could also be dependent on Komi.
3
u/evanroberts85 1k Oct 18 '17
The key trick is to use the neural network rather than pure random moves for the MCTS, something I am sure was discussed before as the way forward on the go AI mailing list. Making this fast and efficient enough is impressive though, once done I can see why reinforcement learning can achieve quick results. This version is in many ways very simple, but will be hard to copy.
2
u/KapteeniJ 3d Oct 19 '17
No AlphaGo version had random moves for the MCTS. I'm not sure if bots that use random moves for MCTS could get beyond 1d level.
1
u/ClawsNGloves Oct 19 '17
So is Alphago zero the version that Ke Jie played?
4
u/Tiranasta 6 kyu Oct 19 '17 edited Oct 19 '17
No, that's AlphaGo Master. The paper on AlphaGo Zero claims that Zero is just over 300 ELO stronger than Master was.
However, the algorithms used by Zero are apparently the same as those used by Master. The difference comes from Zero having learned entirely from self-play, while Master initially learned from human games.
1
1
u/vdavid Oct 19 '17
Can someone explain what breakthrough made it possible to create Alpha Go Zero now but not last year? I mean, Google's engineers probably wouldn't have bothered collecting millions of past human games if just having it play against itself for 3 days was an option.
8
u/xorandor 4 kyu Oct 19 '17
You’re vastly overstating the effort required to collect amateur game records. The script to collect all the games takes less than an hour to write, heck, I wrote one to download all the game records for any given KGS player in less than half an hour.
The big breakthrough is insight. Through building the different versions of AlphaGo, the researchers gained valuable insight which improved their algorithm. Sometimes, it takes building your “failures” before you can get to build your successful implementation.
1
u/KapteeniJ 3d Oct 19 '17
They pressed a button at KGS to download their game archives, then wrote one-line script to filter out games where one player had below 5d rating, then fed the remaining games to the computer. That's a couple of minutes of work to bootstart your AI learning process.
1
1
78
u/[deleted] Oct 18 '17
http://www.alphago-games.com/
For online SGF viewer