SlideShare a Scribd company logo
Department of Electrical Engineering
University of Arkansas
Visualizing CNN
Md Abul Hayat
mahayat@uark.edu
Nov 15, 2019
Contents
• Review: CNN Operations
• Network In Network (NIN)
– Global Average Pooling (GAP)
• Class Activation Mapping (CAM)
• Gradient-weighted Class Activation Mapping (Grad-CAM)
• Grad-CAM based Congestive Heart Failure (CHF) Detection
– Receptive Field
• Grad-CAM on PVP Signal
– Challenges
CNN Review
Network In Network (2014)
• Filtering in CNN is a Generalized Linear Model (GLM) for the
underlying data patch
• New Idea
– Replacing the GLM with a nonlinear function can enhance the abstraction
ability of the local model
– The ‘mlpconv’ maps the input local patch to the output feature vector with a
multilayer perceptron (MLP) with nonlinear activation functions
– The structure of “Network In Network” (NIN) is a stack of ‘mlpconv’ layers
– It is called NIN as we have micro networks (MLP)
Network In Network (2014)
• Global Average Pooling (GAP)
– To replace the traditional fully connected layers in CNN
• Generate one feature map for each corresponding category of the
classification task in the last ‘mlpconv’ layer
• GAP a structural regularizer that enforces feature maps to be
confidence maps of categories
Class Activation Maps (2016)
• CNNs actually behave as object detectors
– Despite no supervision on the location of the object provided
– This ability is lost when fully-connected layers are used for classification
Class Activation Maps (2016)
Class Activation Maps (2016)
Gradient-weighted Class Activation Mapping (2017)
• Method
– This results in a coarse heat-map of the same size as the convolutional
feature maps of last convolutional layers
– We apply a ReLU to the linear combination of maps because we are only
interested in the features that have a positive influence on the class of
interest
Gradient-weighted Class Activation Mapping (2017)
• Grad-CAM is generalization of CAM
• CAM is structure dependent
– Where GAP is applied on penultimate layer
Guided Backpropagation (2015)
Guided Backpropagation (2015)
• Why guided backpropagation is better?
• Max-pooling can be replaced with a convolutional layer with
increased stride
• Grad-CAM can localize and class discriminative but low resolution
• This paper fused guided backpropagation and Grad-CAM by
pointwise multiplication
• Grad-CAM is up-sampled by bi-linear interpolation
Gradient-weighted Class Activation Mapping (2017)
• Complete Architecture
• Examples:
– https://github.com/utkuozbulak/pytorch-cnn-visualizations
Gradient-weighted Class Activation Mapping (2017)
Grad-CAM based CHF Detection (Sep 2019)
• Two classes
– Normal patients & CHF patients
– Input is a time domain (ECG) vector of length 80
– Sensitivity = Specificity = 1 and Accuracy = 1
Grad-CAM based CHF Detection (Sep 2019)
• Heatmap
– The histograms feature the data points in the input ECG beats above 0.8 in
the normalized heat maps obtained through Grad-CAM
– The sample points that were found to be significant (i.e., where the
histogram points reached a threshold of 0.25) are presented in this figure
Grad-CAM on PVP Signal
TH = 0.1
TH = 0.5
TH = 0.4
Loss: 0.29 0.47
Acc: 0.88 0.82
TPR: 0.89 0.82
TNR: 0.87 0.83
PRE: 0.86 0.80
F1: 0.87 0.80
Freq Domain Data
CNN: 5.5 Hz
Computing Receptive Fields of CNN (Nov 2019)
• Nov 4
– https://distill.pub/2019/computing-receptive-fields/
• Notations
– Input image by f0
– Final output feature map fL where L is number of layers in CNN
Computing Receptive Fields of CNN (Nov 2019)
• Case 1:
– When,
• Case 2:
– When,
• Receptive field of one output feature
– Receptive field of CHF CNN
• (10-1) + (15-1) + (20-1)+1 = 43
Computing Receptive Fields of CNN (Nov 2019)
Computing Receptive Fields of CNN (Nov 2019)
Possibilities
• Using Guided backpropagation with Grad-CAM
– We can infer which frequencies are relevant
• Using CAM
• Better design of kernel for receptive field equal to input
• Using RNN
Questions?


More Related Content

Similar to Fa19_P2.pptx

Algorithmic optimizations for Dynamic Monolithic PageRank (from STICD) : SHOR...
Algorithmic optimizations for Dynamic Monolithic PageRank (from STICD) : SHOR...Algorithmic optimizations for Dynamic Monolithic PageRank (from STICD) : SHOR...
Algorithmic optimizations for Dynamic Monolithic PageRank (from STICD) : SHOR...
Subhajit Sahu
 
