SlideShare a Scribd company logo
1 of 29
Research Institutes of Sweden
EXPLAINABILITY FIRST!
COUSTEAUING THE
DEPTHS OF NEURAL
NETWORKS
ES4CPS@Dagstuhl – Jan 7, 2019
@mrksbrg
mrksbrg.com
Markus Borg
RISE Research Institutes of Sweden AB
- “Aller voir!”
- ”Safety first!”
Nope… Explainability
Development engineer, ABB, Malmö, Sweden 2007-2010
 Editor and compiler development
 Safety-critical systems
PhD student, Lund University, Sweden 2010-2015
 Machine learning for software engineering
 Bug reports and traceability
Senior researcher, RISE AB, Lund, Sweden 2015-
 Software engineering for machine learning
 Software testing and V&V
3
Who is Markus Borg?
Background
4
5
Functional Safety Standards
1. Develop understanding of situations that lead to safety-related
failures
 Hazard = system state that could lead to an accident
2. Design software so that such failures do not occur
 Fault tree analysis
7
Achieving Safety in Software Systems
 Safety requirement: “Stop for crossing pedestrians”
 How do you argue in the safety case?
8
Safety certification => Put evidence on the table!
 System specifications
 and why we believe it is valid
 Comprehensive V&V process descriptions
 and its results
 coverage testing for all critical code
Software process descriptions
 hazard register and safety requirements
 code reviews
 traceability from safety requirements to code and tests
 …
9
Safety evidence – In a nutshell
Application context
10
11
Safe-Req-A1:
In autonomous highway mode A, the
vehicle shall keep a minimum safe
distance of 50 m to preceding traffic
12
Realize vehicular perception using deep learning
13
Autonomous Driving thanks to Convolutional Neural Networks
Trace from Safe-Req-A1 to… what?
”Aller voir!”
2) parameter values in a
trained deep learning model
3) in training examples
used to train and test the
deep learning model
1) inside a human-
interpretable model of a
deep neural network
15
Trace from Safe-Req-A1 to… what?
Open challenge
16
 FR1: … shall have an autonomous mode … in normal conditions…
 FR2: If the conditions change … shall request manual mode …
 FR3: If the driver does not comply … perform graceful degradation
17
System feature - Autonomous highway driving
18
Safety cage architecture
 Add reject option for deep network
 Novelty detection
Graceful degradation
 Graceful degradation
 turn on hazard lights
 slow down
 attempt to pull over
