MambaTS: Improved Selective State Space Models for Long-term Time Series Forecasting

Xiuding Cai, Yaoyao Zhu, Xueyao Wang, Yu Yao
5/26/2024
cs.LGcs.AI

No official code found. Best implementation: XiudingCai/MambaTS-pytorch (73 stars, MIT, last commit 2024-10-02).

Abstract

In recent years, Transformers have become the de-facto architecture for long-term sequence forecasting (LTSF), but faces challenges such as quadratic complexity and permutation invariant bias. A recent model, Mamba, based on selective state space models (SSMs), has emerged as a competitive alternative to Transformer, offering comparable performance with higher throughput and linear complexity related to sequence length. In this study, we analyze the limitations of current Mamba in LTSF and propose four targeted improvements, leading to MambaTS. We first introduce variable scan along time to arrange the historical information of all the variables together. We suggest that causal convolution in Mamba is not necessary for LTSF and propose the Temporal Mamba Block (TMB). We further incorporate a dropout mechanism for selective parameters of TMB to mitigate model overfitting. Moreover, we tackle the issue of variable scan order sensitivity by introducing variable permutation training. We further propose variable-aware scan along time to dynamically discover variable relationships during training and decode the optimal variable scan order by solving the shortest path visiting all nodes problem during inference. Extensive experiments conducted on eight public datasets demonstrate that MambaTS achieves new state-of-the-art performance.

View on arXivView PDF

Code Implementations(1)

MIT

Official code for MambaTS: Improved Selective State Space Models for Long-term Time Series Forecasting

734Shell, PythonMay 26, 20242 years agoMIT

Similar Papers

Cite this paper

@article{cai2024mambats,
  title  = {MambaTS: Improved Selective State Space Models for Long-term Time Series Forecasting},
  author = {Xiuding Cai and Yaoyao Zhu and Xueyao Wang and Yu Yao},
  year   = {2024},
  eprint = {2405.16440},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.16440v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.16440.svg)](https://codeofpaper.com/paper/2405.16440)

Discussion