2015-06-15 Large-Scale Elastic-Net Regularized Generalized Linear Models at S...
2015-06-15 Large-Scale Elastic-Net Regularized Generalized Linear Models at S...2015-06-15 Large-Scale Elastic-Net Regularized Generalized Linear Models at S...
2015-06-15 Large-Scale Elastic-Net Regularized Generalized Linear Models at S...
DB Tsai
 
An accurate retrieval through R-MAC+ descriptors for landmark recognition
An accurate retrieval through R-MAC+ descriptors for landmark recognitionAn accurate retrieval through R-MAC+ descriptors for landmark recognition
An accurate retrieval through R-MAC+ descriptors for landmark recognition
Federico Magliani
 
FR3.L09 - MULTIBASELINE GRADIENT AMBIGUITY RESOLUTION TO SUPPORT MINIMUM COST...
FR3.L09 - MULTIBASELINE GRADIENT AMBIGUITY RESOLUTION TO SUPPORT MINIMUM COST...FR3.L09 - MULTIBASELINE GRADIENT AMBIGUITY RESOLUTION TO SUPPORT MINIMUM COST...
FR3.L09 - MULTIBASELINE GRADIENT AMBIGUITY RESOLUTION TO SUPPORT MINIMUM COST...grssieee
 
Zupt, LLC's SLAM and Optimal Sensor fusion
Zupt, LLC's SLAM and Optimal Sensor fusionZupt, LLC's SLAM and Optimal Sensor fusion
Zupt, LLC's SLAM and Optimal Sensor fusion
Robert Flaming, PCM®
 
Explaining the decisions of image/video classifiers
Explaining the decisions of image/video classifiersExplaining the decisions of image/video classifiers
Explaining the decisions of image/video classifiers
VasileiosMezaris
 
Enterprise Scale Topological Data Analysis Using Spark
Enterprise Scale Topological Data Analysis Using SparkEnterprise Scale Topological Data Analysis Using Spark
Enterprise Scale Topological Data Analysis Using Spark
Alpine Data
 
Enterprise Scale Topological Data Analysis Using Spark
Enterprise Scale Topological Data Analysis Using SparkEnterprise Scale Topological Data Analysis Using Spark
Enterprise Scale Topological Data Analysis Using Spark
Spark Summit
 
SPIE Remote Sensing 2019
SPIE Remote Sensing 2019SPIE Remote Sensing 2019
SPIE Remote Sensing 2019
Andrea Di Pasquale
 
INNOVA - SPIE Remote Sensing 2019
INNOVA - SPIE Remote Sensing 2019 INNOVA - SPIE Remote Sensing 2019
INNOVA - SPIE Remote Sensing 2019
Andrea Di Pasquale
 
Week5-Faster R-CNN.pptx
Week5-Faster R-CNN.pptxWeek5-Faster R-CNN.pptx
Week5-Faster R-CNN.pptx
fahmi324663
 
PCA-SIFT: A More Distinctive Representation for Local Image Descriptors
PCA-SIFT: A More Distinctive Representation for Local Image DescriptorsPCA-SIFT: A More Distinctive Representation for Local Image Descriptors
PCA-SIFT: A More Distinctive Representation for Local Image Descriptors
wolf
 
Multiple UGV SLAM Map Sharing
Multiple UGV SLAM Map SharingMultiple UGV SLAM Map Sharing
Multiple UGV SLAM Map Sharing
Akash Borate
 
Making_Good_Enough...Better-Addressing_the_Multiple_Objectives_of_High-Perfor...
Making_Good_Enough...Better-Addressing_the_Multiple_Objectives_of_High-Perfor...Making_Good_Enough...Better-Addressing_the_Multiple_Objectives_of_High-Perfor...
Making_Good_Enough...Better-Addressing_the_Multiple_Objectives_of_High-Perfor...John Gunnels
 
Kintinuous review
Kintinuous reviewKintinuous review
Kintinuous review
Dong-Won Shin
 
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Subhajit Sahu
 
TAME: Trainable Attention Mechanism for Explanations
TAME: Trainable Attention Mechanism for ExplanationsTAME: Trainable Attention Mechanism for Explanations
TAME: Trainable Attention Mechanism for Explanations
VasileiosMezaris
 
DDGK: Learning Graph Representations for Deep Divergence Graph Kernels
DDGK: Learning Graph Representations for Deep Divergence Graph KernelsDDGK: Learning Graph Representations for Deep Divergence Graph Kernels
DDGK: Learning Graph Representations for Deep Divergence Graph Kernels
ivaderivader
 
