Temporal latent variable structural causal model for causal discovery under external interferences

Ruichu Cai, Xiaokai Huang, Wei Chen, Zijian Li, Zhifeng Hao

Introduction

Causal discovery—the process of identifying directed relationships between variables from observational data—is fundamental to scientific advancement in fields ranging from neurobiology to financial economics. In time-series analysis, this typically involves determining how a variable at a previous time step influences another at a subsequent step. However, real-world data is rarely isolated. It is frequently subject to external interferences: unmeasured factors such as environmental shifts or hidden market shocks that influence multiple observed variables simultaneously.

Traditional causal discovery methods often fail in these environments. Because they cannot account for these "hidden ghosts" in the machine, they frequently identify spurious correlations—statistical dependencies that appear causal but are actually the result of two variables reacting to the same unobserved source. This leads to "dense" causal graphs that are cluttered with false-positive connections, making them unreliable for decision-making.

The Challenge of Hidden Interferences

Comparison of ground truth causal structures with hidden interference (Z) versus the spurious links identified by classic methods. Temporal Latent Variable Structural Causal Model for Causal Discovery under External Interferences, page 3

Comparison of ground truth causal structures with hidden interference (Z) versus the spurious links identified by classic methods.

As illustrated in the figure above, when a latent variable $Z$ influences observed variables $X_1$ and $X_2$, classic methods often incorrectly infer a direct causal link from $X_1$ to $X_2$. This paper introduces the Temporal Latent Variable Structural Causal Model (TL-VSCM), a framework specifically designed to "explain away" these spurious links by explicitly modeling external interferences as latent processes.

Methodology

The TL-VSCM framework introduces several technical innovations to distinguish true causal links from interference-driven noise:

  • Hadamard Decomposition: Rather than using a single matrix to represent causal links, the authors decompose the causal matrix into a binary adjacency matrix (representing the existence of a link) and a weight matrix (representing the strength). This separation allows the model to apply sparsity constraints more effectively.
  • Latent Variable Modeling: External interferences are modeled as latent autoregressive processes. By treating interference as a temporal process rather than static noise, the model better captures how real-world environments evolve over time.
  • Variational Inference (VI): To estimate the model parameters, the authors utilize VI to approximate the posterior distribution of the causal structure, weights, and latent states. This approach is significantly more computationally efficient than previous latent-variable methods.
  • Differentiable Structure Learning: To allow for gradient-based optimization, the model employs the Concrete distribution—a continuous relaxation of the discrete adjacency matrix—making the structure learning process differentiable.
  • Expert Knowledge Integration: The framework is designed to incorporate prior domain knowledge regarding potential interferences, providing a guided approach for particularly noisy datasets.

Experimental Results

The model was rigorously evaluated against six baseline methods (including PCMCI, VAR-LiNGAM, and DYNOTEARS) across synthetic, fMRI, and financial datasets.

Superior Precision

In the fMRI benchmark (simulating brain blood flow), TL-VSCM achieved a precision score between 0.94 and 1.0. In contrast, most baseline methods struggled with precision scores between 0.2 and 0.4. This indicates that while traditional methods were overwhelmed by "ghost" links, TL-VSCM remained focused on the true underlying causal structure.

Robustness and Scalability

The model demonstrated consistent performance (measured by F1 scores) across various noise distributions, including Gaussian, Chi-square, and Uniform. Furthermore, while some existing latent-variable methods (like LPCMCI) can take weeks to process high-dimensional data, the VI-based TL-VSCM remained computationally feasible for large variable sets, making it a practical tool for real-world applications.

Conclusion and Future Work

TL-VSCM represents a significant step forward in causal discovery by prioritizing precision and accounting for the temporal nature of external interferences. By separating causal structure from strength, it provides a conservative and highly accurate map of causal relationships in complex systems.

Currently, the model assumes linear relationships between variables (based on a Vector Autoregressive process). Future research aims to extend this framework to non-linear scenarios, potentially integrating deep learning architectures to capture more complex dynamics while maintaining the model's robust handling of latent interferences.

Summary updated

BibTeX
@inproceedings{cai2025temporal,
  author = {Ruichu Cai and Xiaokai Huang and Wei Chen and Zijian Li and Zhifeng Hao},
  title = {{Temporal latent variable structural causal model for causal discovery under external interferences}},
  booktitle = {Neurocomputing},
  year = {2025},
}
Figure