Skip to main content
QUICK REVIEW

[Paper Review] Grad-CAM: Why did you say that?

Ramprasaath R. Selvaraju, Abhishek Das|arXiv (Cornell University)|Nov 22, 2016
Multimodal Machine Learning ApplicationsComputer Science11 references325 citations
TL;DR

Introduces Grad-CAM, a gradient-based localization method to produce class-discriminative visual explanations for CNNs, and combines it with Guided Backpropagation to form high-resolution Guided Grad-CAM explanations.

ABSTRACT

We propose a technique for making Convolutional Neural Network (CNN)-based models more transparent by visualizing input regions that are 'important' for predictions -- or visual explanations. Our approach, called Gradient-weighted Class Activation Mapping (Grad-CAM), uses class-specific gradient information to localize important regions. These localizations are combined with existing pixel-space visualizations to create a novel high-resolution and class-discriminative visualization called Guided Grad-CAM. These methods help better understand CNN-based models, including image captioning and visual question answering (VQA) models. We evaluate our visual explanations by measuring their ability to discriminate between classes, to inspire trust in humans, and their correlation with occlusion maps. Grad-CAM provides a new way to understand CNN-based models. We have released code, an online demo hosted on CloudCV, and a full version of this extended abstract.

Motivation & Objective

  • Motivate the need for transparent CNN explanations that are both class-discriminative and high-resolution.
  • Introduce Grad-CAM to obtain localization maps using class-specific gradient information without architecture changes.
  • Combine Grad-CAM with Guided Backpropagation to create Guided Grad-CAM for high-resolution, class-discriminative visuals.
  • Demonstrate applicability to image captioning and visual question answering (VQA) models.
  • Evaluate explanations via human studies and faithfulness analyses, and release code/demos.

Proposed method

  • Define Grad-CAM by computing gradients of the target class score with respect to convolutional feature maps, and globally average-pool these gradients to obtain channel-wise weights, then form a ReLU-weighted sum of feature maps.
  • Generalize CAM to arbitrary CNNs by avoiding architectural constraints and using gradients (gradients-based localization).
  • Create Guided Grad-CAM by element-wise multiplying Grad-CAM maps with Guided Backpropagation visuals to achieve high-resolution, class-discriminative explanations.
  • Apply Grad-CAM to image captioning and VQA models to demonstrate broad applicability across tasks.
  • Conduct human studies to assess discriminativeness and trust, and compare faithfulness against occlusion-based measures.

Experimental results

Research questions

  • RQ1Can Grad-CAM produce class-discriminative localization maps without re-training or architectural changes?
  • RQ2Does Guided Grad-CAM provide high-resolution explanations that improve interpretability and trust over existing methods?
  • RQ3Are Grad-CAM explanations faithful to the model’s behavior (as evidenced by occlusion correlation) and discriminative for the target class?
  • RQ4How well do these explanations transfer to higher-level tasks like image captioning and visual question answering?

Key findings

  • Grad-CAM localizations are class-discriminative and can be computed without re-training.
  • Guided Grad-CAM combines high-resolution details with class focus, improving human discriminability and perceived model trust.
  • In human evaluations, Guided Grad-CAM outperformed Guided Backpropagation in class recognition (44.44 vs 61.23% accuracy) and perceived reliability (+1.00 vs +1.27) and showed higher correlation with occlusion-based faithfulness (0.168 vs 0.261).
  • Guided Grad-CAM helps diagnose model failures and provides intuitive explanations for ImageNet and VQA predictions.
  • The method is validated on image captioning and VQA pipelines, illustrating broad applicability across CNN-based tasks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.