SlideShare a Scribd company logo
1 of 21
Download to read offline
A Introduction to Counterfactual Explanations
Luo

Tohoku Univ.
Outline for Today’s Talk
2. Counterfactual Explanations methods for CNN-based classifier
— Explaining Image Classifiers by Counterfactual Generation. ICLR 2019

— Counterfactual Visual Explanations. ICML 2019 

— Generative Counterfactual Introspection for Explainable Deep Learning. arXiv

— Global Explanations of Convolutional Neural Networks With Concept Attribution. CVPR 2020

3. Future plan
1. Counterfactual Explanations and XAI
Page , 6/302
• XAI
Methods and techniques in AI technology such that the results of the solution can be understood by human 

experts. One of DARPA ( Defense Advanced Research Projects Agency at U.S.) programs
Face recognition Self-driving vehicle Medical image diagnosis
• Reason for it
XAI tools are crucial for high-impact, high-risk applications of deep learning
Background
Page , 6/303
Q: why this phenomenon occurs?
Confidential
Real Black Box Problem that I Have Met
Page , 6/304
c1 c2 c3 F1 F2
“dog” 95.3%

“sheep” 2.1%

“cat” 1.2 %

…
X model: F(X) Predictions
1 What is model looking at?
Perturbation approaches; Counterfactual Explanations
2 What & How model learn from x?
Internal representation
3 How to improve model’s extreme performance?
Advanced training techniques
4 How to explain wrong prediction?
Momentarily Missed Detection in [1]
XAI
Page , 6/305
[1] Analysis and a Solution of Momentarily Missed Detection for Anchor-based Object Detectors.Yusuke Hosoya, Masanori Suganuma, Takayuki Okatani
Counterfactual Explanations
• Counterfactual thinking
A concept in psychology that involves the human tendency to create possible alternatives to life events that have already
occurred; something that is contrary to what actually happened
c1 c2 c3 F1 F2
“dog” 95.3%

“sheep” 2.1%

“cat” 1.2 %

…
model: F(X) Predictions
Page , 6/306
counterfactual images
{
{
X
2. Counterfactual Explanations methods for CNN-based classifier
— Explaining Image Classifiers by Counterfactual Generation. ICLR 2019

— Counterfactual Visual Explanations. ICML 2019 

— Generative Counterfactual Introspection for Explainable Deep Learning. arXiv

— Global Explanations of Convolutional Neural Networks With Concept Attribution. CVPR 2020

1. Counterfactual Explanations and XAI
3. Future plan
Page , 6/307
Explaining Image Classifiers by Counterfactual Generation
Motivation: Which parts of the image, if not seen by the classifier, would most affect its decision? Saliency Map

Goals: To find important regions for a pre-trained model to classify the image

Method: To replace proposed masked region ( which may be important ) with image generated by GAN
O.O.D problems: New generated image based on the previous methods is unnatural, However new generated image 

based on GAN is more realistic, which is closer to training data distribution
Predicted possibility on bird based on different in-filling methods
[2] Explaining Image Classifiers by Counterfactual Generation. Chun-Hao Chang, Elliot Creager, Anna Goldenberg, & David Duvenaud
Page , 6/308
• What is exactly explained about CNNs in paper [2]?
Explaining Image Classifiers by Counterfactual Generation
Page , 6/309
Which parts of the image, if not seen by the classifier, would most affect its decision? Saliency Map

AlexNet focuses more on the body region of the animal, while VGG and ResNet focus more on the head features
Saliency map
Counterfactual Visual Explanations
• Research background: Many papers focus on finding the important regions which push model to make a prediction

• Motivation: How should the image I be different for the model to predict it as class c′ instead
[3] Counterfactual Visual Explanations. ICML, 2019. Yash Goyal, Ziyan Wu, Jan Ernst, Dhruv Batra, Devi Parikh, Stefan Lee.
If the red box region on the left (I) was replaced by the red box region on the
right (Iʹ), then model will make a different prediction, e.g., c—> cʹ
• Two contributions claimed by the authors:
1. Propose an approach to generate counterfactual visual explanations

2. The explanations can help in teaching humans via human studies
Page , 6/3010
1 Decompose CNNs into feature extractor f(I) and decision net g(f(I))
2 Define a transformation that replaces regions in the feature f(I) with those
from feature f(I*)
Take feature ( hw*d )
Solution 1. Exhaustive search approach
Solution 2. A continuous relaxation of a and P that replaces search with an optimization
3 Algorithms to find minimum replacement region
Find minimum region
Counterfactual Visual Explanations
Page , 6/3011
• Remaining problem for this method
The new edited image sometimes could be very weird, which are far from the natural image
query image distractor image edited image
Counterfactual Visual Explanations
Page , 6/3012
a) Results on MNIST based on simple CNN ( 2C+2F) b) Results on Omniglot based on simple CNN ( 2C+2F) c) Results on CUB based on VGG-16
Counterfactual Visual Explanations
• What is exactly explained about CNNs in Paper [3]?
If the high-light region from query image was replaced by it from distractor image, model will switch it’s prediction to target class
Page , 6/3013
• Concept attribution
Measure the importance of semantic concepts to model predictions, e.g., texture, color, layout

