SlideShare ist ein Scribd-Unternehmen logo
1 von 33
Downloaden Sie, um offline zu lesen
ML Interpretability: Beyond
Feature Importance
Javier Antorán (ja666@cam.ac.uk)

PhD Student, University of Cambridge

@JaviAC7
Recent Trends in ML
Research and what they
mean for Interpretability
Javier Antorán (ja666@cam.ac.uk)

PhD Student, University of Cambridge

@JaviAC7
Talk Outline
• Existing Approaches to Interpretability

• “Counterfactual” Interpretability

• Uncertainty in ML

• Transparency in ML Systems that Express Uncertainty
with CLUE

• Questions / Feedback
Interpretable Data Driven
Decision Making
• Generalised Linear Models:
μ = w0 + w1x1 + w2x2 + w3x3 . . .
• Decision Trees:
• Importance of is 

• Polarity of is
xi |wi |
xi sign(wi)
Not Very Interpretable Data
Driven Decision Making
• Capture non-linear functions (NNs are universal function approximators)
• Scale to high dimensional problems
• Scale to massive datasets
• Simulate complex systems
• Etc
Feature Importance: LIME
• We approximate non-linear model Locally with Linear Model
μ = fNN(x)
μapprox = w0 + w1x1 + w2x2 + w3x3 . . .
Here explanation is more reliable in thanx1 x0
Lime Explanation is w1, w2, w3 . . .
Feature Importance on
Images
LIME [Ribeiro et. al., 2016] SHAP [Lundberg and Lee, 2017]
• Per class weight vectors forms a “template images” of
positive and negative contributions
• Can become meaningless for strongly non-linear functions
Counterfactual
Explanations to the Rescue!
• Counterfactuals capture the notion what would have
happened if something had been different
• We can ask a similar question: “What features would I need to remove
such that my model’s confidence decreases?”

• Or: “What features would I need to remove such that my model’s
prediction changes?”
• This gives a model-agnostic question we can answer to
provide insights to users. — Explanation has Clear Meaning
Counterfactual Explanations
for Image Classification
Chang et. al., 2018
Uncertainty in ML
People saying AI will
take over the world:
Meanwhile, my
Deep Neural Network:
0.978
Sources of Uncertainty
Have we observed enough data to make confident predictions?
— Model (Epistemic) Uncertainty
°5 0 5
°5
0
5
°10 0 10
°10
0
10
°10 0 10
°10
0
10
0.0
0.7
H(nats)
Is there class overlap in our data? — Noise (Aleatoric) Uncertainty
Bayesian Linear Regression Example:
What is Model Uncertainty (1/3)
Likelihood Prior
++ +
What is Model Uncertainty (2/3)
Neural Net Non-Convex
Optimisation Landscape:
Weights
Loss
What is Model Uncertainty (3/3)
Weights go from single values to probability distributions!
Approximations
Weights
Loss Approximate Distribution
Realistic Loss Landscape
Our Uncertainty Estimates are Almost Always Biased by Our
Approximations
Quantifying Uncertainty
• Classification

• Regression
Predictive
Variance
Low Entropy High Entropy
Uncertainty in Practise
• Robustness in Critical Applications (Driving,
Medical Diagnosis, etc) — Reject Option

• Dataset Building, Safety, Fairness (Identifying
disparities in representation of subgroups in data,
etc )

• Active Learning (Sparse Labels, Drug Discovery)

