An Efficient Framework for
Modular Autonomous Vehicle Risk Assessment (MAVRA)
Robert Moss
Stanford University
(collaborating with Shubh Gupta, Marc R. Schlichting, Kyu-Young Kim, Anthony Corso, Grace X. Gao, and Mykel J. Kochenderfer)
ITSC Workshop on Safety Validation of Connected and Automated Vehicles
October 7, 2022
Motivation: Real-world setting
2
Problem: Estimate risk of autonomous vehicle policies in realistic environments. |
Motivation: Realistic simulation
3
Image credit: https://carla.org/img/posts/2021-11-07/intersection.gif
Problem: Estimate risk of autonomous vehicle policies in high-fidelity simulators. |
Motivation: Efficient assessment
4
Image credit: https://carla.org/img/posts/2021-11-07/intersection.gif
Problem: Efficiently estimate risk of autonomous vehicle policies in high-fidelity simulators. |
(faster than real-time simulation)
Motivation
5
Image credits: https://carlachallenge.org/challenge/nhtsa/
“Too often we see solid tool chains but no tangible test strategies.”
|
Objective
6
Image credits: https://carlachallenge.org/challenge/nhtsa/
Modular framework: Risk assessment (MAVRA)
7
Modular framework: Risk assessment (MAVRA)
8
Modular framework: Risk assessment (MAVRA)
9
Modular framework: Risk assessment (MAVRA)
10
Modular framework: Risk assessment (MAVRA)
11
Modular framework: Risk assessment (MAVRA)
12
Modular framework: Risk assessment (MAVRA)
13
Modular framework: Risk assessment (MAVRA)
14
Modular framework: Risk assessment (MAVRA)
15
Modular framework: Risk assessment (MAVRA)
16
Modular framework: Risk assessment (MAVRA)
17
Modular framework: Risk assessment (MAVRA)
18
Scenario-based assessment
2D low-fidelity case
19
[1] Z. Zhong, et al. “A Survey on Scenario-Based Testing for Automated Driving Systems in High-Fidelity Simulation.” arXiv:2112.00964, 2021.
[2] P. Junietz, et al. "Evaluation of Different Approaches to Address Safety Validation of Automated Driving." IEEE ITSC, 2018.
[3] C. Ebert and M. Weyrich. “Validation of Autonomous Systems”, IEEE Software, 2019.
[4] R. Moss, et al. “Autonomous Vehicle Risk Assessment.” Tech. Report, Stanford Center for AI Safety, 2021.
[5] https://github.com/sisl/AutomotiveSimulator.jl
[6] W. G. Najm, J. D. Smith, and M. Yanagisawa. "Pre-crash Scenario Typology for Crash Avoidance Research." No. DOT-VNTSC-NHTSA-06-02. United States National Highway Traffic Safety Administration, 2007.
Scenario-based assessment
3D high-fidelity case
20
Image credits: https://carlachallenge.org/challenge/nhtsa/
[2] https://github.com/carla-simulator/scenario_runner
[3] W. G. Najm, J. D. Smith, and M. Yanagisawa. "Pre-crash Scenario Typology for Crash Avoidance Research." No. DOT-VNTSC-NHTSA-06-02. United States National Highway Traffic Safety Administration, 2007.
Scenario-based assessment
Weather models
21
Scenario-based assessment
AV-specific stressing scenarios (see [1])
22
[1] F. M. Favarò, et al. “Examining Accident Reports Involving Autonomous Vehicles in California.” PLOS One, 2017.
[1]
AV policies
23
Video credit: https://github.com/autonomousvision/neat
[1] R. Moss, et al. “Autonomous Vehicle Risk Assessment.” Tech. Report, Stanford Center for AI Safety, 2021.
[2] D. Chen, V. Koltun, and P. Krähenbühl. "Learning to Drive from a World on Rails", International Conference on Computer Vision (ICCV), 2021.
[3] K. Chitta, A. Prakash, and A. Geiger. "NEAT: Neural Attention Fields for End-to-End Autonomous Driving", International Conference on Computer Vision (ICCV), 2021.
[4]
Observation models
Sensors
24
[1] D. Chen, V. Koltun, and P. Krähenbühl. "Learning to Drive from a World on Rails", International Conference on Computer Vision (ICCV), 2021.
[2] K. Chitta, A. Prakash, and A. Geiger. "NEAT: Neural Attention Fields for End-to-End Autonomous Driving", International Conference on Computer Vision (ICCV), 2021.
Failure metric
25
⚠
Cost metric
For collision failures
26
[1] D. C. Richards, "Relationship between Speed and Risk of Fatal Injury: Pedestrians and Car Occupants", Department for Transport: London, 2010.
Objective: cost of zero should equal “no failure” using what’s available in simulation
Risk metric
27
[1] A. Majumdar and M. Pavone. "How should a robot assess risk? Towards an axiomatic theory of risk in robotics." Robotics Research, 2020.
Validation Search
Scenario-level search / sampling
28
[1] S. Gupta, et al. "Tree-based importance sampling for risk estimation." Work-in-Progress, 2022.
Validation Search
Step-level search (episode)
29
t = 1
⚠
Validation Search
Step-level search (episode)
30
t = 1
t = 2
⚠
Validation Search
Step-level search (episode)
31
t = 1
t = 2
t = 3
⚠
Validation Search
Step-level search (episode)
32
t = 1
t = 2
t = 3
t = 4
⚠
Validation Search
Step-level search (episode)
33
t = 1
t = 2
t = 3
t = 4
t = 5
⚠
Validation Search
Step-level search (episode)
34
[1] S. Gupta, et al. "Tree-based importance sampling for risk estimation." Work-in-Progress, 2022.
bicyclist
Validation Search
Step-level search (episode)
35
[1] R. Lee, et al. "Adaptive Stress Testing: Finding Likely Failure Events with Reinforcement Learning," Journal of Artificial Intelligence Research, 2020.
[2] R. Y. Rubinstein and D. P. Kroese. "The Cross-Entropy Method: A Unified Approach to Combinatorial Optimization, Monte Carlo Simulation and Machine Learning." Springer Science and Business Media, 2013.
[3] S. M. Lavalle. "Rapidly-Exploring Random Trees: A New Tool for Path Planning." Iowa State University, Tech. Report, 1998.
[4] A. Corso, et al. “A Survey of Algorithms for Black-Box Safety Validation of Cyber-Physical Systems”, Journal of Artificial Intelligence Research, 2021.
t = 1
t = 2
t = 3
t = 4
t = 5
⚠
Preliminary results
Tree-IS in 2D case
36
[1] S. Gupta, et al. "Tree-based importance sampling for risk estimation." Work-in-Progress, 2022.
Preliminary results
Tree-IS in 3D CARLA case
37
Preliminary results
World-on-Rails vs. NEAT (relative risk)
38
Example cases
CARLA
39
Non-failure
Failure
Recap and conclusions
40
[1] M. J. Kochenderfer and R. J. Moss, “Transferring Aviation Safety Lessons to the Road.” Automated Road Transportation Symposium, 2021. [http://web.stanford.edu/~mossr/pdf/kochenderfer-arts21.pdf]
Thank you!
Questions?
mossr@cs.stanford.edu
Robert Moss