• Global
Category-wide interpretations
1
2
3
a) Visualization
b) Calculate user-defined 

concept importance
Global Explanations of Convolutional Neural Networks With Concept Attribution
Page , 6/3014
[4] Global Explanations of Convolutional Neural Networks With Concept Attribution. Weibin Wu, Yu-Wing Tai.
Class Concepts Captured by VGG-16 and ResNet-50
Chickadee
Tarantula
Example image VGG-16
Results reported in [4] Reproduced result according to [5]
VGG-16
Iterations: 1000. Blur freq: 4. Blur radius: 1. Weight decay: 0.0001. Clip value: 0.1.
[5] Understanding Neural Networks Through Deep Visualization. Jason Yosinski, Hod Lipson.
ResNet-50 ResNet-50
Reproduced result according to [5]
Page , 6/3015
Results reported in [4]
Global Explanations of Convolutional Neural Networks With Concept Attribution
• What is exactly explained about CNNs in Paper [4]?
CNNs may use concept information when giving a prediction on a specific class, e.g., texture for predicting zebra
Importance scores of different conceptsClass concepts captured by different models
Page , 6/3016
Global Explanations of Convolutional Neural Networks With Concept Attribution
2. Counterfactual Explanations methods for CNN-based classifier
— Explaining Image Classifiers by Counterfactual Generation. ICLR 2019

— Counterfactual Visual Explanations. ICML 2019 

— Generative Counterfactual Introspection for Explainable Deep Learning. arXiv

— Global Explanations of Convolutional Neural Networks With Concept Attribution. CVPR 2020

1. Counterfactual Explanations and XAI
3. Future plan
Page , 6/3017
Future Plan
Page , 6/3018
• Expanding my knowledge on XAI methods
• Introducing XAI methods to other computer vision tasks
Thank you for your attention!
Any questions or comments are welcome.
Cherry blossoms at Honnmanji Temple ( 2020.3.24 08:05 )Warm afternoon at Kamogawa River ( 2020.3.8 16:58 )
Generative Counterfactual Introspection for Explainable Deep Learning
• Motivation: what meaningful change can be made to the input image in order to alter the prediction ( Similar to last paper )
[6] Generative Counterfactual Introspection for Explainable Deep Learning. Shusen Liu, Bhavya Kailkhura, Donald Loveland, Yong Han
where loss is cross-entropy loss for predicting image I(Aʹ) to
label cʹ using classifier C
lossC,c′
Page , 6/3020
Supplemental Materials
MNIST: Changes to the image of digit 9 to alter its prediction CelebA: Changes to the image of a person to alter its prediction
older
Page , 6/3021
• What is exactly explained about CNNs in Paper [6]?
A meaningful change can be made to the input image in order to alter the prediction into target class
Supplemental Materials
Generative Counterfactual Introspection for Explainable Deep Learning

More Related Content

What's hot

K-Medoids Clustering Using Partitioning Around Medoids for Performing Face Re...
K-Medoids Clustering Using Partitioning Around Medoids for Performing Face Re...K-Medoids Clustering Using Partitioning Around Medoids for Performing Face Re...
K-Medoids Clustering Using Partitioning Around Medoids for Performing Face Re...ijscmcj
 
IRJET- An Improvised Multi Focus Image Fusion Algorithm through Quadtree
IRJET- An Improvised Multi Focus Image Fusion Algorithm through QuadtreeIRJET- An Improvised Multi Focus Image Fusion Algorithm through Quadtree
IRJET- An Improvised Multi Focus Image Fusion Algorithm through QuadtreeIRJET Journal
 
Classification accuracy of sar images for various land
Classification accuracy of sar images for various landClassification accuracy of sar images for various land
Classification accuracy of sar images for various landeSAT Publishing House
 
