A Taxonomy for Inference in Causal Model Families

Matej Zečević, Devendra Singh Dhami, Kristian Kersting · DOI

Abstract

Neurally-parameterized Structural Causal Models in the Pearlian notion to causality, referred to as NCM, were recently introduced as a step towards next-generation learning systems. However, said NCM are only concerned with the learning aspect of causal inference but totally miss out on the architecture aspect. That is, actual causal inference within NCM is intractable in that the NCM won't return an answer to a query in polynomial time. This insight follows as corollary to the more general statement on the intractability of arbitrary SCM parameterizations, which we prove in this work through classical 3-SAT reduction. Since future learning algorithms will be required to deal with both high dimensional data and highly complex mechanisms governing the data, we ultimately believe work on tractable inference for causality to be decisive. We also show that not all "causal" models are created equal. More specifically, there are models capable of answering causal queries that are not SCM, which we refer to as partially causal models (PCM). We provide a tabular taxonomy in terms of tractability properties for all of the different model families, namely correlation-based, PCM and SCM. To conclude our work, we also provide some initial ideas on how to overcome parts of the intractability of causal inference with SCM by showing an example of how parameterizing an SCM with SPN modules can at least allow for tractable mechanisms. We hope that our impossibility result alongside the taxonomy for tractability in causal models can raise awareness for this novel research direction since achieving success with causality in real world downstream tasks will not only depend on learning correct models as we also require having the practical ability to gain access to model inferences.

Introduction

In the pursuit of robust AI, there is a growing shift from purely associative models toward causality. Pearl’s Structural Causal Models (SCMs) provide the theoretical foundation for answering interventional ("What happens if I do X?") and counterfactual ("What would have happened if I had done Y instead?") questions. However, a major bottleneck exists: tractability. While recent Neural Causal Models (NCMs) excel at learning causal relationships from data, they often ignore the computational complexity of inference. This paper formally proves that causal inference in arbitrary SCM parameterizations is NP-hard and proposes a path toward models that are both causal and computationally efficient.

Methodology and the Inference Pipeline

The core challenge in causal inference is the transformation of a high-level query into a concrete numerical estimate. As illustrated in Figure 1, this process involves using $do$-calculus to derive a statistical estimand from a causal query. This estimand is then evaluated using a combination of data and a specific model architecture—such as a Neural Network (NN), Sum-Product Network (SPN), or Bayesian Network (BN)—to produce the final estimate.

The causal inference pipeline from query to estimate, highlighting the role of different model architectures like Neural Networks (NN), Sum-Product Networks (SPN), and Bayesian Networks (BN).

To address the intractability of standard NCMs, the authors introduce the Tractable Neural Causal Model (TNCM). Instead of using standard deep neural networks as "black box" structural equations, TNCMs utilize Sum-Product Networks (SPNs). SPNs are a type of probabilistic circuit that guarantees linear-time inference for specific queries, allowing for tractable mechanism inference without sacrificing causal expressivity.

A Taxonomy of Causal Model Families

The paper categorizes models into three families based on their position in Pearl’s Causal Hierarchy (PCH):

  • Non-Causal: Standard associative models like CNNs or GANs (Level 1: Association).
  • Partially Causal Models (PCM): Models like interventional SPNs (iSPNs) that can handle interventions but lack the structure for counterfactuals (Level 2: Intervention).
  • Structural Causal Models (SCM): Fully expressive models capable of counterfactual reasoning (Level 3: Counterfactuals).

Empirical Results

The authors evaluated the TNCM architecture using synthetic SCM simulations representing classic causal challenges, such as the Collider ($M_1$), Simple Chain ($M_2$), Confounded SCM ($M_3$), and Backdoor SCM ($M_4$).

  • Efficiency: Empirical tests showed that TNCMs achieve linear scaling in runtime as model capacity increases, whereas standard NCMs exhibit non-linear, quadratic-style growth.
  • Accuracy: Despite their focus on tractability, TNCMs performed competitively with NCMs in estimating the Average Treatment Effect (ATE) across all four benchmark structures.
  • Density Estimation: TNCMs proved to be robust density estimators, achieving low Jensen-Shannon Divergence error rates in modeling underlying data distributions.

Discussion and Conclusion

The most significant takeaway is the "impossibility" result: if one requires a fully expressive SCM with arbitrary parameters, marginal inference will remain NP-hard. However, by distinguishing between mechanism inference and marginal inference, the TNCM provides a massive speedup for individual steps in the causal chain. While the marginal bottleneck remains an inherent property of SCMs, this work provides a taxonomy and a practical architectural starting point for building tractable causal systems. Future research will focus on scaling these models to high-dimensional, real-world datasets.

Summary updated

BibTeX
@misc{zecevic2021taxonomy,
  author = {Matej Zečević and Devendra Singh Dhami and Kristian Kersting},
  title = {{A Taxonomy for Inference in Causal Model Families}},
  year = {2021},
  eprint = {2110.12052},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2110.12052},
}
Figure