DeCoDEx: Confounder Detector Guidance for Improved Diffusion-based Counterfactual Explanations

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Fathi, Nima, Kumar, Amar, Nichyporuk, Brennan, Havaei, Mohammad, Arbel, Tal
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917666880487424
author Fathi, Nima
Kumar, Amar
Nichyporuk, Brennan
Havaei, Mohammad
Arbel, Tal
author_facet Fathi, Nima
Kumar, Amar
Nichyporuk, Brennan
Havaei, Mohammad
Arbel, Tal
contents Deep learning classifiers are prone to latching onto dominant confounders present in a dataset rather than on the causal markers associated with the target class, leading to poor generalization and biased predictions. Although explainability via counterfactual image generation has been successful at exposing the problem, bias mitigation strategies that permit accurate explainability in the presence of dominant and diverse artifacts remain unsolved. In this work, we propose the DeCoDEx framework and show how an external, pre-trained binary artifact detector can be leveraged during inference to guide a diffusion-based counterfactual image generator towards accurate explainability. Experiments on the CheXpert dataset, using both synthetic artifacts and real visual artifacts (support devices), show that the proposed method successfully synthesizes the counterfactual images that change the causal pathology markers associated with Pleural Effusion while preserving or ignoring the visual artifacts. Augmentation of ERM and Group-DRO classifiers with the DeCoDEx generated images substantially improves the results across underrepresented groups that are out of distribution for each class. The code is made publicly available at https://github.com/NimaFathi/DeCoDEx.
format Preprint
id arxiv_https___arxiv_org_abs_2405_09288
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle DeCoDEx: Confounder Detector Guidance for Improved Diffusion-based Counterfactual Explanations
Fathi, Nima
Kumar, Amar
Nichyporuk, Brennan
Havaei, Mohammad
Arbel, Tal
Computer Vision and Pattern Recognition
Deep learning classifiers are prone to latching onto dominant confounders present in a dataset rather than on the causal markers associated with the target class, leading to poor generalization and biased predictions. Although explainability via counterfactual image generation has been successful at exposing the problem, bias mitigation strategies that permit accurate explainability in the presence of dominant and diverse artifacts remain unsolved. In this work, we propose the DeCoDEx framework and show how an external, pre-trained binary artifact detector can be leveraged during inference to guide a diffusion-based counterfactual image generator towards accurate explainability. Experiments on the CheXpert dataset, using both synthetic artifacts and real visual artifacts (support devices), show that the proposed method successfully synthesizes the counterfactual images that change the causal pathology markers associated with Pleural Effusion while preserving or ignoring the visual artifacts. Augmentation of ERM and Group-DRO classifiers with the DeCoDEx generated images substantially improves the results across underrepresented groups that are out of distribution for each class. The code is made publicly available at https://github.com/NimaFathi/DeCoDEx.
title DeCoDEx: Confounder Detector Guidance for Improved Diffusion-based Counterfactual Explanations
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2405.09288