CNN FEATURES ARE ALSO GREAT AT UNSUPERVISED CLASSIFICATION
CNN FEATURES ARE ALSO GREAT AT UNSUPERVISED CLASSIFICATION CNN FEATURES ARE ALSO GREAT AT UNSUPERVISED CLASSIFICATION
CNN FEATURES ARE ALSO GREAT AT UNSUPERVISED CLASSIFICATION cscpconf
 
Image Retrieval using Graph based Visual Saliency
Image Retrieval using Graph based Visual SaliencyImage Retrieval using Graph based Visual Saliency
Image Retrieval using Graph based Visual SaliencyIRJET Journal
 
proposal_pura
proposal_puraproposal_pura
proposal_puraErick Lin
 
Kernel based similarity estimation and real time tracking of moving
Kernel based similarity estimation and real time tracking of movingKernel based similarity estimation and real time tracking of moving
Kernel based similarity estimation and real time tracking of movingIAEME Publication
 
An Iterative Improved k-means Clustering
An Iterative Improved k-means ClusteringAn Iterative Improved k-means Clustering
An Iterative Improved k-means ClusteringIDES Editor
 
International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)inventionjournals
 
New Research Articles 2019 July Issue International Journal of Artificial Int...
New Research Articles 2019 July Issue International Journal of Artificial Int...New Research Articles 2019 July Issue International Journal of Artificial Int...
New Research Articles 2019 July Issue International Journal of Artificial Int...gerogepatton
 
A Novel Approach to Mathematical Concepts in Data Mining
A Novel Approach to Mathematical Concepts in Data MiningA Novel Approach to Mathematical Concepts in Data Mining
A Novel Approach to Mathematical Concepts in Data Miningijdmtaiir
 
Comparative Assessments of Contrast Enhancement Techniques in Brain MRI Images
Comparative Assessments of Contrast Enhancement Techniques in Brain MRI ImagesComparative Assessments of Contrast Enhancement Techniques in Brain MRI Images
Comparative Assessments of Contrast Enhancement Techniques in Brain MRI Imagesijtsrd
 
5 クラスタリングと異常検出
5 クラスタリングと異常検出5 クラスタリングと異常検出
5 クラスタリングと異常検出Seiichi Uchida
 
Explanable models for time series with random forest
Explanable models for time series with random forestExplanable models for time series with random forest
Explanable models for time series with random foresttuxette
 
FUZZY SET THEORETIC APPROACH TO IMAGE THRESHOLDING
FUZZY SET THEORETIC APPROACH TO IMAGE THRESHOLDINGFUZZY SET THEORETIC APPROACH TO IMAGE THRESHOLDING
FUZZY SET THEORETIC APPROACH TO IMAGE THRESHOLDINGIJCSEA Journal
 
Distribution Modelling and Analytics of Large Spectrum Data: Spectrum Occupan...
Distribution Modelling and Analytics of Large Spectrum Data: Spectrum Occupan...Distribution Modelling and Analytics of Large Spectrum Data: Spectrum Occupan...
Distribution Modelling and Analytics of Large Spectrum Data: Spectrum Occupan...Mitul Panchal
 
Critical Paths Identification on Fuzzy Network Project
Critical Paths Identification on Fuzzy Network ProjectCritical Paths Identification on Fuzzy Network Project
Critical Paths Identification on Fuzzy Network Projectiosrjce
 

What's hot (20)

K-Medoids Clustering Using Partitioning Around Medoids for Performing Face Re...
K-Medoids Clustering Using Partitioning Around Medoids for Performing Face Re...K-Medoids Clustering Using Partitioning Around Medoids for Performing Face Re...
K-Medoids Clustering Using Partitioning Around Medoids for Performing Face Re...
 
IRJET- An Improvised Multi Focus Image Fusion Algorithm through Quadtree
IRJET- An Improvised Multi Focus Image Fusion Algorithm through QuadtreeIRJET- An Improvised Multi Focus Image Fusion Algorithm through Quadtree
IRJET- An Improvised Multi Focus Image Fusion Algorithm through Quadtree
 
Classification accuracy of sar images for various land
Classification accuracy of sar images for various landClassification accuracy of sar images for various land
Classification accuracy of sar images for various land
 
CNN FEATURES ARE ALSO GREAT AT UNSUPERVISED CLASSIFICATION
CNN FEATURES ARE ALSO GREAT AT UNSUPERVISED CLASSIFICATION CNN FEATURES ARE ALSO GREAT AT UNSUPERVISED CLASSIFICATION
CNN FEATURES ARE ALSO GREAT AT UNSUPERVISED CLASSIFICATION
 
