mlsanityData to 14 Oct 2026

LeapFactual: Reliable Visual Counterfactual Explanation Using Conditional Flow Matching

arXiv 2510.14623 ↗First posted 16 Oct 2025cs.LG cs.AIcited by 5

On the map: Diffusion models → Diffusion foundations and sampling

Abstract (arXiv)

The growing integration of machine learning (ML) and artificial intelligence (AI) models into high-stakes domains such as healthcare and scientific research calls for models that are not only accurate but also interpretable. Among the existing explainable methods, counterfactual explanations offer interpretability by identifying minimal changes to inputs that would alter a model's prediction, thus providing deeper insights. However, current counterfactual generation methods suffer from critical limitations, including gradient vanishing, discontinuous latent spaces, and an overreliance on the alignment between learned and true decision boundaries. To overcome these limitations, we propose LeapFactual, a novel counterfactual explanation algorithm based on conditional flow matching. LeapFactual generates reliable and informative counterfactuals, even when true and learned decision boundaries diverge. Following a model-agnostic approach, LeapFactual is not limited to models with differentiable loss functions. It can even handle human-in-the-loop systems, expanding the scope of counterfactual explanations to domains that require the participation of human annotators, such as citizen science. We provide extensive experiments on benchmark and real-world datasets showing that LeapFactual generates accurate and in-distribution counterfactual explanations that offer actionable insights. We observe, for instance, that our reliable counterfactual samples with labels aligning to ground truth can be beneficially used as new training data to enhance the model. The proposed method is broadly applicable and enhances both scientific knowledge discovery and non-expert interpretability.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Placed in Diffusion foundations and sampling, one of 14 directions in Diffusion models. Builds on 46 of its 61 references that are in the map. First posted on arXiv 16 Oct 2025.

Builds on

46 of 61 references.

Closest ancestors · 2

Same direction, newest first

  1. 2023Analyzing and Improving the Training Dynamics of Diffusion Models5 Dec
  2. 2023Simulation-free Schr"odinger bridges via score and flow matching7 Jul

Other references · 44

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,177
  3. 2014Explaining and Harnessing Adversarial Examplescited by 7,364
  4. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,733
  5. 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
  6. 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 6,013
  7. 2022Flow Matching for Generative Modelingcited by 5,702
  8. 2013Intriguing properties of neural networkscited by 5,155
  9. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,070
  10. 2013Auto-Encoding Variational Bayescited by 4,053
  11. 2018Neural Ordinary Differential Equationscited by 3,779
  12. 2015Variational Inference with Normalizing Flowscited by 2,170
32 more
  1. 2020Shortcut Learning in Deep Neural Networkscited by 1,969
  2. 2021Alias-Free Generative Adversarial Networkscited by 1,184
  3. 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,089
  4. 2022Building Normalizing Flows with Stochastic Interpolantscited by 995
  5. 2023Improving and generalizing flow-based generative models with minibatch optimal transportcited by 879
  6. 2015The Limitations of Deep Learning in Adversarial Settingscited by 790
  7. 2019Explaining Machine Learning Classifiers through Diverse Counterfactual Explanationscited by 614
  8. 2018FFJORD: Free-form Continuous Dynamics for Scalable Reversible Generative Modelscited by 594
  9. 2020InterFaceGAN: Interpreting the Disentangled Face Representation Learned by GANscited by 394
  10. 2017Wasserstein Auto-Encoderscited by 373
  11. 2019Unmasking Clever Hans Predictors and Assessing What Machines Really Learncited by 365
  12. 2022Rectified Flow: A Marginal Preserving Approach to Optimal Transportcited by 283
  13. 2023Multisample Flow Matching: Straightening Flows with Minibatch Couplingscited by 278
  14. 2023Flow Matching on General Geometriescited by 265
  15. 2020Algorithmic Recourse: from Counterfactual Explanations to Interventionscited by 250
  16. 2019Interpretable Counterfactual Explanations Guided by Prototypescited by 223
  17. 2019GANalyze: Toward Visual Definitions of Cognitive Image Propertiescited by 193
  18. 2020OT-Flow: Fast and Accurate Continuous Normalizing Flows via Optimal Transportcited by 143
  19. 2019Towards Realistic Individual Recourse and Actionable Explanations in Black-Box Decision Making Systemscited by 131
  20. 2021Explaining in Style: Training a GAN to explain a classifier in StyleSpacecited by 122
  21. 2017Fader Networks: Manipulating Images by Sliding Attributescited by 118
  22. 2019Explanation by Progressive Exaggerationcited by 76
  23. 2018Morpho-MNIST: Quantitative Assessment and Diagnostics for Representation Learningcited by 56
  24. 2020GANterfactual - Counterfactual Explanations for Medical Non-Experts using Generative Adversarial Learningcited by 50
  25. 2020Counterfactual Fairness with Disentangled Causal Effect Variational Autoencodercited by 45
  26. 2019Generative Counterfactual Introspection for Explainable Deep Learningcited by 36
  27. 2022LIDL: Local Intrinsic Dimension Estimation Using Approximate Likelihoodcited by 30
  28. 2022Diffeomorphic Counterfactuals with Generative Modelscited by 29
  29. 2019Counterfactual Reasoning for Fair Clinical Risk Predictioncited by 28
  30. 2021ECINN: Efficient Counterfactuals from Invertible Neural Networkscited by 26
  31. 2023Beyond Known Reality: Exploiting Counterfactual Explanations for Medical Researchcited by 9
  32. 2023Long-Term Prediction of Natural Video Sequences with Robust Video Predictorscited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 5.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025From Visual Explanations to Counterfactual Explanations with Latent Diffusion
  2. 2025V-CECE: Visual Counterfactual Explanations via Conceptual Edits
  3. 2026Prompt-Counterfactual Explanations for Generative AI System Behavior
  4. 2024CoLa-DCE -- Concept-guided Latent Diffusion Counterfactual Explanations
  5. 2023Diffusion-based Visual Counterfactual Explanations -- Towards Systematic Quantitative Evaluation
  6. 2025Distilling Counterfactual Reasoning from Language to Vision: Causal Graph Guided Post-Training for Video Understanding
  7. 2022Feature-based Learning for Diverse and Privacy-Preserving Counterfactual Explanations
  8. 2025LD-ViCE: Latent Diffusion Model for Video Counterfactual Explanations