mlsanityData to 7 Oct 2026

ECINN: Efficient Counterfactuals from Invertible Neural Networks

arXiv 2103.13701 ↗First posted 25 Mar 2021cs.LG cs.CVcited by 26

Not on the map. Why?

Abstract (arXiv)

Counterfactual examples identify how inputs can be altered to change the predicted class of a classifier, thus opening up the black-box nature of, e.g., deep neural networks. We propose a method, ECINN, that utilizes the generative capacities of invertible neural networks for image classification to generate counterfactual examples efficiently. In contrast to competing methods that sometimes need a thousand evaluations or more of the classifier, ECINN has a closed-form expression and generates a counterfactual in the time of only two evaluations. Arguably, the main challenge of generating counterfactual examples is to alter only input features that affect the predicted outcome, i.e., class-dependent features. Our experiments demonstrate how ECINN alters class-dependent image regions to change the perceptual and predicted class of the counterfactuals. Additionally, we extend ECINN to also produce heatmaps (ECINNh) for easy inspection of, e.g., pairwise class-dependent changes in the generated counterfactual examples. Experimentally, we find that ECINNh outperforms established methods that generate heatmap-based explanations.

Key facts. Cited by 26 papers in the map (data through 7 Oct 2026). Builds on 35 of its 49 references that are in the map. First posted on arXiv 25 Mar 2021.

Builds on

35 of 49 references.

References · 35

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
  3. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
  4. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
  5. 2017Axiomatic Attribution for Deep Networkscited by 3,350
  6. 2017Progressive Growing of GANs for Improved Quality, Stability, and Variationcited by 2,967
  7. 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,348
  8. 2013Visualizing and Understanding Convolutional Networkscited by 2,278
  9. 2016Density estimation using Real NVPcited by 2,029
  10. 2018Glow: Generative Flow with Invertible 1x1 Convolutionscited by 1,539
  11. 2017Learning Important Features Through Propagating Activation Differencescited by 1,454
  12. 2019Self-training with Noisy Student improves ImageNet classificationcited by 1,304
23 more
  1. 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,086
  2. 2014NICE: Non-linear Independent Components Estimationcited by 1,052
  3. 2014Striving for Simplicity: The All Convolutional Netcited by 983
  4. 2014Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Imagescited by 774
  5. 2017One pixel attack for fooling deep neural networkscited by 579
  6. 2015Evaluating the visualization of what a Deep Neural Network has learnedcited by 416
  7. 2018Invertible Residual Networkscited by 364
  8. 2019Counterfactual Visual Explanationscited by 312
  9. 2018Explanations based on the Missing: Towards Contrastive Explanations with Pertinent Negativescited by 261
  10. 2019Interpretable Counterfactual Explanations Guided by Prototypescited by 223
  11. 2017Visualizing Deep Neural Network Decisions: Prediction Difference Analysiscited by 166
  12. 2018Explaining Image Classifiers by Counterfactual Generationcited by 144
  13. 2019Preserving Causal Constraints in Counterfactual Explanations for Machine Learning Classifierscited by 143
  14. 2021Benchmarking and Survey of Explanation Methods for Black Box Modelscited by 136
  15. 2019Semi-Supervised Learning with Normalizing Flowscited by 76
  16. 2021Contrastive Explanations for Model Interpretabilitycited by 75
  17. 2020SCOUT: Self-aware Discriminant Counterfactual Explanationscited by 52
  18. 2020DECE: Decision Explorer with Counterfactual Explanations for Machine Learning Modelscited by 38
  19. 2019CERTIFAI: Counterfactual Explanations for Robustness, Transparency, Interpretability, and Fairness of Artificial Intelligence modelscited by 34
  20. 2020ViCE: Visual Counterfactual Explanations for Machine Learning Modelscited by 34
  21. 2020Counterfactual Explanation Based on Gradual Construction for Deep Networkscited by 12
  22. 2019Question-Conditioned Counterfactual Image Generation for VQAcited by 5
  23. 2020Generative Classifiers as a Basis for Trustworthy Image Classificationcited by 3

Built on by

Cited by year

Citing papers per year: 2021: 2; 2022: 9; 2023: 6; 2024: 6; 2025: 3.

26 papers.

Sort:

By area:

  1. 2022Diffusion Causal Models for Counterfactual Estimationcited by 87
  2. 2022Diffusion Models for Counterfactual Explanationscited by 79
  3. 2021Counterfactual Interventions Reveal the Causal Effect of Relative Clause Representations on Agreement Predictioncited by 58
  4. 2023Adversarial Counterfactual Visual Explanationscited by 47
  5. 2022Making Heads or Tails: Towards Semantically Consistent Visual Counterfactualscited by 30
  6. 2023Towards Trustworthy and Aligned Machine Learning: A Data-centric Survey with Causality Perspectivescited by 30
  7. 2022Diffeomorphic Counterfactuals with Generative Modelscited by 29
  8. 2023Counterfactual Learning on Graphs: A Surveycited by 22
  9. 2023Latent Diffusion Counterfactual Explanationscited by 17
  10. 2024Global Counterfactual Directionscited by 15
  11. 2022Do Users Benefit From Interpretable Vision? A User Study, Baseline, And Datasetcited by 13
  12. 2024Gumbel Counterfactual Generation From Language Modelscited by 13
14 more
  1. 2022Causality-Inspired Taxonomy for Explainable Artificial Intelligencecited by 9
  2. 2023CeFlow: A Robust and Efficient Counterfactual Explanation Framework for Tabular Data using Normalizing Flowscited by 8
  3. 2024TABCF: Counterfactual Explanations for Tabular Data Using a Transformer-Based VAEcited by 8
  4. 2021On Quantitative Evaluations of Counterfactualscited by 7
  5. 2022Fighting Money Laundering with Statistics and Machine Learningcited by 5
  6. 2024The Gaussian Discriminant Variational Autoencoder (GdVAE): A Self-Explainable Model with Counterfactual Explanationscited by 5
  7. 2022When less is more: Simplifying inputs aids neural network understandingcited by 4
  8. 2024Causal Generative Explainers using Counterfactual Inference: A Case Study on the Morpho-MNIST Datasetcited by 4
  9. 2024Explainable AI needs formalizationcited by 4
  10. 2025LeapFactual: Reliable Visual Counterfactual Explanation Using Conditional Flow Matchingcited by 4
  11. 2022A Rigorous Study Of The Deep Taylor Decompositioncited by 3
  12. 2023On Modifying a Neural Network's Perceptioncited by 1
  13. 2025Counterfactual Visual Explanation via Causally-Guided Adversarial Steeringcited by 1
  14. 2025Galaxy Morphology Classification with Counterfactual Explanationcited by 1