mlsanityData to 14 Oct 2026

MemMamba: Rethinking Memory Patterns in State Space Model

arXiv 2510.03279 ↗First posted 28 Sep 2025cs.LG cs.AI cs.CLcited by 3

On the map: State-space sequence models (S4, Mamba) → Core SSM architectures for language

Abstract (arXiv)

With the explosive growth of data, long-sequence modeling has become increasingly important in tasks such as natural language processing and bioinformatics. However, existing methods face inherent trade-offs between efficiency and memory. Recurrent neural networks suffer from gradient vanishing and explosion, making them hard to scale. Transformers can model global dependencies but are constrained by quadratic complexity. Recently, selective state-space models such as Mamba have demonstrated high efficiency with O(n) time and O(1) recurrent inference, yet their long-range memory decays exponentially. In this work, we conduct mathematical derivations and information-theoretic analysis to systematically uncover the memory decay mechanism of Mamba, answering a fundamental question: what is the nature of Mamba's long-range memory and how does it retain information? To quantify key information loss, we further introduce horizontal-vertical memory fidelity metrics that capture degradation both within and across layers. Inspired by how humans distill and retain salient information when reading long documents, we propose MemMamba, a novel architectural framework that integrates state summarization mechanism together with cross-layer and cross-token attention, which alleviates long-range forgetting while preserving linear complexity. MemMamba achieves significant improvements over existing Mamba variants and Transformers on long-sequence benchmarks such as PG19 and Passkey Retrieval, while delivering a 48% speedup in inference efficiency. Both theoretical analysis and empirical results demonstrate that MemMamba achieves a breakthrough in the complexity-memory trade-off, offering a new paradigm for ultra-long sequence modeling.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Placed in Core SSM architectures for language, one of 10 directions in State-space sequence models (S4, Mamba). Builds on 22 of its 28 references that are in the map. First posted on arXiv 28 Sep 2025.

Builds on

22 of 28 references.

Closest ancestors · 7

Same direction, newest first

  1. 2025FastMamba: A High-Speed and Efficient Mamba Accelerator on FPGA with Accurate Quantization25 May
  2. 2025LongMamba: Enhancing Mamba's Long Context Capabilities via Training-Free Receptive Field Enlargement22 Apr
  3. 2024DeciMamba: Exploring the Length Extrapolation Potential of Mamba20 Jun
  4. 2024An Empirical Study of Mamba-based Language Models12 Jun
  5. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality31 May
  6. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spaces1 Dec
  7. 2021Efficiently Modeling Long Sequences with Structured State Spaces31 Oct

Other references · 15

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2020wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representationscited by 3,905
  4. 2020Longformer: The Long-Document Transformercited by 3,413
  5. 2020Big Bird: Transformers for Longer Sequencescited by 1,684
  6. 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Modelcited by 1,056
  7. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 726
  8. 2024Mamba in Speech: Towards an Alternative to Self-Attentioncited by 60
  9. 2024Megalodon: Efficient LLM Pretraining and Inference with Unlimited Context Lengthcited by 46
  10. 2024Bi-Mamba+: Bidirectional Mamba for Time Series Forecastingcited by 15
  11. 2025MV-GMN: State Space Model for Multi-View Action Recognitioncited by 5
  12. 2024MOL-Mamba: Enhancing Molecular Representation with Structural & Electronic Insightscited by 4
3 more
  1. 2025MSGM: A Multi-Scale Spatiotemporal Graph Mamba for EEG Emotion Recognitioncited by 4
  2. 2024Event USKT : U-State Space Model in Knowledge Transfer for Event Camerascited by 2
  3. 2025Hypergraph Mamba for Efficient Whole Slide Image Understandingcited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 3.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Stuffed Mamba: Oversized States Lead to the Inability to Forget
  2. 2024ReMamba: Equip Mamba with Effective Long-Sequence Modeling
  3. 2024Revealing and Mitigating the Local Pattern Shortcuts of Mamba
  4. 2026Mamba with Hierarchical Memory: Solving Representation Bottleneck in Long Sequence Modeling
  5. 2025Characterizing Mamba's Selective Memory using Auto-Encoders
  6. 2025Emergence of Primacy and Recency Effect in Mamba: A Mechanistic Point of View
  7. 2026Mamba-3: Improved Sequence Modeling using State Space Principles
  8. 2026Motif-Mamba: network motif improved mamba for long-range sequence modeling