SlideShare a Scribd company logo
2
Most read
10
Most read
15
Most read
Explainable AI (XAI) – A Perspective
Author – Saurabh Kaushik
Twitter - @saurabhkaushik
2
AI - How does it Work?
Audience
Measurement
System
Accounting
Compliance
System
Output:
This Customer will Churn
Output:
This Transaction will be Risky.
How
does it
work?
3
AI as Black Box
Black Box AI
• Why did the AI system do that?
• Why didn’t the AI system do something else?
• When did the AI system succeed?
• When did the AI system fail?
• When does the AI system give enough confidence in the
decision that you can trust it?
• How can the AI system correct an error?
4
XAI – Full Circle of Life
World
Data
Black Box Model
Explainable
Technique
Captures
Trains
Interprets
Augment
5
Explainable AI – Three Key Pillars
Explainable
AI
Reasonable AI:
•The ability to
understand the
reasoning behind
each individual
prediction
Understandable
AI:
•The ability to fully
understand the
model upon which
the AI decision-
making is based
Traceable AI:
•The ability to trace
prediction process
from logic of math
algo to nature of
data.
6
Principals for XAI
Designing • AI with an eye to societal impact
Defining
• Standards for the provenance, use, and securing of
data sets
Testing • AI extensively before release
Using • AI transparently
Monitoring • AI rigorously after release
Fostering • Workforce training and retraining
Protecting • Data privacy
Establishing • Tools and standards for auditing algorithms
7
Limitations for XAI
• Most model analysis stays in finding the important features, but they largely ignore the interactions
between the features.Feature importance
• Each business problem has its domain nuances and has defining contribution to the Explainability. If
model analysis process has less of it, the outcome of explanation will be blurred or too generalized.Problem domain
• Preprocessing (Dimensionality Reduction, Word Vectorization, etc.) obscure the original human
meaning and makes data less informative.Data preprocessing
• During feature analysis and selection process, most of the correlations are either dropped to improve
accuracy or swamped by other powerful features with more predictive powers. This hides the latent
correlation factors from model and leads to incorrect explanation.
Correlated input features
• Straightforward Binary or Ordinal Classification and Linear Regression models are easier to explain as
they have natural direction for decision. However, models like multi class classification do not have
inherent order are difficult to explain, unless it comes down to ‘One vs All’ model.
Type of prediction
8
Business Benefits from XAI
Optimize
Model
performance
Decision
making
Retain
Control
Safety
Maintain
Trust
Ethics
Comply
Accountability
Regulation
“Explainable AI is Responsible AI”
“Right to Explanation” – GDPR
9
Current State of AI Models w.r.t. XAI vs Performance
• Regression – Multinomial Equation can be messy
• Random Forrest – Multiple Tree and their Data Set and Voting
• SVM – Kernel and Data Partition effect on Feature
• K Mean – Nature of Centroid don’t describe cluster well.
• NN – Hidden Nodes and their way of creating features
10
Techniques for XAI
• Deals with inner working of Algo/Model to
interpret its results
Model Specific
Techniques
• Deals with analyzing the feature and its
relationships with its output.
Model Agnostic
Techniques
Data Model
Explanation
Prediction
11
Model Specific vs Agnostic – Approach
Linear Regression
Decision Tree
SVM
Random Forest
Neural Network
Linear Regression
Decision Tree
SVM
Random Forest
Neural Network
Accuracy
Explainability
Explainability
Accuracy
Algo - SLIMs,
GAINs, Rules
Algo - LIME
Model Specific Approach Model Agnostic Approach
12
XAI - Model Specific Techniques
• Decision Tree is most interpretable algorithm because its simple information
gain mechanism of building the tree. Random Forest on other has multiple
small tree with dataset variation and votes for final decision, which is based on
majority.
• There are open source project – Tree Interpreter available but deep domain and
deep algorithm knowledge are required to study its output.
Tree Interpretation
• SLIM is a discrete optimization problem that minimizes the 0-1 loss to
encourage a high level of accuracy, regularizes the L0-norm to encourage a high
level of sparsity, and constrains coefficients to a set of interpretable values.
Supersparse Linear Integer Models (SLIM)
• Deep Lift - A method for decomposing the output prediction of a neural
network on a specific input by backpropagation the contributions of all neurons
in the network to every feature of the input. Deep LIFT compares the activation
of each neuron to its 'reference activation' and assigns contribution scores
according to the difference. Using this, This can give important sequence of
input data.
Deep Neural Network
13
XAI - Model Agnostic Techniques
• It try to analyze the effect of single input feature alteration on its model
output. This given linear approximation of model response.
• This approach is often extended to Partial Dependence Plots (PDP) or
Individual Conditional Expectation (ICE) Plots to give global graphical
representation of single
Sensitivity Analysis
• It try to find out Feature Importance by capturing Feature Interaction
(Correlation and Covariance Analysis) between features and output
using a linear model between Features. It used Perturbance technique
which observer Prediction deviation based on one feature modification.
Local Interpretable Model Explanation – LIME
• SHAP is an Additive feature attribution methods which assigns a value
to each feature for each prediction (i.e. feature attribution); the higher
the value, the larger the feature’s attribution to the specific prediction.
Shapley Addictive Explanations – SHAP
14
Future Status of XAI Systems
Thank You
Author – Saurabh Kaushik
Twitter - @saurabhkaushik
16
References
• https://www.darpa.mil/program/explainable-artificial-intelligence
• https://ai.intel.com/the-challenges-and-opportunities-of-explainable-ai/
• https://arxiv.org/pdf/1708.08296.pdf
• https://bons.ai/blog/explainable-ai-machine-learning-systems
• https://medium.com/@BonsaiAI/explainable-ai-3-deep-explanations-approaches-to-xai-1807e251e537
• https://www.pwc.com/us/en/services/consulting/library/artificial-intelligence-predictions/explainable-
ai.html
• https://aibusiness.com/explainable-algorithms-rainbird-ai/
• https://www.accenture.com/us-en/blogs/blogs-why-explainable-ai-must-central-responsible-ai
• https://www.accenture.com/us-en/blogs/blogs-responsible-ai

