Causal Identification in Time Series Models

Erik Jahn, Karthik Karnik, Leonard SchulmanCLeaR 2025

TL;DR

This paper tackles the challenge of determining whether causal effects are identifiable in infinitely long time series graphs, which typically require unbounded computation. The authors provide a groundbreaking result: a constant-size segment of the time series graph is sufficient to determine identifiability, even for effects spanning unbounded time intervals. This significantly reduces the computational burden for causal inference in complex temporal systems.

What Problem Does This Paper Address?

Causal inference is crucial in many fields, especially when direct experimentation is impossible, and we rely on observational time series data. Causal time series graphs (also known as Dynamic Bayesian Networks) are a powerful tool for modeling these systems, representing variables over time and their causal relationships. However, a significant challenge arises when these graphs include latent confounders (unobserved variables that influence multiple observed variables) and extend infinitely in time.

The standard Causal Identification (Causal ID) algorithm, which determines if a causal effect can be uniquely identified from data, works well for finite graphs. But applying it to infinite time series graphs presents two major hurdles:

  1. Unbounded Past: To check identifiability of an effect at time t, we might naively need to consider the entire history of the system, from its initialization up to t. This is computationally infeasible for long time series (e.g., climate data spanning Earth's history).
  2. Unknown Time Span: When investigating the causal effect between recurring variables, we might not know the specific time lag over which this effect manifests. Determining if the effect is identifiable for all possible future time lags requires potentially infinite computation.

This paper aims to resolve these issues by providing a finite, bounded approach to causal identification in such complex time series models.

Methods

The core of this paper is the development of a theoretical framework that allows for causal identification using finite segments of infinite time series graphs. The key innovation lies in leveraging the periodicity of these graphs.

The authors introduce:

  • Periodic Causal Graphs: These are directed acyclic mixed graphs (ADMGs) where the structure repeats over time. They define concepts like "latency" (maximum time lag of edges) and "distance between sets" (temporal separation of variable sets).
  • Hedges: A generalization of the concept of a "hedge" (used in finite causal graphs for unidentifiability) to periodic time series graphs. A hedge is a specific subgraph structure that signals unidentifiability.
  • Graph Segmentation and Transformation: The crucial insight is that by carefully selecting a constant-size segment of the time series graph, one can effectively determine identifiability. This involves techniques to "cut out" parts of the graph and "rewire" the remaining segments while preserving the essential structural information related to hedges.
  • Algorithm 2: A concrete algorithm is proposed that leverages these theoretical results. It iterates through a bounded number of time shifts (Δ) to check for identifiability, effectively using a constant-size window of the time series.

The theoretical underpinnings involve proving that if a hedge exists in an infinite periodic graph, a similar (though transformed) hedge must exist within a bounded segment. This is achieved by showing that if a hedge is "stretched out" over many time steps, periodicity implies that the structure must repeat, allowing for the construction of a smaller hedge within a finite window.

Datasets

Not discussed in the paper. The paper focuses on theoretical results and algorithmic development for causal time series graphs, rather than empirical evaluation on specific datasets.

Key Insights and Ideas

  • Periodicity is Key: The periodic nature of time series graphs is not just a modeling convenience; it's the fundamental property that allows for finite-time causal identification. The repeating structure implies that information about causal relationships is not lost by looking at a finite segment.
  • Constant-Size Window Suffices: The most significant insight is that we don't need to examine the entire infinite past or future. A fixed-size "window" of the time series graph, determined by graph properties like width and latency, is enough to decide identifiability. This is a major computational breakthrough.
  • Hedge Transformation: The paper shows how to transform hedges from infinite graphs into finite ones within specific segments, bridging the gap between theoretical unidentifiability and practical computation.
  • Unidentifiability "Travels": If an effect is unidentifiable, it's not confined to a single time point. Proposition 2 suggests that unidentifiability can be "shifted" in time, and this shifted unidentifiability can also be detected within a bounded segment.

Key Results

  • Theorem 1 (and Propositions 1 & 2): The central result states that identifiability of causal effects between variable sets X and Y in a periodic causal graph can be determined by examining a segment of the graph of size bounded by a constant C. This constant C depends on the graph's width and latency but not on the time span between X and Y or the total length of the time series.
  • Algorithm 2: Provides a practical method to decide identifiability for effects with any non-negative time shift (Δ) by checking a bounded number of layers.
  • Theorem 2: Demonstrates that for certain graphs, the bound C can grow at least linearly with the width of the graph, indicating that some complexity is inherent and cannot be entirely eliminated.

Limitations and Future Work

  • Exponential Bound on C: The derived upper bound for C (the size of the segment needed) grows exponentially with the graph's width and latency. While this is a theoretical guarantee, the authors suspect a tighter, possibly linear, bound might exist. Confirming this lower bound would significantly improve computational attractiveness.
  • Generic Graphs: The current bounds are for "generic" periodic structures. Investigating whether specific structural conditions on the graph could lead to tighter bounds is an open question.
  • Time-Invariance Assumption: The paper does not assume time-invariant functional dependencies. While this makes the results more general, it means the focus is on deciding identifiability rather than efficiently identifying the causal effect itself. Future work could explore efficient identification under time-invariant dynamics.
  • Condition Number: The paper mentions the "condition number" of the Causal ID mapping in periodic graphs as a separate area of interest. This relates to the sample size needed for empirical estimation and is an open question.

Summary updated

Abstract

In this paper, we analyze the applicability of the Causal Identification algorithm to causal time series graphs with latent confounders. Since these graphs extend over infinitely many time steps, deciding whether causal effects across arbitrary time intervals are identifiable appears to require computation on graph segments of unbounded size. Even for deciding the identifiability of intervention effects on variables that are close in time, no bound is known on how many time steps in the past need to be considered. We give a first bound of this kind that only depends on the number of variables per time step and the maximum time lag of any direct or latent causal effect. More generally, we show that applying the Causal Identification algorithm to a constant-size segment of the time series graph is sufficient to decide identifiability of causal effects, even across unbounded time intervals.
BibTeX
@inproceedings{jahn2025causal,
  author = {Erik Jahn and Karthik Karnik and Leonard Schulman},
  title = {{Causal Identification in Time Series Models}},
  booktitle = {CLeaR},
  year = {2025},
  url = {https://openreview.net/forum?id=0KrMZ7C6ov},
}
Figure