Watch an AI teach itself to drive in ‘GTA V’ on Twitch

While automakers are still negotiating with local and state governments to let autonomous cars test drive on open streets, one programmer has found a more accessible proving ground to teach AI how to be a motorist: Grand Theft Auto V. It’s not the first time folks have used the game to train their self-driving vehicles — but you can watch this one learn in real-time on Twitch. One warning: If you’re expecting a graceful, law-abiding AI driver…don’t.

Programmer Harrison ‘Sentdex’ Kinsley created the AI (or “convolutional neural network”), named it Charles, and set it loose in the game to teach itself through deep learning. While that sounds advanced, so far Charles hasn’t quite mastered avoiding collisions with cars, dividers, signs and people. If this AI hit the road today, it would have some real-life police after it quickly — so long as it didn’t hurl itself into the water first (a frequent fate on the livestream).

As Kinsley describes in the Twitch description, Charles “learns and takes all actions based on single frames at a time, and bases his decisions on just pixel data. Charles only sees exactly what you see.” In other words, what a self-driving car would “see” if it just relied on cameras on real roads. What the AI can’t do yet is remember: Kinsley didn’t program in memory, forcing it to make split-second decisions one frame at a time, like so.

If you want to get into the nitty gritty, Kinsley documented his multi-part process building Charles in Python. Whether this AI becomes a better driver and validates educating neural networks through simulation, at least we can chuckle that even machines have trouble driving these games.

Via: Rock Paper Shotgun, Prosthetic Knowledge

Source: Twitch

Engadget RSS Feed

Post Author: martin

Martin is an enthusiastic programmer, a webdeveloper and a young entrepreneur. He is intereted into computers for a long time. In the age of 10 he has programmed his first website and since then he has been working on web technologies until now. He is the Founder and Editor-in-Chief of BriefNews.eu and PCHealthBoost.info Online Magazines. His colleagues appreciate him as a passionate workhorse, a fan of new technologies, an eternal optimist and a dreamer, but especially the soul of the team for whom he can do anything in the world.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.