More Related Content

PDF
Explainable AI
PPTX
Explainable AI in Industry (KDD 2019 Tutorial)
PPTX
Explainable AI
PDF
Explainability and bias in AI
PPTX
An Introduction to XAI! Towards Trusting Your ML Models!
PPTX
Explainable AI
PPTX
PDF
Explainable AI (XAI)
Explainable AI
Explainable AI in Industry (KDD 2019 Tutorial)
Explainable AI
Explainability and bias in AI
An Introduction to XAI! Towards Trusting Your ML Models!
Explainable AI
Explainable AI (XAI)

What's hot (20)

PDF
Interpretable machine learning : Methods for understanding complex models
PPTX
Explainable Machine Learning (Explainable ML)
PPTX
Explainable AI in Industry (AAAI 2020 Tutorial)
PPTX
Explainable AI in Healthcare
PDF
Explainable AI
PPTX
Responsible AI in Industry (ICML 2021 Tutorial)
PPTX
Responsible AI in Industry (Tutorials at AAAI 2021, FAccT 2021, and WWW 2021)
PPTX
Explainable AI in Industry (FAT* 2020 Tutorial)
PDF
generative-ai-fundamentals and Large language models
PDF
Responsible AI
PDF
Interpretable Machine Learning Using LIME Framework - Kasia Kulma (PhD), Data...
PPTX
Explainable AI in Industry (WWW 2020 Tutorial)
PPT
Machine Learning
PPTX
Artificial Intelligence, Machine Learning and Deep Learning
PPT
Machine Learning
PPTX
Responsible AI
PDF
Machine learning
PDF
Unified Approach to Interpret Machine Learning Model: SHAP + LIME
PPTX
Deep Learning - A Literature survey
PDF
Lecture 1: What is Machine Learning?
Interpretable machine learning : Methods for understanding complex models
Explainable Machine Learning (Explainable ML)
Explainable AI in Industry (AAAI 2020 Tutorial)
Explainable AI in Healthcare
Explainable AI
Responsible AI in Industry (ICML 2021 Tutorial)
Responsible AI in Industry (Tutorials at AAAI 2021, FAccT 2021, and WWW 2021)
Explainable AI in Industry (FAT* 2020 Tutorial)
generative-ai-fundamentals and Large language models
Responsible AI
Interpretable Machine Learning Using LIME Framework - Kasia Kulma (PhD), Data...
Explainable AI in Industry (WWW 2020 Tutorial)
Machine Learning
Artificial Intelligence, Machine Learning and Deep Learning
Machine Learning
Responsible AI
Machine learning
Unified Approach to Interpret Machine Learning Model: SHAP + LIME
Deep Learning - A Literature survey
Lecture 1: What is Machine Learning?
Ad

