Explaining Classifiers by Constructing Familiar Concepts

Johannes Schneider, Michail Vlachos
3/7/2022
cs.CVcs.LG

Official code: JohnTailor/ClaDec (5 stars, Python, last commit 2021-07-20).

Abstract

Interpreting a large number of neurons in deep learning is difficult. Our proposed `CLAssifier-DECoder' architecture (ClaDec) facilitates the understanding of the output of an arbitrary layer of neurons or subsets thereof.

Show full abstract

It uses a decoder that transforms the incomprehensible representation of the given neurons to a representation that is more similar to the domain a human is familiar with. In an image recognition problem, one can recognize what information (or concepts) a layer maintains by contrasting reconstructed images of ClaDec with those of a conventional auto-encoder(AE) serving as reference. An extension of ClaDec allows trading comprehensibility and fidelity. We evaluate our approach for image classification using convolutional neural networks. We show that reconstructed visualizations using encodings from a classifier capture more relevant classification information than conventional AEs. This holds although AEs contain more information on the original input. Our user study highlights that even non-experts can identify a diverse set of concepts contained in images that are relevant (or irrelevant) for the classifier. We also compare against saliency based methods that focus on pixel relevance rather than concepts. We show that ClaDec tends to highlight more relevant input areas to classification though outcomes depend on classifier architecture. Code is at \url{https://github.com/JohnTailor/ClaDec}

View on arXivView PDF

Code Implementations(1)

JohnTailor/ClaDecOfficial100%

Explaining Classifiers using Layer encodings

51PythonFeb 5, 20215 years ago

Similar Papers

Cite this paper

@article{schneider2022explaining,
  title  = {Explaining Classifiers by Constructing Familiar Concepts},
  author = {Johannes Schneider and Michail Vlachos},
  year   = {2022},
  eprint = {2203.04109},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.04109}
}

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

Discussion