• Try out Bayesian Deep Learning with our Public Repo
Aleatoric Epistemic
Kendall and Gal, 2017
github.com/JavierAntoran/Bayesian-Neural-Networks
Are Uncertainty Aware
Systems Interpretable?
• Thankfully, Yes!*
• They are as interpretable as regular ML models**
• Uncertainty can help users understand prediction in some cases
Wickstrøm, et. al., 2019
Polyp segmentation example:
**But what about when our ML
System Doesn’t Know the Answer?
x*
Accept a Certain
Prediction
Reject an Uncertain Prediction
?
Get Explanation
ML User / Practitioner Workflow:
• LIME [Ribeiro et al., 2017]
• SHAP [Lundberg et al., 2017]
• Integrated Gradients
[Sundararajan et al., 2017]
• FIDO [Chang et al., 2017]
Explaining Uncertainty
Estimates
• We would like to highlight the evidence for each class.
• What if there is conflicting evidence (noise) or a lack of evidence for
predefined classes (model uncertainty)?
• Recall that Uncertainty Estimates are Non-Linear even for simplest models.
• Problem is well posed again when using Counterfactuals
°5 0 5
°5
0
5
°10 0 10
°10
0
10
°10 0 10
°10
0
10
0.0
0.7
H(nats)
How can we Ensure that
Counterfactuals are Relevant?
• Adversarial examples
for uncertainty
• Adversarial examples
Lets Look at Data Driven
Drug Discovery
• We can restrict hypothesis space to manifold captured
by generative model: this ensures relevant proposals
Gómez-Bombarelli et. al., 2018
Lets do the same for
Counterfactuals
CLUE: Counterfactual Latent
Uncertainty Explanations
“What is the smallest change we need to make to an
input, while staying in-distribution, such that our
model produces more certain predictions?”
The CLUE Algorithm
Iterative Optimisation:
Displaying CLUEs to Users
Comparing CLUE to Feature
Importance (LIME / SHAP)
• In high uncertainty scenarios, it is difficult to build an
explanation in terms of the provided information (features)

• CLUE’s counterfactual nature allows it to add new information
User Study: Setup (1/2)
Human Simulability: Users are shown context examples and
are tasked with predicting model behaviour on new datapoint.
User Study: Setup (2/2)
Tasks:
• COMPAS (Criminal Recidivism Prediction, 7 dim)
• LAST (Academic Performance Prediction, 4 dim)
Users:
• University Students with ML experience
• 10 Users per approach, 10 Questions per Dataset
User Study: Results
Method N. participants Accuracy (%)
Random 10 61.67
Sensitivity 10 52.78
Human 10 62.22
CLUE 10 82.22
CLUE’s improvement over all other approaches is statistically significant
(Using Nemenyi test for average ranks across test questions)
Now with Images:
We modify the MNIST train set to introduce Out Of
Distribution (model) uncertainty.
Method N. participants Accuracy
Unc. 5 0.67
CLUE 5 0.88
Thanks to my Collaborators!
Javier Antorán
ja666@cam.ac.uk
Umang Bhatt
usb20@cam.ac.uk
José Miguel
Hernández-Lobato
jmh233@cam.ac.uk
Adrian Weller
aw665@cam.ac.uk
Tameem Adel
tah47@cam.ac.uk
Questions?
Read The Full Paper at:
arxiv.org/abs/2006.06848
See More of my Research (+slides):
javierantoran.github.io/about/
Contact Me:
ja666@cam.ac.uk

Weitere ähnliche Inhalte

Was ist angesagt?

Gradient-Based Meta-Learning with Learned Layerwise Metric and Subspace
Gradient-Based Meta-Learning with Learned Layerwise Metric and SubspaceGradient-Based Meta-Learning with Learned Layerwise Metric and Subspace
Gradient-Based Meta-Learning with Learned Layerwise Metric and SubspaceYoonho Lee
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine LearningShimi Bandiel
 
Classification case study + intro to cnn
Classification case study + intro to cnnClassification case study + intro to cnn
Classification case study + intro to cnnVincent Tatan
 
Interpretable machine learning : Methods for understanding complex models
Interpretable machine learning : Methods for understanding complex modelsInterpretable machine learning : Methods for understanding complex models
Interpretable machine learning : Methods for understanding complex modelsManojit Nandi
 
[Revised] Intro to CNN
[Revised] Intro to CNN[Revised] Intro to CNN
[Revised] Intro to CNNVincent Tatan
 
Meta Learning Shared Hierarchies
Meta Learning Shared HierarchiesMeta Learning Shared Hierarchies
Meta Learning Shared HierarchiesYoonho Lee
 
Brian Mac Namee - Predict Webinar 3 - Short Intro to Deep Learing
Brian Mac Namee - Predict Webinar 3 - Short Intro to Deep LearingBrian Mac Namee - Predict Webinar 3 - Short Intro to Deep Learing
Brian Mac Namee - Predict Webinar 3 - Short Intro to Deep LearingPredict Conference
 
Introduction to ml ops in daily apps
Introduction to ml ops in daily appsIntroduction to ml ops in daily apps
Introduction to ml ops in daily appsVincent Tatan
 
