News for hackers. Stuff that matters.
Re:Deep Mind Playing Montezuma's Revenge with Intrinsic Moti... by folli on Wednesday June 08, 2016 @11:02AM (#11862681)
Is it really true that Montezuma's Revenge is more challenging for DeepMind than Go, as they mention in the article?
Re:Deep Mind Playing Montezuma's Revenge with Intrinsic Moti... by gwern on Wednesday June 08, 2016 @12:19PM (#11863317)
Since Deepmind hasn't beaten Montezuma's Revenge yet, and has been cracking away at it along with a number of other researchers for years, empirically, the answer would seem to be yes.

(I know the article says that it's been beaten, but it's wrong: it's improving over DQN by being able to explore 15 rooms rather than 2 rooms, but it hasn't cleared the first level, much less the whole game. An interesting breakthrough in how to define novelty in the ALE but not something as striking as AlphaGo.)

Re:Deep Mind Playing Montezuma's Revenge with Intrinsic Moti... by kastnerkyle on Wednesday June 08, 2016 @12:37PM (#11863497)
Montezuma's Revenge, Castle Wolfenstein (not the shooter), and puzzle games in general have a problem of long term credit assignment and sparse reward. This "intrinsic reward" approach form the paper, based on pseudo counts seems to be one way to get an intermediate reward which helps the model learn toward an overall goal (winning/progress) which happens rarely. The previous best work had to pre-define the intrinsic rewards as I understand it [0], and DeepMind has been tracking this general problem for a while [1] along with a whole bunch of earlier work from the 70s/80s/90s (cited in the background of this new paper).

Credit assignment in a nutshell is "what actions helped me get reward"? For action games this is fairly easy - there are only a few moves between rewards. For puzzlers, something like left, up, right, up, left, left, left, left, up, up could get a reward. We can see there is a cycle in there which is probably not necessary, but maybe this was a much longer path than the ideal as well. Deciding which moves should get credit is a hard problem, but an important one. [2]

If you look at the results of the original DQN paper [3] you will see the games they fared best were ones where there were frequent rewards (e.g. Breakout). Things that are puzzle-like (such as Q-Bert) fared much worse versus human benchmarks, whereas action games like Breakout (which is fully observable given 4 frame context IIRC) were generally better than the human benchmark.

This paper seems to be a big step toward deep RL for more than just short term decisions and a huge jump towards goal oriented planning.

[0] Kulkarni et. al https://arxiv.org/abs/1604.06057

[1] Mohamed, Rezende https://arxiv.org/pdf/1509.08731.pdf

[2] http://www.scholarpedia.org/article/Reinforcement_learning#....

[3] Nature results are better but paywalled :/ NIPS paper here https://www.cs.toronto.edu/~vmnih/docs/dqn.pdf . http://www.nature.com/nature/journal/v518/n7540/abs/nature14... - Figure 3

Re:Deep Mind Playing Montezuma's Revenge with Intrinsic Moti... by bytefactory on Wednesday June 08, 2016 @02:20PM (#11864337)
Thank you, that was an excellent summary!

On a somewhat related note, it seems clear that AI research and breakthroughs are occurring at breakneck speed. I wish there was a place where you could see expert commentary like your in layman terms on interesting or important papers that stand out.

Re:Deep Mind Playing Montezuma's Revenge with Intrinsic Moti... by argonaut on Wednesday June 08, 2016 @02:39PM (#11864493)
The reddit r/machinelearning subreddit has generally higher quality technical discussion than HN, although kastnerkyle's comment is really great.
Re:Deep Mind Playing Montezuma's Revenge with Intrinsic Moti... by IanCal on Thursday June 09, 2016 @06:27AM (#11868497)
I'd be surprised if it isn't, in many ways. Go is highly different from our normal reality so we have to learn how a series of very specific rules interact with each other and learn useful patterns.

Games like Montezuma's Revenge allow us to re-use huge amounts of already known information. We recognise there's a little person, and that's who we're controlling. We have expectations around what a jump might mean and that we probably shouldn't touch the skulls. We expect that moving off the screen to the next room then back goes to the first screen again. The game, in many ways, acts similarly to our normal reality (object persistence, motion, etc). We know we want to survive. We can even read the text on the screen and focus on increasing the numbers.

The AI has just has pixel values, and none of this information. It doesn't know about jumping, reality or skulls. It has a grayscale 42x42 view of something and is given a few ways of poking this world.

