Learning Autonomous Vehicle Safety Concepts from Demonstrations

Karen Leung, Sushant Veer, Edward Schmerling, Marco Pavone

TL;DR

This paper introduces a novel data-driven approach to learning and synthesizing safety concepts for autonomous vehicles (AVs). By learning "reasonable" behaviors of other road users from demonstrations and integrating this with robust control theory (Hamilton-Jacobi reachability), they create more interpretable and less conservative AV safety models.

What Problem Does This Paper Address?

Ensuring the safety of autonomous vehicles (AVs) is a critical challenge, especially when considering the unpredictable and often informal behaviors of other road users (e.g., human drivers). Traditional safety models often rely on overly conservative "worst-case" assumptions about these behaviors, which can lead to overly cautious and inefficient AV operation. Conversely, purely data-driven methods might lack interpretability and formal guarantees. The paper aims to bridge this gap by developing a methodology that learns realistic, data-informed assumptions about other agents' behaviors and uses them to synthesize a rigorous and interpretable AV safety concept.

Methods

The core of the proposed methodology involves two main steps:

  1. Learning Human Collision Avoidance Behaviors: The authors leverage High-Order Control Barrier Functions (HOCBFs) to learn "reasonable" collision avoidance behaviors from demonstration data. HOCBFs provide a framework to define control invariant sets, essentially learning what constitutes a "safe" region of operation. This approach is data-driven, using observed safe driving trajectories to infer these safe control sets.
  2. Synthesizing Safety Concepts via Constrained Hamilton-Jacobi (HJ) Reachability: The learned behavioral assumptions (represented by HOCBF constraints) are then integrated into a Hamilton-Jacobi reachability framework. HJ reachability is a powerful tool for characterizing safety properties of dynamical systems. By incorporating the learned constraints, the method synthesizes a safety concept that is robust to other agents' behaviors while respecting the learned "reasonable" driving assumptions, leading to a less conservative and more practical safety evaluation. They also propose a constrained HJ reachability formulation that leverages a game-theoretic insight (Proposition 1) to ensure the player acting first has an advantage, making the formulation more robust.

Datasets

  • Highway traffic-weaving dataset: Used for learning the AV safety concept in a highway driving scenario.
  • NGSIM dataset: A real-world highway driving dataset used for offline evaluation of the synthesized safety concepts.

Key Insights and Ideas

  • Bridging the gap between data-driven and formal methods: The paper successfully combines the interpretability and rigor of control theory with the realism of data-driven learning, creating a more practical safety framework.
  • Learning "reasonable" behaviors, not just "worst-case": By learning from demonstrations, the method captures more nuanced and realistic behaviors of other road users, leading to less overly conservative AV operation.
  • HOCBFs as an inductive bias: HOCBFs are shown to be a natural and effective tool for encoding obstacle avoidance behaviors and providing a structured way to learn state-dependent control sets.
  • Constrained HJ reachability for responsible agents: The formulation explicitly models the idea that other agents will act "responsibly" with respect to safety constraints, leading to a more practical safety concept than traditional worst-case assumptions.

Key Results

  • Less conservative safety concepts: The learned HOCBF-constrained safety concept resulted in significantly smaller "unsafe" regions compared to standard HJ reachability (WC-HJ), indicating less over-conservatism.
  • Realistic control predictions: In a highway driving scenario, the learned model's predicted control distributions closely matched ground truth, with three standard deviation bounds that were tighter than control limits.
  • Effective evaluation on real-world data: When evaluated on the NGSIM dataset, the HOCBF-HJ safety concept showed statistics that were comparable to other concepts but suggested a hybrid behavior between worst-case and constant velocity assumptions, indicating a balanced approach.
  • Successful recovery of ground truth behaviors: In a circular obstacle avoidance example, learned HOCBFs (except for a cubic parameterization) closely recovered the ground truth effective CBF.

Limitations and Future Work

  • Curse of dimensionality: Solving the HJ PDE explicitly suffers from the curse of dimensionality, limiting its direct application to high-dimensional or multi-agent systems. The authors suggest exploring implicit representations (e.g., neural networks) for future work.
  • Multi-agent extensions: Extending HOCBF and HJ reachability theory to more than two agents remains a challenge.
  • Model mismatch risk: The synthesized safety concept relies on the learned behavior model. If other agents exhibit behaviors outside this learned model (out-of-distribution), the safety assurances might be invalidated. The authors suggest using out-of-distribution detection as a complementary safety filter.
  • Division of responsibility: Future work could investigate how to explicitly divide collision avoidance responsibility among multiple agents in a more principled way, potentially combining offline synthesis with online learning of responsibility allocation.

Summary updated

BibTeX
@inproceedings{leung2023learning,
  author = {Karen Leung and Sushant Veer and Edward Schmerling and Marco Pavone},
  title = {{Learning Autonomous Vehicle Safety Concepts from Demonstrations}},
  booktitle = {ACC},
  year = {2023},
  url = {https://openreview.net/forum?id=YQs3xczx5Pf},
}
Figure