Finding Regions of Counterfactual Explanations via Robust Optimization

Donato Maragno, Jannis Kurtz, Tabea E. Röber, Rob Goedhart, Ş. Ilker Birbil +1 more
1/26/2023
cs.LG

No official code found. Best implementation: donato-maragno/robust-CE (19 stars, MIT, last commit 2023-06-08).

Abstract

Counterfactual explanations play an important role in detecting bias and improving the explainability of data-driven classification models. A counterfactual explanation (CE) is a minimal perturbed data point for which the decision of the model changes. Most of the existing methods can only provide one CE, which may not be achievable for the user. In this work we derive an iterative method to calculate robust CEs, i.e. CEs that remain valid even after the features are slightly perturbed. To this end, our method provides a whole region of CEs allowing the user to choose a suitable recourse to obtain a desired outcome. We use algorithmic ideas from robust optimization and prove convergence results for the most common machine learning methods including logistic regression, decision trees, random forests, and neural networks. Our experiments show that our method can efficiently generate globally optimal robust CEs for a variety of common data sets and classification models.

View on arXivView PDF

Code Implementations(1)

MIT

Generate robust counterfactual explanations for machine learning models

190Python, Jupyter NotebookJan 20, 20233 years agoMIT

Similar Papers

Cite this paper

@article{maragno2023finding,
  title  = {Finding Regions of Counterfactual Explanations via Robust Optimization},
  author = {Donato Maragno and Jannis Kurtz and Tabea E. Röber and Rob Goedhart and Ş. Ilker Birbil and Dick den Hertog},
  year   = {2023},
  eprint = {2301.11113},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.11113v3}
}

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

Discussion