10 min read

On the First Self-Driving Car Fatality

By now, many of you may have heard about the sad situation of a self-driving car, operated by Uber in Tempe, AZ with a backup safety driver, and its collision with a pedestrian that resulted in her death.

pic: ABC15
pic: ABC15

As a learner of all things (especially self driving cars and robotics), I am extremely interested in this story. I’m not interested in apportioning blame here; I’m merely interested in how the technology may (or may not) have failed, and what we can learn from this. What follows are my thoughts (and some speculation) on how the collision might have occurred, and what investigations should happen next.

Update 3/27/2018 It is now clear, after several news reports, that Lidar(s) did not “see” the pedestrian. I am keeping this post as is (mostly), and will update with my thoughts on both this unfortunate incident and failure in general.

But first, a disclaimer: These are my opinions only, and they will necessarily evolve as we learn more about the incident; I do not represent any organization involved. I am not (yet) a self-driving car expert, although I sometimes play one on the internet. I am definitely not a lawyer, and I wouldn’t want to play one anywhere. I am merely a very concerned citizen, and my opinions will evolve based on facts as they emerge.

As sad as the outcome of the accident is, in this case the death of Elaine Herzberg, it is worth finding out more about exactly how it happened so that future accidents may be prevented. More so, because the whole premise of existence of self-driving cars is that they are meant to be /safer/ than human drivers.

The facts so far are:

Elaine Herzberg, 49, was walking her bicycle outside the crosswalk on a four-lane road in the Phoenix suburb of Tempe about 10 p.m. MST Sunday (0400 GMT Monday) when she was struck by the Uber vehicle traveling at about 40 miles per hour (65 km per hour), police said. The Volvo XC90 SUV was in autonomous mode with an operator behind the wheel.

Background and Traffic Statistics

The statistics on car accidents are well known and rather grim. Every year, in the United States alone, over 37,000 traffic fatalities occur in over 34,000 crashes.

The chart below shows the nature of fatalities in 2016.

Traffic Stats
Traffic Stats

In 2016 alone, almost 6000 pedestrians died in crashes; this relates to about 6000 people injured per day (of which ~180 are pedestrians/day). Overall, approximately 70,000 pedestrians are injured every year due to traffic accidents.

Pedestrian Fatalities
Pedestrian Fatalities

Traffic safety is measured in “fatalities per vehicle miles traveled (VMT)”, or more accurately in fatalities per 100 million VMT. In 2016, this fatality rate per 100 million VMT was 1.18, up slightly from 1.15 in 2015. The rate has been more or less stable (+/- ~2 %-points) since 2009. In all, Americans drove 3.2 trillion miles in 2016, while encountering approximately 37,000 fatalities. The injury rate per 100 VMT is about far higher at about 79 (2015, when last data was available).

Fatality Trends, NHTSA
Fatality Trends, NHTSA

National Safety Council (different from NHTSA) estimates about 40,000 fatalities in 2016, and estimates costs of approximately $433 billion (2016) due to vehicular death, injuries, property damages and lost productivity.

How does this data compare to other modes of transport? In the US, airline fatalities are in the low 400s / year, and rail and

In contrast, autonomous vehicles in all had driven much, much less. The number is more like 4 million miles for Waymo, about 2 million miles for Uber. Even counting all the autonomous vehicles on the road today, we couldn’t add up to 100 million miles.

All this to imply that while fatalities in aggregate are high, injuries are even higher, even though human drivers are generally safe drivers. Humans are still far better at avoiding fatal accidents, though there is plenty of room to improve in all aspects, particularly in driver-related crashes.

For autonomous vehicles, we simply do not have enough data to make a conclusion yet.

The silver lining for autonomous systems is that they can be trained to avoid these situations, and they can learn from their own experience.

How could this collision have happened?

The Uber autonomous car was likely driving in a “fully autonomous” or “conditional fully autonomous” model (Level 3 or Level 4 autonomy) , although the backup safety driver was present for just these kinds of emergency situations.

Without the benefit of actual crash data from the Uber vehicle and any actual footage, it is extremely hard to guess accurately how collision might have occurred. However, one might speculate on three possibilities.

Sensor failure?

Did one or more sensors on the Uber autonomous car fail?

Let’s see. Uber’s AV is fully equipped with multiple, redundant sensors of all kinds:

  • Short and long range cameras. Uber’s car has an array of front facing cameras that watch for other vehicles, pedestrians, traffic lights and signage. Rear and side facing cameras complement the front-facing cameras to provide a more complete picture and present a continuous view of vehicle’s surroundings.
  • Top mounted Lidar for full 360 degree view, with range of a few hundred feet. Heavy snow and fog could possibly reduce its accuracy, but that was not the case here. The lidar produces a 3D point cloud with high precision showing all obstacles in its view, with depth perception.
  • Radars. These units provide “visibility” to larger obstacles (like other cars), but possibly not smaller objects like animals or people. Radar is also lower range and lower resolution and complements the lidar.

Folks at TechCrunch have a good picture of typical Uber AV.

(pic: TechCrunch)

Based on the sensor picture above (and nothing else so far) and because of redundancy of sensors, it is highly unlikely that the sensors failed in this situation. This needs to be corroborated with any sensor data, obviously.

Update 3/27/2018 It is now clear, after multiple reports, that the sensor subsystem did not “sense” the pedestrian. I am keeping this post for posterity, and will update with my comments on how/why of this catastrophic failure.

Prediction failure?

