Beyond Trivial Counterfactual Explanations with Diverse Valuable Explanations

Pau Rodriguez, Massimo Caccia, Alexandre Lacoste, Lee Zamparo, Issam Laradji +2 more
3/18/2021
cs.LGcs.CV

Official code: ServiceNow/beyond-trivial-explanations (13 stars, Apache-2.0, last commit 2023-07-31).

Abstract

Explainability for machine learning models has gained considerable attention within the research community given the importance of deploying more reliable machine-learning systems. In computer vision applications, generative counterfactual methods indicate how to perturb a model's input to change its prediction, providing details about the model's decision-making. Current methods tend to generate trivial counterfactuals about a model's decisions, as they often suggest to exaggerate or remove the presence of the attribute being classified. For the machine learning practitioner, these types of counterfactuals offer little value, since they provide no new information about undesired model or data biases. In this work, we identify the problem of trivial counterfactual generation and we propose DiVE to alleviate it. DiVE learns a perturbation in a disentangled latent space that is constrained using a diversity-enforcing loss to uncover multiple valuable explanations about the model's prediction. Further, we introduce a mechanism to prevent the model from producing trivial explanations. Experiments on CelebA and Synbols demonstrate that our model improves the success rate of producing high-quality valuable explanations when compared to previous state-of-the-art methods. Code is available at https://github.com/ElementAI/beyond-trivial-explanations.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Beyond Trivial Counterfactual Explanations with Diverse Valuable Explanations is a ServiceNow Research project that was started at Element AI.

134Python, Jupyter NotebookAug 2, 20213 years agoApache-2.0

Cite this paper

@article{rodriguez2021beyond,
  title  = {Beyond Trivial Counterfactual Explanations with Diverse Valuable Explanations},
  author = {Pau Rodriguez and Massimo Caccia and Alexandre Lacoste and Lee Zamparo and Issam Laradji and Laurent Charlin and David Vazquez},
  year   = {2021},
  eprint = {2103.10226},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.10226}
}

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

Discussion