Skip to main content
QUICK REVIEW

[Paper Review] Mamba-360: Survey of State Space Models as Transformer Alternative for Long Sequence Modelling: Methods, Applications, and Challenges

Badri N. Patro, Vijay Srinivas Agneeswaran|arXiv (Cornell University)|Apr 24, 2024
Fault Detection and Control SystemsEngineering5 citations
TL;DR

This survey categorizes state space models (SSMs) as alternatives to transformers for long sequence modeling, reviews their applications, and compares performance across domains.

ABSTRACT

Sequence modeling is a crucial area across various domains, including Natural Language Processing (NLP), speech recognition, time series forecasting, music generation, and bioinformatics. Recurrent Neural Networks (RNNs) and Long Short Term Memory Networks (LSTMs) have historically dominated sequence modeling tasks like Machine Translation, Named Entity Recognition (NER), etc. However, the advancement of transformers has led to a shift in this paradigm, given their superior performance. Yet, transformers suffer from $O(N^2)$ attention complexity and challenges in handling inductive bias. Several variations have been proposed to address these issues which use spectral networks or convolutions and have performed well on a range of tasks. However, they still have difficulty in dealing with long sequences. State Space Models(SSMs) have emerged as promising alternatives for sequence modeling paradigms in this context, especially with the advent of S4 and its variants, such as S4nd, Hippo, Hyena, Diagnol State Spaces (DSS), Gated State Spaces (GSS), Linear Recurrent Unit (LRU), Liquid-S4, Mamba, etc. In this survey, we categorize the foundational SSMs based on three paradigms namely, Gating architectures, Structural architectures, and Recurrent architectures. This survey also highlights diverse applications of SSMs across domains such as vision, video, audio, speech, language (especially long sequence modeling), medical (including genomics), chemical (like drug design), recommendation systems, and time series analysis, including tabular data. Moreover, we consolidate the performance of SSMs on benchmark datasets like Long Range Arena (LRA), WikiText, Glue, Pile, ImageNet, Kinetics-400, sstv2, as well as video datasets such as Breakfast, COIN, LVU, and various time series datasets. The project page for Mamba-360 work is available on this webpage.\url{https://github.com/badripatro/mamba360}.

Motivation & Objective

  • Explain the fundamentals of State Space Models (SSMs) and their role in long-sequence modeling.
  • Provide a systematic categorization of SSMs (structured, recurrent, gated, and miscellaneous).
  • Survey SSM applications across domains (vision, language, time series, biology, etc.).
  • Consolidate performance comparisons between SSMs and transformers on standard benchmarks.

Proposed method

  • Categorize key SSMs into structural, recurrent, gated, and miscellaneous families.
  • Summarize foundational models (S4, HiPPO, H3, Long Convolution, Hyena, S5, S4nd, DSS, Liquid-S4, Mamba variants).
  • Explain discretization, kernel representations, and convolutional interpretations of SSMs (e.g., ODE/DAE formulations, FFT-based kernels).
  • Compare SSMs to transformer-based approaches in terms of computational efficiency and long-range modeling.
  • Highlight task-specific strengths/weaknesses and practical considerations (stability, content-based reasoning, and scalability).

Experimental results

Research questions

  • RQ1How do state space models compare to transformers in handling long sequences across domains?
  • RQ2What are the main strengths and limitations of existing SSM families (structured, recurrent, gated) relative to transformers?
  • RQ3Which tasks and modalities benefit most from SSMs, and where do transformers retain advantages?
  • RQ4What are the practical challenges (stability, scalability) when deploying SSMs like Mamba in real tasks?

Key findings

  • SSMs demonstrate competitive performance with transformers across several domains and tasks.
  • SSMs offer efficiency advantages for long sequences but may lag transformers in certain modalities, especially vision tasks.
  • Models like Mamba-based variants show potential yet face stability challenges requiring additional components (e.g., channel mixing).
  • Structured SSMs (S4 family and variants) achieve strong results on long-range benchmarks and reduce computational complexity per sequence.
  • Advances such as HiPPO, H3, Long Convolutions, Hyena, and S5 contribute to improved scalability and parallelization for long sequences.

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.