Similar to Explainable AI (XAI) - A Perspective (20)

PDF
Practical Explainable AI: How to build trustworthy, transparent and unbiased ...
PPTX
Deciphering AI - Unlocking the Black Box of AIML with State-of-the-Art Techno...
PDF
PPTX
Explainable AI (XAI) for college seminar.pptx
PPTX
Get hands-on with Explainable AI at Machine Learning Interpretability(MLI) Gym!
PDF
Cadence Fidelity Pointwise Free Download
PDF
Serato DJ Pro Download Free crack 2025
PDF
ExplorerPatcher 22621.4317.67.1 Free Download
PPTX
[DSC Europe 24] Orsalia Andreou - Fostering Trust in AI-Driven Finance
PPTX
ODSC APAC 2022 - Explainable AI
PDF
Spark + AI Summit - The Importance of Model Fairness and Interpretability in ...
PPTX
Using SHAP to Understand Black Box Models
PPTX
Understanding Black Box Models with Shapley Values
PDF
Model Evaluation in the land of Deep Learning
PPTX
A Unified Approach to Interpreting Model Predictions (SHAP)
PPTX
Machine Learning in the Financial Industry
PDF
ML-Unit-4.pdf
PPTX
Ethical AI - Open Compliance Summit 2020
PPTX
PRINCIPLE OF AI MODEL ALL ABOUT BLACKBOX
PPTX
Interpretable ML
Practical Explainable AI: How to build trustworthy, transparent and unbiased ...
Deciphering AI - Unlocking the Black Box of AIML with State-of-the-Art Techno...
Explainable AI (XAI) for college seminar.pptx
Get hands-on with Explainable AI at Machine Learning Interpretability(MLI) Gym!
Cadence Fidelity Pointwise Free Download
Serato DJ Pro Download Free crack 2025
ExplorerPatcher 22621.4317.67.1 Free Download
[DSC Europe 24] Orsalia Andreou - Fostering Trust in AI-Driven Finance
ODSC APAC 2022 - Explainable AI
Spark + AI Summit - The Importance of Model Fairness and Interpretability in ...
Using SHAP to Understand Black Box Models
Understanding Black Box Models with Shapley Values
Model Evaluation in the land of Deep Learning
A Unified Approach to Interpreting Model Predictions (SHAP)
Machine Learning in the Financial Industry
ML-Unit-4.pdf
Ethical AI - Open Compliance Summit 2020
PRINCIPLE OF AI MODEL ALL ABOUT BLACKBOX
Interpretable ML
Ad

More from Saurabh Kaushik (12)

