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

Cycle-Consistent Counterfactuals by Latent Transformations

About

CounterFactual (CF) visual explanations try to find images similar to the query image that change the decision of a vision system to a specified outcome. Existing methods either require inference-time optimization or joint training with a generative adversarial model which makes them time-consuming and difficult to use in practice. We propose a novel approach, Cycle-Consistent Counterfactuals by Latent Transformations (C3LT), which learns a latent transformation that automatically generates visual CFs by steering in the latent space of generative models. Our method uses cycle consistency between the query and CF latent representations which helps our training to find better solutions. C3LT can be easily plugged into any state-of-the-art pretrained generative network. This enables our method to generate high-quality and interpretable CF images at high resolution such as those in ImageNet. In addition to several established metrics for evaluating CF explanations, we introduce a novel metric tailored to assess the quality of the generated CF examples and validate the effectiveness of our method on an extensive set of experiments.

Saeed Khorram, Li Fuxin• 2022

Related benchmarks

TaskDatasetResultRank
Counterfactual ExplanationMNIST (test)
Validity Score99.9
10
Counterfactual Explanation GenerationMNIST (evaluation)
IM10.7
6
Counterfactual Explanation GenerationFashion MNIST (test)
Image Metric 174
6
Counterfactual Explanation GenerationMNIST
AUPCc'98
5
Counterfactual Explanation GenerationFashion MNIST
AUPCc'95.8
5
Counterfactual Explanation GenerationMNIST
Inference Time (sec)9.23e-6
4
Showing 6 of 6 rows

Other info

Code

Follow for update