Generating Counterfactual Explanations Using Cardinality Constraints

Rubén Ruiz-Torrubiano
4/11/2024
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

Providing explanations about how machine learning algorithms work and/or make particular predictions is one of the main tools that can be used to improve their trusworthiness, fairness and robustness. Among the most intuitive type of explanations are counterfactuals, which are examples that differ from a given point only in the prediction target and some set of features, presenting which features need to be changed in the original example to flip the prediction for that example. However, such counterfactuals can have many different features than the original example, making their interpretation difficult. In this paper, we propose to explicitly add a cardinality constraint to counterfactual generation limiting how many features can be different from the original example, thus providing more interpretable and easily understantable counterfactuals.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ruiztorrubiano2024generating,
  title  = {Generating Counterfactual Explanations Using Cardinality Constraints},
  author = {Rubén Ruiz-Torrubiano},
  year   = {2024},
  eprint = {2404.07502},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.07502v1}
}

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

Discussion