CheXplaining in Style: Counterfactual Explanations for Chest X-rays using StyleGAN

Matan Atad, Vitalii Dmytrenko, Yitong Li, Xinyue Zhang, Matthias Keicher +4 more
7/15/2022
eess.IVcs.CVcs.LG

No official code found. Best implementation: CAMP-eXplain-AI/Style-CheXplain (25 stars, MIT, last commit 2025-10-27).

Abstract

Deep learning models used in medical image analysis are prone to raising reliability concerns due to their black-box nature. To shed light on these black-box models, previous works predominantly focus on identifying the contribution of input features to the diagnosis, i.e., feature attribution. In this work, we explore counterfactual explanations to identify what patterns the models rely on for diagnosis. Specifically, we investigate the effect of changing features within chest X-rays on the classifier's output to understand its decision mechanism. We leverage a StyleGAN-based approach (StyleEx) to create counterfactual explanations for chest X-rays by manipulating specific latent directions in their latent space. In addition, we propose EigenFind to significantly reduce the computation time of generated explanations. We clinically evaluate the relevancy of our counterfactual explanations with the help of radiologists. Our code is publicly available.

View on arXivView PDF

Code Implementations(1)

MIT

GAN-based method to create counterfactual explanations for chest X-rays

254C++, CudaMay 9, 202211 months agoMIT
explainable-aigenerative-adversarial-networkmedical-imagingpython

Similar Papers

Cite this paper

@article{atad2022chexplaining,
  title  = {CheXplaining in Style: Counterfactual Explanations for Chest X-rays using StyleGAN},
  author = {Matan Atad and Vitalii Dmytrenko and Yitong Li and Xinyue Zhang and Matthias Keicher and Jan Kirschke and Bene Wiestler and Ashkan Khakzar and Nassir Navab},
  year   = {2022},
  eprint = {2207.07553},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.07553v1}
}

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

Discussion