Edit - Perhaps another way of looking at it is this:

In go, you have 19x19 positions which can be in one of just 3 states. You must choose a move to make out of a large number of possibilities. This is repeated and the world changes very slowly.

In this game, you have 42x42 positions which can each be in a much larger number of possible states (somewhere between 8 and 128 I think). You have only a few possible moves but the world changes rapidly and sometimes completely. The interactions between the way the world changes in response to your actions are significantly more complicated.

Re:Deep Mind Playing Montezuma's Revenge with Intrinsic Moti... by schoen on Thursday June 09, 2016 @12:40PM (#11870529)
One thing is that for this kind of research, the goal seems to be "learn to play a game from scratch without any prior knowledge of the rules, physics, map, etc.". If you just wanted an AI that could beat Montezuma's Revenge, you could probably write one quite easily by giving it explicit knowledge of physics, hazards, goals, and strategy.

For example, last year an AI beat NetHack (an incredibly complicated game that I think gamers can agree is "harder" than Montezuma's Revenge, although it's turn-based rather than real-time) for the first time. But the NetHack-winning AI didn't learn to play NetHack like a human would, and the prospect of that is incredibly remote.

Instead, the NetHack AI was hard-coded full of extremely detailed domain knowledge about NetHack items, maps, commands, monsters, goals, etc., and used search strategies to explore the dungeon and perform specified tasks given that knowledge. So it was barely doing any learning at all (although the dungeon map, starting inventory, and item descriptions are randomized on every play, so it did have to learn those things each time, and had explicit strategies for doing so).

The from-scratch success at video games is what most impressed people about DeepMind's original work; they were able to beat a whole lot of Atari games without telling the AI how to play. But if you see the level of complexity of those Atari games, writing an AI to play them would not have been such an impressive feat in itself. Although Montezuma's Revenge is a lot more complicated than something like Breakout, I think exactly the same consideration applies here. A computer could easily be the best Montezuma's Revenge player in the world already, but getting it there without encoding knowledge of the game calls for substantive new research.

Re:Deep Mind Playing Montezuma's Revenge with Intrinsic Moti... by tensor on Wednesday June 08, 2016 @11:17AM (#11862794)
Isn't DeepMind just an umbrella term like Watson? I would guess that AlphaGo and the software that learns games like this are distinct.
Re:Deep Mind Playing Montezuma's Revenge with Intrinsic Moti... by nschucher on Wednesday June 08, 2016 @11:24AM (#11862840)
DeepMind is the name of an AI company that was acquired by Google.

https://deepmind.com/

AlphaGo is the program that beat Go. These game playing algorithms are variations of Deep Q Learning Reinforcement Learning algos.

Re:Deep Mind Playing Montezuma's Revenge with Intrinsic Moti... by sehugg on Wednesday June 08, 2016 @11:54AM (#11863070)
And here's the related paper, "Unifying Count-Based Exploration and Intrinsic Motivation": https://arxiv.org/abs/1606.01868

Tech journalism isn't at its best when it can't distinguish between WOPR and a team of researchers.

Re:Deep Mind Playing Montezuma's Revenge with Intrinsic Moti... by mafribe on Wednesday June 08, 2016 @02:58PM (#11864662)
DeepMind's main intellectual property, the reason why it was acquired, was DeepMind's reinforcement algorithm. The present paper, like the work on AlphaGo, is about improving this reinforcement algorithm.
Re:Deep Mind Playing Montezuma's Revenge with Intrinsic Moti... by clickok on Wednesday June 08, 2016 @03:19PM (#11864827)
I don't believe that's the case. The Atari results were achieved via Q-Learning with neural networks (DQN stands for Deep Q-Networks), both of which have been around for decades. The basic algorithm is something you can implement yourself fairly easily, but (as with most things involving neural nets) getting it to really perform takes a bit of expertise.

So, DeepMind's greatest asset is they employ some really excellent people and have a substantial head start in terms of actually implementing AIs and getting them to work.

Re:Deep Mind Playing Montezuma's Revenge with Intrinsic Moti... by argonaut on Wednesday June 08, 2016 @02:40PM (#11864504)
To be fair, DeepMind spent 2 years with millions of resources and a whole team of researchers and programmers on Go. I'm pretty sure they could solve Montezuma's Revenge in less than a year with the same resources (but there's no need to).