MCCE: Monte Carlo sampling of realistic counterfactual explanations

Annabelle Redelmeier, Martin Jullum, Kjersti Aas, Anders Løland
11/18/2021
stat.MLcs.LG

Official code: NorskRegnesentral/mcceR (2 stars, R, last commit 2024-10-29).

Abstract

We introduce MCCE: Monte Carlo sampling of valid and realistic Counterfactual Explanations for tabular data, a novel counterfactual explanation method that generates on-manifold, actionable and valid counterfactuals by modeling the joint distribution of the mutable features given the immutable features and the decision. Unlike other on-manifold methods that tend to rely on variational autoencoders and have strict prediction model and data requirements, MCCE handles any type of prediction model and categorical features with more than two levels.

Show full abstract

MCCE first models the joint distribution of the features and the decision with an autoregressive generative model where the conditionals are estimated using decision trees. Then, it samples a large set of observations from this model, and finally, it removes the samples that do not obey certain criteria. We compare MCCE with a range of state-of-the-art on-manifold counterfactual methods using four well-known data sets and show that MCCE outperforms these methods on all common performance metrics and speed. In particular, including the decision in the modeling process improves the efficiency of the method substantially.

View on arXivView PDF

Code Implementations(1)

R-package for the paper: MCCE: Monte Carlo sampling of valid and realistic counterfactual explanations for tabular data (https://arxiv.org/pdf/2111.09790)

20R, PythonOct 4, 20222 years agoNOASSERTION

Similar Papers

Cite this paper

@article{redelmeier2021mcce,
  title  = {MCCE: Monte Carlo sampling of realistic counterfactual explanations},
  author = {Annabelle Redelmeier and Martin Jullum and Kjersti Aas and Anders Løland},
  year   = {2021},
  eprint = {2111.09790},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.09790}
}

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

Discussion