Missed to detect
preceding vehicle
Software bugs
Bugs in ML
pipeline
Bugs in training
code
Bugs in inference
code
Data bugs
Incorrectly
labeled training
data
Missing types of
training data
Deep learning
misclassification
Failed
generalization
Misclassification
due to fog
Safety cage fails
to reject input
Hydrometer
failure
19
Fault tree analysis
Missed to detect
preceding vehicle
Software bugs
Bugs in ML
pipeline
Bugs in training
code
Bugs in inference
code
Data bugs
Incorrectly
labeled training
data
Missing types of
training data
Deep learning
misclassification
Failed
generalization
Misclassification
due to fog
Safety cage fails
to reject input
Hydrometer
failure
20
Fault tree analysis
Missed to detect
preceding vehicle
Software bugs
Bugs in ML
pipeline
Bugs in training
code
Bugs in inference
code
Data bugs
Incorrectly
labeled training
data
Missing types of
training data
Deep learning
misclassification
Failed
generalization
Misclassification
due to fog
Safety cage fails
to reject input
Hydrometer
failure
21
Fault tree analysis
False negative
Missed to detect
preceding vehicle
Software bugs
Bugs in ML
pipeline
Bugs in training
code
Bugs in inference
code
Data bugs
Incorrectly
labeled training
data
Missing types of
training data
Deep learning
misclassification
Failed
generalization
Misclassification
due to fog
Safety cage fails
to reject input
Hydrometer
failure
22
Fault tree analysis
…
False negative
Missed to detect
preceding vehicle
Software bugs
Bugs in ML
pipeline
Bugs in training
code
Bugs in inference
code
Data bugs
Incorrectly
labeled training
data
Missing types of
training data
Deep learning
misclassification
Failed
generalization
Misclassification
due to fog
Safety cage fails
to reject input
Hydrometer
failure
23
Fault tree analysis
False negative
…
Missed to detect
preceding vehicle
Software bugs
Bugs in ML
pipeline
Bugs in training
code
Bugs in inference
code
Data bugs
Incorrectly
labeled training
data
Missing types of
training data
”Normal”
misclassification
Failed
generalization
Misclassification
due to fog
Safety cage fails
to reject input
Hydrometer
failure
24
Fault tree analysis
HW
Decreasing regulator familiarity
False negative
Missed to detect
preceding vehicle
Software bugs
Bugs in ML
pipeline
Bugs in training
code
Bugs in inference
code
Data bugs
Incorrectly
labeled training
data
Missing types of
training data
”Normal”
misclassification
Failed
generalization
Misclassification
due to fog
Safety cage fails
to reject input
Hydrometer
failure
25
Fault tree analysis
HW
Source
code
Decreasing regulator familiarity
False negative
Missed to detect
preceding vehicle
Software bugs
Bugs in ML
pipeline
Bugs in training
code
Bugs in inference
code
Data bugs
Incorrectly
labeled training
data
Missing types of
training data
”Normal”
misclassification
Failed
generalization
Misclassification
due to fog
Safety cage fails
to reject input
Hydrometer
failure
26
Fault tree analysis
HW
Source
code
Training
data
Decreasing regulator familiarity
False negative
Missed to detect
preceding vehicle
Software bugs
Bugs in ML
pipeline
Bugs in training
code
Bugs in inference
code
Data bugs
Incorrectly
labeled training
data
Missing types of
training data
”Normal”
misclassification
Failed
generalization
Misclassification
due to fog
Safety cage fails
to reject input
Hydrometer
failure
27
Fault tree analysis
HW
ML
Model
Source
code
Training
data
Decreasing regulator familiarity
False negative
 System specifications
 CNN architecture, safety cage architecture
 description of training data
28
Explainability additions
 V&V process descriptions
 training-validation-test split
 neuron coverage
 approach to simulation
Software process extensions
 new ML hazards advarsarial example mitigation strategy
 traceability from all safety requirements to data and code and tests
 staff ML training
- “Aller voir”
- ”Safety first!”
Nope… Explainability
markus.borg@ri.se
@mrksbrg
mrksbrg.com

More Related Content

Similar to Explainability First! Cousteauing the Depths of Neural Networks

Computer Network Simulation Projects Assistance
Computer Network Simulation Projects AssistanceComputer Network Simulation Projects Assistance
Computer Network Simulation Projects AssistanceNetwork Simulation Tools
 
Security Application for Malicious Code Detection using Data Mining
Security Application for Malicious Code Detection using Data MiningSecurity Application for Malicious Code Detection using Data Mining
Security Application for Malicious Code Detection using Data MiningPravinYalameli
 
Machine Learning for Malware Classification and Clustering
Machine Learning for Malware Classification and ClusteringMachine Learning for Malware Classification and Clustering
Machine Learning for Malware Classification and ClusteringAshwini Almad
 
Machine Learning for Malware Classification and Clustering
Machine Learning for Malware Classification and ClusteringMachine Learning for Malware Classification and Clustering
Machine Learning for Malware Classification and ClusteringEndgameInc
 
Managing ISO 31000 Framework in AI Systems - The EU ACT and other regulations
Managing ISO 31000 Framework in AI Systems - The EU ACT and other regulationsManaging ISO 31000 Framework in AI Systems - The EU ACT and other regulations
Managing ISO 31000 Framework in AI Systems - The EU ACT and other regulationsPECB
 
Automated Data Quality Assurance with Machine Learning and Autoencoders
Automated Data Quality Assurance with Machine Learning and AutoencodersAutomated Data Quality Assurance with Machine Learning and Autoencoders
Automated Data Quality Assurance with Machine Learning and AutoencodersInstitute of Contemporary Sciences
 
Software Development for Safety Critical Systems
Software Development for Safety Critical SystemsSoftware Development for Safety Critical Systems
Software Development for Safety Critical SystemsÁkos Horváth
 