The prediction subsystem in an autonomous vehicle is responsible for three critical functions:

  • Predicting the behavior of other cars, pedestrians, etc. on the road
  • Planning the autonomous vehicle’s own behavior
  • Planning its own trajectory

All of these functions are use complex mathematical models. Predicting the behavior of other dynamic objects on the road first starts with sensing their precise location (obtained from sensor fusion data above), and using a hybrid of process- and data-models to predict where each object will move. These models use highly sophisticated techniques like probabilistic and optimization models that predict where a dynamic object (e.g. pedestrian, a car, or an errant animal darting across the road) will be in the next instant, and update their prediction based on actual sensor data. This predict-update cycle occurs hundreds or thousands of times per second, and can accurately predict a smooth trajectory for moving objects. [For the technically minded, these techniques are a combination of Kalman filters, expectation-maximization, probabilistic models, and can also be learned from data.]

People crossing a road, in most cases, do not randomly walk. In the face of traffic, they either speed up to get to the other side, or they pause or stop briefly to confront incoming vehicles expecting them to slow down or stop, or or they backtrack to safety and let incoming traffic pass. However, one could speculate a pedestrian, unaware and randomly walking onto the road. In this case, it is hard to predict their move, especially if it is completely random. And for an autonomous system to predict such a move would be a tall order. However, if the vehicle had sufficient time, it would normally slow down, or even brake suddenly.

Did the prediction function fail in this case? It is hard to say conclusively. However, it appears that since the pedestrian “suddenly appeared on the road, with her bike full of shopping bags”, the prediction system apparently did not, or could not, accurately predict her next move. And this is possibly likely especially if she was crossing the high traffic road not at an intersection, or under obscure lighting conditions.

Now, most autonomous vehicles are likely trained for some semblance of situations like these: small animals darting across the road, people jaywalking, etc. However, in the unlikely event that the sensors did not correctly detect the pedestrian, it is unclear how the prediction function should proceed, without fully looking at sensor data.

Takeover time was too short?

In all likelihood, the time for takeover by backup safety was too short in this case. The takeover time is the delay between the instant the autonomous system gives up control of the car by signaling to the backup driver, and the time the driver actually takes control.

What does research say about ideal takeover time? A study by University of Southampton notes that drivers need anywhere from ~2 seconds to 25 seconds for transition, depending on the task they were doing before taking control. In particular:

a too-short lead time (e.g., 7 seconds prior to taking control, as found in some studies of critical response time) could prevent drivers from responding optimally, resulting in a stressed transition process whereby drivers may accidentally swerve, making sudden lane changes or braking harshly. Such actions are acceptable in safety-critical scenarios when drivers may have to avoid a crash but could pose a safety hazard for other road users in noncritical situations.

Given that the Uber autonomous car was driving at around 40 miles / hour in the 35 mph zone on a busy road, a pedestrian who “came from shadows right into the roadway” in front of the vehicle could very likely lead to an extremely short takeover time.

Indeed, as the preliminary investigation says, Uber is likely not at fault in this case. It would have been difficult even for a human driver to void the collision.

From viewing the videos, “it’s very clear it would have been difficult to avoid this collision in any kind of mode (autonomous or human-driven) based on how she came from the shadows right into the roadway,” Moir said.

What Next?

So it’s the pedestrian’s fault, and no blame to the backup driver or the company?

Well, that is not so simple. We are still in the human-controlled autonomy era and until we have full confidence in our autonomous systems, regardless of who is at fault, the blame will be placed on autonomous vehicles. Why? Simply because we, as humans, demand a simple cause-and-effect rationale, more so in stressful situations like this one.

What should happen next?

I believe three things should be followed up:

  • Airline style investigation. This case deserves a full airline crash style investigation, wherein the crash data from the black box (all the sensors in the AV) is reviewed thoroughly to establish the conditions that led to the crash.
  • Sharing of crash data with other AV makers. More importantly, I think all such crash data, especially that involves collisions with humans, should be shared in the automotive industry. Uber should definitely share it with its own partners; however, the NHTSA should also make the data available to other AV manufacturers so that they can train their autonomous vehicles in these crash situations. After all, if autonomous vehicles learn from each other, this makes perfect sense, and all car OEMs, and other AV stakeholders should demand sharing of this data willingly. How likely will this be? That is anybody’s guess.
  • Legality of at-fault. The most vexing question is: who is liable? This requires a full policy discussion, and there are various debates already underway. I am not a lawyer, but as a citizen I would like to see clear cut criteria and policies on the liabilities, and wherever ambiguities lie, exactly how to resolve them.

This is not the last word on this incident. I will be watching this closely. Stay tuned for more.

References

  1. Uber self-driving car accident
  2. Tempe police chief says early probe shows no fault by Uber
  3. U.S. Traffic Deaths Rise for a Second Straight Year - The New York Times
  4. National Safety Council Fatality Estimates
  5. TechCrunch: Here’s how Uber’s self-driving cars are supposed to detect pedestrians – TechCrunch
  6. The Uber fatality shows we don’t know if driverless cars are safer - The Washington Post
  7. NHTSA - USDOT Releases 2016 Fatal Traffic Crash Data
  8. NYTimes, Where Self-Driving Cars Go to Learn - The New York Times
  9. Uber Pauses Self Driving Cars Testing, Self-driving Uber car kills Arizona woman crossing street | Reuters
  10. New study suggests guidelines for takeover time in autonomous vehicles