Reproducibility review of "Why Not Other Classes": Towards Class-Contrastive Back-Propagation Explanations

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Eriksson, Arvid, Israelsson, Anton, Kallhauge, Mattias
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866912194089713664
author Eriksson, Arvid
Israelsson, Anton
Kallhauge, Mattias
author_facet Eriksson, Arvid
Israelsson, Anton
Kallhauge, Mattias
contents "Why Not Other Classes?": Towards Class-Contrastive Back-Propagation Explanations (Wang & Wang, 2022) provides a method for contrastively explaining why a certain class in a neural network image classifier is chosen above others. This method consists of using back-propagation-based explanation methods from after the softmax layer rather than before. Our work consists of reproducing the work in the original paper. We also provide extensions to the paper by evaluating the method on XGradCAM, FullGrad, and Vision Transformers to evaluate its generalization capabilities. The reproductions show similar results as the original paper, with the only difference being the visualization of heatmaps which could not be reproduced to look similar. The generalization seems to be generally good, with implementations working for Vision Transformers and alternative back-propagation methods. We also show that the original paper suffers from issues such as a lack of detail in the method and an erroneous equation which makes reproducibility difficult. To remedy this we provide an open-source repository containing all code used for this project.
format Preprint
id arxiv_https___arxiv_org_abs_2501_11096
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Reproducibility review of "Why Not Other Classes": Towards Class-Contrastive Back-Propagation Explanations
Eriksson, Arvid
Israelsson, Anton
Kallhauge, Mattias
Computer Vision and Pattern Recognition
Machine Learning
"Why Not Other Classes?": Towards Class-Contrastive Back-Propagation Explanations (Wang & Wang, 2022) provides a method for contrastively explaining why a certain class in a neural network image classifier is chosen above others. This method consists of using back-propagation-based explanation methods from after the softmax layer rather than before. Our work consists of reproducing the work in the original paper. We also provide extensions to the paper by evaluating the method on XGradCAM, FullGrad, and Vision Transformers to evaluate its generalization capabilities. The reproductions show similar results as the original paper, with the only difference being the visualization of heatmaps which could not be reproduced to look similar. The generalization seems to be generally good, with implementations working for Vision Transformers and alternative back-propagation methods. We also show that the original paper suffers from issues such as a lack of detail in the method and an erroneous equation which makes reproducibility difficult. To remedy this we provide an open-source repository containing all code used for this project.
title Reproducibility review of "Why Not Other Classes": Towards Class-Contrastive Back-Propagation Explanations
topic Computer Vision and Pattern Recognition
Machine Learning
url https://arxiv.org/abs/2501.11096