Phil Koopman's ISSRE 2016 Keynote
Phil Koopman's ISSRE 2016 KeynotePhil Koopman's ISSRE 2016 Keynote
Phil Koopman's ISSRE 2016 Keynoteedgecaseresearch
 
Secure Code the Cyber Pandemic Vaccine - Wayne Burke
Secure Code the Cyber Pandemic Vaccine - Wayne BurkeSecure Code the Cyber Pandemic Vaccine - Wayne Burke
Secure Code the Cyber Pandemic Vaccine - Wayne BurkeEC-Council
 
cyber_security_syllabus .pdf | scode network institute
cyber_security_syllabus .pdf | scode network institutecyber_security_syllabus .pdf | scode network institute
cyber_security_syllabus .pdf | scode network instituteScode Network Institute
 
Explainable Artificial Intelligence (XAI) 
to Predict and Explain Future Soft...
Explainable Artificial Intelligence (XAI) 
to Predict and Explain Future Soft...Explainable Artificial Intelligence (XAI) 
to Predict and Explain Future Soft...
Explainable Artificial Intelligence (XAI) 
to Predict and Explain Future Soft...Chakkrit (Kla) Tantithamthavorn
 
CodeMeter - Your driving license to expert cryptography
CodeMeter - Your driving license to expert cryptographyCodeMeter - Your driving license to expert cryptography
CodeMeter - Your driving license to expert cryptographyteam-WIBU
 
An Empirical Characterization of Software Bugs in Open-Source Cyber-Physical ...
An Empirical Characterization of Software Bugs in Open-Source Cyber-Physical ...An Empirical Characterization of Software Bugs in Open-Source Cyber-Physical ...
An Empirical Characterization of Software Bugs in Open-Source Cyber-Physical ...Sebastiano Panichella
 
Security Best Practices
Security Best PracticesSecurity Best Practices
Security Best PracticesClint Edmonson
 
automated-optical-inspection-and-defect-detection-for-industrial-applications...
automated-optical-inspection-and-defect-detection-for-industrial-applications...automated-optical-inspection-and-defect-detection-for-industrial-applications...
automated-optical-inspection-and-defect-detection-for-industrial-applications...MajalahIlmiahMomentu
 
Automated Identification and Qualitative Characterization of Safety Concerns ...
Automated Identification and Qualitative Characterization of Safety Concerns ...Automated Identification and Qualitative Characterization of Safety Concerns ...
Automated Identification and Qualitative Characterization of Safety Concerns ...Sebastiano Panichella
 
ethical hacking
ethical hackingethical hacking
ethical hackingarnoldog1
 
Certified_Ethical_Hacker_Training ppt.pdf
Certified_Ethical_Hacker_Training ppt.pdfCertified_Ethical_Hacker_Training ppt.pdf
Certified_Ethical_Hacker_Training ppt.pdfScode Network Institute
 

Similar to Explainability First! Cousteauing the Depths of Neural Networks (20)

Computer Network Simulation Projects Assistance
Computer Network Simulation Projects AssistanceComputer Network Simulation Projects Assistance
Computer Network Simulation Projects Assistance
 
Security Application for Malicious Code Detection using Data Mining
Security Application for Malicious Code Detection using Data MiningSecurity Application for Malicious Code Detection using Data Mining
Security Application for Malicious Code Detection using Data Mining
 
Machine Learning for Malware Classification and Clustering
Machine Learning for Malware Classification and ClusteringMachine Learning for Malware Classification and Clustering
Machine Learning for Malware Classification and Clustering
 
Machine Learning for Malware Classification and Clustering
Machine Learning for Malware Classification and ClusteringMachine Learning for Malware Classification and Clustering
Machine Learning for Malware Classification and Clustering
 
Managing ISO 31000 Framework in AI Systems - The EU ACT and other regulations
Managing ISO 31000 Framework in AI Systems - The EU ACT and other regulationsManaging ISO 31000 Framework in AI Systems - The EU ACT and other regulations
Managing ISO 31000 Framework in AI Systems - The EU ACT and other regulations
 
Automated Data Quality Assurance with Machine Learning and Autoencoders
Automated Data Quality Assurance with Machine Learning and AutoencodersAutomated Data Quality Assurance with Machine Learning and Autoencoders
Automated Data Quality Assurance with Machine Learning and Autoencoders
 
