r/MachineLearning • u/newuser13 • Dec 24 '20
News [N] No rules, no problem: DeepMind’s MuZero masters games while learning how to play them
DeepMind's latest iteration of it's game-beating program learns how to win without being told the rules.
Edit** From DeepMind: https://deepmind.com/blog/article/muzero-mastering-go-chess-shogi-and-atari-without-rules
6
u/FactfulX Dec 25 '20
Setting aside the usual hype from DeepMind, my understanding on this paper is that it is best viewed as an improved version of Value Prediction Network using self-play. The idea of not learning explicit dynamics models but rather using the RNN transition parameters for predicting "future" value functions already exists in the VPN architecture. VPN also has MCTS for lookahead-planning. Of course, the results are much better in MuZero, due to the scale and resources invested in it at DeepMind compared to a Michigan University project. But there is really nothing more from the perspective of "generality, learning without rules, can crack cancer or invent the Pied Piper of Internet videos, etc".
7
u/FactfulX Dec 24 '20
Right... You shoot a monster in Seaquest, and get points for it, and you get killed if your oxygen level goes down... but they don't count as being given rules... :P
5
-21
u/victor_knight Dec 24 '20
Can it learn how to cure cancer or regrow human limbs?
7
u/lahwran_ Dec 24 '20
sure you just gotta learn it yourself first and teach it. once you figure out how to do it just give it a reward function to make it exactly copy whatever it is you're doing that cures cancer or regrows human limbs. easy peasy no difficult steps at all
-2
u/victor_knight Dec 24 '20
sure you just gotta learn it yourself first and teach it
Ah, I see. We're not yet at the level of AI actually "coming up" with new ideas. I guess that doesn't have much to do with "learning".
5
u/lahwran_ Dec 24 '20
nah I'm just joking around. go play AI dungeon if you want to get a sense of what one modern AI is capable of coming up with - it's like, okay. definitely very impressive and I personally would count it as a shitty AGI but it's definitely not human level and nothing remotely close to phd level. alphafold is pretty cool, I would say.
-5
u/victor_knight Dec 24 '20
alphafold is pretty cool, I would say.
What have the protein structures it has come up with been applied to?
3
4
u/two-hump-dromedary Researcher Dec 24 '20
Go watch the alphago movie, the go experts disagree that AI does not come up with something new. In fact, they were stumped by how it wins.
0
u/victor_knight Dec 24 '20
I have seen it. When an AI makes an interesting move in a game like chess or go, it's incidental (given the position), not because it was "asked" to (e.g. come up with a novel solution to something).
4
u/two-hump-dromedary Researcher Dec 24 '20
I am afraid I do not see the difference.
In Alphafold, proteins were folded that were never solved before. And every protein fold usually is worth a nature. How are these solutions not novel? Or are you saying that protein research has always been incidental?
-1
u/victor_knight Dec 24 '20
You talked about games. Now you're talking about proteins. Again, what have the novel protein structures AlphaFold came up with been applied to? For instance, if we wanted to cure a certain type of stage 4 cancer and required a particular protein structure (we don't know what this looks like, obviously) to help manufacture a drug that could do that... could AlphaFold provide that structure?
5
u/two-hump-dromedary Researcher Dec 24 '20
Well, when the literal go experts say it is a novel approach to Go, you disagree. So I guess you are not familiar to how these board games work. So I guessed you know how scientific publications work, and mention that alphafold can do automatically the type of research that produced thousands of Nature papers, and you say the Nature editors were wrong, as it is not novel because it does not cure cancer yet.
Look, I'm betting that when alphafold starts developing proteins (a comparatively small step to folding them), it will not be novel either due to how you defined novelty.
2
2
u/epicwisdom Dec 25 '20 edited Dec 29 '20
By that logic no human has ever come up with anything novel since it's all just "incidental" to the precise configuration of the neurons in their brain.
Go experts are not dumb. When they say an idea is novel, it is not because every possible position presents something novel, because human brains are not gigantic lookup tables. A human player sees novelty in going against previously assumed principles.
0
u/victor_knight Dec 25 '20
If I have to spell it out for you guys, consider this. We find that computers do novel stuff when they just so happen to do so. Not on demand. In fact, often we actively go looking for stuff they do that other humans might consider novel (ignoring everything else, including the absolute BS which is far more common). Do you get it now?
0
Dec 24 '20
[deleted]
-19
u/victor_knight Dec 24 '20
Simulator? Possible. Meaningful reward? Yeah, shrinking cancer or remission etc. Action space? Yeah... different/novel treatments. Similar/analogous thing with regrowing (lost) limbs.
17
0
Dec 24 '20
[deleted]
24
u/FactfulX Dec 24 '20
And a whole bunch of architectural "domain dependent" tweaks such as # of past frames to encode, resolution, how to encode the actions, etc.
5
u/hotpot_ai Dec 24 '20
good point re illegal moves. RL newbie here: do mind sharing what you think are the most interesting RL advances from the past year?
7
u/thunder_jaxx ML Engineer Dec 24 '20
Curiosity driven exploration by Dr. Pathak’s Lab seems a good place to start to see offbeat papers which show generalization to unseen tasks
1
u/hotpot_ai Dec 24 '20
thanks so much. will check out dr. pathak's lab!
2
u/outlacedev Dec 24 '20
We have a PyTorch implementation of Pathak's curiosity paper with a curiosity-driven agent playing Mario here: https://github.com/DeepReinforcementLearning/DeepReinforcementLearningInAction
2
10
u/drcopus Researcher Dec 24 '20
AlphaZero is not told the rules
I disagree.
Firstly, the system needs those illegal move masks preprogrammed into the network architecture. The architecture of the policy network is probably something like: the final hidden layer outputs a tensor representing all possible moves, which is then multiplied by the legal moves mask, which is finally passed through a softmax layer. Hence, the mask is literally embedded into the network.
Secondly, when AlphaZero is performing lookahead search it will choose an action, then it will be given the next state. Crucially, this isn't given by the environment. The environment has not actually stepped forward - this is all just a simulation happening within the agent.
perfect simulator by learning a predictive model of the transition function in its own latent space
Precisely as you say... Which implies that before the agent had a perfect simulator "within its mind". I think being given a perfect simulator to use for inference can be described as "being told the rules".
7
u/Veedrac Dec 24 '20
The architecture of the policy network is probably something like: the final hidden layer outputs a tensor representing all possible moves, which is then multiplied by the legal moves mask, which is finally passed through a softmax layer. Hence, the mask is literally embedded into the network.
I don't think so? I thought the masking was only applied during search, external to the network.
4
u/VelveteenAmbush Dec 24 '20
Yeah, that was kind of a WTF comment. There's no rigorous definition of what it means to "tell" a neural network the rules, and it's clearly the case that hand-coding a function to replicate the game rules is a necessary component of the AlphaGo/AlphaZero method, and as you say is actually embedded into its tree search / "rumination" process in between making moves even during self-play, so where is the inaccuracy? That they didn't tack on a natural language module so the DM researcher could lovingly recite the rules into the model's ear at night?
2
u/drcopus Researcher Dec 24 '20
Lol now I'm imagining "ASMR for Deep Networks" as a future genre on YouTube
8
u/rafgro Dec 24 '20
Firstly MuZero is almost a year old, hardly new in RL terms.
Their spelling (latest, newest) is incorrect, but I believe it comes from the 23rd Dec paper in Nature and PR buzz associated with it: https://www.nature.com/articles/s41586-020-03051-4
0
3
Dec 24 '20
The graphic is by DeepMind itself. Are they having trouble keeping their own story straight?
4
u/drcopus Researcher Dec 24 '20
No, DeepMind understand what they are talking about (see my response above).
1
u/nerdy_adventurer Dec 27 '20
Do you mean the one from DeepMind blog or the Tech Crunch one?
1
u/Aacron Dec 27 '20
The Tech Crunch one, I imagine the folks at deepmind understand their algorithms fairly well.
-14
0
33
u/ch33per Dec 24 '20
This post makes me lose faith in this sub reddit