Time Series Structure Learning with Local Causal Parent Discovery
Organizations: Cornell Tech · Abel AI · Arizona State University
Abstract
Learning and inference on time series can pose significant statistical challenges, including autocorrelated observations, distribution shift over time, and the curse of dimensionality. These challenges complicate the practical application of causal discovery algorithms, which already suffer from high computational and sample complexity in the general case. To mitigate these issues, this work introduces Iterative Temporal Parent Discovery (ITPD): a sound and complete constraint-based procedure for causal structure learning on multivariate time series with causal nonstationarity. ITPD takes a local-to-global learning approach that discovers the global graph by sequentially discovering the parent set for each variable. ITPD exploits temporal structural priors, graph partitioning, and the local Markov condition to swap higher-order conditional independence tests for lower-order alternatives. With an exact oracle, ITPD performed the least number of tests and used the smallest average conditioning set sizes relative to baselines. In benchmarking simulations, ITPD sat on the Pareto frontier with respect to F1 and wall-clock time and was faster than baselines on large graphs ( 1000 nodes). For graphs with 2000 nodes, ITPD ran , , and faster than iterative IAMB, DF-PC, and PCMCI, respectively.
Figures & tables
| Unique CI tests per candidate | Mean conditioning set | Max conditioning set | |||||||||||||||
| Method | 2 | 3 | 5 | 8 | 2 | 3 | 5 | 8 | 2 | 3 | 5 | 8 | |||||
| ITPD | 1.23 | 1.41 | 1.32 | 1.26 | 1.26 | 0.7 | 2.0 | 3.1 | 5.0 | 7.7 | 4 | 6 | 7 | 10 | 13 | ||
| IAMB | 6.02 | 11.83 | 14.23 | 16.34 | 17.67 | 5.6 | 8.0 | 8.6 | 9.2 | 9.7 | 15 | 20 | 20 | 20 | 20 | ||
| IPaDL | 1.76 | 2.74 | 2.98 | 3.05 | 3.06 | 21.7 | 58.0 | 65.3 | 67.3 | 67.5 | 211 | 293 | 298 | 299 | 299 | ||
| FullCI | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 206 | 206 | 206 | 206 | 206 | 299 | 299 | 299 | 299 | 299 | ||
| PCMCI | – | – | – | – | – | 4.2 | 7.6 | 8.3 | 8.9 | 9.5 | 14 | 20 | 22 | 23 | 27 | ||
Appendix figures & tables19 assets
Supplementary material from the paper’s appendix.
Appendix
| Settings | F1 with | F1 with extended BIC | Change | Higher / level / lower | |
|---|---|---|---|---|---|
| 50 | 1 | 0.300 | 0.436 | 1 / 0 / 0 | |
| 200 | 7 | 0.684 | 0.718 | 3 / 1 / 3 | |
| 500 | 12 | 0.886 | 0.875 | 2 / 0 / 10 | |
| 14 | 0.922 | 0.910 | 0 / 0 / 14 |
| F1, | F1, | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Method | |||||||||
| ITPD | 0.995 ±.002 | 0.992 ±.002 | 0.985 ±.001 | 0.961 ±.002 | 0.997 ±.001 | 0.997 ±.001 | 0.996 ±.002 | 0.991 ±.002 | |
| IAMB | 0.994 ±.002 | 0.994 ±.002 | 0.991 ±.001 | 0.972 ±.002 | 0.996 ±.002 | 0.998 ±.001 | 0.998 ±.001 | 0.999 ±.001 | |
| IPaDL | 0.988 ±.003 | 0.967 ±.003 | 0.936 ±.004 | 0.913 ±.003 | 0.998 ±.001 | 0.997 ±.001 | 0.993 ±.002 | 0.982 ±.002 | |
| FullCI | 0.967 ±.004 | 0.935 ±.004 | 0.894 ±.005 | 0.815 ±.004 | 0.996 ±.002 | 0.998 ±.001 | 0.998 ±.001 | 0.998 ±.001 | |
| DF-PC | 0.967 ±.004 | 0.926 ±.004 | 0.895 ±.005 | 0.837 ±.003 | 0.996 ±.002 | 0.985 ±.002 | 0.966 ±.002 | 0.931 ±.004 | |
| Unique CI tests per candidate | Mean conditioning set | Max conditioning set | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Method | 2 | 3 | 5 | 2 | 3 | 5 | 2 | 3 | 5 | |||||
| ITPD | 1.35 ±.01 | 1.38 ±.01 | 1.40 ±.01 | 1.42 ±.01 | 6.7 ±.1 | 8.2 ±.1 | 9.4 ±.1 | 11.6 ±.1 | 30 ±1 | 33 ±1 | 35 ±1 | 37 ±2 | ||
| IAMB | 2.00 ±.03 | 2.97 ±.04 | 3.97 ±.05 | 5.96 ±.06 | 1.7 ±.1 | 2.3 ±.1 | 2.8 ±.1 | 3.8 ±.1 | 6 ±1 | 7 ±1 | 9 ±1 | 12 ±1 | ||
| IPaDL | 1.26 ±.01 | 1.39 ±.01 | 1.48 ±.01 | 1.56 ±.01 | 1.3 ±.1 | 3.3 ±.2 | 5.2 ±.2 | 7.2 ±.2 | 42 ±3 | 55 ±2 | 64 ±3 | 71 ±2 | ||
| FullCI | 1.00 ±0 | 1.00 ±0 | 1.00 ±0 | 1.00 ±0 | 206 ±0 | 206 ±0 | 206 ±0 | 206 ±0 | 299 ±0 | 299 ±0 | 299 ±0 | 299 ±0 | ||
| DF-PC | 1.31 ±.02 | 1.83 ±.03 | 2.58 ±.05 | 14.61 ±.43 | 0.3 ±.1 | 0.6 ±.1 | 0.9 ±.1 | 1.8 ±.1 | 5 ±1 | 6 ±1 | 7 ±1 | 9 ±1 | ||
| Stationary graph | Nonstationary graph | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| , | 10, 8 | 10, 8 | 10, 16 | 20, 8 | 10, 8 | 10, 8 | 20, 8 | 20, 8 | |
| 500 | 2000 | 2000 | 2000 | 500 | 2000 | 500 | 2000 | ||
| ITPD | 0.963 ±.009 | 0.991 ±.005 | 0.985 ±.007 | 0.984 ±.009 | 0.957 ±.008 | 0.989 ±.006 | 0.957 ±.006 | 0.989 ±.003 | |
| IAMB | 0.974 ±.009 | 0.981 ±.007 | 0.973 ±.008 | 0.975 ±.007 | 0.967 ±.005 | 0.984 ±.005 | 0.963 ±.003 | 0.977 ±.004 | |
| IPaDL | 0.932 ±.022 | 0.988 ±.009 | 0.977 ±.012 | 0.990 ±.006 | 0.923 ±.014 | 0.981 ±.012 | 0.936 ±.012 | 0.989 ±.002 | |
| FullCI | 0.944 ±.014 | 0.990 ±.005 | – | – | 0.937 ±.006 | 0.990 ±.003 | 0.938 ±.008 | – | |
| F1 on common targets | Unique CI tests per candidate | ||||||||
| Method | 2000 | 500 | 2000 | 2000 | 500 | 2000 | |||
| ITPD | 0.994 ±.001 | 0.998 ±.001 | 0.992 ±.003 | 0.998 ±.001 | 1.15 ±.01 | 1.18 ±.01 | 1.08 ±.01 | 1.10 ±.01 | |
| IAMB | 0.995 ±.001 | 0.998 ±.001 | 0.994 ±.002 | 0.998 ±.001 | 2.99 ±.04 | 3.00 ±.05 | 2.98 ±.04 | 3.00 ±.03 | |
| IPaDL | 0.971 ±.003 | 0.998 ±.001 | 0.973 ±.005 | 0.999 ±.001 | 1.09 ±.01 | 1.16 ±.01 | 1.07 ±.01 | 1.10 ±.01 | |
| FullCI | 0.804 ±.009 | 0.997 ±.001 | 0.836 ±.011 | 0.955 ±.004 | 0.24 ±0 | 1.00 ±0 | 0.05 ±0 | 1.00 ±0 | |
| ITPD (s) | IAMB (s) | ITPD / IAMB | ITPD (s) | IAMB (s) | ITPD / IAMB | ||
|---|---|---|---|---|---|---|---|
| 20 | 3.4 to 3.6 | 5.5 | 0.62 to 0.65 | 3.8 to 4.0 | 11 to 12 | 0.34 | |
| 50 | 27 to 29 | 56 to 57 | 0.48 to 0.50 | 31 to 33 | 111 to 119 | 0.28 | |
| 100 | 96 to 99 | 230 to 231 | 0.41 to 0.43 | 109 to 115 | 450 to 490 | 0.24 | |
| No lag-1 self edge | ||||||
|---|---|---|---|---|---|---|
| (lag-1 edges) | ||||||
| Share | 0 | 0.1 | 0.25 | 0.5 | 1 | |
| ITPD | 0.997 ±.001 | 0.998 ±.001 | 0.997 ±.001 | 0.997 ±.001 | 0.997 ±.001 | |
| IAMB | 0.998 ±.001 | 0.997 ±.001 | 0.997 ±.001 | 0.997 ±.001 | 0.997 ±.001 | |
| FullCI | 0.998 ±.001 | 0.997 ±.001 | 0.997 ±.001 | 0.997 ±.001 | 0.998 ±.001 | |
| Lasso | 0.970 ±.002 | 0.972 ±.003 | 0.972 ±.003 | 0.973 ±.003 | 0.979 ±.002 | |
| Edges within a time step | Edges within a time step | ||||||
|---|---|---|---|---|---|---|---|
| (lag-1 edges) | (Markov boundary) | ||||||
| Share | 0.1 | 0.25 | 0.5 | 0.1 | 0.25 | 0.5 | |
| ITPD | 0.889 ±.003 | 0.744 ±.003 | 0.527 ±.004 | 0.968 ±.004 | 0.894 ±.006 | 0.733 ±.011 | |
| IAMB | 0.883 ±.004 | 0.732 ±.003 | 0.511 ±.004 | 0.979 ±.003 | 0.917 ±.005 | 0.763 ±.011 | |
| FullCI | 0.901 ±.004 | 0.774 ±.004 | 0.574 ±.005 | 0.961 ±.004 | 0.874 ±.006 | 0.690 ±.011 | |
| Lasso | 0.849 ±.004 | 0.687 ±.004 | 0.452 ±.005 | 0.945 ±.004 | 0.885 ±.005 | 0.754 ±.009 | |
| Regulatory edges | |||||||
|---|---|---|---|---|---|---|---|
| Network 3 | Network 5 | ||||||
| 200 | 500 | 2000 | 200 | 500 | 2000 | ||
| ITPD | 0.518 ±.022 | 0.683 ±.006 | 0.654 ±.003 | 0.464 ±.013 | 0.541 ±.007 | 0.483 ±.004 | |
| IAMB | 0.510 ±.024 | 0.644 ±.006 | 0.639 ±.003 | 0.423 ±.021 | 0.500 ±.008 | 0.468 ±.004 | |
| IPaDL | 0.439 ±.013 | 0.593 ±.008 | 0.652 ±.004 | 0.352 ±.013 | 0.472 ±.010 | 0.542 ±.006 | |
| FullCI | 0.179 ±.014 | 0.346 ±.007 | 0.629 ±.006 | 0.159 ±.020 | 0.315 ±.009 | 0.530 ±.006 | |
| Regulatory edges, indirect pairs left out | |||||||
| Network 3 | Network 5 | ||||||
| 200 | 500 | 2000 | 200 | 500 | 2000 | ||
| ITPD | 0.539 ±.024 | 0.731 ±.005 | 0.849 ±.002 | 0.515 ±.011 | 0.676 ±.007 | 0.731 ±.005 | |
| IAMB | 0.521 ±.025 | 0.692 ±.006 | 0.832 ±.003 | 0.478 ±.021 | 0.639 ±.008 | 0.703 ±.008 | |
| IPaDL | 0.464 ±.015 | 0.611 ±.009 | 0.765 ±.003 | 0.368 ±.013 | 0.541 ±.010 | 0.743 ±.006 | |
| FullCI | 0.182 ±.015 | 0.351 ±.008 | 0.719 ±.006 | 0.164 ±.021 | 0.332 ±.010 | 0.704 ±.006 | |
| Algorithm 1 | With Lines 9 ′ and 10 ′ | With the Line 11 variant | |
|---|---|---|---|
| F1 | 0.813 to 0.997 | 0.813 to 0.997 | 0.610 to 0.881 |
| Precision | 0.989 to 0.996 | 0.989 to 0.996 | 0.443 to 0.817 |
| Recall | 0.689 to 1.000 | 0.688 to 1.000 | 0.855 to 1.000 |
| Unique CI tests per candidate | 1.30 to 1.42 | 1.89 to 2.40 | 1.28 to 1.38 |
| Mean conditioning set | 5.97 to 11.56 | 3.92 to 6.05 | 6.62 to 11.94 |
| Max conditioning set | 26.9 to 37.2 | 26.6 to 35.8 | 27.3 to 37.3 |
| Exact oracle | Data | |||||
| Change to Algorithm 1 | Exact | Tests | F1 | Tests | ||
| in ascending time order | yes | to | to | to | to | to |
| Line 9 given | yes | to | to | to | to | to |
| Line 9 removed | yes | to | to | to | to | to |
| Line 10 removed | yes | to | to | to | to | to |
| Lines 8, 9, 10 at level | yes | – | – | to | to | to |
| Data | Oracle | |||||||||
| Ver. | Line | Change | Status | Exact | F1 | F1 ∗ | Tests | Set | ||
| 0 | Line 10 adds with its learned ancestors; Line 9’ reads | Earlier form | no | 0.741 ±.005 | 0.728 ±.004 | 1.13 | 110 | 275 | 112 | |
| 1 | Line 10 | Adds only to | Earlier form | no | 0.922 ±.004 | 0.864 ±.003 | 1.28 | 13 | 30 | 112 |
| 2 | Line 9’ | A CI test of and | Earlier draft | no | 0.913 ±.004 | 0.859 ±.004 | 1.82 | 14 | 33 | 112 |
| 3 | Line 11 | Only becomes a parent without a CI test | Adopted | yes | 0.926 ±.004 | 0.865 ±.003 | 1.83 | 14 | 33 | 112 |
| 4 | Line 14 | Level | Adopted | yes | 0.996 ±.002 | 0.895 ±.003 | 1.83 | 14 | 33 | 112 |
Time-Series Causal Discovery
Time-series causal discovery seeks to infer which variables influence others over time and when those effects occur.
See all 76 papers