CVJan 17, 2020

Adapting Grad-CAM for Embedding Networks

arXiv:2001.06538v168 citations
AI Analysis

This work addresses the problem of explaining decisions in embedding networks for researchers and practitioners, but it is incremental as it adapts an existing method to a specific network type.

The paper tackled the challenge of applying Grad-CAM to embedding networks, which are trained with dynamically paired examples like triplets, by proposing an adaptation that aggregates grad-weights from multiple examples and uses weight-transfer for efficient explanation without back-propagation. The result was more accurate visual attention on the CUB200 dataset and convincing qualitative results in a house price estimation application.

The gradient-weighted class activation mapping (Grad-CAM) method can faithfully highlight important regions in images for deep model prediction in image classification, image captioning and many other tasks. It uses the gradients in back-propagation as weights (grad-weights) to explain network decisions. However, applying Grad-CAM to embedding networks raises significant challenges because embedding networks are trained by millions of dynamically paired examples (e.g. triplets). To overcome these challenges, we propose an adaptation of the Grad-CAM method for embedding networks. First, we aggregate grad-weights from multiple training examples to improve the stability of Grad-CAM. Then, we develop an efficient weight-transfer method to explain decisions for any image without back-propagation. We extensively validate the method on the standard CUB200 dataset in which our method produces more accurate visual attention than the original Grad-CAM method. We also apply the method to a house price estimation application using images. The method produces convincing qualitative results, showcasing the practicality of our approach.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes