Probabilistic counterfactual inference for discrete outcomes in causal models
Probabilistic Counterfactual Inference for Discrete Outcomes in Gaussian-Process Causal Models
Machine Learning
Summary
Counterfactual inference helps us imagine what would have happened if things were different. The authors extend this idea to cases where outcomes are not just numbers but categories or rankings. They use special models combining Gaussian processes and noise mechanisms to handle different types of outcomes and keep track of uncertainty. Their work shows that incorrect assumptions about data type can cause errors that don’t improve even with more data.
What this means in practice
- •For data scientists in healthcare: Improve causal analysis of patient outcomes with categorical or ordered clinical variables for better treatment effect understanding.
- •For machine learning engineers: Enhance counterfactual reasoning in models that combine continuous and discrete data for robust decision-making systems.
Authors
Juliette Sinnott, Amir-Hossein Karimi, Mohammad Kohandel
Abstract
Counterfactual inference in Gaussian-process structural causal models (GP-SCMs) has been developed primarily for continuous endogenous variables, limiting applicability to causal graphs that contain discrete child nodes with continuous parents. We introduce a unified probabilistic framework for counterfactual inference with heterogeneous variable types by pairing GP predictors with explicit exogenous noise mechanisms. For discrete outcomes, we derive exact conditional noise-abduction procedures using a uniform threshold for binary variables, a Gumbel-max race for nominal categories, and a latent Gaussian cut-point model for ordinal ones. In each case, we propagate abducted noise through interventions while accounting for posterior uncertainty in the GP latent functions, and prove that the resulting mechanisms reproduce the fitted model's observational and interventional distributions. On synthetic SCMs with known ground-truth counterfactuals, we evaluate estimation accuracy, consistency, and robustness to coupling misspecification. A key finding is that applying a categorical coupling to ordinal data inflates counterfactual error roughly threefold even when observational fit remains comparable, and that this error does not diminish with more data. As the training set grows, the fitted structural equation converges to the truth while the counterfactual error flattens onto a floor. In the reverse direction, forcing a false order onto nominal data instead degrades the fitted equation itself. The choice of coupling must therefore be justified on structural grounds rather than read off the fit.