Concept Saliency Maps to Visualize Relevant Features in Deep Generative Models

Lennart Brocki, Neo Christopher Chung
10/29/2019
cs.LGcs.CVstat.ML

Official code: lenbrocki/concept-saliency-maps (7 stars, Jupyter Notebook, last commit 2023-08-02).

Abstract

Evaluating, explaining, and visualizing high-level concepts in generative models, such as variational autoencoders (VAEs), is challenging in part due to a lack of known prediction classes that are required to generate saliency maps in supervised learning. While saliency maps may help identify relevant features (e.g., pixels) in the input for classification tasks of deep neural networks, similar frameworks are understudied in unsupervised learning.

Show full abstract

Therefore, we introduce a new method of obtaining saliency maps for latent representations of known or novel high-level concepts, often called concept vectors in generative models. Concept scores, analogous to class scores in classification tasks, are defined as dot products between concept vectors and encoded input data, which can be readily used to compute the gradients. The resulting concept saliency maps are shown to highlight input features deemed important for high-level concepts. Our method is applied to the VAE's latent space of CelebA dataset in which known attributes such as "smiles" and "hats" are used to elucidate relevant facial features. Furthermore, our application to spatial transcriptomic (ST) data of a mouse olfactory bulb demonstrates the potential of latent representations of morphological layers and molecular features in advancing our understanding of complex biological systems. By extending the popular method of saliency maps to generative models, the proposed concept saliency maps help improve interpretability of latent variable models in deep learning. Codes to reproduce and to implement concept saliency maps: https://github.com/lenbrocki/concept-saliency-maps

View on arXivView PDF

Code Implementations(1)

Contains the jupyter notebooks to reproduce the results of the paper "Concept Saliency Maps to Visualize Relevant Features in Deep Generative Models" https://arxiv.org/pdf/1910.13140.pdf

72Jupyter Notebook, PythonOct 2, 20193 years ago

Similar Papers

Cite this paper

@article{brocki2019concept,
  title  = {Concept Saliency Maps to Visualize Relevant Features in Deep Generative Models},
  author = {Lennart Brocki and Neo Christopher Chung},
  year   = {2019},
  eprint = {1910.13140},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1910.13140}
}

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

Discussion