Share your thoughts, 1 month free Claude Pro on usSee more
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 Explanation GenerationIris
L2 Distance3.2
30
Counterfactual Explanation GenerationDiabetes
L2 Error5
29
Counterfactual ExplanationDiabetes
Validity100
28
Counterfactual ExplanationGlass
Validity100
24
Counterfactual Explanationbaskball
Validity1
24
Counterfactual Explanationchscase census2
Validity1
24
Counterfactual ExplanationsCOMPAS
Validity46
21
Counterfactual Explanation Generationlongley
Validity100
20
Counterfactual Explanation Generationmachine cpu
Validity100
20
Counterfactual Explanation GenerationRabe 131
Validity1
20
Showing 10 of 144 rows
...

Other info

Follow for update