SiMBA: Simplified Mamba-Based Architecture for Vision and Multivariate Time series

Badri N. Patro, Vijay S. Agneeswaran
3/22/2024
cs.CVcs.LGeess.IV

Official code: badripatro/simba (220 stars, last commit 2024-03-24). 1 more implementation below.

Abstract

Transformers have widely adopted attention networks for sequence mixing and MLPs for channel mixing, playing a pivotal role in achieving breakthroughs across domains. However, recent literature highlights issues with attention networks, including low inductive bias and quadratic complexity concerning input sequence length. State Space Models (SSMs) like S4 and others (Hippo, Global Convolutions, liquid S4, LRU, Mega, and Mamba), have emerged to address the above issues to help handle longer sequence lengths. Mamba, while being the state-of-the-art SSM, has a stability issue when scaled to large networks for computer vision datasets. We propose SiMBA, a new architecture that introduces Einstein FFT (EinFFT) for channel modeling by specific eigenvalue computations and uses the Mamba block for sequence modeling. Extensive performance studies across image and time-series benchmarks demonstrate that SiMBA outperforms existing SSMs, bridging the performance gap with state-of-the-art transformers. Notably, SiMBA establishes itself as the new state-of-the-art SSM on ImageNet and transfer learning benchmarks such as Stanford Car and Flower as well as task learning benchmarks as well as seven time series benchmark datasets. The project page is available on this website ~\url{https://github.com/badripatro/Simba}.

View on arXivView PDF

Code Implementations(2)

badripatro/simbaOfficial100%

Simba

22019Shell, PythonMar 7, 20242 years ago
kyegomez/SimbaCommunity71%
MIT

A simpler Pytorch + Zeta Implementation of the paper: "SiMBA: Simplified Mamba-based Architecture for Vision and Multivariate Time series"

292Shell, PythonMar 25, 20241 years agoMIT
agentsimagenetllmsmulti-modalrecurrent-networks+3 more

Similar Papers

Cite this paper

@article{patro2024simba,
  title  = {SiMBA: Simplified Mamba-Based Architecture for Vision and Multivariate Time series},
  author = {Badri N. Patro and Vijay S. Agneeswaran},
  year   = {2024},
  eprint = {2403.15360},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.15360v2}
}

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

Discussion