Causal Modeling With Infinitely Many Variables

Spencer Peters, Joseph Y. HalpernarXiv 2021

Abstract

Standard causal modeling frameworks, such as Structural-Equations Models (SEMs), are designed for systems with a finite number of variables. However, many real-world systems in physics and biology involve continuous time or infinite dependencies, where standard SEMs often become ill-founded. This paper introduces Generalized Structural-Equations Models (GSEMs), a framework that extends causal modeling to systems with infinitely many variables. By shifting the focus from internal mechanisms to the mapping between interventions and outcomes, GSEMs provide a unified language for structural equations, ordinary differential equations (ODEs), and hybrid automata, while preserving the rigorous definitions of actual causality.

Introduction

Causal analysis is typically performed using Structural-Equations Models (SEMs), where variables are determined by a set of equations. While effective for discrete, finite systems, SEMs struggle when applied to "infinitary" settings, such as the state of a physical system at every point in time. In a time-continuous system, the state at time $t$ depends on the state at all previous times $s < t$. This lack of a clear starting point or "acyclic" order means that standard SEMs can result in multiple solutions or no solutions at all, making it difficult to determine the outcome of an intervention.

Researchers have historically relied on application-specific models for physics or biology. Peters and Halpern propose GSEMs as a single, unifying framework that can handle these infinite dependencies while maintaining the intuitive "intervention-outcome" interface familiar to causal researchers.

The GSEM Framework

The core innovation of GSEMs is a shift in perspective: instead of defining a system by its internal equations (the mechanisms), a GSEM is defined by its external behavior (the interface).

Black-Box Mapping

A GSEM is defined by a function $\mathbf{F}$ that takes a context and an intervention and directly returns a set of possible outcomes. This "black-box" approach bypasses the need for well-foundedness in the underlying equations. If an intervention is applied—such as changing a voltage at a specific time interval—the GSEM provides the resulting state of the system without requiring the variables to be ordered in a traditional causal graph.

Axiomatic Unification

To ensure that this generalization is robust, the authors demonstrate that finite GSEMs satisfying specific axioms (Halpern’s $AX^+$ system) are equivalent to standard SEMs. This proves that GSEMs are not a replacement for SEMs, but a true extension that encompasses them.

Integrating Dynamical Systems

One of the primary motivations for GSEMs is the formalization of causality in dynamical systems governed by Ordinary Differential Equations (ODEs). The paper provides a translation layer consisting of three constraints (ODE1-3) that ensure GSEM outcomes match the solutions of underlying calculus.

This integration allows for "interval interventions," where a variable is held constant over a period of time, rather than just at a single point. To navigate these complex scenarios, the authors introduce the SOLVE-ODE-GSEM algorithm, which identifies unique outcomes in dynamical systems under multi-part interventions.

Expressivity and Actual Causality

GSEMs are strictly more expressive than SEMs. The authors illustrate this through "Suzy’s shell game," an example where the outcome depends on the identity of the intervention itself, rather than just the resulting value of the variable. Standard SEMs cannot model such dependencies without adding redundant variables, whereas GSEMs handle them naturally.

Furthermore, the framework extends the standard definition of actual causality—the determination of whether a specific event caused another in a given scenario—to infinite systems. This allows researchers across different fields, from molecular biology to electrical engineering, to use the same formal language to describe causal relationships in continuous-time models.

Case Study: The LC Circuit

The authors apply the GSEM framework to an LC (inductor-capacitor) circuit to demonstrate its practical utility. In this model, they analyze a scenario where a capacitor might fail. The GSEM framework successfully distinguishes between an intervention that prevents a failure and one that is merely correlated with the failure, providing a level of clarity that traditional differential equations alone might lack.

Limitations and Future Directions

While GSEMs offer significant expressive power, they come with trade-offs:

  1. Loss of Graphical Tools: Because GSEMs move away from rigid equation structures, they cannot be easily represented by Directed Acyclic Graphs (DAGs). Consequently, popular tools like Pearl’s "do-calculus" cannot be applied directly.
  2. The Minimality Problem: In infinite settings, the requirement for a "minimal" cause (Condition AC3 in the Halpern-Pearl definition) becomes problematic. For instance, if a heater being off for any duration causes a temperature drop, there is no single "minimal" interval of time that can be identified as the cause.

Future research is needed to refine the definition of actual cause to handle these infinitary minimality issues and to develop new graphical representations that can accommodate the flexibility of the GSEM framework.

Summary updated

BibTeX
@misc{peters2021causal,
  author = {Spencer Peters and Joseph Y. Halpern},
  title = {{Causal Modeling With Infinitely Many Variables}},
  year = {2021},
  eprint = {2112.09171},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2112.09171},
}
Figure