The Origin of Grad-CAM
The Origin of Grad-CAMThe Origin of Grad-CAM
The Origin of Grad-CAM
Shintaro Yoshida
 
Cerebellar Model Articulation Controller
Cerebellar Model Articulation ControllerCerebellar Model Articulation Controller
Cerebellar Model Articulation Controller
Zahra Sadeghi
 

Similar to Fa19_P2.pptx (20)

Algorithmic optimizations for Dynamic Monolithic PageRank (from STICD) : SHOR...
Algorithmic optimizations for Dynamic Monolithic PageRank (from STICD) : SHOR...Algorithmic optimizations for Dynamic Monolithic PageRank (from STICD) : SHOR...
Algorithmic optimizations for Dynamic Monolithic PageRank (from STICD) : SHOR...
 
2015-06-15 Large-Scale Elastic-Net Regularized Generalized Linear Models at S...
2015-06-15 Large-Scale Elastic-Net Regularized Generalized Linear Models at S...2015-06-15 Large-Scale Elastic-Net Regularized Generalized Linear Models at S...
2015-06-15 Large-Scale Elastic-Net Regularized Generalized Linear Models at S...
 
An accurate retrieval through R-MAC+ descriptors for landmark recognition
An accurate retrieval through R-MAC+ descriptors for landmark recognitionAn accurate retrieval through R-MAC+ descriptors for landmark recognition
An accurate retrieval through R-MAC+ descriptors for landmark recognition
 
FR3.L09 - MULTIBASELINE GRADIENT AMBIGUITY RESOLUTION TO SUPPORT MINIMUM COST...
FR3.L09 - MULTIBASELINE GRADIENT AMBIGUITY RESOLUTION TO SUPPORT MINIMUM COST...FR3.L09 - MULTIBASELINE GRADIENT AMBIGUITY RESOLUTION TO SUPPORT MINIMUM COST...
FR3.L09 - MULTIBASELINE GRADIENT AMBIGUITY RESOLUTION TO SUPPORT MINIMUM COST...
 
Zupt, LLC's SLAM and Optimal Sensor fusion
Zupt, LLC's SLAM and Optimal Sensor fusionZupt, LLC's SLAM and Optimal Sensor fusion
Zupt, LLC's SLAM and Optimal Sensor fusion
 
Explaining the decisions of image/video classifiers
Explaining the decisions of image/video classifiersExplaining the decisions of image/video classifiers
Explaining the decisions of image/video classifiers
 
Enterprise Scale Topological Data Analysis Using Spark
Enterprise Scale Topological Data Analysis Using SparkEnterprise Scale Topological Data Analysis Using Spark
Enterprise Scale Topological Data Analysis Using Spark
 
Enterprise Scale Topological Data Analysis Using Spark
Enterprise Scale Topological Data Analysis Using SparkEnterprise Scale Topological Data Analysis Using Spark
Enterprise Scale Topological Data Analysis Using Spark
 
SPIE Remote Sensing 2019
SPIE Remote Sensing 2019SPIE Remote Sensing 2019
SPIE Remote Sensing 2019
 
INNOVA - SPIE Remote Sensing 2019
INNOVA - SPIE Remote Sensing 2019 INNOVA - SPIE Remote Sensing 2019
INNOVA - SPIE Remote Sensing 2019
 
Week5-Faster R-CNN.pptx
Week5-Faster R-CNN.pptxWeek5-Faster R-CNN.pptx
Week5-Faster R-CNN.pptx
 
PCA-SIFT: A More Distinctive Representation for Local Image Descriptors
PCA-SIFT: A More Distinctive Representation for Local Image DescriptorsPCA-SIFT: A More Distinctive Representation for Local Image Descriptors
PCA-SIFT: A More Distinctive Representation for Local Image Descriptors
 
Multiple UGV SLAM Map Sharing
Multiple UGV SLAM Map SharingMultiple UGV SLAM Map Sharing
Multiple UGV SLAM Map Sharing
 
Making_Good_Enough...Better-Addressing_the_Multiple_Objectives_of_High-Perfor...
Making_Good_Enough...Better-Addressing_the_Multiple_Objectives_of_High-Perfor...Making_Good_Enough...Better-Addressing_the_Multiple_Objectives_of_High-Perfor...
Making_Good_Enough...Better-Addressing_the_Multiple_Objectives_of_High-Perfor...
 
Kintinuous review
Kintinuous reviewKintinuous review
Kintinuous review
 
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
 
