Counterfactual Explanations via Latent Space Projection and Interpolation
arXiv:2112.00890
Abstract
Counterfactual explanations represent the minimal change to a data sample that alters its predicted classification, typically from an unfavorable initial class to a desired target class. Counterfactuals help answer questions such as "what needs to change for this application to get accepted for a loan?". A number of recently proposed approaches to counterfactual generation give varying definitions of "plausible" counterfactuals and methods to generate them. However, many of these methods are computationally intensive and provide unconvincing explanations. Here we introduce SharpShooter, a method for binary classification that starts by creating a projected version of the input that classifies as the target class. Counterfactual candidates are then generated in latent space on the interpolation line between the input and its projection. We then demonstrate that our framework translates core characteristics of a sample to its counterfactual through the use of learned representations. Furthermore, we show that SharpShooter is competitive across common quality metrics on tabular and image datasets while being orders of magnitude faster than two comparable methods and excels at measures of realism, making it well-suited for high velocity machine learning applications which require timely explanations.
arXiv comment10 pages, 6 figures
References in corpus (12)
- Intriguing properties of neural networks
- Learning Important Features Through Propagating Activation Differences
- Tutorial on Variational Autoencoders
- Variational Inference with Normalizing Flows
- Normalizing Flows: An Introduction and Review of Current Methods
- Actionable Recourse in Linear Classification
- Learning Model-Agnostic Counterfactual Explanations for Tabular Data
- Preserving Causal Constraints in Counterfactual Explanations for Machine Learning Classifiers
- Towards Realistic Individual Recourse and Actionable Explanations in Black-Box Decision Making Systems
- Inference Suboptimality in Variational Autoencoders
- Explaining Data-Driven Decisions made by AI Systems: The Counterfactual Approach
- Latent-CF: A Simple Baseline for Reverse Counterfactual Explanations