PDF
MLOps with Kubeflow
PDF
Building AI Product using AI Product Thinking
PDF
AI Product Thinking for Product Managers
PDF
Engineering Intelligent NLP Applications Using Deep Learning – Part 2
PDF
Engineering Intelligent NLP Applications Using Deep Learning – Part 1
PDF
Engineering Intelligent Systems using Machine Learning
PDF
Winning Deals with Design Thinking
PDF
Project Management Using Design Thinking
PDF
Design Thinking - Case Studies
PDF
An Assessment Framework for Strategic Digital Marketing Effectiveness
PPTX
A Consulting Model - Strategic Digital marketing
PPT
Air Pollution Control by Tax and Subsidies
MLOps with Kubeflow
Building AI Product using AI Product Thinking
AI Product Thinking for Product Managers
Engineering Intelligent NLP Applications Using Deep Learning – Part 2
Engineering Intelligent NLP Applications Using Deep Learning – Part 1
Engineering Intelligent Systems using Machine Learning
Winning Deals with Design Thinking
Project Management Using Design Thinking
Design Thinking - Case Studies
An Assessment Framework for Strategic Digital Marketing Effectiveness
A Consulting Model - Strategic Digital marketing
Air Pollution Control by Tax and Subsidies

Recently uploaded (20)

PDF
Mushroom cultivation and it's methods.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
A comparative analysis of optical character recognition models for extracting...
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PPTX
OMC Textile Division Presentation 2021.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPT
Teaching material agriculture food technology
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Machine learning based COVID-19 study performance prediction
PPTX
TLE Review Electricity (Electricity).pptx
Mushroom cultivation and it's methods.pdf
Unlocking AI with Model Context Protocol (MCP)
Reach Out and Touch Someone: Haptics and Empathic Computing
Network Security Unit 5.pdf for BCA BBA.
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
A comparative analysis of optical character recognition models for extracting...
cloud_computing_Infrastucture_as_cloud_p
NewMind AI Weekly Chronicles - August'25-Week II
OMC Textile Division Presentation 2021.pptx
Spectral efficient network and resource selection model in 5G networks
MIND Revenue Release Quarter 2 2025 Press Release
Group 1 Presentation -Planning and Decision Making .pptx
Digital-Transformation-Roadmap-for-Companies.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
Teaching material agriculture food technology
Per capita expenditure prediction using model stacking based on satellite ima...
Programs and apps: productivity, graphics, security and other tools
Mobile App Security Testing_ A Comprehensive Guide.pdf
Machine learning based COVID-19 study performance prediction
TLE Review Electricity (Electricity).pptx