Software Development for Safety Critical Systems
Software Development for Safety Critical SystemsSoftware Development for Safety Critical Systems
Software Development for Safety Critical Systems
 
IET SSCS 2018
IET SSCS 2018IET SSCS 2018
IET SSCS 2018
 
Phil Koopman's ISSRE 2016 Keynote
Phil Koopman's ISSRE 2016 KeynotePhil Koopman's ISSRE 2016 Keynote
Phil Koopman's ISSRE 2016 Keynote
 
Secure Code the Cyber Pandemic Vaccine - Wayne Burke
Secure Code the Cyber Pandemic Vaccine - Wayne BurkeSecure Code the Cyber Pandemic Vaccine - Wayne Burke
Secure Code the Cyber Pandemic Vaccine - Wayne Burke
 
Deep learning in manufacturing predicting and preventing manufacturing defect...
Deep learning in manufacturing predicting and preventing manufacturing defect...Deep learning in manufacturing predicting and preventing manufacturing defect...
Deep learning in manufacturing predicting and preventing manufacturing defect...
 
cyber_security_syllabus .pdf | scode network institute
cyber_security_syllabus .pdf | scode network institutecyber_security_syllabus .pdf | scode network institute
cyber_security_syllabus .pdf | scode network institute
 
Explainable Artificial Intelligence (XAI) 
to Predict and Explain Future Soft...
Explainable Artificial Intelligence (XAI) 
to Predict and Explain Future Soft...Explainable Artificial Intelligence (XAI) 
to Predict and Explain Future Soft...
Explainable Artificial Intelligence (XAI) 
to Predict and Explain Future Soft...
 
CodeMeter - Your driving license to expert cryptography
CodeMeter - Your driving license to expert cryptographyCodeMeter - Your driving license to expert cryptography
CodeMeter - Your driving license to expert cryptography
 
An Empirical Characterization of Software Bugs in Open-Source Cyber-Physical ...
An Empirical Characterization of Software Bugs in Open-Source Cyber-Physical ...An Empirical Characterization of Software Bugs in Open-Source Cyber-Physical ...
An Empirical Characterization of Software Bugs in Open-Source Cyber-Physical ...
 
Security Best Practices
Security Best PracticesSecurity Best Practices
Security Best Practices
 
automated-optical-inspection-and-defect-detection-for-industrial-applications...
automated-optical-inspection-and-defect-detection-for-industrial-applications...automated-optical-inspection-and-defect-detection-for-industrial-applications...
automated-optical-inspection-and-defect-detection-for-industrial-applications...
 
Automated Identification and Qualitative Characterization of Safety Concerns ...
Automated Identification and Qualitative Characterization of Safety Concerns ...Automated Identification and Qualitative Characterization of Safety Concerns ...
Automated Identification and Qualitative Characterization of Safety Concerns ...
 
ethical hacking
ethical hackingethical hacking
ethical hacking
 
Certified_Ethical_Hacker_Training ppt.pdf
Certified_Ethical_Hacker_Training ppt.pdfCertified_Ethical_Hacker_Training ppt.pdf
Certified_Ethical_Hacker_Training ppt.pdf
 

More from Markus Borg

Agility in Software 2.0 - Notebook Interfaces and MLOps with Buttresses and R...
Agility in Software 2.0 - Notebook Interfaces and MLOps with Buttresses and R...Agility in Software 2.0 - Notebook Interfaces and MLOps with Buttresses and R...
Agility in Software 2.0 - Notebook Interfaces and MLOps with Buttresses and R...Markus Borg
 
Quality Assurance Of Generative Dialog Models in an evolving Conversationa...
Quality Assurance  Of  Generative Dialog Models in an evolving  Conversationa...Quality Assurance  Of  Generative Dialog Models in an evolving  Conversationa...
Quality Assurance Of Generative Dialog Models in an evolving Conversationa...Markus Borg
 
Test Automation with Grad-CAM Heatmaps - A Future Pipe Segment in MLOps for V...
Test Automation with Grad-CAM Heatmaps - A Future Pipe Segment in MLOps for V...Test Automation with Grad-CAM Heatmaps - A Future Pipe Segment in MLOps for V...
Test Automation with Grad-CAM Heatmaps - A Future Pipe Segment in MLOps for V...Markus Borg
 