Introduction to Few shot learning
Introduction to Few shot learningIntroduction to Few shot learning
Introduction to Few shot learningRidge-i, Inc.
 
Cristopher M. Bishop's tutorial on graphical models
Cristopher M. Bishop's tutorial on graphical modelsCristopher M. Bishop's tutorial on graphical models
Cristopher M. Bishop's tutorial on graphical modelsbutest
 
Approximated and User Steerable tSNE for Progressive Visual Analytics
Approximated and User Steerable tSNE for Progressive Visual AnalyticsApproximated and User Steerable tSNE for Progressive Visual Analytics
Approximated and User Steerable tSNE for Progressive Visual AnalyticsNicola Pezzotti
 
Machine Learning: Generative and Discriminative Models
Machine Learning: Generative and Discriminative ModelsMachine Learning: Generative and Discriminative Models
Machine Learning: Generative and Discriminative Modelsbutest
 
MachineLlearning introduction
MachineLlearning introductionMachineLlearning introduction
MachineLlearning introductionThe IOT Academy
 
Machine learning basics
Machine learning basics Machine learning basics
Machine learning basics Akanksha Bali
 
Explainable AI - making ML and DL models more interpretable
Explainable AI - making ML and DL models more interpretableExplainable AI - making ML and DL models more interpretable
Explainable AI - making ML and DL models more interpretableAditya Bhattacharya
 

Was ist angesagt? (17)

Gradient-Based Meta-Learning with Learned Layerwise Metric and Subspace
Gradient-Based Meta-Learning with Learned Layerwise Metric and SubspaceGradient-Based Meta-Learning with Learned Layerwise Metric and Subspace
Gradient-Based Meta-Learning with Learned Layerwise Metric and Subspace
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
Classification case study + intro to cnn
Classification case study + intro to cnnClassification case study + intro to cnn
Classification case study + intro to cnn
 
Interpretable machine learning : Methods for understanding complex models
Interpretable machine learning : Methods for understanding complex modelsInterpretable machine learning : Methods for understanding complex models
Interpretable machine learning : Methods for understanding complex models
 
[Revised] Intro to CNN
[Revised] Intro to CNN[Revised] Intro to CNN
[Revised] Intro to CNN
 
Meta Learning Shared Hierarchies
Meta Learning Shared HierarchiesMeta Learning Shared Hierarchies
Meta Learning Shared Hierarchies
 
Brian Mac Namee - Predict Webinar 3 - Short Intro to Deep Learing
Brian Mac Namee - Predict Webinar 3 - Short Intro to Deep LearingBrian Mac Namee - Predict Webinar 3 - Short Intro to Deep Learing
Brian Mac Namee - Predict Webinar 3 - Short Intro to Deep Learing
 
Introduction to ml ops in daily apps
Introduction to ml ops in daily appsIntroduction to ml ops in daily apps
Introduction to ml ops in daily apps
 
Introduction to Few shot learning
Introduction to Few shot learningIntroduction to Few shot learning
Introduction to Few shot learning
 
Icml2017 overview
Icml2017 overviewIcml2017 overview
Icml2017 overview
 
Cristopher M. Bishop's tutorial on graphical models
Cristopher M. Bishop's tutorial on graphical modelsCristopher M. Bishop's tutorial on graphical models
Cristopher M. Bishop's tutorial on graphical models
 
Approximated and User Steerable tSNE for Progressive Visual Analytics
Approximated and User Steerable tSNE for Progressive Visual AnalyticsApproximated and User Steerable tSNE for Progressive Visual Analytics
Approximated and User Steerable tSNE for Progressive Visual Analytics
 
Machine Learning: Generative and Discriminative Models
Machine Learning: Generative and Discriminative ModelsMachine Learning: Generative and Discriminative Models
Machine Learning: Generative and Discriminative Models
 
Introduction to ml
Introduction to mlIntroduction to ml
Introduction to ml
 
MachineLlearning introduction
MachineLlearning introductionMachineLlearning introduction
MachineLlearning introduction
 
Machine learning basics
Machine learning basics Machine learning basics
Machine learning basics
 
Explainable AI - making ML and DL models more interpretable
Explainable AI - making ML and DL models more interpretableExplainable AI - making ML and DL models more interpretable
Explainable AI - making ML and DL models more interpretable
 

