Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Explaining Machine Learning Classifiers through Diverse Counterfactual Explanations

About

Post-hoc explanations of machine learning models are crucial for people to understand and act on algorithmic predictions. An intriguing class of explanations is through counterfactuals, hypothetical examples that show people how to obtain a different prediction. We posit that effective counterfactual explanations should satisfy two properties: feasibility of the counterfactual actions given user context and constraints, and diversity among the counterfactuals presented. To this end, we propose a framework for generating and evaluating a diverse set of counterfactual explanations based on determinantal point processes. To evaluate the actionability of counterfactuals, we provide metrics that enable comparison of counterfactual-based methods to other local explanation methods. We further address necessary tradeoffs and point to causal implications in optimizing for counterfactuals. Our experiments on four real-world datasets show that our framework can generate a set of counterfactuals that are diverse and well approximate local decision boundaries, outperforming prior approaches to generating diverse counterfactuals. We provide an implementation of the framework at https://github.com/microsoft/DiCE.

Ramaravind Kommiya Mothilal, Amit Sharma, Chenhao Tan• 2019

Related benchmarks

TaskDatasetResultRank
Counterfactual ExplanationBank Protocol B, B=64
Validity1
12
Actionable Counterfactual GenerationGMSC 2011 (test)
Validity100
9
Actionable Counterfactual GenerationCredit 1994 (test)
Validity100
9
Actionable Counterfactual GenerationAdult (test)
Validity99.75
9
Counterfactual GenerationAI-READI Class 0
Validity0.67
9
Counterfactual GenerationAI-READI (Class 1)
Validity58
9
Counterfactual Explanation GenerationGerman Credit Protocol A B=4
Sparsity88.23
6
Counterfactual Explanation GenerationStudent Performance Protocol A B=4
Sparsity87.6
6
Counterfactual Explanation GenerationAdult Income Protocol A B=4
Sparsity89.26
5
Counterfactual Explanation GenerationGraduate Admission Protocol A B=4
Sparsity66.25
5
Showing 10 of 12 rows

Other info

Follow for update