Opti-CAM: Optimizing saliency maps for interpretability

Hanwei Zhang, Felipe Torres, Ronan Sicre, Yannis Avrithis, Stephane Ayache
1/17/2023
cs.CV

No official code found. Best implementation: hanwei0912/OptiCAM (3 stars, last commit 2024-08-14).

Abstract

Methods based on class activation maps (CAM) provide a simple mechanism to interpret predictions of convolutional neural networks by using linear combinations of feature maps as saliency maps. By contrast, masking-based methods optimize a saliency map directly in the image space or learn it by training another network on additional data. In this work we introduce Opti-CAM, combining ideas from CAM-based and masking-based approaches. Our saliency map is a linear combination of feature maps, where weights are optimized per image such that the logit of the masked image for a given class is maximized. We also fix a fundamental flaw in two of the most common evaluation metrics of attribution methods. On several datasets, Opti-CAM largely outperforms other CAM-based approaches according to the most relevant classification metrics. We provide empirical evidence supporting that localization and classifier interpretability are not necessarily aligned.

View on arXivView PDF

Code Implementations(1)

hanwei0912/OptiCAMCommunity62%

code for the paper: "Opti-CAM: Optimizing saliency maps for interpretability"

30Shell, PythonAug 9, 20242 years ago

Similar Papers

Cite this paper

@article{zhang2023opticam,
  title  = {Opti-CAM: Optimizing saliency maps for interpretability},
  author = {Hanwei Zhang and Felipe Torres and Ronan Sicre and Yannis Avrithis and Stephane Ayache},
  year   = {2023},
  eprint = {2301.07002},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.07002v3}
}

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/2301.07002.svg)](https://codeofpaper.com/paper/2301.07002)

Discussion