Promoting Counterfactual Robustness through Diversity

Francesco Leofante, Nico Potyka
12/11/2023
cs.LGcs.AI

No official code found. Best implementation: fraleo/robust_counterfactuals_aaai24 (3 stars, last commit 2024-02-16).

Abstract

Counterfactual explanations shed light on the decisions of black-box models by explaining how an input can be altered to obtain a favourable decision from the model (e.g., when a loan application has been rejected). However, as noted recently, counterfactual explainers may lack robustness in the sense that a minor change in the input can cause a major change in the explanation. This can cause confusion on the user side and open the door for adversarial attacks. In this paper, we study some sources of non-robustness. While there are fundamental reasons for why an explainer that returns a single counterfactual cannot be robust in all instances, we show that some interesting robustness guarantees can be given by reporting multiple rather than a single counterfactual. Unfortunately, the number of counterfactuals that need to be reported for the theoretical guarantees to hold can be prohibitively large. We therefore propose an approximation algorithm that uses a diversity criterion to select a feasible number of most relevant explanations and study its robustness empirically. Our experiments indicate that our method improves the state-of-the-art in generating robust explanations, while maintaining other desirable properties and providing competitive computational performance.

View on arXivView PDF

Code Implementations(1)

Repository for the AAAI 2024 paper "Promoting Counterfactual Robustness through Diversity"

30Shell, PythonDec 11, 20232 years ago

Similar Papers

Cite this paper

@article{leofante2023promoting,
  title  = {Promoting Counterfactual Robustness through Diversity},
  author = {Francesco Leofante and Nico Potyka},
  year   = {2023},
  eprint = {2312.06564},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.06564v2}
}

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

Discussion