Digital Twins Are Not Monozygotic - Cross-Replicating ADAS Testing in Two Ind...
Digital Twins Are Not Monozygotic - Cross-Replicating ADAS Testing in Two Ind...Digital Twins Are Not Monozygotic - Cross-Replicating ADAS Testing in Two Ind...
Digital Twins Are Not Monozygotic - Cross-Replicating ADAS Testing in Two Ind...Markus Borg
 
Illuminating a Blind Spot in Digitalization - Software Development in Sweden’...
Illuminating a Blind Spot in Digitalization - Software Development in Sweden’...Illuminating a Blind Spot in Digitalization - Software Development in Sweden’...
Illuminating a Blind Spot in Digitalization - Software Development in Sweden’...Markus Borg
 
SZZ Unleashed: An Open Implementation of the SZZ Algorithm
SZZ Unleashed:  An Open Implementation of the SZZ AlgorithmSZZ Unleashed:  An Open Implementation of the SZZ Algorithm
SZZ Unleashed: An Open Implementation of the SZZ AlgorithmMarkus Borg
 
Test Automation Research... Is That Really Needed in 2018?
Test Automation Research... Is That Really Needed in 2018?Test Automation Research... Is That Really Needed in 2018?
Test Automation Research... Is That Really Needed in 2018?Markus Borg
 
Supporting Change Impact Analysis Using a Recommendation System - An Industri...
Supporting Change Impact Analysis Using a Recommendation System - An Industri...Supporting Change Impact Analysis Using a Recommendation System - An Industri...
Supporting Change Impact Analysis Using a Recommendation System - An Industri...Markus Borg
 
Component Source Origin Decisions in Practice - A Survey of Decision Making i...
Component Source Origin Decisions in Practice - A Survey of Decision Making i...Component Source Origin Decisions in Practice - A Survey of Decision Making i...
Component Source Origin Decisions in Practice - A Survey of Decision Making i...Markus Borg
 
Enabling Visual Analytics with Unity - Exploring Regression Test Results in A...
Enabling Visual Analytics with Unity - Exploring Regression Test Results in A...Enabling Visual Analytics with Unity - Exploring Regression Test Results in A...
Enabling Visual Analytics with Unity - Exploring Regression Test Results in A...Markus Borg
 
Testing Quality Requirements of a System-of-Systems in the Public Sector - Ch...
Testing Quality Requirements of a System-of-Systems in the Public Sector - Ch...Testing Quality Requirements of a System-of-Systems in the Public Sector - Ch...
Testing Quality Requirements of a System-of-Systems in the Public Sector - Ch...Markus Borg
 
From Bugs to Decision Support - Selected Research Highlights
From Bugs to Decision Support - Selected Research HighlightsFrom Bugs to Decision Support - Selected Research Highlights
From Bugs to Decision Support - Selected Research HighlightsMarkus Borg
 
Comparing Cousins – A Harmonized Analysis of Racket Sport Set Scores using Ra...
Comparing Cousins – A Harmonized Analysis of Racket Sport Set Scores using Ra...Comparing Cousins – A Harmonized Analysis of Racket Sport Set Scores using Ra...
Comparing Cousins – A Harmonized Analysis of Racket Sport Set Scores using Ra...Markus Borg
 
Automation in the Bug Flow - Machine Learning for Triaging and Tracing
Automation in the Bug Flow - Machine Learning for Triaging and TracingAutomation in the Bug Flow - Machine Learning for Triaging and Tracing
Automation in the Bug Flow - Machine Learning for Triaging and TracingMarkus Borg
 
Revisiting the Challenges in Aligning RE and V&V: Experiences from the Public...
Revisiting the Challenges in Aligning RE and V&V: Experiences from the Public...Revisiting the Challenges in Aligning RE and V&V: Experiences from the Public...
Revisiting the Challenges in Aligning RE and V&V: Experiences from the Public...Markus Borg
 
Enabling Traceability Reuse for Impact Analyses - Toward a Recommendation Sys...
Enabling Traceability Reuse for Impact Analyses - Toward a Recommendation Sys...Enabling Traceability Reuse for Impact Analyses - Toward a Recommendation Sys...
Enabling Traceability Reuse for Impact Analyses - Toward a Recommendation Sys...Markus Borg
 
