[Paper Review] seq2graph: Discovering Dynamic Dependencies from Multivariate Time Series with Multi-level Attention
This paper proposes seq2graph, a deep learning model that discovers dynamic, non-linear temporal and inter-series dependencies in multivariate time series using multi-level attention and dual-purpose gated recurrent units (GRUs). By jointly training lagged dependency detection and inter-series dependency graph learning in an end-to-end manner, the model achieves accurate, interpretable dependency graphs and superior forecasting performance on synthetic and real-world datasets, including cloud monitoring and manufacturing sensor data.
Discovering temporal lagged and inter-dependencies in multivariate time series data is an important task. However, in many real-world applications, such as commercial cloud management, manufacturing predictive maintenance, and portfolios performance analysis, such dependencies can be non-linear and time-variant, which makes it more challenging to extract such dependencies through traditional methods such as Granger causality or clustering. In this work, we present a novel deep learning model that uses multiple layers of customized gated recurrent units (GRUs) for discovering both time lagged behaviors as well as inter-timeseries dependencies in the form of directed weighted graphs. We introduce a key component of Dual-purpose recurrent neural network that decodes information in the temporal domain to discover lagged dependencies within each time series, and encodes them into a set of vectors which, collected from all component time series, form the informative inputs to discover inter-dependencies. Though the discovery of two types of dependencies are separated at different hierarchical levels, they are tightly connected and jointly trained in an end-to-end manner. With this joint training, learning of one type of dependency immediately impacts the learning of the other one, leading to overall accurate dependencies discovery. We empirically test our model on synthetic time series data in which the exact form of (non-linear) dependencies is known. We also evaluate its performance on two real-world applications, (i) performance monitoring data from a commercial cloud provider, which exhibit highly dynamic, non-linear, and volatile behavior and, (ii) sensor data from a manufacturing plant. We further show how our approach is able to capture these dependency behaviors via intuitive and interpretable dependency graphs and use them to generate highly accurate forecasts.
Motivation & Objective
- To address the challenge of discovering time-variant, non-linear dependencies in multivariate time series that traditional methods like Granger causality fail to capture.
- To develop a deep learning model capable of jointly learning temporal lagged dependencies within individual time series and inter-series dependencies during inference.
- To provide interpretable, dynamic dependency graphs that reflect evolving relationships in real-world systems such as cloud services and manufacturing plants.
- To improve forecasting accuracy by leveraging discovered dependencies through a unified, end-to-end trainable architecture.
Proposed method
- The model uses a dual-purpose GRU component that decodes temporal information to extract lagged dependencies within each time series.
- Hidden representations from all time series are aggregated to form input vectors for inter-dependency discovery at a higher hierarchical level.
- A multi-level attention mechanism enables the model to focus on relevant historical time points and inter-series relationships simultaneously.
- The architecture employs multiple layers of customized GRUs to capture long-term, non-linear dependencies in sequential data.
- The entire network is trained end-to-end, allowing joint optimization of lagged and inter-series dependency learning.
- The output is a directed, weighted dependency graph that visualizes dynamic relationships among time series.
Experimental results
Research questions
- RQ1Can a deep learning model discover non-linear, time-variant dependencies in multivariate time series that are missed by traditional methods like Granger causality?
- RQ2How can temporal lagged dependencies within individual time series be jointly learned with inter-series dependencies in a unified framework?
- RQ3To what extent does end-to-end joint training improve the accuracy of dependency discovery and forecasting in volatile, real-world time series?
- RQ4Can the model generate interpretable dependency graphs that reflect dynamic changes in system behavior, such as in cloud service monitoring?
Key findings
- On cloud service data, seq2graph identified pkg-rx as a strong predictor of both cpu-util and mem-util, confirmed by low p-values in Granger causality tests (p < 1e-120).
- The model outperformed RNN-vanilla and RNN-residual in forecasting accuracy, particularly on key time series like mem-util and cpu-util in the cloud dataset.
- seq2graph successfully captured dynamic dependency shifts during volatile periods (e.g., between time points 208 and 214), which were missed by static models.
- Ablation studies showed that omitting either the lagged or inter-dependency component degraded performance, confirming the necessity of joint learning.
- The model revealed that power-related metrics (e.g., PowerSPHTI, VoltHTI) had delayed impacts, with influence extending beyond the latest time points.
- Dependency graphs generated by seq2graph provided intuitive, interpretable insights into system behavior, enabling early detection of causal relationships in complex systems.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.