Skip to main content
QUICK REVIEW

[Paper Review] Causal discovery for time series from multiple datasets with latent contexts

W. Gunther, Urmi Ninad|arXiv (Cornell University)|Jun 22, 2023
Bayesian Modeling and Causal InferenceComputer Science6 citations
TL;DR

This paper proposes J-PCMCI+, a non-parametric causal discovery method for multivariate time series that integrates multiple datasets with latent temporal and spatial contexts. By pooling data and using time- and space-dummy variables to deconfound unobserved context confounders, the method achieves asymptotic consistency and improves causal discovery accuracy, especially with sufficient sample sizes and moderate numbers of datasets.

ABSTRACT

Causal discovery from time series data is a typical problem setting across the sciences. Often, multiple datasets of the same system variables are available, for instance, time series of river runoff from different catchments. The local catchment systems then share certain causal parents, such as time-dependent large-scale weather over all catchments, but differ in other catchment-specific drivers, such as the altitude of the catchment. These drivers can be called temporal and spatial contexts, respectively, and are often partially unobserved. Pooling the datasets and considering the joint causal graph among system, context, and certain auxiliary variables enables us to overcome such latent confounding of system variables. In this work, we present a non-parametric time series causal discovery method, J(oint)-PCMCI+, that efficiently learns such joint causal time series graphs when both observed and latent contexts are present, including time lags. We present asymptotic consistency results and numerical experiments demonstrating the utility and limitations of the method.

Motivation & Objective

  • Address latent confounding in multivariate time series causal discovery when multiple datasets from different contexts (e.g., catchments) are available.
  • Overcome limitations of single-dataset causal discovery methods that fail to account for shared, unobserved context variables like large-scale weather or topography.
  • Extend the PCMCI+ algorithm to jointly model system variables, observed contexts, and latent context confounders via time- and space-dummy variables.
  • Enable consistent causal graph estimation under asymptotic conditions while maintaining high recall and handling autocorrelation in time series.
  • Improve causal orientation of system-variable links by leveraging context variables and their dependencies in the joint graph.

Proposed method

  • Pool multiple time series datasets from different contexts (e.g., river catchments) into a single joint dataset to increase sample size.
  • Introduce time-dummy and space-dummy variables to represent latent time-dependent and spatially constant confounders, respectively.
  • Apply the PCMCI+ algorithm to the pooled data, treating both observed context variables and dummy variables as part of the causal graph.
  • Use conditional independence tests with lagged variables to account for temporal dependencies and autocorrelation in time series.
  • Condition on dummy variables to deconfound latent context effects that otherwise bias system-variable relationships.
  • Leverage context variables to orient causal links between system variables via collider or orientation rules when Markov equivalence is ambiguous.
Figure 1: Causal discovery with temporal- and spatial-contexts. (A) Two datasets of system variables $X^{1},X^{2}$ may be confounded by the same temporal context $\tilde{C}^{1}_{\rm time}$ , but differ in dataset-specific characteristics that are constant over time, here autocorrelation, which can b
Figure 1: Causal discovery with temporal- and spatial-contexts. (A) Two datasets of system variables $X^{1},X^{2}$ may be confounded by the same temporal context $\tilde{C}^{1}_{\rm time}$ , but differ in dataset-specific characteristics that are constant over time, here autocorrelation, which can b

Experimental results

Research questions

  • RQ1Can joint causal discovery across multiple time series datasets improve causal inference when latent temporal and spatial contexts confound system variables?
  • RQ2How does the inclusion of time- and space-dummy variables affect the consistency and accuracy of causal discovery in the presence of unobserved confounders?
  • RQ3What are the finite-sample convergence properties of the proposed method, particularly in relation to time series length and number of datasets?
  • RQ4To what extent can observed context variables help orient causal links between system variables in the joint graph?
  • RQ5What are the limitations of the method under small sample sizes or high-dimensional dummy variables?

Key findings

  • J-PCMCI+ achieves asymptotic consistency in causal discovery when both observed and latent context variables are present, provided sufficient sample sizes.
  • The method significantly reduces false positive rates compared to standard PCMCI+ when latent confounders are present, especially when using dummy variables to model unobserved contexts.
  • Numerical experiments show that performance improves with increasing time series length (T) and moderate numbers of datasets (M), with TPR approaching the theoretical maximum when T is large.
  • A fundamental finite-sample bias persists when T is small relative to M, leading to inflated false positives due to incomplete deconfounding, consistent with the Nickell bias in fixed-effects models.
  • The method inherits PCMCI+'s strength in handling highly autocorrelated time series, maintaining high recall in conditional independence testing.
  • The use of dummy variables increases dimensionality but enables effective deconfounding of latent context variables, though their effectiveness diminishes under strong model violations or small samples.
Figure 2: Discovery results of context-system links for varying sample sizes $T$ , $M=10$ . All other setup parameters are set as the defaults described in the main text. In this setting all context nodes are observed. Here, we compare our method (J-PCMCI + ) to PCMCI + using all data of observed no
Figure 2: Discovery results of context-system links for varying sample sizes $T$ , $M=10$ . All other setup parameters are set as the defaults described in the main text. In this setting all context nodes are observed. Here, we compare our method (J-PCMCI + ) to PCMCI + using all data of observed no

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.