Explainable AI (XAI) - A Perspective

  • 1. Explainable AI (XAI) – A Perspective Author – Saurabh Kaushik Twitter - @saurabhkaushik
  • 2. 2 AI - How does it Work? Audience Measurement System Accounting Compliance System Output: This Customer will Churn Output: This Transaction will be Risky. How does it work?
  • 3. 3 AI as Black Box Black Box AI • Why did the AI system do that? • Why didn’t the AI system do something else? • When did the AI system succeed? • When did the AI system fail? • When does the AI system give enough confidence in the decision that you can trust it? • How can the AI system correct an error?
  • 4. 4 XAI – Full Circle of Life World Data Black Box Model Explainable Technique Captures Trains Interprets Augment
  • 5. 5 Explainable AI – Three Key Pillars Explainable AI Reasonable AI: •The ability to understand the reasoning behind each individual prediction Understandable AI: •The ability to fully understand the model upon which the AI decision- making is based Traceable AI: •The ability to trace prediction process from logic of math algo to nature of data.
  • 6. 6 Principals for XAI Designing • AI with an eye to societal impact Defining • Standards for the provenance, use, and securing of data sets Testing • AI extensively before release Using • AI transparently Monitoring • AI rigorously after release Fostering • Workforce training and retraining Protecting • Data privacy Establishing • Tools and standards for auditing algorithms
  • 7. 7 Limitations for XAI • Most model analysis stays in finding the important features, but they largely ignore the interactions between the features.Feature importance • Each business problem has its domain nuances and has defining contribution to the Explainability. If model analysis process has less of it, the outcome of explanation will be blurred or too generalized.Problem domain • Preprocessing (Dimensionality Reduction, Word Vectorization, etc.) obscure the original human meaning and makes data less informative.Data preprocessing • During feature analysis and selection process, most of the correlations are either dropped to improve accuracy or swamped by other powerful features with more predictive powers. This hides the latent correlation factors from model and leads to incorrect explanation. Correlated input features • Straightforward Binary or Ordinal Classification and Linear Regression models are easier to explain as they have natural direction for decision. However, models like multi class classification do not have inherent order are difficult to explain, unless it comes down to ‘One vs All’ model. Type of prediction
  • 8. 8 Business Benefits from XAI Optimize Model performance Decision making Retain Control Safety Maintain Trust Ethics Comply Accountability Regulation “Explainable AI is Responsible AI” “Right to Explanation” – GDPR
  • 9. 9 Current State of AI Models w.r.t. XAI vs Performance • Regression – Multinomial Equation can be messy • Random Forrest – Multiple Tree and their Data Set and Voting • SVM – Kernel and Data Partition effect on Feature • K Mean – Nature of Centroid don’t describe cluster well. • NN – Hidden Nodes and their way of creating features
  • 10. 10 Techniques for XAI • Deals with inner working of Algo/Model to interpret its results Model Specific Techniques • Deals with analyzing the feature and its relationships with its output. Model Agnostic Techniques Data Model Explanation Prediction
  • 11. 11 Model Specific vs Agnostic – Approach Linear Regression Decision Tree SVM Random Forest Neural Network Linear Regression Decision Tree SVM Random Forest Neural Network Accuracy Explainability Explainability Accuracy Algo - SLIMs, GAINs, Rules Algo - LIME Model Specific Approach Model Agnostic Approach
  • 12. 12 XAI - Model Specific Techniques • Decision Tree is most interpretable algorithm because its simple information gain mechanism of building the tree. Random Forest on other has multiple small tree with dataset variation and votes for final decision, which is based on majority. • There are open source project – Tree Interpreter available but deep domain and deep algorithm knowledge are required to study its output. Tree Interpretation • SLIM is a discrete optimization problem that minimizes the 0-1 loss to encourage a high level of accuracy, regularizes the L0-norm to encourage a high level of sparsity, and constrains coefficients to a set of interpretable values. Supersparse Linear Integer Models (SLIM) • Deep Lift - A method for decomposing the output prediction of a neural network on a specific input by backpropagation the contributions of all neurons in the network to every feature of the input. Deep LIFT compares the activation of each neuron to its 'reference activation' and assigns contribution scores according to the difference. Using this, This can give important sequence of input data. Deep Neural Network
  • 13. 13 XAI - Model Agnostic Techniques • It try to analyze the effect of single input feature alteration on its model output. This given linear approximation of model response. • This approach is often extended to Partial Dependence Plots (PDP) or Individual Conditional Expectation (ICE) Plots to give global graphical representation of single Sensitivity Analysis • It try to find out Feature Importance by capturing Feature Interaction (Correlation and Covariance Analysis) between features and output using a linear model between Features. It used Perturbance technique which observer Prediction deviation based on one feature modification. Local Interpretable Model Explanation – LIME • SHAP is an Additive feature attribution methods which assigns a value to each feature for each prediction (i.e. feature attribution); the higher the value, the larger the feature’s attribution to the specific prediction. Shapley Addictive Explanations – SHAP
  • 14. 14 Future Status of XAI Systems
  • 15. Thank You Author – Saurabh Kaushik Twitter - @saurabhkaushik
  • 16. 16 References • https://www.darpa.mil/program/explainable-artificial-intelligence • https://ai.intel.com/the-challenges-and-opportunities-of-explainable-ai/ • https://arxiv.org/pdf/1708.08296.pdf • https://bons.ai/blog/explainable-ai-machine-learning-systems • https://medium.com/@BonsaiAI/explainable-ai-3-deep-explanations-approaches-to-xai-1807e251e537 • https://www.pwc.com/us/en/services/consulting/library/artificial-intelligence-predictions/explainable- ai.html • https://aibusiness.com/explainable-algorithms-rainbird-ai/ • https://www.accenture.com/us-en/blogs/blogs-why-explainable-ai-must-central-responsible-ai • https://www.accenture.com/us-en/blogs/blogs-responsible-ai