Interpretable Counterfactual Explanations Guided by Prototypes

Arnaud Van Looveren, Janis Klaise
7/3/2019
cs.LGstat.ML

Official code: SeldonIO/alibi (2,651 stars, Python, last commit 2025-10-17).

Abstract

We propose a fast, model agnostic method for finding interpretable counterfactual explanations of classifier predictions by using class prototypes. We show that class prototypes, obtained using either an encoder or through class specific k-d trees, significantly speed up the the search for counterfactual instances and result in more interpretable explanations.

Show full abstract

We introduce two novel metrics to quantitatively evaluate local interpretability at the instance level. We use these metrics to illustrate the effectiveness of our method on an image and tabular dataset, respectively MNIST and Breast Cancer Wisconsin (Diagnostic). The method also eliminates the computational bottleneck that arises because of numerical gradient evaluation for $\textit{black box}$ models.

View on arXivView PDF

Code Implementations(1)

SeldonIO/alibiOfficial100%

Algorithms for explaining machine learning models

2,651269Python, MakefileFeb 26, 20191 years agoNOASSERTION
counterfactualexplanationsinterpretabilitymachine-learningxai

Similar Papers

Cite this paper

@article{looveren2019interpretable,
  title  = {Interpretable Counterfactual Explanations Guided by Prototypes},
  author = {Arnaud Van Looveren and Janis Klaise},
  year   = {2019},
  eprint = {1907.02584},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1907.02584}
}

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

Discussion