Introduction
Long-term Time Series Forecasting (LTSF) is a critical task in various domains, requiring models to capture three primary data dependencies: Order Dependency (the sequential flow of time), Semantic Dependency (high-level patterns like seasonality), and Cross-variate Dependency (interactions between different variables).
While State Space Models (SSMs) like Mamba show promise in handling both order and semantics, they face two significant challenges when applied to time series:
- Over-complexity: Architectures designed for high-density data like language often overfit on "semantically sparse" time series due to excessive nonlinearities.
- Entanglement: Sequential processing of temporal and cross-variable information can introduce noise and obscure the unique dynamics of individual variables.
To address these issues, we introduce the Simplified and Disentangled Dependency Encoding (SDE) framework.
The SDE Framework
The SDE framework introduces two core innovations to optimize SSMs for time series data.
1. Simplification via S-Mamba
Standard Mamba blocks utilize multiple nonlinear activation functions. However, in the context of LTSF, these nonlinearities can lead to a "sharp" loss landscape, which is empirically linked to poor generalization. The SDE framework employs S-Mamba, a simplified version that removes redundant nonlinearities between convolutional and SSM layers.
This simplification acts as a powerful regularizer, flattening the loss landscape and significantly reducing overfitting. By adhering to a "less is more" principle, the model avoids "hallucinating" patterns in the noise often found in sparse time series data.
2. Disentangled Dependency Encoding
Rather than processing dependencies sequentially, SDE utilizes a parallel architecture to disentangle temporal and cross-variate information. This prevents "over-smoothing," where the unique temporal signature of a single variable might be washed out if mixed with others too early in the pipeline.
- Cross-time Branch: Uses S-Mamba to independently model the temporal order and semantics of each variable.
- Cross-variate Branch: Models interactions across different variables. Since variables are an unordered set, applying a recursive model like an SSM is non-trivial. SDE addresses this by applying a random permutation to the variable order before encoding, allowing the SSM to effectively act as a cross-variate encoder.
- Unified Representation: Outputs from both branches are integrated via a Feed-Forward Network (FFN) to generate final predictions.
Experimental Results
The SDE framework was evaluated across nine major real-world benchmarks, including Electricity (ECL), Traffic, and Weather datasets.
- State-of-the-Art Accuracy: SDE-Mamba consistently outperformed 14 baseline models, including heavyweights like PatchTST and iTransformer. On the Solar-Energy dataset, for instance, SDE-SegRNN significantly reduced Mean Squared Error (MSE) compared to the original SegRNN.
- Computational Efficiency: The framework maintains near-linear time complexity and demonstrates superior memory efficiency compared to Transformer-based architectures as sequence lengths increase.
- Scalability: Unlike many existing models that plateau, SDE-Mamba shows continued performance improvements as the lookback window size increases, indicating its effectiveness in capturing truly long-term dependencies.
Conclusion
The SDE framework demonstrates that for time series forecasting, simplifying internal architectures and disentangling dependency encoding leads to superior performance. By optimizing SSMs for the specific characteristics of time series data, SDE achieves state-of-the-art accuracy and efficiency, positioning it as a robust alternative to traditional Transformer-based models.
Summary updated