Slashdot Mirror


Grand Theft Auto V Is Being Used To Help Teach Self-Driving Cars (bloomberg.com)

An anonymous reader quotes Bloomberg: In the race to the autonomous revolution, developers have realized there aren't enough hours in a day to clock the real-world miles needed to teach cars how to drive themselves. Which is why Grand Theft Auto V is in the mix... Last year, scientists from Darmstadt University of Technology in Germany and Intel Labs developed a way to pull visual information from Grand Theft Auto V. Now some researchers are deriving algorithms from GTAV software that's been tweaked for use in the burgeoning self-driving sector. The latest in the franchise from publisher Rockstar Games Inc. is just about as good as reality, with 262 types of vehicles, more than 1,000 different unpredictable pedestrians and animals, 14 weather conditions and countless bridges, traffic signals, tunnels and intersections...

The idea isn't that the highways and byways of the fictional city of Los Santos would ever be a substitute for bona fide asphalt. But the game "is the richest virtual environment that we could extract data from," said Alain Kornhauser, a Princeton University professor of operations research and financial engineering who advises the Princeton Autonomous Vehicle Engineering team.

57 comments

  1. Hmmmm Maybe Not? by Anonymous Coward · · Score: 0

    Hmmm. Maybe not that one. Maybe don't teach your AI with simulations that include the option of going on a shooting spree?

    1. Re:Hmmmm Maybe Not? by HornWumpus · · Score: 1

      Hard reverse and hard right when a cop walks up to your door to give you a ticket! Then burn off over his body.

      --
      John McAfee 'It was like that time I hired that Bangkok prostitute; to do my taxes, while I fucked my accountant'
    2. Re:Hmmmm Maybe Not? by Anonymous Coward · · Score: 0

      Out. Burn out.

    3. Re: Hmmmm Maybe Not? by Anonymous Coward · · Score: 0

      GTA V has this issue that wasn't seen in 3-4. Cars just randomly appear or disappear where the player can see it. Sometimes it happens right in front of you. What happened? Why is GTA 3 more realistic than 5 when it comes to traffic?

    4. Re: Hmmmm Maybe Not? by Type44Q · · Score: 1

      Burn off what? Your ball hairs?

    5. Re:Hmmmm Maybe Not? by azrael29a · · Score: 1

      And then, it will do a drive-by shooting of a competing gang,

    6. Re:Hmmmm Maybe Not? by Anonymous Coward · · Score: 0

      I don't think this will be a problem. The car won't be given guns. It'll just run over hookers and collect their money.

    7. Re:Hmmmm Maybe Not? by azrael29a · · Score: 1

      And don't forget the "Gouranga!" bonus!

    8. Re: Hmmmm Maybe Not? by Anonymous Coward · · Score: 0

      Not only will it run over hookers and take their money, for some strange reason it will do it several times and sit there laughing.

    9. Re:Hmmmm Maybe Not? by ChoGGi · · Score: 1

      ?
      That hasn't been a bonus since the first GTA (sadly)

    10. Re: Hmmmm Maybe Not? by easyTree · · Score: 1

      Because you've not updated your videocard since you bought GTA3?

      https://en.wikipedia.org/wiki/...

    11. Re: Hmmmm Maybe Not? by Anonymous Coward · · Score: 0

      are you a moron? a car burns fuel. have you tried typing "car burn off" into a search engine of your choice? I'm sure it'll tell you. or better yet, stand behind a truck that's flooring it and breath in the burnoff. better yet - make the world smarter and stand in front of it.

      sarcastic idiots who are wrong - the reason I read this site. i wonder how often does this figfuck tell airline pilots they're missing the gas pedal. stupid people who think they are smart are the world's clowns. more lip stickfaggot?

    12. Re: Hmmmm Maybe Not? by Anonymous Coward · · Score: 0

      You are one dumb motherfucker. Burn off gasoline or diesel creating a large cloud of burn off in the back of the car. Is that really hard to figure out?

      Yeah, sorry - it's clearly ball hairs. Sarcastic ball hairs. How the fuck is that randomness supposed to even be funny?

  2. The problem is depth perception by KalvinB · · Score: 1, Informative

    Your eyes are far better at matching light frequencies between both eyes to get the depth mapping correct. Your standard camera can only distinguish 24 bits of light frequency. At that level you get somewhat of a depth map but not a very good one.

    Lasers try to get around that limitation by using a frequency the camera can easily pick up and compare between the two images. If you could use the whole image and any frequency, you'd be a lot better off.

    That's ultimately the challenge: getting cameras that are not only incredibly sensitive to light frequency, but also very high resolution. Or they'll need to get the cameras looking around just like your eyeballs.

    In a 3D mapped world, all the depth information is 100% accurate.

    They'd need to render 48-64 bit color to emulate what might be possible in the real world to get accurate depth information.

    1. Re:The problem is depth perception by HornWumpus · · Score: 2

      Your eyes don't have enough parallax for depth perception to be that accurate in the ranges needed for driving. Each pixel does not have to be independently matched.

      Which isn't to gloss over the difficulties to 3d vision in real time. The depth perception part is solved by two meters of parallax.

      --
      John McAfee 'It was like that time I hired that Bangkok prostitute; to do my taxes, while I fucked my accountant'
    2. Re:The problem is depth perception by toastjam · · Score: 2

      Do you have any sources on light frequencies being used for depth perception? I've never heard of this before. 3d movies and vr headsets work just fine even though the displays are limited by bitdepth.

    3. Re:The problem is depth perception by R3d+M3rcury · · Score: 1

      They'd need to render 48-64 bit color to emulate what might be possible in the real world to get accurate depth information.

      Or use radar.

    4. Re:The problem is depth perception by drinkypoo · · Score: 1

      Your eyes are far better at matching light frequencies between both eyes to get the depth mapping correct. Your standard camera can only distinguish 24 bits of light frequency. At that level you get somewhat of a depth map but not a very good one.

      No. You don't get a depth map from one camera. That's not something they do.

      Lasers try to get around that limitation by using a frequency the camera can easily pick up and compare between the two images.

      LIDAR, how does it work!11!!!?/?!?1?? (hint: it doesn't use a camera)

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    5. Re:The problem is depth perception by angel'o'sphere · · Score: 1

      That is why cars use black and white for that.
      The light frequency is completely unrelated to a depth map.
      The distance of your eyes is ... facepalm.

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    6. Re: The problem is depth perception by Anonymous Coward · · Score: 0

      You can get a depth from a single camera if the object or scene is suitably lit.

    7. Re:The problem is depth perception by Hognoxious · · Score: 3, Funny

      Your eyes are far better at matching light frequencies between both eyes to get the depth mapping correct.

      Found the DeVry biology grad.

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    8. Re:The problem is depth perception by JaredOfEuropa · · Score: 1

      Not just that, the data from radar or lidar is rather different from visual information. But if they are going to train cars just on what they can see with a single cam, I have a way more fertile training ground for self driving cars: Russian dash cam vids on Youtube. Endless dangerous situations and vehicular asshattery to hone AI driver skills on.

      --
      If construction was anything like programming, an incorrectly fitted lock would bring down the entire building...
    9. Re: The problem is depth perception by drinkypoo · · Score: 1

      You can get a depth from a single camera if the object or scene is suitably lit.

      People do it with IR. But it's pretty crap, and it can be fooled by some surfaces and materials. And when you talk about what people are actually looking at doing in cars for full autonomy, it's combining normal visual cameras with lidar and radar.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    10. Re:The problem is depth perception by elfprince13 · · Score: 1

      They're almost certainly grabbing the depth buffer off the GPU in some fashion, or else this "developed a way to pull visual information from Grand Theft Auto V" wouldn't be very interesting.

    11. Re:The problem is depth perception by hazem · · Score: 1

      The probem with that is that they are most likely doing some kind of reinforcement learning. That requires not just an input, but also an ability to respond to the input, and then be scored on the response.

      A game that simulates driving like this might be an excellent way to get a baseline level of training for the AI, since it can experience many more combinations of situations in simulation than it can in real life driving.

    12. Re:The problem is depth perception by somenickname · · Score: 1

      Really what's needed is lidar. Lidar can build a 3D image that would actually be suitable to let the game AI roam around in. No one is going to do proper self driving cars without a serious lidar solution. The ones available right now (mostly Velodyne) aren't that great but, the stuff that's in the pipeline is pretty fucking amazing. You can even get doppler information out of newer lidar approaches and that's like the greatest thing since sliced bread for self driving cars.

    13. Re:The problem is depth perception by swillden · · Score: 1

      Your eyes are far better at matching light frequencies between both eyes to get the depth mapping correct. Your standard camera can only distinguish 24 bits of light frequency. At that level you get somewhat of a depth map but not a very good one.

      Waymo uses LIDAR, not visual light cameras. It gets an extremely accurate depth map, far more accurate than any human could, because LIDAR measures the time it takes light to reach the "seen" object and bounce back to the receptor.

      In a 3D mapped world, all the depth information is 100% accurate.

      Which is only slightly better than LIDAR-derived depth information.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    14. Re: The problem is depth perception by Anonymous Coward · · Score: 0

      There aren't sources because it's plain fucking wrong.

  3. Hoe by fluffernutter · · Score: 5, Funny

    So will Waymo vehicles elect to stop for prostitutes or just run them over?

    --
    Laws are rules for the court, but merely a bottom bar to hit for life. Think beyond laws in your actions always.
    1. Re: Hoe by JDevers · · Score: 1

      Oh, they will stop for them alright...

    2. Re:Hoe by R3d+M3rcury · · Score: 1

      At least I know that my autonomous vehicle will have had training on how to deal with a carjacker or with someone trying to run it off the road.

    3. Re:Hoe by 0123456 · · Score: 1

      Unfortunately, this normally means hopping onto the sidewalk and driving off at full speed with no concern about how many nuns and small children you run over.

    4. Re:Hoe by Anonymous Coward · · Score: 0

      The simulation hacks switch the game to "nonviolent mode" where there are generally less issues like this. They're not the first people to use GTAV for self driving cars.

    5. Re:Hoe by Anonymous Coward · · Score: 0

      Configurable option.

    6. Re:Hoe by Bearhouse · · Score: 1

      Depends on driving mode engaged; "Libertarian" she's probably OK, "Gangsta" or "Fundamentalist Christian" not so much

    7. Re:Hoe by ausekilis · · Score: 1

      First the former, then the latter. Free health bonus!

  4. Should we train our AI in GTA world? by idioto · · Score: 1

    This is how Sky Net, et al become cynical

    1. Re:Should we train our AI in GTA world? by Anonymous Coward · · Score: 0

      One assumes they are replacing the protagonist. In that case the world is relatively tame.

  5. It's all fun and games by phantomfive · · Score: 5, Funny

    It's all fun and games until your physical car decides to stop for hot coffee.

    --
    "First they came for the slanderers and i said nothing."
  6. remember cops are bad in that game by Joe_Dragon · · Score: 1

    remember cops are bad in that game

    1. Re:remember cops are bad in that game by grumpy_old_grandpa · · Score: 1

      So, just like in real life, in other words.

    2. Re: remember cops are bad in that game by Anonymous Coward · · Score: 0

      What? No, you play a gangster in most GTA games. GTA V has redneck gangster, black gangster and rich white gangster. You are the bad guy in these games.

  7. Based on the Waymo vs Uber Law Suit... by ytene · · Score: 1

    ... i would have said that it was far more likely that it was *Uber* that was taking "Grand Theft Auto" to heart...

  8. Cool by viperidaenz · · Score: 1

    So they're teaching their cars how to find prostitutes and avoid the cops?

  9. I read using GTA V and immediately thought of.... by Letophoro · · Score: 1
  10. Rockstar Not too Happy with this by neoRUR · · Score: 1

    It turns out that Rockstar is not so happy about them using their software with out asking first:

    http://mashable.com/2017/04/21...

      “We welcome discussions about the use of our technology to help further academic research, but it’s obviously not appropriate for corporations to take our work and use it for their own financial interests or for researchers to distribute unlicensed copies of our code as part of their work without first seeking our permission,” the company said.

  11. Title makes claim not in actual article by Anonymous Coward · · Score: 0

    Nowhere in the article is it claimed that Waymo uses GTA V in any way. Waymo uses simulators, and some academics used GTA V.

  12. I suggested training on sims to Alain a decade ago by Paul+Fernhout · · Score: 1

    I worked with Alain Kornhauser about thirty years ago, first taking his robotics course as an undergraduate, later managing his robotics lab as an employee, and then again even later (briefly) as a grad student tangentially as part of a group doing self-driving car research focused mainly on a neural networks approach. I had also been hanging around Red Whittaker's group making the first ALVAN (Autonomous Land Vehicle) around 1986 before going back to Princeton to work as an employee.

    While I did not contribute much of significance to that self-driving car group (I had other interests), I had suggested we train cars to just drive one specific route based on videos from driving that route a variety of times. I guessed that most daily commutes are just along the same route and so that could be a big win. But he dismissed that idea for some reason I'm still not sure I understand. Still think it made a lot of sense though for the resources we had at the time.

    About ten years ago I suggested he get his PAVE students to write software to drive Gran Turismo as a challenge. Not much response from him on that then though. Glad to see his is finally doing that -- although with much better game/simulation software now.

    I also suggested he could make PAVE the free and open source software hub for self-driving vehicle software to address some concerns I outlined back in 2001 in the essay to the Markle Foundation:
    http://pdfernhout.net/on-fundi...

    From the email I sent Alain in 2007-02-02:

    "Glad to read of your group's successes with the Grand Challenge. I've long thought a fun project for your students would be to write software that takes visual input from a a PlayStation 2 driving game like "Gran Turismo"
    http://en.wikipedia.org/wiki/G...
    http://www.gran-turismo.com/
    (direct via video out to video capture, or even through a camera focused on a TV) and processes that image to drive the simulation via a USB hookup into the PlayStation. Not quite the real thing (and Red Whittaker might rightfully scoff at that approach as ignoring much of the challenge of making real hardware survive in a tough environment :-) , but it is cheap, easy, and safe to do in an undergraduate lab with limited supervision. And the racing game simulators just keep getting more and more realistic. And if that challenge becomes too easy, you can then add noise to the video signal to make it harder... Or introduce lags or noise in the USB steering. And then start working on controlling ATV Off Road Fury or the the Snowmobile racing games, and so on. Or have kids write software to control one game and then give them only one day to make it work for another... Probably lots of good science and engineering and education to do there on a (relatively) small budget."

    I mentioned that idea again to him in 2011-06-18 when I was looking for jobs:

    "Or maybe you need someone to do more work on cars that drive themselves, which sounds like more fun? :-) Except that PAVE stuff is all student run, and good for that approach, so I can see you probably won't need someone for that. I still feel getting students interested in writing open source software to process images from the latest driving simulator games is a good (safe) project that might advance the state-of-the-art in automotive intelligence in a very positive way. :-) I'm sure it would at lead to lots of funny press though ("Students at Princeton are seriously playing with video games", and so on). Whether that is good or bad depends on your point of view, perhaps."

    Anyway, glad to see that idea finally getting some traction. :-)

    While he did not take some of my ideas that seriously, I did not take his

    --
    A 21st century issue: the irony of technologies of abundance in the hands of those still thinking in terms of scarcity.
  13. Research Paper by KalvinB · · Score: 1

    https://cias.rit.edu/media/upl...

    Luminescence can be used to create a depth map using two stereoscopic images.

    3D movies and VR headsets don't work for everyone and create headaches for a variety of reasons, one probably being the lack of bit depth.

    1. Re:Research Paper by Hognoxious · · Score: 1

      Human eyes aren't digital cameras, you pillock.

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
  14. Research Paper by KalvinB · · Score: 1

    https://cias.rit.edu/media/upl...

    Luminescence can be used to create a depth map using two offset images.

    3D movies and VR headsets don't work for everyone and create headaches for a variety of reasons, one probably being the lack of bit depth. It's much harder to judge depth when the colors are so close together.

  15. 10 Cars by Anonymous Coward · · Score: 0

    Top 10 Most Expensive Cars In The World 2017-
    https://www.youtube.com/watch?v=DrtuZX6GnVc

  16. Christine? Is that you?? by Anonymous Coward · · Score: 0

    Doesn't anyone ever learn ANYTHING from horror novels and movies?

    "Self-driving car" + "Behavior from Grand Theft Auto V" sounds a LOT like a recipe to make more instances of Christine. All will be fun and games until several high school students go missing, and the "paint" on their cars seems to be a slightly different shade of red than usual.

    But of course adults won't listen to warnings in time to prevent any of that. In the movies, they never do.

  17. hhmmm by Anonymous Coward · · Score: 0

    and how many people want their car to drive like GTA?

  18. As opposed to ... by Anonymous Coward · · Score: 0

    The original software based education tool: Carmageddon

  19. Not sure that's a good idea by allcoolnameswheretak · · Score: 1

    NPC cars in GTA V usually drive quite "neatly" and predictably. Not sure it will be an adequate representation of real life where you have morons doing stupid things every once in a while.

    Unless they are using the online version of the game, in which chase there will probably be too much chaos on the streets.