Skip to main content
QUICK REVIEW

[Paper Review] SiMBA: Simplified Mamba-Based Architecture for Vision and Multivariate Time series

Badri N. Patro, Vijay Srinivas Agneeswaran|arXiv (Cornell University)|Mar 22, 2024
Currency Recognition and DetectionComputer Science27 citations
TL;DR

SiMBA combines Mamba-based sequence modeling with a novel EinFFT channel-mixing in the Fourier domain to create a stable, scalable state-space architecture that bridges performance gaps with transformers on Vision and multivariate time series tasks, achieving strong ImageNet and time-series results.

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}.

Motivation & Objective

  • Motivate the need for stable, scalable sequence models for long-range dependencies in vision and time series.
  • Introduce a stable channel-mixing mechanism (EinFFT) to address Mamba instability.
  • Propose SiMBA, a streamlined architecture combining Mamba sequence modeling with EinFFT channel mixing.
  • Demonstrate SiMBA’s performance gains over existing SSMs and its competitive standing with state-of-the-art transformers across multiple datasets.

Proposed method

  • Introduce EinFFT as a frequency-domain channel-mixing technique using complex Einstein Matrix Multiplication on transformed features.
  • Embed EinFFT within a Mamba-based sequence model to form SiMBA, enabling stable training and efficient long-sequence handling.
  • Use a residual connections with dropout and normalization to improve training stability.
  • Provide a pyramid/competitive architecture that leverages both sequence modeling (Mamba) and channel mixing (EinFFT).
  • Validate via extensive experiments on ImageNet-1K, transfer learning benchmarks (CIFAR, Stanford Car, Flowers), and time-series datasets.

Experimental results

Research questions

  • RQ1Can EinFFT stabilize Mamba when scaling to large networks for vision tasks?
  • RQ2Does SiMBA close the performance gap between state-space models and transformers on ImageNet and time-series benchmarks?
  • RQ3How does SiMBA perform in transfer learning and downstream tasks such as instance segmentation?
  • RQ4What is the impact of architectural elements (residuals, dropout) on SiMBA’s stability and performance?

Key findings

  • SiMBA achieves strong performance across vision and time-series benchmarks, addressing instability issues observed in Mamba at large scales.
  • EinFFT provides a stable, efficient channel-mixing mechanism that, when combined with Mamba, yields state-of-the-art results among SSMs on ImageNet and several time-series datasets.
  • SiMBA outperforms competing SSMs and bridges much of the gap to state-of-the-art transformers in the reported settings.
  • SiMBA demonstrates transfer learning effectiveness on CIFAR, Stanford Car, and Flowers datasets, and shows applicability to instance segmentation tasks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.