FMamba: Mamba based on Fast-attention for Multivariate Time-series Forecasting

Shusen Ma, Yu Kang, Peng Bai, Yun-Bo Zhao
7/20/2024
cs.LG

No confident code implementation found for this paper.

Abstract

In multivariate time-series forecasting (MTSF), extracting the temporal correlations of the input sequences is crucial. While popular Transformer-based predictive models can perform well, their quadratic computational complexity results in inefficiency and high overhead. The recently emerged Mamba, a selective state space model, has shown promising results in many fields due to its strong temporal feature extraction capabilities and linear computational complexity. However, due to the unilateral nature of Mamba, channel-independent predictive models based on Mamba cannot attend to the relationships among all variables in the manner of Transformer-based models. To address this issue, we combine fast-attention with Mamba to introduce a novel framework named FMamba for MTSF. Technically, we first extract the temporal features of the input variables through an embedding layer, then compute the dependencies among input variables via the fast-attention module. Subsequently, we use Mamba to selectively deal with the input features and further extract the temporal dependencies of the variables through the multi-layer perceptron block (MLP-block). Finally, FMamba obtains the predictive results through the projector, a linear layer. Experimental results on eight public datasets demonstrate that FMamba can achieve state-of-the-art performance while maintaining low computational overhead.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ma2024fmamba,
  title  = {FMamba: Mamba based on Fast-attention for Multivariate Time-series Forecasting},
  author = {Shusen Ma and Yu Kang and Peng Bai and Yun-Bo Zhao},
  year   = {2024},
  eprint = {2407.14814},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.14814v1}
}

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/2407.14814.svg)](https://codeofpaper.com/paper/2407.14814)

Discussion