Analyzing networks of issue reports
Analyzing networks of issue reportsAnalyzing networks of issue reports
Analyzing networks of issue reportsMarkus Borg
 
Findability through Traceability - A Realistic Application of Candidate Tr...
Findability through Traceability  - A Realistic Application of Candidate Tr...Findability through Traceability  - A Realistic Application of Candidate Tr...
Findability through Traceability - A Realistic Application of Candidate Tr...Markus Borg
 
Recommendation Systems for Issue Management
Recommendation Systems for Issue ManagementRecommendation Systems for Issue Management
Recommendation Systems for Issue ManagementMarkus Borg
 

More from Markus Borg (19)

Agility in Software 2.0 - Notebook Interfaces and MLOps with Buttresses and R...
Agility in Software 2.0 - Notebook Interfaces and MLOps with Buttresses and R...Agility in Software 2.0 - Notebook Interfaces and MLOps with Buttresses and R...
Agility in Software 2.0 - Notebook Interfaces and MLOps with Buttresses and R...
 
Quality Assurance Of Generative Dialog Models in an evolving Conversationa...
Quality Assurance  Of  Generative Dialog Models in an evolving  Conversationa...Quality Assurance  Of  Generative Dialog Models in an evolving  Conversationa...
Quality Assurance Of Generative Dialog Models in an evolving Conversationa...
 
Test Automation with Grad-CAM Heatmaps - A Future Pipe Segment in MLOps for V...
Test Automation with Grad-CAM Heatmaps - A Future Pipe Segment in MLOps for V...Test Automation with Grad-CAM Heatmaps - A Future Pipe Segment in MLOps for V...
Test Automation with Grad-CAM Heatmaps - A Future Pipe Segment in MLOps for V...
 
Digital Twins Are Not Monozygotic - Cross-Replicating ADAS Testing in Two Ind...
Digital Twins Are Not Monozygotic - Cross-Replicating ADAS Testing in Two Ind...Digital Twins Are Not Monozygotic - Cross-Replicating ADAS Testing in Two Ind...
Digital Twins Are Not Monozygotic - Cross-Replicating ADAS Testing in Two Ind...
 
Illuminating a Blind Spot in Digitalization - Software Development in Sweden’...
Illuminating a Blind Spot in Digitalization - Software Development in Sweden’...Illuminating a Blind Spot in Digitalization - Software Development in Sweden’...
Illuminating a Blind Spot in Digitalization - Software Development in Sweden’...
 
SZZ Unleashed: An Open Implementation of the SZZ Algorithm
SZZ Unleashed:  An Open Implementation of the SZZ AlgorithmSZZ Unleashed:  An Open Implementation of the SZZ Algorithm
SZZ Unleashed: An Open Implementation of the SZZ Algorithm
 
Test Automation Research... Is That Really Needed in 2018?
Test Automation Research... Is That Really Needed in 2018?Test Automation Research... Is That Really Needed in 2018?
Test Automation Research... Is That Really Needed in 2018?
 
Supporting Change Impact Analysis Using a Recommendation System - An Industri...
Supporting Change Impact Analysis Using a Recommendation System - An Industri...Supporting Change Impact Analysis Using a Recommendation System - An Industri...
Supporting Change Impact Analysis Using a Recommendation System - An Industri...
 
Component Source Origin Decisions in Practice - A Survey of Decision Making i...
Component Source Origin Decisions in Practice - A Survey of Decision Making i...Component Source Origin Decisions in Practice - A Survey of Decision Making i...
Component Source Origin Decisions in Practice - A Survey of Decision Making i...
 
Enabling Visual Analytics with Unity - Exploring Regression Test Results in A...
Enabling Visual Analytics with Unity - Exploring Regression Test Results in A...Enabling Visual Analytics with Unity - Exploring Regression Test Results in A...
Enabling Visual Analytics with Unity - Exploring Regression Test Results in A...
 
Testing Quality Requirements of a System-of-Systems in the Public Sector - Ch...
Testing Quality Requirements of a System-of-Systems in the Public Sector - Ch...Testing Quality Requirements of a System-of-Systems in the Public Sector - Ch...
Testing Quality Requirements of a System-of-Systems in the Public Sector - Ch...
 
