Abstract
Uncovering the hidden web of interactions in high-dimensional time-series data is a fundamental challenge in fields ranging from biology to finance. This paper introduces SVARCOSMO, a highly efficient method for structure learning that replaces computationally expensive acyclicity constraints with a smooth, unconstrained parameterization. SVARCOSMO achieves accuracy comparable to state-of-the-art methods like DYNOTEARS while significantly improving scalability, reducing computational complexity from cubic to quadratic. Experiments on simulated and real-world financial data (S&P 500) demonstrate its ability to recover meaningful structures in large-scale applications.
Introduction
Researchers often seek to understand how variables influence one another over time, a relationship typically represented as a Directed Acyclic Graph (DAG). In time-series analysis, the Structural Vector Autoregressive (SVAR) framework is the standard for modeling both lagged effects (temporal dependencies) and instantaneous effects (interactions within the same observation window).
A major hurdle in SVAR modeling is ensuring that instantaneous interactions do not form cycles. Traditional solutions, such as the NOTEARS algorithm, rely on matrix-exponential constraints with $O(d^3)$ complexity, where $d$ is the number of variables. This cubic scaling makes analyzing high-dimensional datasets—such as hundreds of stocks or thousands of genes—computationally prohibitive.
Methodology
SVARCOSMO addresses these limitations by transforming the constrained optimization problem into an unconstrained one, building on the "COSMO" approach. Key innovations include:
- Priority Vectors: The interaction matrix is defined using a priority vector that determines variable ordering, inherently preventing cycles without post-hoc checks.
- Smooth Orientation: A sigmoid-based orientation matrix is used with an annealing process, allowing the model to learn edge directions smoothly during optimization.
- Two-Stage Convergence: To improve stability, the model "freezes" lagged weights once they reach an optimal state, allowing the optimizer to focus on the more complex instantaneous relationships.
- Bootstrapping: Consistency is ensured by running the model on multiple sub-datasets and retaining only the interactions that appear reliably, filtering out spurious noise.
Experimental Evaluation
The researchers evaluated SVARCOSMO against the baseline DYNOTEARS using both simulated and real-world datasets. Simulated data included DAGs with 10, 20, 50, and 100 variables to benchmark accuracy (ROC-AUC) and training speed. Real-world testing utilized S&P 100 and S&P 500 stock market data to assess the model's ability to identify industrial sectors based solely on price movements.
Key Results and Discussion
SVARCOSMO demonstrates a significant leap in efficiency. While DYNOTEARS requires over 10 hours to train on 100 variables in certain configurations, SVARCOSMO maintains a much lower training time, effectively moving structure learning from small-scale toy problems to large-scale applications.
In terms of accuracy, SVARCOSMO performs comparably to DYNOTEARS. Interestingly, SVARCOSMO showed a slight advantage in retrieving lagged effects, while DYNOTEARS was marginally better at instantaneous effects. The most compelling validation came from the financial data analysis. Without any prior knowledge of the market, SVARCOSMO produced a "block-diagonal" structure in the adjacency matrices for the S&P 100 and S&P 500. This indicates that the algorithm successfully discovered that stocks within the same industrial sector (e.g., Tech, Energy) interact heavily with each other but less so with unrelated sectors.
Conclusion and Future Work
By reducing the complexity of structure learning to $O(d^2)$, SVARCOSMO enables the analysis of high-dimensional systems that were previously impractical to model. However, the current framework assumes linear interactions, which may not capture the complexity of biological or social systems. Future research will focus on extending the model to non-linear interactions and automating hyperparameter tuning to further enhance its utility in causal discovery tasks.
Summary updated