TAME: Trainable Attention Mechanism for Explanations
TAME: Trainable Attention Mechanism for ExplanationsTAME: Trainable Attention Mechanism for Explanations
TAME: Trainable Attention Mechanism for Explanations
 
DDGK: Learning Graph Representations for Deep Divergence Graph Kernels
DDGK: Learning Graph Representations for Deep Divergence Graph KernelsDDGK: Learning Graph Representations for Deep Divergence Graph Kernels
DDGK: Learning Graph Representations for Deep Divergence Graph Kernels
 
The Origin of Grad-CAM
The Origin of Grad-CAMThe Origin of Grad-CAM
The Origin of Grad-CAM
 
Cerebellar Model Articulation Controller
Cerebellar Model Articulation ControllerCerebellar Model Articulation Controller
Cerebellar Model Articulation Controller
 

More from Md Abul Hayat

Self-supervised Learning for Astronomical Images
Self-supervised Learning for Astronomical ImagesSelf-supervised Learning for Astronomical Images
Self-supervised Learning for Astronomical Images
Md Abul Hayat
 
dissertation_proposal_presentation.pdf
dissertation_proposal_presentation.pdfdissertation_proposal_presentation.pdf
dissertation_proposal_presentation.pdf
Md Abul Hayat
 
Review_Sp23.pdf
Review_Sp23.pdfReview_Sp23.pdf
Review_Sp23.pdf
Md Abul Hayat
 
Fa18_P1.pptx
Fa18_P1.pptxFa18_P1.pptx
Fa18_P1.pptx
Md Abul Hayat
 
Sp18_P2.pptx
Sp18_P2.pptxSp18_P2.pptx
Sp18_P2.pptx
Md Abul Hayat
 
Sp18_P1.pptx
Sp18_P1.pptxSp18_P1.pptx
Sp18_P1.pptx
Md Abul Hayat
 
Sp20_P1.pptx
Sp20_P1.pptxSp20_P1.pptx
Sp20_P1.pptx
Md Abul Hayat
 
Sp19_P2.pptx
Sp19_P2.pptxSp19_P2.pptx
Sp19_P2.pptx
Md Abul Hayat
 
Sp19_P1.pptx
Sp19_P1.pptxSp19_P1.pptx
Sp19_P1.pptx
Md Abul Hayat
 
Fa19_P1.pptx
Fa19_P1.pptxFa19_P1.pptx
Fa19_P1.pptx
Md Abul Hayat
 
Fa18_P2.pptx
Fa18_P2.pptxFa18_P2.pptx
Fa18_P2.pptx
Md Abul Hayat
 
Fa18_P1.pptx
Fa18_P1.pptxFa18_P1.pptx
Fa18_P1.pptx
Md Abul Hayat
 
STAN_MS_PPT.pptx
STAN_MS_PPT.pptxSTAN_MS_PPT.pptx
STAN_MS_PPT.pptx
Md Abul Hayat
 

More from Md Abul Hayat (13)

Self-supervised Learning for Astronomical Images
Self-supervised Learning for Astronomical ImagesSelf-supervised Learning for Astronomical Images
Self-supervised Learning for Astronomical Images
 
dissertation_proposal_presentation.pdf
dissertation_proposal_presentation.pdfdissertation_proposal_presentation.pdf
dissertation_proposal_presentation.pdf
 
Review_Sp23.pdf
Review_Sp23.pdfReview_Sp23.pdf
Review_Sp23.pdf
 
Fa18_P1.pptx
Fa18_P1.pptxFa18_P1.pptx
Fa18_P1.pptx
 
Sp18_P2.pptx
Sp18_P2.pptxSp18_P2.pptx
Sp18_P2.pptx
 
Sp18_P1.pptx
Sp18_P1.pptxSp18_P1.pptx
Sp18_P1.pptx
 
Sp20_P1.pptx
Sp20_P1.pptxSp20_P1.pptx
Sp20_P1.pptx
 
Sp19_P2.pptx
Sp19_P2.pptxSp19_P2.pptx
Sp19_P2.pptx
 
Sp19_P1.pptx
Sp19_P1.pptxSp19_P1.pptx
Sp19_P1.pptx
 
Fa19_P1.pptx
Fa19_P1.pptxFa19_P1.pptx
Fa19_P1.pptx
 
Fa18_P2.pptx
Fa18_P2.pptxFa18_P2.pptx
Fa18_P2.pptx
 
Fa18_P1.pptx
Fa18_P1.pptxFa18_P1.pptx
Fa18_P1.pptx
 
