Concept Based Explanations and Class Contrasting

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Herdt, Rudolf, Baguer, Daniel Otero
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866910979231580160
author Herdt, Rudolf
Baguer, Daniel Otero
author_facet Herdt, Rudolf
Baguer, Daniel Otero
contents Explaining deep neural networks is challenging, due to their large size and non-linearity. In this paper, we introduce a concept-based explanation method, in order to explain the prediction for an individual class, as well as contrasting any two classes, i.e. explain why the model predicts one class over the other. We test it on several openly available classification models trained on ImageNet1K. We perform both qualitative and quantitative tests. For example, for a ResNet50 model from pytorch model zoo, we can use the explanation for why the model predicts a class 'A' to automatically select four dataset crops where the model does not predict class 'A'. The model then predicts class 'A' again for the newly combined image in 91.1% of the cases (works for 911 out of the 1000 classes). The code including an .ipynb example is available on github: https://github.com/rherdt185/concept-based-explanations-and-class-contrasting
format Preprint
id arxiv_https___arxiv_org_abs_2502_03422
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Concept Based Explanations and Class Contrasting
Herdt, Rudolf
Baguer, Daniel Otero
Computer Vision and Pattern Recognition
Explaining deep neural networks is challenging, due to their large size and non-linearity. In this paper, we introduce a concept-based explanation method, in order to explain the prediction for an individual class, as well as contrasting any two classes, i.e. explain why the model predicts one class over the other. We test it on several openly available classification models trained on ImageNet1K. We perform both qualitative and quantitative tests. For example, for a ResNet50 model from pytorch model zoo, we can use the explanation for why the model predicts a class 'A' to automatically select four dataset crops where the model does not predict class 'A'. The model then predicts class 'A' again for the newly combined image in 91.1% of the cases (works for 911 out of the 1000 classes). The code including an .ipynb example is available on github: https://github.com/rherdt185/concept-based-explanations-and-class-contrasting
title Concept Based Explanations and Class Contrasting
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2502.03422