Concepedia

Publication | Open Access

Explaining machine learning classifiers through diverse counterfactual explanations

991

Citations

35

References

2020

Year

TLDR

Post‑hoc explanations of machine learning models are essential for users to understand and act on predictions, and counterfactuals—hypothetical examples that illustrate how to achieve a different outcome—are a compelling class of such explanations. 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, provide metrics to assess actionability compared to other local explanation methods, and discuss tradeoffs and causal implications in optimizing counterfactuals. Our experiments on four real‑world datasets show that the framework generates diverse counterfactuals that closely approximate local decision boundaries and outperform prior approaches, and the implementation is available at https://github.com/microsoft/DiCE.

Abstract

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.

References

YearCitations

Page 1