3D 딥러닝 동향
3D 딥러닝 동향3D 딥러닝 동향
3D 딥러닝 동향
 
Image Retrieval using Graph based Visual Saliency
Image Retrieval using Graph based Visual SaliencyImage Retrieval using Graph based Visual Saliency
Image Retrieval using Graph based Visual Saliency
 
proposal_pura
proposal_puraproposal_pura
proposal_pura
 
Kernel based similarity estimation and real time tracking of moving
Kernel based similarity estimation and real time tracking of movingKernel based similarity estimation and real time tracking of moving
Kernel based similarity estimation and real time tracking of moving
 
An Iterative Improved k-means Clustering
An Iterative Improved k-means ClusteringAn Iterative Improved k-means Clustering
An Iterative Improved k-means Clustering
 
International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)
 
New Research Articles 2019 July Issue International Journal of Artificial Int...
New Research Articles 2019 July Issue International Journal of Artificial Int...New Research Articles 2019 July Issue International Journal of Artificial Int...
New Research Articles 2019 July Issue International Journal of Artificial Int...
 
A Novel Approach to Mathematical Concepts in Data Mining
A Novel Approach to Mathematical Concepts in Data MiningA Novel Approach to Mathematical Concepts in Data Mining
A Novel Approach to Mathematical Concepts in Data Mining
 
Comparative Assessments of Contrast Enhancement Techniques in Brain MRI Images
Comparative Assessments of Contrast Enhancement Techniques in Brain MRI ImagesComparative Assessments of Contrast Enhancement Techniques in Brain MRI Images
Comparative Assessments of Contrast Enhancement Techniques in Brain MRI Images
 
5 クラスタリングと異常検出
5 クラスタリングと異常検出5 クラスタリングと異常検出
5 クラスタリングと異常検出
 
Objects Clustering of Movie Using Graph Mining Technique
Objects Clustering of Movie Using Graph Mining TechniqueObjects Clustering of Movie Using Graph Mining Technique
Objects Clustering of Movie Using Graph Mining Technique
 
Explanable models for time series with random forest
Explanable models for time series with random forestExplanable models for time series with random forest
Explanable models for time series with random forest
 
FUZZY SET THEORETIC APPROACH TO IMAGE THRESHOLDING
FUZZY SET THEORETIC APPROACH TO IMAGE THRESHOLDINGFUZZY SET THEORETIC APPROACH TO IMAGE THRESHOLDING
FUZZY SET THEORETIC APPROACH TO IMAGE THRESHOLDING
 
Distribution Modelling and Analytics of Large Spectrum Data: Spectrum Occupan...
Distribution Modelling and Analytics of Large Spectrum Data: Spectrum Occupan...Distribution Modelling and Analytics of Large Spectrum Data: Spectrum Occupan...
Distribution Modelling and Analytics of Large Spectrum Data: Spectrum Occupan...
 
Critical Paths Identification on Fuzzy Network Project
Critical Paths Identification on Fuzzy Network ProjectCritical Paths Identification on Fuzzy Network Project
Critical Paths Identification on Fuzzy Network Project
 
MultiModal Retrieval Image
MultiModal Retrieval ImageMultiModal Retrieval Image
MultiModal Retrieval Image
 

Similar to Seminar

파이콘 한국 2019 튜토리얼 - 설명가능인공지능이란? (Part 1)
파이콘 한국 2019 튜토리얼 - 설명가능인공지능이란? (Part 1)파이콘 한국 2019 튜토리얼 - 설명가능인공지능이란? (Part 1)
파이콘 한국 2019 튜토리얼 - 설명가능인공지능이란? (Part 1)XAIC
 
Image Segmentation and Classification using Neural Network
Image Segmentation and Classification using Neural NetworkImage Segmentation and Classification using Neural Network
Image Segmentation and Classification using Neural NetworkAIRCC Publishing Corporation
 
Image Segmentation and Classification using Neural Network
Image Segmentation and Classification using Neural NetworkImage Segmentation and Classification using Neural Network
Image Segmentation and Classification using Neural NetworkAIRCC Publishing Corporation
 
VERIFICATION_&_VALIDATION_OF_A_SEMANTIC_IMAGE_TAGGING_FRAMEWORK_VIA_GENERATIO...
VERIFICATION_&_VALIDATION_OF_A_SEMANTIC_IMAGE_TAGGING_FRAMEWORK_VIA_GENERATIO...VERIFICATION_&_VALIDATION_OF_A_SEMANTIC_IMAGE_TAGGING_FRAMEWORK_VIA_GENERATIO...
VERIFICATION_&_VALIDATION_OF_A_SEMANTIC_IMAGE_TAGGING_FRAMEWORK_VIA_GENERATIO...grssieee
 
