Mechanism Learning: reverse causal inference in the presence of multiple unknown confounding through causally weighted Gaussian mixture models
Jianqiao Mao, Max A. Little
TL;DR
The paper addresses the problem of ML models learning spurious associations under unknown confounding by exploiting the front-door causal structure. It introduces mechanism learning, which uses causally weighted Gaussian Mixture Models (CW-GMMs) to approximate the interventional distribution $p\left(\left.x\right|do\left(y\right)\right)$ and generate deconfounded training samples without interventional data. By resampling with front-door weights and training standard predictors on these samples, the method achieves reverse causal inference that is robust to multiple unmeasured confounders. Empirical results across fully synthetic, semi-synthetic, and real-world ICH CT data show mechanism learning consistently reduces causal bias and outperforms a causal bootstrapping baseline, underscoring its potential for reliable, high-stakes ML applications. The approach is practical, scalable, and supported by an encoder-decoder mechanism embedding for high-dimensional mediators, making it applicable to diverse domains beyond healthcare.
Abstract
A major limitation of machine learning (ML) prediction models is that they recover associational, rather than causal, predictive relationships between variables. In high-stakes automation applications of ML this is problematic, as the model often learns spurious, non-causal associations. This paper proposes mechanism learning, a simple method which uses causally weighted Gaussian Mixture Models (CW-GMMs) to deconfound observational data such that any appropriate ML model is forced to learn predictive relationships between effects and their causes (reverse causal inference), despite the potential presence of multiple unknown and unmeasured confounding. Effect variables can be very high-dimensional, and the predictive relationship nonlinear, as is common in ML applications. This novel method is widely applicable, the only requirement is the existence of a set of mechanism variables mediating the cause (prediction target) and effect (feature data), which is independent of the (unmeasured) confounding variables. We test our method on fully synthetic, semi-synthetic and real-world datasets, demonstrating that it can discover reliable, unbiased, causal ML predictors where by contrast, the same ML predictor trained naively using classical supervised learning on the original observational data, is heavily biased by spurious associations. We provide code to implement the results in the paper, online.
