Uncertainty-Centric Safety Assurance of ML- Based Perception for Automated Driving
Krzysztof Czarnecki Waterloo Intelligent Systems Engineering (WISE) Lab University of Waterloo
1
Uncertainty-Centric Safety Assurance of ML- Based Perception for - - PowerPoint PPT Presentation
Uncertainty-Centric Safety Assurance of ML- Based Perception for Automated Driving Krzysztof Czarnecki Waterloo Intelligent Systems Engineering (WISE) Lab University of Waterloo 1 Uncertainty-Centric Assurance of ML-Based Perception
1
2
Misclassifications, under-classifications, quantitative errors
Uncertainty Influence factors
(domain coverage, sensor noise, etc.)
3
Misclassifications, under-classifications, quantitative errors
Uncertainty Influence factors
(domain coverage, sensor noise, etc.)
PURSS: Towards a Perceptual Uncertainty- Aware Responsibility Sensitive Safety. Under submission.
4
5
https://arxiv.org/abs/1708.06374
6
Distance traveled due to reaction time Braking distance Distance traveled by front vehicle
7
Problem: Assumes perfect perception
8
Real-world situation
Pedestrian speed = 0.1 activity = walking
Perception Accuracy
Pedestrian speed = 0 activity = standing
True state (unknowable)
9
Perception Planning & control Sensing Actuation World model
ADS
10
ADS
Perception Planning & control Sensing Actuation World model Perception Planning & control Sensing Actuation World model
RSS
11
ADS
Perception Planning & control Sensing Actuation World model Perception Planning & control Sensing Actuation World model
RSS
12
Safe following distance Safe action set Safe(s)
13
s → s’ where s ¹ s’
s → s’ where s = s’
Real-world situation Perception
Pedestrian speed = 0.1 activity = walking
True state (unknowable)
Pedestrian speed = 0 activity = standing
s s’ s ¹ s’ True state (unknowable) Real-world situation Perception
Pedestrian speed = 0 activity = standing
s s’ s = s’
Pedestrian speed = 0 activity = standing
14
15
16
Real-world situation
Pedestrian speed = 0.1 activity = walking
Perception
Pedestrian speed = 0 activity = standing
True state (unknowable) Accuracy
17
Real-world situation Perception Accuracy
Pedestrian speed = 0 activity = standing Pedestrian speed = 0.1 activity = walking Pedestrian speed = 0 activity = standing
… Imprecise World Model Set of credible states at conf. level a True state (unknowable)
18
Imperfect Perception Planning & control Action World model
ADS RSS – rules lifted to imprecise world model
Situation Imprecise Perception Imprecise world model Planning & control Safe Actions Planning & control Planning & control
19
20
21
a=10-4 a=10-4 a=10-9 a=10-9
22
a=10-4 a=10-4 ? a=10-9
23
a=10-4 a=10-4 ? a=10-9
24
Any No Lane Obstruction in Front Lane Obstruction in Front (LOF) Static LOF Front Vehicle
Actions: continue or stop or follow
25
Any No Lane Obstruction in Front Lane Obstruction in Front (LOF) Static LOF Front Vehicle
Correct LOF/NLOF classification and distance ±5 cm at aLOF = 10-9 for 100% of time duration within ODD conditions Correct FV/SLOF classification and distance ±25 cm and velocity ±0.5 m/s at aFV = 10-4 for 90% of time duration within ODD condition
26
Misclassifications, under-classifications, quantitative errors
Uncertainty Influence factors
(domain coverage, sensor noise, etc.)
Towards a Framework to Manage Perceptual Uncertainty for Safe Automated Driving. WAISE’18
27
28
Perception Real-world situation Sensory channel Camera image, radar data Perception algorithm
Pedestrian speed = 0.1 activity = walking Pedestrian speed = 0 activity = standing
… Set of credible states (uncertain) Accuracy
Pedestrian speed = 0 activity = standing
True state (unknowable)
29
Real-world situations Concept Semantics Sensory data Sensory channel Data interpretation Perception
Sensory channel Perception Real-world situation
Pedestrian speed = 0 activity = standing
True state (unknowable) Perception algorithm Camera image, radar data
Pedestrian speed = 0.1 activity = walking Pedestrian speed = 0 activity = standing
… Set of credible states (uncertain) Accuracy
30
Concept Development situations and scenarios Sensory data Sensory channel Partial semantics (examples) Data labeling
Trained Model
Model class selection, training & testing
Concept Operational situations and scenarios Sensory data Sensory channel Resulting perception Inferred state
Concept Development situations and scenarios Sensory data Sensory channel Partial semantics (examples) Data labeling Concept Operational situations and scenarios Sensory data Sensory channel Resulting perception Inferred state
F4 F4
Trained Model
Model class selection, training & testing
F6 F5
Domain shift F7
F2 F3 F2 F1
31
F3
Perceptual Uncertainty for Safe Automated Driving. WAISE’18
Concept Development situations and scenarios Sensory data Sensory channel Partial semantics (examples) Data labeling Concept Operational situations and scenarios Sensory data Sensory channel Resulting perception Inferred state
F4 F4
Trained Model
Model class selection, training & testing
F6 F5
Domain shift F7
F2 F2 F1
32
F3
Perceptual Uncertainty for Safe Automated Driving. WAISE’18
F3
33
34
35
Samin Khan, Buu Phan, Rick Salay, and Krzysztof Czarnecki. ProcSy: Procedural Synthetic Dataset Generation Towards Influence Factor Studies Of Semantic Segmentation Networks. Workshop on Vision for All Seasons: Bad Weather and Nighttime, associated with CVPR, Long Beach, 2019
37
38
39
40
1 2 3 Mutual Information (MI) = PE - AE Aleatoric Entropy (AE) = E(H(p)) Predictive Entropy (PE) = H(E(p)) 3 2 1 (Epistemic Uncertainty)
Smith L, Gal Y. Understanding measures of uncertainty for adversarial example detection. arXiv preprint arXiv:1803.08533
41
42
Buu Phan, Samin Khan, and Rick Salay, and Krzysztof Czarnecki. Bayesian Uncertainty Quantification with Synthetic Data. In Proceedings of International Workshop on Artificial Intelligence Safety Engineering (WAISE), SAFECOMP, Turku, Finland, 2019
43 |D| = 3000 |D| = 500 |D| = 8000 |D| = 13100
44
45
46
Misclassifications, under-classifications, quantitative errors
Uncertainty Influence factors
(domain coverage, sensor noise, etc.)
certainty levels required for collision avoidance – ML is useful for longer-term, anticipatory risk reduction
considered for the complete, fused perception and over time – E.g., different information becomes certain with different delays
far from being useful in practice
automated driving than human driving – E.g., negotiation in merging
47