English

Generating Counterfactual and Contrastive Explanations using SHAP

Machine Learning 2019-06-25 v1 Artificial Intelligence Machine Learning

Abstract

With the advent of GDPR, the domain of explainable AI and model interpretability has gained added impetus. Methods to extract and communicate visibility into decision-making models have become legal requirement. Two specific types of explanations, contrastive and counterfactual have been identified as suitable for human understanding. In this paper, we propose a model agnostic method and its systemic implementation to generate these explanations using shapely additive explanations (SHAP). We discuss a generative pipeline to create contrastive explanations and use it to further to generate counterfactual datapoints. This pipeline is tested and discussed on the IRIS, Wine Quality & Mobile Features dataset. Analysis of the results obtained follows.

Keywords

Cite

@article{arxiv.1906.09293,
  title  = {Generating Counterfactual and Contrastive Explanations using SHAP},
  author = {Shubham Rathi},
  journal= {arXiv preprint arXiv:1906.09293},
  year   = {2019}
}

Comments

This work was presented at 2nd Workshop on Humanizing AI (HAI) at IJCAI'19 in Macao, China

R2 v1 2026-06-23T10:00:19.307Z