MarI/O - Machine Learning for Video Games

Channel:SethBling · Length:5:57 · Published:2015-06-13 · Views:11526892

Watch on YouTube

Summary

SethBling shows MarI/O, a program using neural networks and the NEAT genetic algorithm to learn to play Super Mario World. The description links the source code, the paper and background reading.

Why HN recommends it

The go-to accessible introduction to neuroevolution and NEAT, praised for crediting prior research.

his brief videos give a really nice introduction to the topic that should be accessible to most people — HN, 2015

Machine learning & deep learning · Speedrunning, glitches & game hacking

Subtitles (excerpt)

Welcome back. Seeing here. You're watching a skilled player play Super Mario World. But this player is not human. It's a computer program I wrote called Mario. This program started out knowing absolutely nothing about Super Mario World or Super Nintendo's. In fact, it didn't even know that pressing right on the controller would make the player go towards the end of the level. It learned all of these things through a process called neuroeolution. In this video, I want to teach you about how Mario learned to beat this level. Donut Plains 1. what his brain looks like and how it's all based on actual biological evolution. So, let's start out by actually looking at Mario's brain. Let's play it again, but this time we'll look at Mario's brain as it's making the decisions of what buttons to press. It's going to look a bit complicated at first, but don't worry, I'll help break it down for you. This structure of colored lines and blinking boxes is called a neural network. It's a simple mathematical model for how a brain works, but it can produce some very complicated behavior. With enough computational power, a neural network could come close to simulating a real human brain, but modern technology isn't there yet.

On Hacker News

Here is my favorite introduction to NEAT: SethBling's MarI/O - Machine Learning for Video Games [VIDEO] — andai, 2025-06
I'm a novice at machine learning, but Open AI made a python library for reinforcement learning in video games, and a fork of it is still actively maintained [1]. It's been a few years, but I remember being able to get it up and running in a day or two (maybe a weekend). It used the Retroarch emulator, which is compatible with a huge number of emulators and consoles. [LINK] There also SethBling's … — dberst, 2024-09
OP, Togelius, is quite wrong in 1 point at least. tl;dr Seth Bling directly references NEAT and his links[Show More [1]] link to 2 Togelius papers[13][14] among many others ! To wit, in OP, Togelius mentions Seth Bling's MarI/O[1] as lacking scholarship because he didn't mention Togelius: " seen as research, it is atrocious because of the complete lack of scholarship. The guy didn't even know he … — deepnet, 2018-04
The genetic programming scene kind of evolved into NEAT, HyperNEAT and ES-HyperNEAT as a meta learning concept. Connections between layers/nodes are serialized as genes of agents with phenotypes and dominant/recessive markers, and an observing CPPN learns to categorize agents into different traits to find more efficient breeding mechanisms. It's a strong concept, and AFAIK it's still used a lot i… — cookiengineer, 2023-08
If a human brain doesn’t use maths, what does it use? It’s Magic? > "training", more accurately described as references Uh, no, that's not at all how the training process works. The training process very roughly mirrors evolution/natural selection except more more direct and faster. This is a good introduction to the concept of how a computer could learn: [VIDEO] This is a more technical look at … — circuit10, 2023-04

Related videos