Very fast, approximate counterfactual explanations for decision forests

Miguel Á. Carreira-Perpiñán, Suryabhan Singh Hada
3/6/2023
cs.LGstat.ML

No confident code implementation found for this paper.

Abstract

We consider finding a counterfactual explanation for a classification or regression forest, such as a random forest. This requires solving an optimization problem to find the closest input instance to a given instance for which the forest outputs a desired value. Finding an exact solution has a cost that is exponential on the number of leaves in the forest. We propose a simple but very effective approach: we constrain the optimization to only those input space regions defined by the forest that are populated by actual data points. The problem reduces to a form of nearest-neighbor search using a certain distance on a certain dataset. This has two advantages: first, the solution can be found very quickly, scaling to large forests and high-dimensional data, and enabling interactive use. Second, the solution found is more likely to be realistic in that it is guided towards high-density areas of input space.

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{carreiraperpin2023very,
  title  = {Very fast, approximate counterfactual explanations for decision forests},
  author = {Miguel Á. Carreira-Perpiñán and Suryabhan Singh Hada},
  year   = {2023},
  eprint = {2303.02883},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.02883v1}
}

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

Discussion