Benchmarking Instance-Centric Counterfactual Algorithms for XAI: From White Box to Black Box

Catarina Moreira, Yu-Liang Chou, Chihcheng Hsieh, Chun Ouyang, João Madeiras Pereira +1 more
3/4/2022
cs.LGcs.AI
benchmark-dataset

Official code: LeonChou5311/Counterfactual-benchmark (8 stars, Jupyter Notebook, MIT, last commit 2022-09-09).

Abstract

This study investigates the impact of machine learning models on the generation of counterfactual explanations by conducting a benchmark evaluation over three different types of models: a decision tree (fully transparent, interpretable, white-box model), a random forest (semi-interpretable, grey-box model), and a neural network (fully opaque, black-box model). We tested the counterfactual generation process using four algorithms (DiCE, WatcherCF, prototype, and GrowingSpheresCF) in the literature in 25 different datasets.

Show full abstract

Our findings indicate that: (1) Different machine learning models have little impact on the generation of counterfactual explanations; (2) Counterfactual algorithms based uniquely on proximity loss functions are not actionable and will not provide meaningful explanations; (3) One cannot have meaningful evaluation results without guaranteeing plausibility in the counterfactual generation. Algorithms that do not consider plausibility in their internal mechanisms will lead to biased and unreliable conclusions if evaluated with the current state-of-the-art metrics; (4) A counterfactual inspection analysis is strongly recommended to ensure a robust examination of counterfactual explanations and the potential identification of biases.

View on arXivView PDF

Code Implementations(1)

MIT
83Jupyter Notebook, JavaScriptJul 14, 20214 years agoMIT

Similar Papers

Cite this paper

@article{moreira2022benchmarking,
  title  = {Benchmarking Instance-Centric Counterfactual Algorithms for XAI: From White Box to Black Box},
  author = {Catarina Moreira and Yu-Liang Chou and Chihcheng Hsieh and Chun Ouyang and João Madeiras Pereira and Joaquim Jorge},
  year   = {2022},
  eprint = {2203.02399},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.02399}
}

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

Discussion