TSGB: Target-Selective Gradient Backprop for Probing CNN Visual Saliency

Lin Cheng, Pengfei Fang, Yanjie Liang, Liao Zhang, Chunhua Shen +1 more
10/11/2021
cs.CVcs.LG

Official code: 123fxdx/CNNvisualizationTSGB (6 stars, Python, last commit 2022-04-21).

Abstract

The explanation for deep neural networks has drawn extensive attention in the deep learning community over the past few years. In this work, we study the visual saliency, a.k.a. visual explanation, to interpret convolutional neural networks.

Show full abstract

Compared to iteration based saliency methods, single backward pass based saliency methods benefit from faster speed, and they are widely used in downstream visual tasks. Thus, we focus on single backward pass based methods. However, existing methods in this category struggle to uccessfully produce fine-grained saliency maps concentrating on specific target classes. That said, producing faithful saliency maps satisfying both target-selectiveness and fine-grainedness using a single backward pass is a challenging problem in the field. To mitigate this problem, we revisit the gradient flow inside the network, and find that the entangled semantics and original weights may disturb the propagation of target-relevant saliency. Inspired by those observations, we propose a novel visual saliency method, termed Target-Selective Gradient Backprop (TSGB), which leverages rectification operations to effectively emphasize target classes and further efficiently propagate the saliency to the image space, thereby generating target-selective and fine-grained saliency maps. The proposed TSGB consists of two components, namely, TSGB-Conv and TSGB-FC, which rectify the gradients for convolutional layers and fully-connected layers, respectively. Extensive qualitative and quantitative experiments on the ImageNet and Pascal VOC datasets show that the proposed method achieves more accurate and reliable results than the other competitive methods. Code is available at https://github.com/123fxdx/CNNvisualizationTSGB.

View on arXivView PDF

Code Implementations(1)

TSGB: Target-Selective Gradient Backprop for Probing CNN Visual Saliency, Pytorch

60PythonJan 2, 20224 years ago

Similar Papers

Cite this paper

@article{cheng2021tsgb,
  title  = {TSGB: Target-Selective Gradient Backprop for Probing CNN Visual Saliency},
  author = {Lin Cheng and Pengfei Fang and Yanjie Liang and Liao Zhang and Chunhua Shen and Hanzi Wang},
  year   = {2021},
  eprint = {2110.05182},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.05182}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.05182.svg)](https://codeofpaper.com/paper/2110.05182)

Discussion