Abstract
This paper introduces a purely syntactic framework for causal identification, bridging classical causal inference with compositional systems like computer programs and hardware. By leveraging Symmetric Monoidal Categories (SMCs), the authors reframe causal models as algebraic signatures and string diagrams. This approach decouples the structural syntax of causality from its probabilistic semantics, enabling the identification of causal effects in non-probabilistic domains such as relational databases and deterministic systems. The authors provide a systematic algorithm for manipulating these diagrams to derive causal effects, demonstrating its efficacy on classic structures like the front-door adjustment and complex acyclic directed mixed graphs.
Introduction
In causal AI, Judea Pearl’s "do-calculus" serves as the standard for determining if a causal effect can be calculated from observational data. However, these tools are traditionally rooted in probability theory. This creates a "probability trap": systems that are not inherently probabilistic—such as relational databases, hardware description languages, or deterministic dataflow programs—lack a formal syntax for causal identification. This paper addresses this gap by providing a mathematical bridge between classical causal inference and the broader world of compositional systems.
Methods: Causal Models as Algebraic Signatures
The authors employ Symmetric Monoidal Categories (SMCs) to provide a missing syntax for causality. Instead of defining models through random variables and probability distributions, they define them as "signatures" ($\Sigma$) consisting of objects (types/wires) and morphisms (processes/boxes).
These signatures are visualized using string diagrams, which provide a rigorous algebraic meaning to causal processes. The core contribution is a purely syntactic algorithm that translates the "ID algorithm" into three algebraic operations:
- Hide (Marginalization): Syntactically removing a variable's output from the model.
- Control (Intervention): Replacing a causal module with an identity or "copy" wire, effectively cutting its incoming causal influence.
- Fix: A composite operation of Hiding and Controlling used to handle latent confounding (unobserved variables).
To facilitate this, the authors represent the graph's topological order as a sequence of algebraic compositions, known as a chain-factored form, allowing the algorithm to step through the model systematically.
Key Insights and Results
The most significant insight is the clean separation between syntax (the structure of the causal model) and semantics (how the model is actually implemented). An identification algorithm run on the syntax can be applied to diverse semantics, whether they are probability distributions, min-plus optimizations, or deterministic functions.
The authors successfully derived purely algebraic versions of classic causal formulas, such as the back-door and front-door adjustments. For the front-door adjustment, the resulting signature can be interpreted as a probability integral or a "clique potential" in machine learning. Furthermore, the algorithm was demonstrated on complex Acyclic Directed Mixed Graphs (ADMGs) with latent confounding, proving its scalability beyond simple textbook examples.
Conclusion and Future Work
This syntactic approach makes causal identification more amenable to software implementation, as it relies on symbolic rules rather than complex measure theory. While the current algorithm relies on chain-factored signatures, future work may explore more elegant methods like "comb disintegration." Additionally, extending the framework to handle edge interventions and conditional causal effects remains an open challenge.
Summary updated