Introduction
Multivariate time series forecasting is a critical task in domains ranging from traffic management to energy grid optimization. A central challenge lies in effectively modeling the interactions between multiple variables over time. While recent Transformer-based architectures like iTransformer have achieved significant progress by treating variable sequences as tokens, they often rely on two limiting assumptions: that variable correlations are static across the lookback window and that these relationships are predominantly positive (due to the Softmax mechanism in attention).
The Problem: Dynamic and Negative Correlations
The authors of TimeCNN argue that real-world data exhibits highly dynamic correlations. For instance, two sensors might be positively correlated during peak hours but negatively correlated during off-peak times. Standard attention mechanisms, which map scores to a (0, 1) range via Softmax, tend to suppress negative correlations, treating them as near-zero weights. This "Softmax Trap" prevents models from capturing inverse relationships explicitly.
Methodology: Timepoint-Independent Convolutions
TimeCNN introduces a "timepoint-independent" approach to refine cross-variable interactions. Unlike traditional 1D convolutions that slide across time, or attention mechanisms that aggregate across the entire sequence, TimeCNN employs the CrossCNN module.
As shown in Figure 2, while the standard Transformer views timepoints as tokens and iTransformer views variables as tokens, TimeCNN processes each timepoint independently. The model assigns $L$ independent convolution kernels (where $L$ is the lookback window length). Each kernel focuses exclusively on the $N$ variables at a specific timestamp. This allows the model to:
- Capture Shifting Dynamics: Each timepoint has its own set of weights, enabling the network to adapt to rapidly evolving system states.
- Model Negative Correlations: Convolutional weights are not constrained to be positive, allowing the model to naturally represent inverse relationships.
The overall architecture (Figure 6) follows a structured pipeline: the CrossCNN captures variable interactions at each point, followed by a transpose operation. The data then passes through an Embedding layer and a shared Feed-Forward Network (FFN) to learn temporal representations for each variable before projecting the final forecast.
Experimental Evaluation
The model was evaluated on 12 real-world benchmarks, including ETT, Traffic, ECL, Weather, Solar-Energy, and PEMS datasets. These datasets represent a wide variety of scales and variable counts, providing a robust testbed for forecasting accuracy and computational efficiency.
Key Results and Insights
TimeCNN consistently achieved state-of-the-art (SOTA) results, particularly on large-scale datasets like Traffic and PEMS. Beyond accuracy, the model offers significant efficiency advantages:
- Computational Efficiency: TimeCNN achieved a 60.46% reduction in Multiply-Accumulate Operations (MACs) compared to iTransformer.
- Parameter Reduction: The model uses approximately 57.50% fewer parameters.
- Inference Speed: On a GeForce RTX 4090, TimeCNN delivered predictions 3 to 4 times faster than the iTransformer benchmark.
Furthermore, TimeCNN demonstrated superior robustness to Gaussian noise, likely due to its ability to refine interactions locally at each timepoint rather than being influenced by global noise patterns across the entire window.
Conclusion and Future Work
TimeCNN demonstrates that a return to convolutional principles, specifically through timepoint-independent kernels, can outperform complex attention mechanisms in multivariate forecasting. While the current temporal modeling via FFN is effective, future work may explore more sophisticated temporal encoders or "patch-based" strategies to handle extremely long lookback windows where linear scaling of kernels might become a constraint.
Summary updated