Ähnlich wie Rsqrd AI - ML Interpretability: Beyond Feature Importance

Professor Steve Roberts; The Bayesian Crowd: scalable information combinati...
Professor Steve Roberts; The Bayesian Crowd: scalable information combinati...Professor Steve Roberts; The Bayesian Crowd: scalable information combinati...
Professor Steve Roberts; The Bayesian Crowd: scalable information combinati...Ian Morgan
 
Professor Steve Roberts; The Bayesian Crowd: scalable information combinati...
Professor Steve Roberts; The Bayesian Crowd: scalable information combinati...Professor Steve Roberts; The Bayesian Crowd: scalable information combinati...
Professor Steve Roberts; The Bayesian Crowd: scalable information combinati...Bayes Nets meetup London
 
Model Evaluation in the land of Deep Learning
Model Evaluation in the land of Deep LearningModel Evaluation in the land of Deep Learning
Model Evaluation in the land of Deep LearningPramit Choudhary
 
[Explained] "Partial Success in Closing the Gap between Human and Machine Vis...
[Explained] "Partial Success in Closing the Gap between Human and Machine Vis...[Explained] "Partial Success in Closing the Gap between Human and Machine Vis...
[Explained] "Partial Success in Closing the Gap between Human and Machine Vis...Sou Yoshihara
 
Discussion of Persi Diaconis' lecture at ISBA 2016
Discussion of Persi Diaconis' lecture at ISBA 2016Discussion of Persi Diaconis' lecture at ISBA 2016
Discussion of Persi Diaconis' lecture at ISBA 2016Christian Robert
 
​​Explainability in AI and Recommender systems: let’s make it interactive!
​​Explainability in AI and Recommender systems: let’s make it interactive!​​Explainability in AI and Recommender systems: let’s make it interactive!
​​Explainability in AI and Recommender systems: let’s make it interactive!Eindhoven University of Technology / JADS
 
2023-08-22 CoLLAs Tutorial - Beyond CIL.pdf
2023-08-22 CoLLAs Tutorial - Beyond CIL.pdf2023-08-22 CoLLAs Tutorial - Beyond CIL.pdf
2023-08-22 CoLLAs Tutorial - Beyond CIL.pdfVincenzo Lomonaco
 
Get hands-on with Explainable AI at Machine Learning Interpretability(MLI) Gym!
Get hands-on with Explainable AI at Machine Learning Interpretability(MLI) Gym!Get hands-on with Explainable AI at Machine Learning Interpretability(MLI) Gym!
Get hands-on with Explainable AI at Machine Learning Interpretability(MLI) Gym!Sri Ambati
 
Hacking Predictive Modeling - RoadSec 2018
Hacking Predictive Modeling - RoadSec 2018Hacking Predictive Modeling - RoadSec 2018
Hacking Predictive Modeling - RoadSec 2018HJ van Veen
 
Module 3: Linear Regression
Module 3:  Linear RegressionModule 3:  Linear Regression
Module 3: Linear RegressionSara Hooker
 
Lecture 2 - Introduction to Machine Learning, a lecture in subject module Sta...
Lecture 2 - Introduction to Machine Learning, a lecture in subject module Sta...Lecture 2 - Introduction to Machine Learning, a lecture in subject module Sta...
Lecture 2 - Introduction to Machine Learning, a lecture in subject module Sta...Maninda Edirisooriya
 
17- Kernels and Clustering.pptx
17- Kernels and Clustering.pptx17- Kernels and Clustering.pptx
17- Kernels and Clustering.pptxssuser2023c6
 
Legal Analytics Course - Class 6 - Overfitting, Underfitting, & Cross-Validat...
Legal Analytics Course - Class 6 - Overfitting, Underfitting, & Cross-Validat...Legal Analytics Course - Class 6 - Overfitting, Underfitting, & Cross-Validat...
Legal Analytics Course - Class 6 - Overfitting, Underfitting, & Cross-Validat...Daniel Katz
 
Deep learning: Cutting through the Myths and Hype
Deep learning: Cutting through the Myths and HypeDeep learning: Cutting through the Myths and Hype
Deep learning: Cutting through the Myths and HypeSiby Jose Plathottam
 
Linear models for data science
Linear models for data scienceLinear models for data science
Linear models for data scienceBrad Klingenberg
 