Masking preprocessing in transfer learning for damage building detection
Masking preprocessing in transfer learning for damage building detectionMasking preprocessing in transfer learning for damage building detection
Masking preprocessing in transfer learning for damage building detectionIAESIJAI
 
Extraction of image resampling using correlation aware convolution neural ne...
Extraction of image resampling using correlation aware  convolution neural ne...Extraction of image resampling using correlation aware  convolution neural ne...
Extraction of image resampling using correlation aware convolution neural ne...IJECEIAES
 
TMS workshop on machine learning in materials science: Intro to deep learning...
TMS workshop on machine learning in materials science: Intro to deep learning...TMS workshop on machine learning in materials science: Intro to deep learning...
TMS workshop on machine learning in materials science: Intro to deep learning...BrianDeCost
 
Practical computer vision-- A problem-driven approach towards learning CV/ML/DL
Practical computer vision-- A problem-driven approach towards learning CV/ML/DLPractical computer vision-- A problem-driven approach towards learning CV/ML/DL
Practical computer vision-- A problem-driven approach towards learning CV/ML/DLAlbert Y. C. Chen
 
APPLICATION OF CONVOLUTIONAL NEURAL NETWORK IN LAWN MEASUREMENT
APPLICATION OF CONVOLUTIONAL NEURAL NETWORK IN LAWN MEASUREMENTAPPLICATION OF CONVOLUTIONAL NEURAL NETWORK IN LAWN MEASUREMENT
APPLICATION OF CONVOLUTIONAL NEURAL NETWORK IN LAWN MEASUREMENTsipij
 
APPLICATION OF CONVOLUTIONAL NEURAL NETWORK IN LAWN MEASUREMENT
APPLICATION OF CONVOLUTIONAL NEURAL NETWORK IN LAWN MEASUREMENTAPPLICATION OF CONVOLUTIONAL NEURAL NETWORK IN LAWN MEASUREMENT
APPLICATION OF CONVOLUTIONAL NEURAL NETWORK IN LAWN MEASUREMENTsipij
 
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
 
ppt icitisee 2022_without_recording.pptx
ppt icitisee 2022_without_recording.pptxppt icitisee 2022_without_recording.pptx
ppt icitisee 2022_without_recording.pptxssusera4da91
 
Adversarial Photo Frame: Concealing Sensitive Scene Information in a User-Acc...
Adversarial Photo Frame: Concealing Sensitive Scene Information in a User-Acc...Adversarial Photo Frame: Concealing Sensitive Scene Information in a User-Acc...
Adversarial Photo Frame: Concealing Sensitive Scene Information in a User-Acc...multimediaeval
 
An optimized deep learning model for optical character recognition applications
An optimized deep learning model for optical character recognition applications An optimized deep learning model for optical character recognition applications
An optimized deep learning model for optical character recognition applications IJECEIAES
 
Introduction to Interpretable Machine Learning
Introduction to Interpretable Machine LearningIntroduction to Interpretable Machine Learning
Introduction to Interpretable Machine LearningNguyen Giang
 
IRJET - Facial In-Painting using Deep Learning in Machine Learning
IRJET -  	  Facial In-Painting using Deep Learning in Machine LearningIRJET -  	  Facial In-Painting using Deep Learning in Machine Learning
IRJET - Facial In-Painting using Deep Learning in Machine LearningIRJET Journal
 
Deep learning for pose-invariant face detection in unconstrained environment
Deep learning for pose-invariant face detection in unconstrained environmentDeep learning for pose-invariant face detection in unconstrained environment
Deep learning for pose-invariant face detection in unconstrained environmentIJECEIAES
 
An efficient convolutional neural network-based classifier for an imbalanced ...
An efficient convolutional neural network-based classifier for an imbalanced ...An efficient convolutional neural network-based classifier for an imbalanced ...
An efficient convolutional neural network-based classifier for an imbalanced ...IAESIJAI
 
Multi-scale 3D-convolutional neural network for hyperspectral image classific...
Multi-scale 3D-convolutional neural network for hyperspectral image classific...Multi-scale 3D-convolutional neural network for hyperspectral image classific...
Multi-scale 3D-convolutional neural network for hyperspectral image classific...nooriasukmaningtyas
 

Similar to Seminar (20)

