Grad-CAM for Visualizing Attention Regions of PCA and SVM Layers in Convolutional Neural Networks
Not on the map. Why?
Abstract (arXiv)
Convolutional Neural Networks (CNNs) are an effective approach for classification tasks, particularly when the training dataset is large. Although CNNs have long been considered a black-box classification method, they can be used as a white-box method through visualization techniques such as Grad-CAM. When the training samples are limited, incorporating a Principal Component Analysis (PCA) layer and/or a Support Vector Machine (SVM) classifier into a CNN can effectively improve the classification performance. However, a conventional Grad-CAM cannot be directly applied to PCA and/or SVM layers. Generating attention regions for PCA and/or SVM layers in CNNs is important to facilitate the development of white-box methods. Therefore, we propose ``PCA-Grad-CAM'', a method for visualizing attention regions in PCA feature vectors, and ``SVM-Grad-CAM'', a method for visualizing attention regions in an SVM classifier layer. Solving a closed-form Jacobian problem comprising partial derivatives from the last convolutional layer to the PCA and/or SVM layers is necessary to complete the proposed methods analytically. In this paper, we present the exact closed-form Jacobian and visualization results of the proposed methods applied to several major datasets. In addition, the insertion and deletion metrics, which are major evaluation metrics in explainable AI, were applied to PCA- and SVM-Grad-CAM. The results suggest that the proposed method can successfully visualize the attention regions of PCA and SVM.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 20 of its 83 references that are in the map. First posted on arXiv 16 Aug 2025.
Builds on
20 of 83 references.
References · 20
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,733
- 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,349
- 2015Learning Deep Features for Discriminative Localizationcited by 2,436
- 2017SmoothGrad: removing noise by adding noisecited by 1,109
- 2017Grad-CAM++: Improved Visual Explanations for Deep Convolutional Networkscited by 939
- 2018RISE: Randomized Input Sampling for Explanation of Black-box Modelscited by 838
- 2019Score-CAM: Score-Weighted Visual Explanations for Convolutional Neural Networkscited by 582
- 2018Deep learning in agriculture: A surveycited by 160
- 2019Smooth Grad-CAM++: An Enhanced Inference Level Visualization Technique for Deep Convolutional Neural Network Modelscited by 118
- 2020COVID-19 Image Data Collection: Prospective Predictions Are the Futurecited by 100
- 2020Use HiResCAM instead of Grad-CAM for faithful explanations of convolutional neural networkscited by 79
8 more
- 2021Towards Better Explanations of Class Activation Mappingcited by 47
- 2022Shap-CAM: Visual Explanations for Convolutional Neural Networks based on Shapley Valuecited by 23
- 2016Simultaneous Food Localization and Recognitioncited by 14
- 2016ResFeats: Residual Network Based Features for Image Classificationcited by 5
- 2025CAMs as Shapley Value-based Explainerscited by 5
- 2023Explanation of Face Recognition via Saliency Mapscited by 3
- 2024Automated Machine Learning for Positive-Unlabelled Learningcited by 1
- 2024Exploring Hierarchical Classification Performance for Time Series Data: Dissimilarity Measures and Classifier Comparisonscited by 1
Built on by
Not cited yet.