Spsshelp 100608163328-phpapp01
Spsshelp 100608163328-phpapp01Spsshelp 100608163328-phpapp01
Spsshelp 100608163328-phpapp01Henock Beyene
 
RECENT PROGRESS IN ADVERSARIAL DEEP LEARNING ATTACK AND DEFENSE - Wenbo Guo a...
RECENT PROGRESS IN ADVERSARIAL DEEP LEARNING ATTACK AND DEFENSE - Wenbo Guo a...RECENT PROGRESS IN ADVERSARIAL DEEP LEARNING ATTACK AND DEFENSE - Wenbo Guo a...
RECENT PROGRESS IN ADVERSARIAL DEEP LEARNING ATTACK AND DEFENSE - Wenbo Guo a...GeekPwn Keen
 
Statistics in the age of data science, issues you can not ignore
Statistics in the age of data science, issues you can not ignoreStatistics in the age of data science, issues you can not ignore
Statistics in the age of data science, issues you can not ignoreTuri, Inc.
 

Ähnlich wie Rsqrd AI - ML Interpretability: Beyond Feature Importance (20)

Declarative data analysis
Declarative data analysisDeclarative data analysis
Declarative data analysis
 
Professor Steve Roberts; The Bayesian Crowd: scalable information combinati...
Professor Steve Roberts; The Bayesian Crowd: scalable information combinati...Professor Steve Roberts; The Bayesian Crowd: scalable information combinati...
Professor Steve Roberts; The Bayesian Crowd: scalable information combinati...
 
Professor Steve Roberts; The Bayesian Crowd: scalable information combinati...
Professor Steve Roberts; The Bayesian Crowd: scalable information combinati...Professor Steve Roberts; The Bayesian Crowd: scalable information combinati...
Professor Steve Roberts; The Bayesian Crowd: scalable information combinati...
 
Model Evaluation in the land of Deep Learning
Model Evaluation in the land of Deep LearningModel Evaluation in the land of Deep Learning
Model Evaluation in the land of Deep Learning
 
[Explained] "Partial Success in Closing the Gap between Human and Machine Vis...
[Explained] "Partial Success in Closing the Gap between Human and Machine Vis...[Explained] "Partial Success in Closing the Gap between Human and Machine Vis...
[Explained] "Partial Success in Closing the Gap between Human and Machine Vis...
 
Discussion of Persi Diaconis' lecture at ISBA 2016
Discussion of Persi Diaconis' lecture at ISBA 2016Discussion of Persi Diaconis' lecture at ISBA 2016
Discussion of Persi Diaconis' lecture at ISBA 2016
 
​​Explainability in AI and Recommender systems: let’s make it interactive!
​​Explainability in AI and Recommender systems: let’s make it interactive!​​Explainability in AI and Recommender systems: let’s make it interactive!
​​Explainability in AI and Recommender systems: let’s make it interactive!
 
2023-08-22 CoLLAs Tutorial - Beyond CIL.pdf
2023-08-22 CoLLAs Tutorial - Beyond CIL.pdf2023-08-22 CoLLAs Tutorial - Beyond CIL.pdf
2023-08-22 CoLLAs Tutorial - Beyond CIL.pdf
 
Get hands-on with Explainable AI at Machine Learning Interpretability(MLI) Gym!
Get hands-on with Explainable AI at Machine Learning Interpretability(MLI) Gym!Get hands-on with Explainable AI at Machine Learning Interpretability(MLI) Gym!
Get hands-on with Explainable AI at Machine Learning Interpretability(MLI) Gym!
 
Hacking Predictive Modeling - RoadSec 2018
Hacking Predictive Modeling - RoadSec 2018Hacking Predictive Modeling - RoadSec 2018
Hacking Predictive Modeling - RoadSec 2018
 
Module 3: Linear Regression
Module 3:  Linear RegressionModule 3:  Linear Regression
Module 3: Linear Regression
 
Lecture 2 - Introduction to Machine Learning, a lecture in subject module Sta...
Lecture 2 - Introduction to Machine Learning, a lecture in subject module Sta...Lecture 2 - Introduction to Machine Learning, a lecture in subject module Sta...
Lecture 2 - Introduction to Machine Learning, a lecture in subject module Sta...
 
17- Kernels and Clustering.pptx
17- Kernels and Clustering.pptx17- Kernels and Clustering.pptx
17- Kernels and Clustering.pptx
 