파이콘 한국 2019 튜토리얼 - 설명가능인공지능이란? (Part 1)
파이콘 한국 2019 튜토리얼 - 설명가능인공지능이란? (Part 1)파이콘 한국 2019 튜토리얼 - 설명가능인공지능이란? (Part 1)
파이콘 한국 2019 튜토리얼 - 설명가능인공지능이란? (Part 1)
 
Image Segmentation and Classification using Neural Network
Image Segmentation and Classification using Neural NetworkImage Segmentation and Classification using Neural Network
Image Segmentation and Classification using Neural Network
 
Image Segmentation and Classification using Neural Network
Image Segmentation and Classification using Neural NetworkImage Segmentation and Classification using Neural Network
Image Segmentation and Classification using Neural Network
 
VERIFICATION_&_VALIDATION_OF_A_SEMANTIC_IMAGE_TAGGING_FRAMEWORK_VIA_GENERATIO...
VERIFICATION_&_VALIDATION_OF_A_SEMANTIC_IMAGE_TAGGING_FRAMEWORK_VIA_GENERATIO...VERIFICATION_&_VALIDATION_OF_A_SEMANTIC_IMAGE_TAGGING_FRAMEWORK_VIA_GENERATIO...
VERIFICATION_&_VALIDATION_OF_A_SEMANTIC_IMAGE_TAGGING_FRAMEWORK_VIA_GENERATIO...
 
Masking preprocessing in transfer learning for damage building detection
Masking preprocessing in transfer learning for damage building detectionMasking preprocessing in transfer learning for damage building detection
Masking preprocessing in transfer learning for damage building detection
 
Deep learning and computer vision
Deep learning and computer visionDeep learning and computer vision
Deep learning and computer vision
 
Extraction of image resampling using correlation aware convolution neural ne...
Extraction of image resampling using correlation aware  convolution neural ne...Extraction of image resampling using correlation aware  convolution neural ne...
Extraction of image resampling using correlation aware convolution neural ne...
 
TMS workshop on machine learning in materials science: Intro to deep learning...
TMS workshop on machine learning in materials science: Intro to deep learning...TMS workshop on machine learning in materials science: Intro to deep learning...
TMS workshop on machine learning in materials science: Intro to deep learning...
 
Practical computer vision-- A problem-driven approach towards learning CV/ML/DL
Practical computer vision-- A problem-driven approach towards learning CV/ML/DLPractical computer vision-- A problem-driven approach towards learning CV/ML/DL
Practical computer vision-- A problem-driven approach towards learning CV/ML/DL
 
APPLICATION OF CONVOLUTIONAL NEURAL NETWORK IN LAWN MEASUREMENT
APPLICATION OF CONVOLUTIONAL NEURAL NETWORK IN LAWN MEASUREMENTAPPLICATION OF CONVOLUTIONAL NEURAL NETWORK IN LAWN MEASUREMENT
APPLICATION OF CONVOLUTIONAL NEURAL NETWORK IN LAWN MEASUREMENT
 
APPLICATION OF CONVOLUTIONAL NEURAL NETWORK IN LAWN MEASUREMENT
APPLICATION OF CONVOLUTIONAL NEURAL NETWORK IN LAWN MEASUREMENTAPPLICATION OF CONVOLUTIONAL NEURAL NETWORK IN LAWN MEASUREMENT
APPLICATION OF CONVOLUTIONAL NEURAL NETWORK IN LAWN MEASUREMENT
 
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
 
ppt icitisee 2022_without_recording.pptx
ppt icitisee 2022_without_recording.pptxppt icitisee 2022_without_recording.pptx
ppt icitisee 2022_without_recording.pptx
 
Adversarial Photo Frame: Concealing Sensitive Scene Information in a User-Acc...
Adversarial Photo Frame: Concealing Sensitive Scene Information in a User-Acc...Adversarial Photo Frame: Concealing Sensitive Scene Information in a User-Acc...
Adversarial Photo Frame: Concealing Sensitive Scene Information in a User-Acc...
 
An optimized deep learning model for optical character recognition applications
An optimized deep learning model for optical character recognition applications An optimized deep learning model for optical character recognition applications
An optimized deep learning model for optical character recognition applications
 
Introduction to Interpretable Machine Learning
Introduction to Interpretable Machine LearningIntroduction to Interpretable Machine Learning
Introduction to Interpretable Machine Learning
 
IRJET - Facial In-Painting using Deep Learning in Machine Learning
IRJET -  	  Facial In-Painting using Deep Learning in Machine LearningIRJET -  	  Facial In-Painting using Deep Learning in Machine Learning
IRJET - Facial In-Painting using Deep Learning in Machine Learning
 
