cs.LGOct 1, 2026

Counterfactual Generation via Flow Matching: Coupling-Sensitive End-to-End Rates

Authors: Yunrui Guan, Krishnakumar Balasubramanian, Shiva Prasad Kasiviswanathan

Organizations: Department of Applied Mathematics and Statistics, Johns Hopkins University. · Amazon · Department of Statistics, University of California, Davis.

Abstract

Counterfactual generation seeks to sample outcomes under a hypothetical intervention or decision using observational data collected under the factual assignment mechanism. We develop a flow-matching approach that combines a sample-split, doubly robust training objective with a learned coupling between observed source outcomes and target outcomes drawn from a fitted conditional outcome model. To enable finite-step generation, we leverage a score-corrected stochastic sampler based on a Gaussian-smoothed interpolation. Our main theoretical contribution is a coupling-sensitive KL bound for constant-step Euler discretization: the error is controlled by moments of the source--target displacement under the chosen coupling, rather than by global uniform regularity of the velocity field, and has near-linear dependence on the ambient dimension. We also establish finite-sample non-parametric guarantees for the learned velocity and score fields when both the conditional outcome model and the source-target coupling are estimated from data. These bounds separate approximation, coupling-replacement, nuisance-estimation, generalization, and Monte Carlo errors and, combined with the sampler analysis, yield an end-to-end guarantee for counterfactual generation. Experiments on synthetic and semi-synthetic image benchmarks support the coupling-dependent theory and show that, at finite discretization budgets, the stochastic sampler can outperform the corresponding deterministic ODE sampler.

Figures & tables

Appendix figures & tables6 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Debiased Counterfactual Generation via Flow Matching from Observations

    May 8, 2026Hugh Dance, Johnny Xi, Peter Orbanz +1Counterfactual GenerationLatent Confounders

  2. Automatic, Debiased, and Invariant Counterfactual Generation under General Interventions

    Jun 5, 2026Raphael C Kim, Jingsen Zhu, Ramin Zabih +1Counterfactual GenerationCausal Inferences

  3. Sharpen Your Flow: Sharpness-Aware Sampling for Flow Matching

    May 12, 2026Aditi Gupta, Soon Hoe Lim, Annan Yu +1Conditional Flow MatchingAccelerated Sampling