Legal Analytics Course - Class 6 - Overfitting, Underfitting, & Cross-Validat...
Legal Analytics Course - Class 6 - Overfitting, Underfitting, & Cross-Validat...Legal Analytics Course - Class 6 - Overfitting, Underfitting, & Cross-Validat...
Legal Analytics Course - Class 6 - Overfitting, Underfitting, & Cross-Validat...
 
Deep learning: Cutting through the Myths and Hype
Deep learning: Cutting through the Myths and HypeDeep learning: Cutting through the Myths and Hype
Deep learning: Cutting through the Myths and Hype
 
Linear models for data science
Linear models for data scienceLinear models for data science
Linear models for data science
 
Spsshelp 100608163328-phpapp01
Spsshelp 100608163328-phpapp01Spsshelp 100608163328-phpapp01
Spsshelp 100608163328-phpapp01
 
LR2. Summary Day 2
LR2. Summary Day 2LR2. Summary Day 2
LR2. Summary Day 2
 
RECENT PROGRESS IN ADVERSARIAL DEEP LEARNING ATTACK AND DEFENSE - Wenbo Guo a...
RECENT PROGRESS IN ADVERSARIAL DEEP LEARNING ATTACK AND DEFENSE - Wenbo Guo a...RECENT PROGRESS IN ADVERSARIAL DEEP LEARNING ATTACK AND DEFENSE - Wenbo Guo a...
RECENT PROGRESS IN ADVERSARIAL DEEP LEARNING ATTACK AND DEFENSE - Wenbo Guo a...
 
Statistics in the age of data science, issues you can not ignore
Statistics in the age of data science, issues you can not ignoreStatistics in the age of data science, issues you can not ignore
Statistics in the age of data science, issues you can not ignore
 

Kürzlich hochgeladen

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 

Kürzlich hochgeladen (20)

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 

