HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Score-CAM: Score-Weighted Visual Explanations for Convolutional Neural Networks

Haofan Wang; Zifan Wang; Mengnan Du; Fan Yang; Zijian Zhang; Sirui Ding; Piotr Mardziel; Xia Hu

Score-CAM: Score-Weighted Visual Explanations for Convolutional Neural Networks

Abstract

Recently, increasing attention has been drawn to the internal mechanisms of convolutional neural networks, and the reason why the network makes specific decisions. In this paper, we develop a novel post-hoc visual explanation method called Score-CAM based on class activation mapping. Unlike previous class activation mapping based approaches, Score-CAM gets rid of the dependence on gradients by obtaining the weight of each activation map through its forward passing score on target class, the final result is obtained by a linear combination of weights and activation maps. We demonstrate that Score-CAM achieves better visual performance and fairness for interpreting the decision making process. Our approach outperforms previous methods on both recognition and localization tasks, it also passes the sanity check. We also indicate its application as debugging tools. Official code has been released.

Code Repositories

andreysorokin/scam-net
Mentioned in GitHub
windstormer/Cfd-CAM
pytorch
Mentioned in GitHub
frgfm/torch-cam
pytorch
Mentioned in GitHub
tabayashi0117/Score-CAM
tf
Mentioned in GitHub
jacobgil/pytorch-grad-cam
pytorch
Mentioned in GitHub
Jupetus/ExplainableAI
pytorch
Mentioned in GitHub
matheushent/score-cam
tf
Mentioned in GitHub
yiskw713/scorecam
pytorch
Mentioned in GitHub
haofanwang/Score-CAM
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
error-understanding-on-cub-200-2011-1Score-CAM
Average highest confidence (EfficientNetV2-M): 0.2403
Average highest confidence (MobileNetV2): 0.3141
Average highest confidence (ResNet-101): 0.2510
Insertion AUC score (EfficientNetV2-M): 0.1572
Insertion AUC score (MobileNetV2): 0.1195
Insertion AUC score (ResNet-101): 0.1073
error-understanding-on-cub-200-2011-resnetScore-CAM
Average highest confidence: 0.2510
Insertion AUC score: 0.1073

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
Score-CAM: Score-Weighted Visual Explanations for Convolutional Neural Networks | Papers | HyperAI