[Paper Review] A Survey of Mamba
This survey consolidates Mamba-empowered models, detailing Mamba and Mamba-2 foundations, data adaptability, architectures, and applications, with discussion on limitations and future directions.
As one of the most representative DL techniques, Transformer architecture has empowered numerous advanced models, especially the large language models (LLMs) that comprise billions of parameters, becoming a cornerstone in deep learning. Despite the impressive achievements, Transformers still face inherent limitations, particularly the time-consuming inference resulting from the quadratic computation complexity of attention calculation. Recently, a novel architecture named Mamba, drawing inspiration from classical state space models (SSMs), has emerged as a promising alternative for building foundation models, delivering comparable modeling abilities to Transformers while preserving near-linear scalability concerning sequence length. This has sparked an increasing number of studies actively exploring Mamba's potential to achieve impressive performance across diverse domains. Given such rapid evolution, there is a critical need for a systematic review that consolidates existing Mamba-empowered models, offering a comprehensive understanding of this emerging model architecture. In this survey, we therefore conduct an in-depth investigation of recent Mamba-associated studies, covering three main aspects: the advancements of Mamba-based models, the techniques of adapting Mamba to diverse data, and the applications where Mamba can excel. Specifically, we first review the foundational knowledge of various representative deep learning models and the details of Mamba-1&2 as preliminaries. Then, to showcase the significance of Mamba for AI, we comprehensively review the related studies focusing on Mamba models' architecture design, data adaptability, and applications. Finally, we present a discussion of current limitations and explore various promising research directions to provide deeper insights for future investigations.
Motivation & Objective
- Motivate the study by highlighting Transformer limitations in long sequences and quadratic attention costs.
- Convey the emergence and potential of Mamba as a near-linear scalable alternative for foundation models.
- Summarize Mamba architectures, including Mamba-1 selective SSM and Mamba-2 Structured State-Space Duality.
- Review data adaptation techniques for sequential and non-sequential data in Mamba.
- Discuss current limitations and propose directions for future Mamba research.
Proposed method
- Introduce Mamba and Mamba-2 as foundational concepts and summarize their theoretical and architectural bases.
- Explain HiPPO-based memory initialization (LegS) and input-dependent selection mechanisms.
- Describe hardware-aware computation techniques: Parallel Associative Scan and Memory Recomputation.
- Explain how Mamba-1 uses selective SSM with hardware-aware computation to improve memory efficiency.
- Present SSD (Structured State-Space Duality) as a link between SSMs and attention for Mamba-2.
- Compare Mamba-1 and Mamba-2 block designs and their computational implications.
Experimental results
Research questions
- RQ1What are the core ideas and mechanisms behind Mamba and Mamba-2 architectures?
- RQ2How do HiPPO-based memory initialization and input-dependent selection enhance long-range sequence modeling in Mamba?
- RQ3What hardware-aware techniques enable efficient training and inference in Mamba?
- RQ4How does Structured State-Space Duality connect SSMs with attention, and what practical benefits does this yield?
- RQ5What are the limitations of traditional SSMs/Transformers that Mamba aims to address, and what future directions are proposed?
Key findings
- Mamba offers near-linear sequence length scalability with competitive modeling capabilities to Transformers.
- Mamba-1 introduces input-dependent dynamics via a selection mechanism to enable content-aware modeling.
- Mamba-1 employs Parallel Associative Scan and Memory Recomputation to improve training memory efficiency.
- Mamba-2 establishes SSD to connect SSMs and attention, enabling hardware-efficient computations and competitive speed to Transformers.
- Block designs show Mamba-1 and Mamba-2 differ in projection sequencing and use of SSD, affecting computation speed and stability.
- The survey situates Mamba as a promising foundation model backbone across domains like CV, NLP, and healthcare.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.