Deep learning for pose-invariant face detection in unconstrained environment
Deep learning for pose-invariant face detection in unconstrained environmentDeep learning for pose-invariant face detection in unconstrained environment
Deep learning for pose-invariant face detection in unconstrained environment
 
An efficient convolutional neural network-based classifier for an imbalanced ...
An efficient convolutional neural network-based classifier for an imbalanced ...An efficient convolutional neural network-based classifier for an imbalanced ...
An efficient convolutional neural network-based classifier for an imbalanced ...
 
Multi-scale 3D-convolutional neural network for hyperspectral image classific...
Multi-scale 3D-convolutional neural network for hyperspectral image classific...Multi-scale 3D-convolutional neural network for hyperspectral image classific...
Multi-scale 3D-convolutional neural network for hyperspectral image classific...
 

Recently uploaded

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
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
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
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
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
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
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 

Recently uploaded (20)

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
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
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
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
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
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
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 

Seminar

  • 1. A Introduction to Counterfactual Explanations Luo Tohoku Univ.
  • 2. Outline for Today’s Talk 2. Counterfactual Explanations methods for CNN-based classifier — Explaining Image Classifiers by Counterfactual Generation. ICLR 2019 — Counterfactual Visual Explanations. ICML 2019 — Generative Counterfactual Introspection for Explainable Deep Learning. arXiv — Global Explanations of Convolutional Neural Networks With Concept Attribution. CVPR 2020 3. Future plan 1. Counterfactual Explanations and XAI Page , 6/302
  • 3. • XAI Methods and techniques in AI technology such that the results of the solution can be understood by human experts. One of DARPA ( Defense Advanced Research Projects Agency at U.S.) programs Face recognition Self-driving vehicle Medical image diagnosis • Reason for it XAI tools are crucial for high-impact, high-risk applications of deep learning Background Page , 6/303
  • 4. Q: why this phenomenon occurs? Confidential Real Black Box Problem that I Have Met Page , 6/304
  • 5. c1 c2 c3 F1 F2 “dog” 95.3% “sheep” 2.1% “cat” 1.2 % … X model: F(X) Predictions 1 What is model looking at? Perturbation approaches; Counterfactual Explanations 2 What & How model learn from x? Internal representation 3 How to improve model’s extreme performance? Advanced training techniques 4 How to explain wrong prediction? Momentarily Missed Detection in [1] XAI Page , 6/305 [1] Analysis and a Solution of Momentarily Missed Detection for Anchor-based Object Detectors.Yusuke Hosoya, Masanori Suganuma, Takayuki Okatani
  • 6. Counterfactual Explanations • Counterfactual thinking A concept in psychology that involves the human tendency to create possible alternatives to life events that have already occurred; something that is contrary to what actually happened c1 c2 c3 F1 F2 “dog” 95.3% “sheep” 2.1% “cat” 1.2 % … model: F(X) Predictions Page , 6/306 counterfactual images { { X
  • 7. 2. Counterfactual Explanations methods for CNN-based classifier — Explaining Image Classifiers by Counterfactual Generation. ICLR 2019 — Counterfactual Visual Explanations. ICML 2019 — Generative Counterfactual Introspection for Explainable Deep Learning. arXiv — Global Explanations of Convolutional Neural Networks With Concept Attribution. CVPR 2020 1. Counterfactual Explanations and XAI 3. Future plan Page , 6/307
  • 8. Explaining Image Classifiers by Counterfactual Generation Motivation: Which parts of the image, if not seen by the classifier, would most affect its decision? Saliency Map Goals: To find important regions for a pre-trained model to classify the image Method: To replace proposed masked region ( which may be important ) with image generated by GAN O.O.D problems: New generated image based on the previous methods is unnatural, However new generated image based on GAN is more realistic, which is closer to training data distribution Predicted possibility on bird based on different in-filling methods [2] Explaining Image Classifiers by Counterfactual Generation. Chun-Hao Chang, Elliot Creager, Anna Goldenberg, & David Duvenaud Page , 6/308
  • 9. • What is exactly explained about CNNs in paper [2]? Explaining Image Classifiers by Counterfactual Generation Page , 6/309 Which parts of the image, if not seen by the classifier, would most affect its decision? Saliency Map AlexNet focuses more on the body region of the animal, while VGG and ResNet focus more on the head features Saliency map
  • 10. Counterfactual Visual Explanations • Research background: Many papers focus on finding the important regions which push model to make a prediction • Motivation: How should the image I be different for the model to predict it as class c′ instead [3] Counterfactual Visual Explanations. ICML, 2019. Yash Goyal, Ziyan Wu, Jan Ernst, Dhruv Batra, Devi Parikh, Stefan Lee. If the red box region on the left (I) was replaced by the red box region on the right (Iʹ), then model will make a different prediction, e.g., c—> cʹ • Two contributions claimed by the authors: 1. Propose an approach to generate counterfactual visual explanations 2. The explanations can help in teaching humans via human studies Page , 6/3010
  • 11. 1 Decompose CNNs into feature extractor f(I) and decision net g(f(I)) 2 Define a transformation that replaces regions in the feature f(I) with those from feature f(I*) Take feature ( hw*d ) Solution 1. Exhaustive search approach Solution 2. A continuous relaxation of a and P that replaces search with an optimization 3 Algorithms to find minimum replacement region Find minimum region Counterfactual Visual Explanations Page , 6/3011
  • 12. • Remaining problem for this method The new edited image sometimes could be very weird, which are far from the natural image query image distractor image edited image Counterfactual Visual Explanations Page , 6/3012
  • 13. a) Results on MNIST based on simple CNN ( 2C+2F) b) Results on Omniglot based on simple CNN ( 2C+2F) c) Results on CUB based on VGG-16 Counterfactual Visual Explanations • What is exactly explained about CNNs in Paper [3]? If the high-light region from query image was replaced by it from distractor image, model will switch it’s prediction to target class Page , 6/3013
  • 14. • Concept attribution Measure the importance of semantic concepts to model predictions, e.g., texture, color, layout • Global Category-wide interpretations 1 2 3 a) Visualization b) Calculate user-defined concept importance Global Explanations of Convolutional Neural Networks With Concept Attribution Page , 6/3014 [4] Global Explanations of Convolutional Neural Networks With Concept Attribution. Weibin Wu, Yu-Wing Tai.
  • 15. Class Concepts Captured by VGG-16 and ResNet-50 Chickadee Tarantula Example image VGG-16 Results reported in [4] Reproduced result according to [5] VGG-16 Iterations: 1000. Blur freq: 4. Blur radius: 1. Weight decay: 0.0001. Clip value: 0.1. [5] Understanding Neural Networks Through Deep Visualization. Jason Yosinski, Hod Lipson. ResNet-50 ResNet-50 Reproduced result according to [5] Page , 6/3015 Results reported in [4] Global Explanations of Convolutional Neural Networks With Concept Attribution
  • 16. • What is exactly explained about CNNs in Paper [4]? CNNs may use concept information when giving a prediction on a specific class, e.g., texture for predicting zebra Importance scores of different conceptsClass concepts captured by different models Page , 6/3016 Global Explanations of Convolutional Neural Networks With Concept Attribution
  • 17. 2. Counterfactual Explanations methods for CNN-based classifier — Explaining Image Classifiers by Counterfactual Generation. ICLR 2019 — Counterfactual Visual Explanations. ICML 2019 — Generative Counterfactual Introspection for Explainable Deep Learning. arXiv — Global Explanations of Convolutional Neural Networks With Concept Attribution. CVPR 2020 1. Counterfactual Explanations and XAI 3. Future plan Page , 6/3017
  • 18. Future Plan Page , 6/3018 • Expanding my knowledge on XAI methods • Introducing XAI methods to other computer vision tasks
  • 19. Thank you for your attention! Any questions or comments are welcome. Cherry blossoms at Honnmanji Temple ( 2020.3.24 08:05 )Warm afternoon at Kamogawa River ( 2020.3.8 16:58 )
  • 20. Generative Counterfactual Introspection for Explainable Deep Learning • Motivation: what meaningful change can be made to the input image in order to alter the prediction ( Similar to last paper ) [6] Generative Counterfactual Introspection for Explainable Deep Learning. Shusen Liu, Bhavya Kailkhura, Donald Loveland, Yong Han where loss is cross-entropy loss for predicting image I(Aʹ) to label cʹ using classifier C lossC,c′ Page , 6/3020 Supplemental Materials
  • 21. MNIST: Changes to the image of digit 9 to alter its prediction CelebA: Changes to the image of a person to alter its prediction older Page , 6/3021 • What is exactly explained about CNNs in Paper [6]? A meaningful change can be made to the input image in order to alter the prediction into target class Supplemental Materials Generative Counterfactual Introspection for Explainable Deep Learning