On a Formal Model of Safe and Scalable Self-driving Cars

Shai Shalev-Shwartz, Shaked Shammah, Amnon ShashuaarXiv 2017

Abstract: In recent years, car makers and tech companies have been racing towards self driving cars. It seems that the main parameter in this race is who will have the first car on the road. The goal of this paper is to add to the equation two additional crucial parameters. The first is standardization of safety assurance --- what are the minimal requirements that every self-driving car must satisfy, and how can we verify these requirements. The second parameter is scalability --- engineering solutions that lead to unleashed costs will not scale to millions of cars, which will push interest in this field into a niche academic corner, and drive the entire field into a "winter of autonomous driving". In the first part of the paper we propose a white-box, interpretable, mathematical model for safety assurance, which we call Responsibility-Sensitive Safety (RSS). In the second part we describe a design of a system that adheres to our safety assurance requirements and is scalable to millions of cars.

Introduction

This 2017 paper from Mobileye researchers (Shalev-Shwartz et al.) is a foundational text in the autonomous vehicle (AV) industry. It moves away from the "just drive more miles" approach to safety and instead proposes a rigorous mathematical framework for what it means to drive "responsibly."

The Challenges: Safety and Scalability

The authors identify two existential threats to the AV industry: a lack of formal safety guarantees and a lack of commercial scalability.

  1. The Statistical Trap: To prove an AV is safer than a human (who has a fatality rate of roughly $10^{-6}$ per hour), society might demand a rate of $10^{-9}$. Statistically, proving this would require driving 30 billion miles. Every time the software is updated, the "mileage clock" essentially resets, making traditional validation impossible.
  2. The Multi-Agent Dilemma: You cannot guarantee zero accidents because other drivers might crash into you. Current systems lack a formal way to define "blame" or "responsibility" in a way a machine can execute.
  3. The Complexity Wall: Planning in a raw geometric space leads to an exponential explosion of possibilities that doesn't scale as more agents are added to a scene.

Responsibility-Sensitive Safety (RSS)

The paper proposes Responsibility-Sensitive Safety (RSS), a "white-box" mathematical model that formalizes five common-sense rules (e.g., "Don't hit someone from behind," "Right of way is given, not taken"). It defines a Safe Distance and a Proper Response. If a car is in a "Dangerous Situation," RSS dictates a specific set of constraints on acceleration and braking to ensure the AV does not cause an accident.

A multi-agent scenario where the ego vehicle (yellow) must maintain safe distances and calculate proper responses relative to surrounding agents (red).

RSS allows the AV to calculate its "Proper Response" relative to every other agent individually. By taking the intersection of these constraints, the car can safely navigate complex multi-agent environments without needing to model the entire world's joint probability, which would be computationally prohibitive.

Scalability through Semantic Planning

Instead of planning trajectories using raw coordinates, the authors use a "semantic" language (e.g., "follow the car in front," "overtake on the left"). This reduces the number of trajectories to inspect to about $10^4$, regardless of the time horizon. This approach bypasses the "curse of dimensionality" in path planning, making the system scalable to millions of vehicles.

Furthermore, they distinguish between "Comfort" and "Safety." For safety, they propose fusing three independent subsystems (e.g., camera, lidar, radar) to reach the $10^{-9}$ fatality target through redundancy rather than relying on a single perfect sensor.

Key Insights and Results

  • Provable Safety: The core result is a formal proof that adhering to RSS prevents an AV from ever being the cause of an accident. If all agents follow RSS, accidents are mathematically impossible.
  • Validation Feasibility: The framework reduces the data requirement for safety validation from billions of miles to a manageable offline dataset of approximately $10^5$ hours, solving the "software update" problem.
  • Occlusion Management: The model formally defines "cautiousness" regarding occluded objects, allowing the AV to make reasonable assumptions about what it cannot see without becoming so defensive that it blocks traffic.

Conclusion

By shifting safety validation from a purely statistical "miles-driven" approach to a model-based approach, Shalev-Shwartz et al. provide a path toward AVs that are both demonstrably safe and commercially viable. The paper emphasizes that parameters for "reasonable" behavior must ultimately be set by regulatory bodies, representing a social contract for the era of autonomous mobility.

Summary updated

BibTeX
@misc{shalevshwartz2017formal,
  author = {Shai Shalev-Shwartz and Shaked Shammah and Amnon Shashua},
  title = {{On a Formal Model of Safe and Scalable Self-driving Cars}},
  year = {2017},
  eprint = {1708.06374},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1708.06374},
}
Figure