Abstract
State Space Models (SSMs) like Mamba have emerged as efficient alternatives to Transformers for sequential modeling. However, applying Mamba to capture channel dependencies in multivariate time series forecasting introduces "sequential order bias," as channels typically lack a natural order. We present Sequential Order-Robust Mamba (SOR-Mamba), a novel framework that achieves order-robustness through a shared unidirectional Mamba block and a specialized regularization strategy. By removing unnecessary 1D-convolutional layers and incorporating a Channel Correlation Modeling (CCM) pretraining task, SOR-Mamba achieves state-of-the-art performance across 13 benchmark datasets while reducing parameter counts by nearly 40% compared to bidirectional baselines.
Introduction
In multivariate time series forecasting, modeling relationships between different variables (channels) is crucial. While Mamba excels at temporal modeling due to its linear complexity, its inherent sequential nature poses a challenge for channel dependency (CD) modeling. Unlike time steps, channels are often permutation-invariant. Standard Mamba blocks, designed for ordered sequences, suffer from sequential order bias: the model's output changes if the input channels are reordered.
Previous attempts to mitigate this bias relied on bidirectional Mamba architectures, which process sequences in both directions. However, this approach doubles the computational and parameter overhead, making it less suitable for large-scale multivariate data.
Methodology: SOR-Mamba
SOR-Mamba addresses the limitations of previous approaches through three primary architectural and training innovations.
Order-Robust Regularization
Instead of employing two separate models for bidirectional processing, SOR-Mamba utilizes a single, shared unidirectional CD-Mamba block. During training, the model processes the input channels in their original order and a reversed order. An order-robust regularization term is then applied to minimize the distance between the resulting latent embeddings ($z_1$ and $z_2$). This forces the model to learn representations that are invariant to the sequence in which channels are presented.
Optimized CD-Mamba Block
Standard Mamba blocks include a 1D-convolutional layer intended to capture local temporal patterns. In the context of channel modeling, where "locality" between channels is often undefined, the authors found that this layer is redundant. Removing the 1D-convolution not only reduces the parameter count but also improves forecasting accuracy on most general datasets.
Channel Correlation Modeling (CCM)
To further enhance the model's ability to capture inter-channel relationships, a new pretraining task called Channel Correlation Modeling is introduced. CCM encourages the latent space to preserve the Pearson correlation coefficients found in the raw input data, ensuring that the model maintains the statistical structure of the multivariate series as it moves from raw data to latent embeddings.
Experimental Results
The model was rigorously evaluated on 13 benchmark datasets, including the ETT (Electricity Transformer Temperature) and PEMS (Traffic flow) series.
- Performance: SOR-Mamba consistently outperformed leading Transformer-based models (e.g., iTransformer, PatchTST) and existing Mamba-based solutions across nearly all tested horizons.
- Efficiency: The transition from bidirectional to a regularized unidirectional architecture resulted in a 37.6% reduction in parameters compared to the S-Mamba baseline, alongside lower GPU memory usage and faster inference times.
- Robustness: Extensive testing confirmed that SOR-Mamba maintains stable performance under random channel permutations and is highly resilient to missing data, remaining robust even when up to 75% of the input data is absent.
Conclusion
SOR-Mamba demonstrates that order-robustness in Mamba-based channel modeling can be achieved more efficiently through regularization than through architectural redundancy. By tailoring the Mamba block specifically for channel dependencies—removing 1D-convolutions and preserving statistical correlations—SOR-Mamba sets a new standard for efficiency and accuracy in multivariate time series forecasting. Future work may explore the application of these principles to other unordered data types, such as tabular features.
Summary updated