Introduction
Traditional causal discovery methods typically assume a static underlying structure, represented by a fixed Directed Acyclic Graph (DAG). However, in many real-world domains such as epidemiology, finance, and social sciences, causal relationships are inherently dynamic. For instance, the effectiveness of a public health policy may wane over time due to behavioral changes or policy fatigue. Applying static models to such time-varying data often results in "smeared" averages that fail to represent the true causal state at any specific moment. This paper addresses the "curse of dimensionality" inherent in estimating time-varying graphs by proposing a framework that utilizes basis functions and Variational Autoencoders (VAEs) to track and predict evolving causal strengths.
Methodology: Dynamic SVAR with B-Splines
The proposed framework models causal relationships using a Dynamic Structural Vector Autoregressive (SVAR) model. This model distinguishes between contemporaneous effects (occurring at the same timestamp) and time-lagged effects (where a variable at $t-1$ influences another at $t$).
To overcome the computational challenge of estimating a unique graph for every time point, the authors employ two key innovations:
- Basis Approximation via B-splines: Instead of independent estimations, the evolution of causal coefficients is modeled as a smooth function using B-splines. This global smoothing allows the model to share information across the temporal dimension, significantly reducing the parameter space and improving stability.
- Constrained VAE Learning: The framework adapts the continuous optimization approach of "NOTEARS" for DAG discovery, embedding it within a VAE architecture. This allows for the modeling of non-linear relationships and complex noise distributions, while ensuring the resulting graph remains acyclic across time.
Crucially, because the model treats causal strength as a continuous function, it can perform one-step-ahead prediction, forecasting how a causal relationship will look in the near future based on historical trends.
Experimental Evaluation
Synthetic Benchmarks
The model was tested against synthetic datasets where causal strengths followed periodic (Cosine) and accelerating (Quadratic) functions. As shown in Figure 2, the proposed method tracks the ground truth "True coefficient" much more accurately than static benchmarks like NOTEARS or DAGGNN, which provide flat-line averages that miss the temporal dynamics.
Real-World Case Study: German COVID-19 Data
The framework was applied to a dataset from 27 German districts (February to July 2020) to analyze the impact of contact restrictions. The model successfully captured the "perishable" nature of causal effects, showing how the influence of policy interventions changes over time.
In March, contact restrictions showed a strong negative causal link to new cases. However, by July, this effect had diminished significantly. Similarly, the relationship between restrictions and mobility shifted; while restrictions initially reduced mobility in the spring, their impact neutralized by mid-summer as public behavior adapted to the ongoing pandemic conditions.
Conclusion
By treating causal strength as a continuous, smooth function rather than a static value, this framework enables more nuanced discovery and even one-step-ahead prediction of causal shifts. While the model relies on the assumption of smooth transitions (continuity), it provides a robust solution for understanding time-varying systems where traditional static assumptions fail. Future work may address handling sudden "regime changes" or improving scalability for high-dimensional systems with hundreds of variables.
Summary updated