atlas

Research map / Probabilistic and scientific modeling / Molecules and proteins

LeapFactual: Reliable Visual Counterfactual Explanation Using Conditional Flow Matching

NeurIPS 2025 · Probabilistic and scientific modeling › Molecules and proteins · approach: Counterfactual and statistical explanations · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes LeapFactual, a model-agnostic visual counterfactual explanation method that uses a conditional flow matching model in a VAE/GAN latent space to lift and land samples between class-agnostic and class-conditional representations, with an injection step for reliable counterfactuals near the true decision boundary.

Problem

Visual counterfactual explanations suffer from gradient vanishing, discontinuous latent spaces, and reliance on the learned classifier boundary matching the true boundary, yielding uninformative or out-of-distribution counterfactuals.

Approach

Introduces a CE-CFM objective that conditions an independent-coupling flow matching model on the classifier's predicted label, bridging flattened and structured latent spaces via lifting (removing class info) and landing (re-injecting a target class) transports, plus blending and injection steps so counterfactuals work even for non-differentiable classifiers.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use LeapFactual instead of Opt-based counterfactual generationMorpho-MNIST counterfactual generation · Morpho-MNISTACC: 0.8277±0.0071 -> 0.9868±0.0026Helped
Add information injection to LeapFactual (ablation)LeapFactual · Morpho-MNISTACC: 0.9868±0.0026 -> 0.9906±0.0016Helped
Add information injection to LeapFactual (ablation)LeapFactual · Morpho-MNISTD(Area): 0.1665±0.0035 -> 0.2295±0.0056Hurt
Add standard counterfactual data to the training subsetGalaxy10 DECaLS weak classifier · Galaxy10 DECaLS testACC: 0.8107 ± 0.0041 -> 0.7975 ± 0.0016 (10%); 0.7968 ± 0.0017 (50%); 0.7967 ± 0.0022 (100%)Hurt
Add reliable counterfactual data to the training subsetGalaxy10 DECaLS weak classifier · Galaxy10 DECaLS testACC: 0.8107 ± 0.0041 -> 0.8163 ± 0.0020 (10%); 0.8197 ± 0.0016 (50%); 0.8237 ± 0.0021 (100%)Helped
Increase blending steps from N_b=5 to N_b=20 (ablation)LeapFactual with StyleGAN3 · FFHQ, 1,024 samplesACC: 0.706 -> 0.993Helped
Increase blending steps from N_b=100 to N_b=250 with gamma_b=0.1 (ablation)LeapFactual · Galaxy10 DECaLSACC: 0.9718 -> 0.9832Helped
Increase injection steps from N_i=0 to N_i=25 (ablation)Reliable LeapFactual · Galaxy10 DECaLSACC_r: 0.4738 ± 0.0034 -> 0.8171 ± 0.0028Helped
Increase injection steps from N_i=0 to N_i=35 (ablation)Reliable LeapFactual · Galaxy10 DECaLSSSIM: 0.8577 ± 0.0007 -> 0.7122 ± 0.0010Hurt
Replace LeakyReLU with ReLU in the VAE (ablation)Opt-based counterfactual generation · Morpho-MNISTcounterfactual outputNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: Morpho-MNIST Galaxy10 DECaLS FFHQ

Benchmarks: Morpho-MNIST Galaxy10 DECaLS FFHQ smiling face classification

Metrics: ACC AUC absolute relative error of morphometrics SSIM PSNR LPIPS

Baselines: REVISE-style Opt-based counterfactual CGM-based conditional VAE counterfactual

Builds on: independent conditional flow matching (I-CFM) REVISE DCEVAE StyleGAN3

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy