Abstract
Multivariate Time Series (MTS) forecasting is a critical task in domains such as energy management and traffic control. Existing Graph Neural Network (GNN) approaches often rely on static adjacency matrices and struggle to integrate multi-scale temporal patterns effectively. We introduce CGMF (Continuous Graph Multivariate Forecasting), a novel framework that models the evolution of time series as a continuous process. By employing Ordinary Differential Equations (ODEs) for dynamic graph modeling and Controlled Differential Equations (CDEs) for multi-scale fusion, CGMF captures time-varying dependencies and complex temporal trajectories. Evaluations on Solar Energy, Traffic, and Electricity datasets show that CGMF consistently achieves superior accuracy and correlation compared to state-of-the-art baselines.
Introduction
Predicting future values for multiple correlated variables—such as traffic flow across a city or power consumption in a grid—is inherently difficult due to the non-stationary nature of real-world data. While GNNs have advanced the field by modeling spatial-temporal dependencies, they typically face two major limitations. First, they often assume static relationships between variables to reduce computational complexity, failing to account for dynamic shifts (e.g., a traffic incident altering road correlations). Second, they frequently use simple concatenation to merge different temporal resolutions (e.g., hourly vs. daily), which fails to capture the nuanced interactions between these scales.
CGMF addresses these issues by treating time series evolution as a continuous flow. This approach allows for dynamic relationship modeling and more sophisticated multi-scale integration, ensuring the model adapts to changing conditions and maintains stability over long forecasting horizons.
Methods
The CGMF architecture is composed of four primary components designed to handle the continuity and complexity of MTS data:
- Multi-scale Encoder: Raw inputs are processed through convolutional units to generate embeddings at multiple temporal resolutions.
- Continuous Graph Module: Instead of a fixed graph, this module establishes a dynamic temporal graph using a self-attention mechanism. It employs an ODE-Solver to aggregate information across nodes, enabling the capture of long-range correlations while mitigating the "over-smoothing" problem common in deep GNNs. To maintain efficiency, the module utilizes a "top-$k$" sparsity constraint on the attention matrix.
- CDE-based Fusion: Information from various scales is merged using Neural Controlled Differential Equations (CDEs). This creates a continuous trajectory that extracts shared trends and patterns across different resolutions more effectively than discrete methods.
- Decoder: A Multi-Layer Perceptron (MLP) maps the fused continuous representations to the final forecasted values.
Key Results
The model was benchmarked against several baselines, including ARIMA, GRU, Informer, MTGNN, and STODE, using three standard datasets: Solar Energy, Traffic, and Electricity.
As shown in Table 1, CGMF consistently outperforms all baseline models across both short-term (3-step) and long-term (24-step) horizons.
- Accuracy: In the Solar Energy dataset for a 24-step horizon, CGMF achieved a Relative Squared Error (RSE) of 0.4310, outperforming MTGNN (0.4459) and STODE (0.4468).
- Correlation: The model maintained the highest correlation (CORR) scores, notably reaching 0.8811 in the Traffic dataset for long-term forecasts.
- Stability: CGMF demonstrated greater stability in long-term scenarios, where traditional discrete models often see a rapid degradation in performance.
Conclusion and Future Work
CGMF demonstrates the power of continuous modeling for multivariate time series forecasting. By moving beyond static assumptions and discrete fusion, the model better captures the underlying dynamics of complex systems. Future research will focus on reducing the computational overhead associated with ODE/CDE solvers and further exploring the disentanglement of latent causal factors to improve model interpretability.
Summary updated