Abstract
In multivariate time series forecasting, the Transformer architecture encounters two significant challenges: effectively mining features from historical sequences and avoiding overfitting during the learning of temporal dependencies. To tackle these challenges, this paper deconstructs time series forecasting into the learning of historical sequences and prediction sequences, introducing the Cross-Variable and Time Network (CVTN). This unique method divides multivariate time series forecasting into two phases: cross-variable learning for effectively mining features from historical sequences, and cross-time learning to capture the temporal dependencies of prediction sequences. Separating these two phases helps avoid the impact of overfitting in cross-time learning on cross-variable learning. Extensive experiments on various real-world datasets have confirmed its state-of-the-art (SOTA) performance. CVTN emphasizes three key dimensions in time series forecasting: the short-term and long-term nature of time series (locality and longevity), feature mining from both historical and prediction sequences, and the integration of cross-variable and cross-time learning.
Introduction
Long-term Time Series Forecasting (LTSF) has seen a surge in Transformer-based models. However, recent analysis suggests these models often suffer from a "history problem," where they fail to adequately leverage historical data, instead relying heavily on internal associative relationships within the target sequence. Furthermore, the simultaneous learning of cross-variable dependencies and temporal patterns often leads to mutual interference. The high risk of overfitting in temporal modeling can degrade the stability of learned inter-variable relationships.
Methodology: The CVTN Architecture
The Cross-Variable and Temporal Network (CVTN) addresses these issues by decoupling the forecasting task into two distinct, isolated stages.
Cross-Variable Encoder (CVE)
The CVE focuses on mining features from historical sequences by treating variables as tokens. By transposing the input data, the model shifts its attention from time steps to the interactions between different sensors or indicators over the entire look-back window. This stage utilizes a modified Transformer encoder to capture stable cross-variable dependencies.
Cross-Temporal Encoder (CTE)
Recognizing that temporal statistics often shift globally but remain stable locally, the CTE employs a CNN-based structure. It focuses on capturing local dependencies within the prediction sequence. A Feature Down-sampling (FDS) module is integrated to prevent feature explosion and mitigate overfitting.
Two-Stage Training Strategy
To prevent temporal overfitting from "polluting" the cross-variable features, CVTN employs a sequential training process. The CVE is trained first and then frozen. Subsequently, the CTE is trained to handle temporal dynamics, ensuring that the variable relationships remain robust.
Experimental Results
The model was evaluated against eight major benchmarks, including Electricity, Traffic, Weather, and the ETT datasets. CVTN achieved state-of-the-art results in 64 different categories across various prediction lengths (96, 192, 336, 720).
Training Dynamics and Overfitting
Analysis of the loss curves reveals the rationale behind the decoupled architecture. As shown in the validation loss plots, models often encounter a "first increase" point, indicating the onset of overfitting in temporal patterns. By freezing the CVE before this point or isolating its training, CVTN maintains high predictive accuracy.
Discussion and Insights
- Transformer Skepticism: Experiments comparing full Transformers to minimal decoder models confirm that standard architectures often underutilize historical data.
- Decoupling Benefits: Separating variable and temporal learning avoids the performance degradation seen in models that mix these modes, such as Crossformer.
- Locality vs. Global Attention: For temporal forecasting, local regularity captured by CNNs often proves more reliable than global attention, which is susceptible to noise and distribution shifts.
Conclusion
CVTN introduces a comprehensive framework for LTSF by integrating cross-variable and cross-temporal learning while maintaining their independence. This approach not only achieves SOTA performance but also provides a robust methodology for future research in handling the inherent complexities of multivariate time series data.
Summary updated