From Bugs to Decision Support - Selected Research Highlights
From Bugs to Decision Support - Selected Research HighlightsFrom Bugs to Decision Support - Selected Research Highlights
From Bugs to Decision Support - Selected Research Highlights
 
Comparing Cousins – A Harmonized Analysis of Racket Sport Set Scores using Ra...
Comparing Cousins – A Harmonized Analysis of Racket Sport Set Scores using Ra...Comparing Cousins – A Harmonized Analysis of Racket Sport Set Scores using Ra...
Comparing Cousins – A Harmonized Analysis of Racket Sport Set Scores using Ra...
 
Automation in the Bug Flow - Machine Learning for Triaging and Tracing
Automation in the Bug Flow - Machine Learning for Triaging and TracingAutomation in the Bug Flow - Machine Learning for Triaging and Tracing
Automation in the Bug Flow - Machine Learning for Triaging and Tracing
 
Revisiting the Challenges in Aligning RE and V&V: Experiences from the Public...
Revisiting the Challenges in Aligning RE and V&V: Experiences from the Public...Revisiting the Challenges in Aligning RE and V&V: Experiences from the Public...
Revisiting the Challenges in Aligning RE and V&V: Experiences from the Public...
 
Enabling Traceability Reuse for Impact Analyses - Toward a Recommendation Sys...
Enabling Traceability Reuse for Impact Analyses - Toward a Recommendation Sys...Enabling Traceability Reuse for Impact Analyses - Toward a Recommendation Sys...
Enabling Traceability Reuse for Impact Analyses - Toward a Recommendation Sys...
 
Analyzing networks of issue reports
Analyzing networks of issue reportsAnalyzing networks of issue reports
Analyzing networks of issue reports
 
Findability through Traceability - A Realistic Application of Candidate Tr...
Findability through Traceability  - A Realistic Application of Candidate Tr...Findability through Traceability  - A Realistic Application of Candidate Tr...
Findability through Traceability - A Realistic Application of Candidate Tr...
 
Recommendation Systems for Issue Management
Recommendation Systems for Issue ManagementRecommendation Systems for Issue Management
Recommendation Systems for Issue Management
 

Recently uploaded

Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...Call Girls in Nagpur High Profile
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 

Recently uploaded (20)

Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 

