MAMEWorld >> EmuChat
Index   Flat Mode Flat  

Bryan Ischo
MAME Fan
Reged: 03/28/10
Posts: 358
Send PM
Re: AWESOME paper on beating Super Mario A.I. with RAM analysis
04/22/13 09:53 PM


> http://www.geek.com/games/computer-program-learns-to-play-classic-nes-games-1552024/

It's not as cool as it sounds. To boil it down to the most basic features, the author has created a program that:

a) Evaluates the entire 2048 byte chunk of memory of an NES system without any actual understanding of what any of it means, only that some values can be seen to go "up", and "up is good".

b) Runs through an emulator, trying random inputs and finding the sequence of inputs that increases the memory locations for which it was already determined that "up is good" the most

c) Uses some modicom of smart heuristics to reduce the search space (instead of trying all 256 possible input combinations every frame, have a better algorithm for only evaluating those inputs that are most likely to be good)

d) Uses some other mechanisms that I didn't read all of the details about to try to find workarounds to the inevitable shortcomings of this simplistic approach

e) After chewing for a long time comes up with an input sequence that was able to raise the important memory location values the most

It's not a sophisticated A.I. by any stretch of the imagination. It's a simple search function with some tricks to try to make it more effective, combined with a novel (although fairly simplistic) mechanism for evaluating the search function (i.e. trying to find values in memory that can consistently be made to increase).

It takes an hour of CPU computation just to output the inputs for 16 seconds of gameplay. It cannot play the game real time. Furthermore, the program doesn't actually "exploit bugs in the game", in the sense of knowing about them and anticipating and using them. If a random input sequence at a specific moment of the game happened to result in Mario surviving due to a game bug, then so be it. The A.I. will not use that information to help it plan a future move.

Additionally, the author somewhat self-aggrandizes the program with the long "white paper" title and his video. And the white paper itself is more like an informal email describing what he did and then put into the shape of a white paper, than an actual white paper meant to be taken seriously. I've never seen a white paper use the term "horse shit" before (nor the dozens of other informalities it also uses), for example.







Entire thread
Subject Posted by Posted on
* AWESOME paper on beating Super Mario A.I. with RAM analysis italieAdministrator 04/15/13 02:07 AM
. * Re: AWESOME paper on beating Super Mario A.I. with RAM analysis Bryan Ischo  04/22/13 09:53 PM
. * Okay Debbi Downer... italieAdministrator  04/23/13 02:11 AM
. * Re: Okay Debbi Downer... Bryan Ischo  04/23/13 02:27 AM
. * Re: Okay Debbi Downer... DMala  04/23/13 07:27 AM
. * Re: Okay Debbi Downer... Bryan Ischo  04/23/13 08:36 AM
. * Re: Okay Debbi Downer... Anonymous  04/25/13 04:53 PM
. * Re: Okay Debbi Downer... R. Belmont  04/23/13 08:05 PM
. * Re: Okay Debbi Downer... RetroRepair  04/25/13 03:06 AM
. * Re: Okay Debbi Downer... DMala  04/25/13 06:26 AM
. * Re: Okay Debbi Downer... Tomu Breidah  04/23/13 05:00 AM
. * Re: AWESOME paper on beating Super Mario A.I. with RAM analysis DMala  04/15/13 05:10 AM
. * Re: AWESOME paper on beating Super Mario A.I. with RAM analysis R. Belmont  04/15/13 06:14 PM
. * Neat try, but not really comparable. Firehawke  04/16/13 04:40 AM
. * Re: Neat try, but not really comparable. Anonymous  04/22/13 12:01 PM
. * Re: Neat try, but not really comparable. GatKong  04/23/13 08:38 PM
. * Re: Neat try, but not really comparable. Bryan Ischo  04/24/13 09:50 PM
. * Re: Neat try, but not really comparable. Anonymous  04/30/13 07:45 PM
. * Re: Neat try, but not really comparable. Olivier Galibert  04/30/13 03:23 PM
. * Re: Neat try, but not really comparable. Anonymous  04/28/13 12:34 PM
. * Re: Neat try, but not really comparable. R. Belmont  04/25/13 04:52 PM
. * Re: Neat try, but not really comparable. Vas Crabb  04/26/13 03:31 AM
. * Re: Neat try, but not really comparable. Anonymous  04/28/13 12:37 PM
. * Re: Neat try, but not really comparable. italieAdministrator  04/28/13 03:55 PM
. * Re: Neat try, but not really comparable. Anonymous  04/29/13 04:12 PM
. * Re: Neat try, but not really comparable. R. Belmont  04/29/13 05:07 PM
. * Re: Neat try, but not really comparable. Anonymous  04/29/13 06:23 PM
. * Re: Neat try, but not really comparable. Vas Crabb  04/29/13 07:26 PM
. * Re: Neat try, but not really comparable. Anonymous  04/30/13 03:30 PM
. * Re: AWESOME paper on beating Super Mario A.I. with RAM analysis StilettoAdministrator  04/15/13 08:25 PM
. * Re: AWESOME paper on beating Super Mario A.I. with RAM analysis Anonymous  04/15/13 11:16 PM
. * Re: AWESOME paper on beating Super Mario A.I. with RAM analysis StilettoAdministrator  04/15/13 11:27 PM
. * Re: AWESOME paper on beating Super Mario A.I. with RAM analysis R. Belmont  04/16/13 05:28 PM
. * Re: AWESOME paper on beating Super Mario A.I. with RAM analysis Tomu Breidah  04/15/13 04:26 AM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
1 registered and 95 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2717