Slashdot Mirror


Google Wants To Test Driverless Cars In a Simulation

An anonymous reader writes Google has been testing its autonomous vehicles on U.S. roads for a while now. In fact, they're required to, by law. "California's regulations stipulate autonomous vehicles must be tested under "controlled conditions" that mimic real-world driving as closely as possible. Usually, that has meant a private test track or temporarily closed public road." It's easy enough to test a few prototypes, but whenever autonomous cars start being produced by manufacturers, it'll become a lot more complicated. Now, Google is lobbying to change that law to allow testing via computer simulation. Safety director Ron Medford said, "Computer simulations are actually more valuable, as they allow manufacturers to test their software under far more conditions and stresses than could possibly be achieved on a test track." Google spokeswoman Katelin Jabbari said, "In a few hours, we can test thousands upon thousands of scenarios which in terms of driving all over again might take decades." Shee adds that simulator data can also easily provide information on how human behavior creeps into driving. "It's not just about the physics of avoiding a crash. It's also about the emotional expectation of passengers and other drivers." For example, when one of Google's computer-controlled cars is cut off, the software brakes harder than it needs to, because this makes the passengers feel safer. Critics say relying heavily on simulation data is flawed because it doesn't take into account how other cars react to the computer's driving.

29 of 173 comments (clear)

  1. cool...it's so life-like! by turkeydance · · Score: 3, Insightful

    until it's your life.

  2. so what is the problem? by m2shariy · · Score: 5, Insightful

    Test in the fscking simulation and then test on the street. Win-win.

    1. Re:so what is the problem? by dnavid · · Score: 4, Insightful

      Test in the fscking simulation and then test on the street. Win-win.

      You don't need to ask for permission to test your car with simulations. You only have to ask for permission to replace real world testing with simulations. Personally, I'm not fond of replacing real world testing completely with simulations. The problem is that the point of testing software is to make sure the programmers have properly dealt with as many possible real world situations, and to reduce the likelihood the programmers haven't ignored an unexpected circumstance. Simulations can only test for what the simulation programmers have accounted for. Its substituting the system programmers' judgment for the simulation programmers' judgment. Its useful, but in my opinion insufficient.

    2. Re:so what is the problem? by ganjadude · · Score: 2

      can i mod this +1 obvious?

      --
      have you seen my sig? there are many others like it but none that are the same
    3. Re:so what is the problem? by Your.Master · · Score: 5, Insightful

      I'd flip it around. An automated car should be required to pass both a road test and a bevvy of simulated scenarios.

    4. Re:so what is the problem? by dnavid · · Score: 3, Interesting

      I'd flip it around. An automated car should be required to pass both a road test and a bevvy of simulated scenarios.

      Certainly. But the question was whether automated testing should be considered sufficient. I think I would do my own flip-around. I think if Google wants to change the California law that requires road testing to make it so that simulation testing is sufficient, then I think Google should donate the simulator, and if an automated car passes the simulation but fails in the real world in a way real world testing would have uncovered but the simulator did not, Google should be held liable for all damages associated with that failure. Under that circumstance, I would be inclined to trust that Google's simulators are a sufficient match to reality to consider substituting simulation testing for road testing.

      If Google doesn't want to subject itself to that criteria, then that's a tacit admission the simulation is not guaranteed to catch all the problems real world testing can catch, and I would consider their proposal to be invalid on its face.

    5. Re:so what is the problem? by mysidia · · Score: 2

      If Google doesn't want to subject itself to that criteria, then that's a tacit admission the simulation is not guaranteed to catch all the problems real world testing can catch, and I would consider their proposal to be invalid on its face.

      I think this is more along the lines of them wanting to avoid the time and expense, since every new model will have to be tested after every code change, I guess.

      The problem is.... can we really trust the simulations?

      I would rather it be required to have a small fleet of at least 5 development vehicles log a few thousand road hours and cover at least 20,000 miles of road each. Say with a minimum of 15,000 miles city driving per vehicle in metropolitan areas, a minimum of 15,000 miles highway driving per vehicle, a minimum 5,000 miles high-speed interstate driving, 5,000 miles country road driving, and 5,000 miles driving around small towns. With at least 500 miles of driving within every category during each specific hour of the day, at least 50 of those miles [for each hour of the day within each category] in light rain at least 50 in heavy rain at least 25 in light fog at least 25 in dense fog at least 25 in light snow at least 25 in dense snow at least 25 in freezing rain/sleet at least 10 in heavy winds at least 25 miles in combination with 3 or more hazardous conditions, at least 1000 miles of the city driving and of the interstate driving and of the highway driving operating on congested roads during rush hour. Must include driving in at least 4 states with no less than 5,000 miles per state and at least 5 different cities with a population of 300,000 or more and at least 10 different towns with a population of more than 10,000 but less than 100,000, with no less than 2000 miles for each large city and no less than 1,000 miles driven per each small town.

      All driving must be video taped and reviewed for safety failures. Testing must include at least 5,000 railroad crossings and at least 5,000 drawbridge crossings, at least 100 trials of crossings must show the vehicle being required to yield or stop due to a hazardous condition.

      Any 1 failure on the vehicle's part, and the entire test fails.

    6. Re:so what is the problem? by bickerdyke · · Score: 2

      Please define "simulation".

      You can't test some rare situations in real life because they are so rare.

      For example car accidents. We're glad that they have been greatly reduced in real life and aren't predictable enough so that cars can be deliberatly sent into real life accidents. That's why we're running simulated accidents, crash tests. Of course not a computer simulation, it's still a simulation that neglects human factors. (evasion maneuvers might lead to other impact angles and speeds, passengers tensing and bracing for impact are simulated by limp dummys)

      These "actual physical" simulations also only test what the test designers have accounted for. (It's just that hurling a large mass at a concrete wall isn't a highly dynamic system so it can be safely assumed that all important parametrs have been accounted for)

      (Wow, i guess that's the first correct car anaolgy...)

      --
      bickerdyke
  3. Simulations are limited by imagination by Carnildo · · Score: 3, Insightful

    The problem with simulator testing is that you can't test scenarios that you didn't think of. This is particularly important to find problems arising from multiple simultaneous situations. For example, you might test the scenarios "front camera obscured by rain", "car ahead of you performs emergency stop", and "dog runs into street", but that doesn't necessarily tell you how the car will respond to a combination of the three.

    Real life is far more creative than any scenario designer.

    --
    "They redundantly repeated themselves over and over again incessantly without end ad infinitum" -- ibid.
    1. Re:Simulations are limited by imagination by fisted · · Score: 2

      For example, you might test the scenarios "front camera obscured by rain", "car ahead of you performs emergency stop", and "dog runs into street", but that doesn't necessarily tell you how the car will respond to a combination of the three.

      Now that really leads to a difficult decision for the car. Should it:
      - Maintain heading and come to a halt? Or perhaps
      - Maintain heading and come to a halt? Or even
      - Maintain heading and come to a halt?

      Let's wait for strong AI to solve that problem for us.

    2. Re:Simulations are limited by imagination by ShanghaiBill · · Score: 4, Insightful

      For example, you might test the scenarios "front camera obscured by rain", "car ahead of you performs emergency stop", and "dog runs into street", but that doesn't necessarily tell you how the car will respond to a combination of the three.

      This seems backwards to me. Testing combinations of scenarios happening simultaneously would be far easier in a simulator.

    3. Re:Simulations are limited by imagination by 0123456 · · Score: 2

      Decades of aircraft autopilot failures tells us it will immediately hand control back to the driver, then blame 'human error' for the crash.

    4. Re:Simulations are limited by imagination by swillden · · Score: 4, Interesting

      The problem with simulator testing is that you can't test scenarios that you didn't think of. This is particularly important to find problems arising from multiple simultaneous situations. For example, you might test the scenarios "front camera obscured by rain", "car ahead of you performs emergency stop", and "dog runs into street", but that doesn't necessarily tell you how the car will respond to a combination of the three.

      Real life is far more creative than any scenario designer.

      Which is why you should do both. A simulation can test millions of permutations -- including arbitrary combinations of events, and in far more variety than could be tested in a reasonable amount of time on real roads -- and can verify that software changes don't introduce regressions. Real-world testing introduces an element of randomness which provides additional insights for the simulation test cases.

      Ultimately, governments should probably develop their own simulators which run the autonomous car through a large battery of scenarios, including scenarios which include disabling some of the car's sensors. Then autonomous vehicles from different manufacturers could be validated on a standard test suite before being allowed on the roads, and when real-world incidents occur in which an automated car makes a bad decision, those incidents can and should be replicated in the simulator and all certified vehicles tested. They should also do real-world testing, but I suspect that in the long run simulations will provide much greater confidence.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    5. Re:Simulations are limited by imagination by D'Sphitz · · Score: 2

      You can't test scenarios that weren't thought of on a private test track either.

  4. test software but not hardware / road conditions by Joe_Dragon · · Score: 2

    may help test software but not the full hardware and how well it works in all kinds of weather / settings. Also what about road conditions / slight lines? odd traffic light layouts / intersections? Just useing google street view as the input likely will not get the full lay out from each lane / all times of day / all cycles.

  5. The problem with simulation is ... by CaptainDork · · Score: 2

    ... lack of randomness.

    Will they simulate a 3 year old tossing a sandwich out the window into oncoming traffic?

    --
    It little behooves the best of us to comment on the rest of us.
  6. Adding Politics to Engineering Decisions by siphonophore · · Score: 3, Insightful

    Are we really having a public, political, emotional discussion about the relative merits of ATE vs Validation testing? Come on, Slashdot, you're a bunch of engineers, right? Does the CA state legislature have ANYTHING of value to add to your FMEA? What about your production planning? Test plan? V&V protocols?

    It's the height of hubris for outsiders (especially lawyers in the state legislature) to come in and dictate low-level engineering details. A responsible legislature (and public) would acknowledge that they have NOTHING of value to add to the discussion.

    The only appropriate regulation is "make it X safe." Don't tell us engineers to get there, and we won't tell you lawyers how to snort coke of a hooker's tits.

    --
    Dance like you're hurt, Love like you need money, and work when somebody's watching.
    -Scott Adams
    1. Re:Adding Politics to Engineering Decisions by kamapuaa · · Score: 2

      Wish I could mod parent "+1 Edgy"

      If it wasn't so edgy, the suggestion to let the car companies decide for themselves would come off as ridiculous.

      --
      Slashdot: providing anti-social weirdos a soapbox, since 1997.
    2. Re:Adding Politics to Engineering Decisions by siphonophore · · Score: 3, Insightful

      A regulatory "light hand" is appropriate here for a few reasons:

      1. The current state of the art is, comparatively, extremely dangerous (even with attentive, good drivers).
      2. Google (or the next few guys coming down the pipe) already have an extremely strong incentive to make their cars as safe as possible (speed of adoption, fear of future regulation).
      3. OTA updates would resolve problem behaviors after only a few incidents.

      Google is coming to the public with a (statistical) goldmine for human development. The cold skepticism they're getting is totally unwarranted and will do nothing but delay the enormous social and economic benefits that fully autonomous roads will bring.

      --
      Dance like you're hurt, Love like you need money, and work when somebody's watching.
      -Scott Adams
    3. Re:Adding Politics to Engineering Decisions by siphonophore · · Score: 4, Insightful

      The real story is an unbroken 50-year streak of improvements in safety driven and executed by engineers. A series of recalls is nothing compared to the 60% decline in traffic deaths brought about by new safety technology and it's rapid adoption. Driverless cars are a new safety technology. Let's adopt them already!

      Would 2014 America hold up seat belt installation for ten years just to make sure they are totally, exactly, 100% safe?

      --
      Dance like you're hurt, Love like you need money, and work when somebody's watching.
      -Scott Adams
    4. Re:Adding Politics to Engineering Decisions by westlake · · Score: 2

      Come on, Slashdot, you're a bunch of engineers, right?

      Wrong.

      If by engineer you mean a licensed professional who stands by his work, and can be called to account for his failures.

      It's the height of hubris for outsiders (especially lawyers in the state legislature) to come in and dictate low-level engineering details.

      It also the height of hubris for the geek to allow Google to be the sole judge of its own work.

    5. Re:Adding Politics to Engineering Decisions by Your.Master · · Score: 2

      No, not compared to Russian Roulette, compared to the things typical people do in a typical day. Also, with cars, death isn't the only danger. Permanent injury, significant temporary injury, and massive property damage are also dangers.

      Typical people live their entire lives without playing Russian Roulette even once.

      I don't really know why this is hard. Most people don't do a lot of dangerous things in a day.

      In fact, even in terms of death: 22% of people who die between the ages of 1 and 44 in the United States die from a motor vehicle accident. Most of the other itemized are not daily (eg. fire, except for firefighters; firearm, etc.).

      http://www.cdc.gov/injury/over...

      If there was a more deadly daily activity, it should show up on that list. I mostly see things that are more deadly, but not daily. I have to admit I'm not quite sure what to make of "falls" from the under-45 crowd.

    6. Re:Adding Politics to Engineering Decisions by geekmux · · Score: 2

      Would 2014 America hold up seat belt installation for ten years just to make sure they are totally, exactly, 100% safe?

      No, of course not. Don't be silly.

      They vendors will sue the shit out of each other for fabric pattern infringement and rounded buckle corners, and hold the whole mess up in patent litigation for 15 years.

      C'mon man, this is 2014. And Slashdot. Get with the program.

  7. Re:I'm confused by ShanghaiBill · · Score: 3, Insightful

    Simulations don't account for faults in the design or manufacturing.

    You don't have to test every car to find faults in the design. You only have to test one.

    Faults in manufacturing are not unique to self-driving-cars. So why should only SDCs require testing of every car?

  8. Simulations are limited by imagination by Anonymous Coward · · Score: 2, Interesting

    Sure, but the article isn't taking about simulations vs real life. It's talking about simulations vs contrived but legally required tests on manufacturer test tracks. Both are limited by imagination but simulations are more thorough, at least according to Google

  9. Car Analogy by ProzacPatient · · Score: 3, Funny

    Can someone give me the obligatory car analogy?

    1. Re:Car Analogy by slashmydots · · Score: 2

      No idea what you mean but how about this: If a car leaves New York traveling 60 MPH and another card leaves from Vegas at 50MPH, how long does it take for Gloria Allred to show up after a Google car crashes into one of them?

  10. Re:something tells me... by turkeydance · · Score: 2

    moose and squirrel. well played, sir.

  11. Ooops! by jd · · Score: 3, Funny

    Found a bug in physics.c, those cars we mass produced last year will spontaneously explode after 367 days of exposure to an atmosphere containing oxygen, or when white lines are painted rather than vinyl, or when attempting a corner of a prime number of degrees when speeding on a cambered road.

    Why wasn't this spotted sooner?

    Because we hadn't expected to need chemistry or non-Euclidian geometry in a physics engine.

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)