Explainability First! Cousteauing the Depths of Neural Networks

  • 1. Research Institutes of Sweden EXPLAINABILITY FIRST! COUSTEAUING THE DEPTHS OF NEURAL NETWORKS ES4CPS@Dagstuhl – Jan 7, 2019 @mrksbrg mrksbrg.com Markus Borg RISE Research Institutes of Sweden AB
  • 2. - “Aller voir!” - ”Safety first!” Nope… Explainability
  • 3. Development engineer, ABB, Malmö, Sweden 2007-2010  Editor and compiler development  Safety-critical systems PhD student, Lund University, Sweden 2010-2015  Machine learning for software engineering  Bug reports and traceability Senior researcher, RISE AB, Lund, Sweden 2015-  Software engineering for machine learning  Software testing and V&V 3 Who is Markus Borg?
  • 6.
  • 7. 1. Develop understanding of situations that lead to safety-related failures  Hazard = system state that could lead to an accident 2. Design software so that such failures do not occur  Fault tree analysis 7 Achieving Safety in Software Systems
  • 8.  Safety requirement: “Stop for crossing pedestrians”  How do you argue in the safety case? 8 Safety certification => Put evidence on the table!
  • 9.  System specifications  and why we believe it is valid  Comprehensive V&V process descriptions  and its results  coverage testing for all critical code Software process descriptions  hazard register and safety requirements  code reviews  traceability from safety requirements to code and tests  … 9 Safety evidence – In a nutshell
  • 11. 11 Safe-Req-A1: In autonomous highway mode A, the vehicle shall keep a minimum safe distance of 50 m to preceding traffic
  • 12. 12 Realize vehicular perception using deep learning
  • 13. 13 Autonomous Driving thanks to Convolutional Neural Networks
  • 14. Trace from Safe-Req-A1 to… what? ”Aller voir!”
  • 15. 2) parameter values in a trained deep learning model 3) in training examples used to train and test the deep learning model 1) inside a human- interpretable model of a deep neural network 15 Trace from Safe-Req-A1 to… what?
  • 17.  FR1: … shall have an autonomous mode … in normal conditions…  FR2: If the conditions change … shall request manual mode …  FR3: If the driver does not comply … perform graceful degradation 17 System feature - Autonomous highway driving
  • 18. 18 Safety cage architecture  Add reject option for deep network  Novelty detection Graceful degradation  Graceful degradation  turn on hazard lights  slow down  attempt to pull over
  • 19. Missed to detect preceding vehicle Software bugs Bugs in ML pipeline Bugs in training code Bugs in inference code Data bugs Incorrectly labeled training data Missing types of training data Deep learning misclassification Failed generalization Misclassification due to fog Safety cage fails to reject input Hydrometer failure 19 Fault tree analysis
  • 20. Missed to detect preceding vehicle Software bugs Bugs in ML pipeline Bugs in training code Bugs in inference code Data bugs Incorrectly labeled training data Missing types of training data Deep learning misclassification Failed generalization Misclassification due to fog Safety cage fails to reject input Hydrometer failure 20 Fault tree analysis
  • 21. Missed to detect preceding vehicle Software bugs Bugs in ML pipeline Bugs in training code Bugs in inference code Data bugs Incorrectly labeled training data Missing types of training data Deep learning misclassification Failed generalization Misclassification due to fog Safety cage fails to reject input Hydrometer failure 21 Fault tree analysis False negative
  • 22. Missed to detect preceding vehicle Software bugs Bugs in ML pipeline Bugs in training code Bugs in inference code Data bugs Incorrectly labeled training data Missing types of training data Deep learning misclassification Failed generalization Misclassification due to fog Safety cage fails to reject input Hydrometer failure 22 Fault tree analysis … False negative
  • 23. Missed to detect preceding vehicle Software bugs Bugs in ML pipeline Bugs in training code Bugs in inference code Data bugs Incorrectly labeled training data Missing types of training data Deep learning misclassification Failed generalization Misclassification due to fog Safety cage fails to reject input Hydrometer failure 23 Fault tree analysis False negative …
  • 24. Missed to detect preceding vehicle Software bugs Bugs in ML pipeline Bugs in training code Bugs in inference code Data bugs Incorrectly labeled training data Missing types of training data ”Normal” misclassification Failed generalization Misclassification due to fog Safety cage fails to reject input Hydrometer failure 24 Fault tree analysis HW Decreasing regulator familiarity False negative
  • 25. Missed to detect preceding vehicle Software bugs Bugs in ML pipeline Bugs in training code Bugs in inference code Data bugs Incorrectly labeled training data Missing types of training data ”Normal” misclassification Failed generalization Misclassification due to fog Safety cage fails to reject input Hydrometer failure 25 Fault tree analysis HW Source code Decreasing regulator familiarity False negative
  • 26. Missed to detect preceding vehicle Software bugs Bugs in ML pipeline Bugs in training code Bugs in inference code Data bugs Incorrectly labeled training data Missing types of training data ”Normal” misclassification Failed generalization Misclassification due to fog Safety cage fails to reject input Hydrometer failure 26 Fault tree analysis HW Source code Training data Decreasing regulator familiarity False negative
  • 27. Missed to detect preceding vehicle Software bugs Bugs in ML pipeline Bugs in training code Bugs in inference code Data bugs Incorrectly labeled training data Missing types of training data ”Normal” misclassification Failed generalization Misclassification due to fog Safety cage fails to reject input Hydrometer failure 27 Fault tree analysis HW ML Model Source code Training data Decreasing regulator familiarity False negative
  • 28.  System specifications  CNN architecture, safety cage architecture  description of training data 28 Explainability additions  V&V process descriptions  training-validation-test split  neuron coverage  approach to simulation Software process extensions  new ML hazards advarsarial example mitigation strategy  traceability from all safety requirements to data and code and tests  staff ML training
  • 29. - “Aller voir” - ”Safety first!” Nope… Explainability markus.borg@ri.se @mrksbrg mrksbrg.com