STAN_MS_PPT.pptx
STAN_MS_PPT.pptxSTAN_MS_PPT.pptx
STAN_MS_PPT.pptx
 

Recently uploaded

HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
ssuser7dcef0
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
aqil azizi
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
ChristineTorrepenida1
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
SyedAbiiAzazi1
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Basic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparelBasic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparel
top1002
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Soumen Santra
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
Vijay Dialani, PhD
 

Recently uploaded (20)

HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
Basic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparelBasic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparel
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
 

Fa19_P2.pptx

  • 1. Department of Electrical Engineering University of Arkansas Visualizing CNN Md Abul Hayat mahayat@uark.edu Nov 15, 2019
  • 2. Contents • Review: CNN Operations • Network In Network (NIN) – Global Average Pooling (GAP) • Class Activation Mapping (CAM) • Gradient-weighted Class Activation Mapping (Grad-CAM) • Grad-CAM based Congestive Heart Failure (CHF) Detection – Receptive Field • Grad-CAM on PVP Signal – Challenges
  • 4. Network In Network (2014) • Filtering in CNN is a Generalized Linear Model (GLM) for the underlying data patch • New Idea – Replacing the GLM with a nonlinear function can enhance the abstraction ability of the local model – The ‘mlpconv’ maps the input local patch to the output feature vector with a multilayer perceptron (MLP) with nonlinear activation functions – The structure of “Network In Network” (NIN) is a stack of ‘mlpconv’ layers – It is called NIN as we have micro networks (MLP)
  • 5. Network In Network (2014) • Global Average Pooling (GAP) – To replace the traditional fully connected layers in CNN • Generate one feature map for each corresponding category of the classification task in the last ‘mlpconv’ layer • GAP a structural regularizer that enforces feature maps to be confidence maps of categories
  • 6. Class Activation Maps (2016) • CNNs actually behave as object detectors – Despite no supervision on the location of the object provided – This ability is lost when fully-connected layers are used for classification
  • 9. Gradient-weighted Class Activation Mapping (2017) • Method – This results in a coarse heat-map of the same size as the convolutional feature maps of last convolutional layers – We apply a ReLU to the linear combination of maps because we are only interested in the features that have a positive influence on the class of interest
  • 10. Gradient-weighted Class Activation Mapping (2017) • Grad-CAM is generalization of CAM • CAM is structure dependent – Where GAP is applied on penultimate layer
  • 12. Guided Backpropagation (2015) • Why guided backpropagation is better? • Max-pooling can be replaced with a convolutional layer with increased stride • Grad-CAM can localize and class discriminative but low resolution • This paper fused guided backpropagation and Grad-CAM by pointwise multiplication • Grad-CAM is up-sampled by bi-linear interpolation
  • 13. Gradient-weighted Class Activation Mapping (2017) • Complete Architecture • Examples: – https://github.com/utkuozbulak/pytorch-cnn-visualizations
  • 15. Grad-CAM based CHF Detection (Sep 2019) • Two classes – Normal patients & CHF patients – Input is a time domain (ECG) vector of length 80 – Sensitivity = Specificity = 1 and Accuracy = 1
  • 16. Grad-CAM based CHF Detection (Sep 2019) • Heatmap – The histograms feature the data points in the input ECG beats above 0.8 in the normalized heat maps obtained through Grad-CAM – The sample points that were found to be significant (i.e., where the histogram points reached a threshold of 0.25) are presented in this figure
  • 17. Grad-CAM on PVP Signal TH = 0.1 TH = 0.5 TH = 0.4 Loss: 0.29 0.47 Acc: 0.88 0.82 TPR: 0.89 0.82 TNR: 0.87 0.83 PRE: 0.86 0.80 F1: 0.87 0.80 Freq Domain Data CNN: 5.5 Hz
  • 18. Computing Receptive Fields of CNN (Nov 2019) • Nov 4 – https://distill.pub/2019/computing-receptive-fields/ • Notations – Input image by f0 – Final output feature map fL where L is number of layers in CNN
  • 19. Computing Receptive Fields of CNN (Nov 2019) • Case 1: – When, • Case 2: – When, • Receptive field of one output feature – Receptive field of CHF CNN • (10-1) + (15-1) + (20-1)+1 = 43
  • 20. Computing Receptive Fields of CNN (Nov 2019)
  • 21. Computing Receptive Fields of CNN (Nov 2019)
  • 22. Possibilities • Using Guided backpropagation with Grad-CAM – We can infer which frequencies are relevant • Using CAM • Better design of kernel for receptive field equal to input • Using RNN