HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Grad-CAM++: Improved Visual Explanations for Deep Convolutional Networks

Aditya Chattopadhyay; Anirban Sarkar; Prantik Howlader; Vineeth N Balasubramanian

Grad-CAM++: Improved Visual Explanations for Deep Convolutional Networks

Abstract

Over the last decade, Convolutional Neural Network (CNN) models have been highly successful in solving complex vision problems. However, these deep models are perceived as "black box" methods considering the lack of understanding of their internal functioning. There has been a significant recent interest in developing explainable deep learning models, and this paper is an effort in this direction. Building on a recently proposed method called Grad-CAM, we propose a generalized method called Grad-CAM++ that can provide better visual explanations of CNN model predictions, in terms of better object localization as well as explaining occurrences of multiple object instances in a single image, when compared to state-of-the-art. We provide a mathematical derivation for the proposed method, which uses a weighted combination of the positive partial derivatives of the last convolutional layer feature maps with respect to a specific class score as weights to generate a visual explanation for the corresponding class label. Our extensive experiments and evaluations, both subjective and objective, on standard datasets showed that Grad-CAM++ provides promising human-interpretable visual explanations for a given CNN architecture across multiple tasks including classification, image caption generation and 3D action recognition; as well as in new settings such as knowledge distillation.

Code Repositories

sicara/tf-explain
tf
Mentioned in GitHub
lisssse14/Grad_CAM_PLUS_PLUS
tf
Mentioned in GitHub
Ecgbert/Grad_CAM_PLUS_PLUS
tf
Mentioned in GitHub
totti0223/gradcamplusplus
Mentioned in GitHub
frgfm/torch-cam
pytorch
Mentioned in GitHub
tristangomez44/metrics-saliency-maps
pytorch
Mentioned in GitHub
yunqing-me/attackvlm
pytorch
Mentioned in GitHub
FelixMQuintana/Deep-Vasp-E
tf
Mentioned in GitHub
vcowwy/paddle-grad-cam
paddle
Mentioned in GitHub
yiskw713/SmoothGradCAMplusplus
pytorch
Mentioned in GitHub
eknim/gradcamplusplus
Mentioned in GitHub
jacobgil/pytorch-grad-cam
pytorch
Mentioned in GitHub
yiskw713/ClassActivationMapping
pytorch
Mentioned in GitHub
yiskw713/scorecam
pytorch
Mentioned in GitHub
HollrayChan/gradcam-plus-plus
pytorch
Mentioned in GitHub
ftorres11/saliencysense
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
error-understanding-on-cub-200-2011-1Grad-CAM++
Average highest confidence (EfficientNetV2-M): 0.2659
Average highest confidence (MobileNetV2): 0.3462
Average highest confidence (ResNet-101): 0.2647
Insertion AUC score (EfficientNetV2-M): 0.1605
Insertion AUC score (MobileNetV2): 0.1284
Insertion AUC score (ResNet-101): 0.1094
error-understanding-on-cub-200-2011-resnetGrad-CAM++
Average highest confidence: 0.2647
Insertion AUC score: 0.1094

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Grad-CAM++: Improved Visual Explanations for Deep Convolutional Networks | Papers | HyperAI