Rsqrd AI - ML Interpretability: Beyond Feature Importance

  • 1. ML Interpretability: Beyond Feature Importance Javier Antorán (ja666@cam.ac.uk) PhD Student, University of Cambridge @JaviAC7
  • 2. Recent Trends in ML Research and what they mean for Interpretability Javier Antorán (ja666@cam.ac.uk) PhD Student, University of Cambridge @JaviAC7
  • 3. Talk Outline • Existing Approaches to Interpretability • “Counterfactual” Interpretability • Uncertainty in ML • Transparency in ML Systems that Express Uncertainty with CLUE • Questions / Feedback
  • 4. Interpretable Data Driven Decision Making • Generalised Linear Models: μ = w0 + w1x1 + w2x2 + w3x3 . . . • Decision Trees: • Importance of is • Polarity of is xi |wi | xi sign(wi)
  • 5. Not Very Interpretable Data Driven Decision Making • Capture non-linear functions (NNs are universal function approximators) • Scale to high dimensional problems • Scale to massive datasets • Simulate complex systems • Etc
  • 6. Feature Importance: LIME • We approximate non-linear model Locally with Linear Model μ = fNN(x) μapprox = w0 + w1x1 + w2x2 + w3x3 . . . Here explanation is more reliable in thanx1 x0 Lime Explanation is w1, w2, w3 . . .
  • 7. Feature Importance on Images LIME [Ribeiro et. al., 2016] SHAP [Lundberg and Lee, 2017] • Per class weight vectors forms a “template images” of positive and negative contributions • Can become meaningless for strongly non-linear functions
  • 8. Counterfactual Explanations to the Rescue! • Counterfactuals capture the notion what would have happened if something had been different • We can ask a similar question: “What features would I need to remove such that my model’s confidence decreases?” • Or: “What features would I need to remove such that my model’s prediction changes?” • This gives a model-agnostic question we can answer to provide insights to users. — Explanation has Clear Meaning
  • 9. Counterfactual Explanations for Image Classification Chang et. al., 2018
  • 10. Uncertainty in ML People saying AI will take over the world: Meanwhile, my Deep Neural Network: 0.978
  • 11. Sources of Uncertainty Have we observed enough data to make confident predictions? — Model (Epistemic) Uncertainty °5 0 5 °5 0 5 °10 0 10 °10 0 10 °10 0 10 °10 0 10 0.0 0.7 H(nats) Is there class overlap in our data? — Noise (Aleatoric) Uncertainty Bayesian Linear Regression Example:
  • 12. What is Model Uncertainty (1/3) Likelihood Prior
  • 13. ++ + What is Model Uncertainty (2/3) Neural Net Non-Convex Optimisation Landscape: Weights Loss
  • 14. What is Model Uncertainty (3/3) Weights go from single values to probability distributions!
  • 15. Approximations Weights Loss Approximate Distribution Realistic Loss Landscape Our Uncertainty Estimates are Almost Always Biased by Our Approximations
  • 16. Quantifying Uncertainty • Classification • Regression Predictive Variance Low Entropy High Entropy
  • 17. Uncertainty in Practise • Robustness in Critical Applications (Driving, Medical Diagnosis, etc) — Reject Option • Dataset Building, Safety, Fairness (Identifying disparities in representation of subgroups in data, etc ) • Active Learning (Sparse Labels, Drug Discovery) • Try out Bayesian Deep Learning with our Public Repo Aleatoric Epistemic Kendall and Gal, 2017 github.com/JavierAntoran/Bayesian-Neural-Networks
  • 18. Are Uncertainty Aware Systems Interpretable? • Thankfully, Yes!* • They are as interpretable as regular ML models** • Uncertainty can help users understand prediction in some cases Wickstrøm, et. al., 2019 Polyp segmentation example:
  • 19. **But what about when our ML System Doesn’t Know the Answer? x* Accept a Certain Prediction Reject an Uncertain Prediction ? Get Explanation ML User / Practitioner Workflow: • LIME [Ribeiro et al., 2017] • SHAP [Lundberg et al., 2017] • Integrated Gradients [Sundararajan et al., 2017] • FIDO [Chang et al., 2017]
  • 20. Explaining Uncertainty Estimates • We would like to highlight the evidence for each class. • What if there is conflicting evidence (noise) or a lack of evidence for predefined classes (model uncertainty)? • Recall that Uncertainty Estimates are Non-Linear even for simplest models. • Problem is well posed again when using Counterfactuals °5 0 5 °5 0 5 °10 0 10 °10 0 10 °10 0 10 °10 0 10 0.0 0.7 H(nats)
  • 21. How can we Ensure that Counterfactuals are Relevant? • Adversarial examples for uncertainty • Adversarial examples
  • 22. Lets Look at Data Driven Drug Discovery • We can restrict hypothesis space to manifold captured by generative model: this ensures relevant proposals Gómez-Bombarelli et. al., 2018
  • 23. Lets do the same for Counterfactuals
  • 24. CLUE: Counterfactual Latent Uncertainty Explanations “What is the smallest change we need to make to an input, while staying in-distribution, such that our model produces more certain predictions?”
  • 27. Comparing CLUE to Feature Importance (LIME / SHAP) • In high uncertainty scenarios, it is difficult to build an explanation in terms of the provided information (features) • CLUE’s counterfactual nature allows it to add new information
  • 28. User Study: Setup (1/2) Human Simulability: Users are shown context examples and are tasked with predicting model behaviour on new datapoint.
  • 29. User Study: Setup (2/2) Tasks: • COMPAS (Criminal Recidivism Prediction, 7 dim) • LAST (Academic Performance Prediction, 4 dim) Users: • University Students with ML experience • 10 Users per approach, 10 Questions per Dataset
  • 30. User Study: Results Method N. participants Accuracy (%) Random 10 61.67 Sensitivity 10 52.78 Human 10 62.22 CLUE 10 82.22 CLUE’s improvement over all other approaches is statistically significant (Using Nemenyi test for average ranks across test questions)
  • 31. Now with Images: We modify the MNIST train set to introduce Out Of Distribution (model) uncertainty. Method N. participants Accuracy Unc. 5 0.67 CLUE 5 0.88
  • 32. Thanks to my Collaborators! Javier Antorán ja666@cam.ac.uk Umang Bhatt usb20@cam.ac.uk José Miguel Hernández-Lobato jmh233@cam.ac.uk Adrian Weller aw665@cam.ac.uk Tameem Adel tah47@cam.ac.uk
  • 33. Questions? Read The Full Paper at: arxiv.org/abs/2006.06848 See More of my Research (+slides): javierantoran.github.io/about/ Contact Me: ja666@cam.ac.uk