Don't Explain Noise: Robust Counterfactuals for Randomized Ensembles

Alexandre Forel, Axel Parmentier, Thibaut Vidal
5/27/2022
cs.LGmath.OC

Official code: alexforel/RobustCF4RF (4 stars, Python, MIT, last commit 2024-03-20).

Abstract

Counterfactual explanations describe how to modify a feature vector in order to flip the outcome of a trained classifier. Obtaining robust counterfactual explanations is essential to provide valid algorithmic recourse and meaningful explanations.

Show full abstract

We study the robustness of explanations of randomized ensembles, which are always subject to algorithmic uncertainty even when the training data is fixed. We formalize the generation of robust counterfactual explanations as a probabilistic problem and show the link between the robustness of ensemble models and the robustness of base learners. We develop a practical method with good empirical performance and support it with theoretical guarantees for ensembles of convex base learners. Our results show that existing methods give surprisingly low robustness: the validity of naive counterfactuals is below $50\%$ on most data sets and can fall to $20\%$ on problems with many features. In contrast, our method achieves high robustness with only a small increase in the distance from counterfactual explanations to their initial observations.

View on arXivView PDF

Code Implementations(1)

MIT

Code for "Don’t Explain Noise: Robust Counterfactuals for Randomized Ensembles" (CPAIOR 2024)

40PythonMay 27, 20222 years agoMIT
counterfactual-explanationsrandom-forestrobustness

Similar Papers

Cite this paper

@article{forel2022dont,
  title  = {Don't Explain Noise: Robust Counterfactuals for Randomized Ensembles},
  author = {Alexandre Forel and Axel Parmentier and Thibaut Vidal},
  year   = {2022},
  eprint = {2205.14116},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.14116}
}

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

Discussion