mlsanityData to 14 Oct 2026

LongMamba: Enhancing Mamba's Long Context Capabilities via Training-Free Receptive Field Enlargement

arXiv 2504.16053 ↗First posted 22 Apr 2025cs.CL cs.AIcited by 42

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

Abstract (arXiv)

State space models (SSMs) have emerged as an efficient alternative to Transformer models for language modeling, offering linear computational complexity and constant memory usage as context length increases. However, despite their efficiency in handling long contexts, recent studies have shown that SSMs, such as Mamba models, generally underperform compared to Transformers in long-context understanding tasks. To address this significant shortfall and achieve both efficient and accurate long-context understanding, we propose LongMamba, a training-free technique that significantly enhances the long-context capabilities of Mamba models. LongMamba builds on our discovery that the hidden channels in Mamba can be categorized into local and global channels based on their receptive field lengths, with global channels primarily responsible for long-context capability. These global channels can become the key bottleneck as the input context lengthens. Specifically, when input lengths largely exceed the training sequence length, global channels exhibit limitations in adaptively extend their receptive fields, leading to Mamba's poor long-context performance. The key idea of LongMamba is to mitigate the hidden state memory decay in these global channels by preventing the accumulation of unimportant tokens in their memory. This is achieved by first identifying critical tokens in the global channels and then applying token filtering to accumulate only those critical tokens. Through extensive benchmarking across synthetic and real-world long-context scenarios, LongMamba sets a new standard for Mamba's long-context performance, significantly extending its operational range without requiring additional training. Our code is available at https://github.com/GATECH-EIC/LongMamba.

Key facts. Cited by 42 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 31 of its 39 references that are in the map. First posted on arXiv 22 Apr 2025.

Builds on

31 of 39 references.

Closest ancestors · 7

Same direction, newest first

  1. 2024Falcon Mamba: The First Competitive Attention-free 7B Language Model7 Oct
  2. 2024DeciMamba: Exploring the Length Extrapolation Potential of Mamba20 Jun
  3. 2024An Empirical Study of Mamba-based Language Models12 Jun
  4. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality31 May
  5. 2024The Hidden Attention of Mamba Models3 Mar
  6. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spaces1 Dec
  7. 2021Efficiently Modeling Long Sequences with Structured State Spaces31 Oct

Other references · 24

  1. 2023GPT-4 Technical Reportcited by 18,396
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  3. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  4. 2020Longformer: The Long-Document Transformercited by 3,413
  5. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
  6. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
  7. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  8. 2022Competition-Level Code Generation with AlphaCodecited by 1,462
  9. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
  10. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
  11. 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Modelcited by 1,056
  12. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 726
12 more
  1. 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 608
  2. 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 601
  3. 2022On the Parameterization and Initialization of Diagonal State Space Modelscited by 424
  4. 2023ToolQA: A Dataset for LLM Question Answering with External Toolscited by 274
  5. 2022Recurrent Memory Transformercited by 203
  6. 2024Graph-Mamba: Towards Long-Range Graph Sequence Modeling with Selective State Spacescited by 134
  7. 2024Zamba: A Compact 7B SSM Hybrid Modelcited by 124
  8. 2024A Comprehensive Survey on Process-Oriented Automatic Text Summarization with Exploration of LLM-Based Methodscited by 102
  9. 2024Hymba: A Hybrid-head Architecture for Small Language Modelscited by 99
  10. 2024Resonance RoPE: Improving Context Length Generalization of Large Language Modelscited by 27
  11. 2024The Zamba2 Suite: Technical Reportcited by 21
  12. 2024SirLLM: Streaming Infinite Retentive LLMcited by 16

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 16; 2026: 26.

42 papers.

Sort:

By area:

  1. 2025TTT3R: 3D Reconstruction as Test-Time Trainingcited by 129
  2. 2025Long-Context State-Space Video World Modelscited by 64
  3. 2025Understanding and Improving Length Generalization in Recurrent Modelscited by 23
  4. 2025Context Engineering 2.0: The Context of Context Engineeringcited by 18
  5. 2025Mamba Modulation: On the Length Generalization of Mambacited by 16
  6. 2025Comba: Improving Bilinear RNNs with Closed-loop Controlcited by 15
  7. 2026Behavior Knowledge Merge in Reinforced Agentic Modelscited by 11
  8. 2025LaCache: Ladder-Shaped KV Caching for Efficient Long-Context Modeling of Large Language Modelscited by 9
  9. 2025Block-Biased Mamba for Long-Range Sequence Processingcited by 8
  10. 2026Lost in the Noise: How Reasoning Models Fail with Contextual Distractorscited by 8
  11. 2025Overflow Prevention Enhances Long-Context Recurrent LLMscited by 6
  12. 2025Overcoming Multi-step Complexity in Multimodal Theory-of-Mind Reasoning: A Scalable Bayesian Plannercited by 5
30 more
  1. 2025Achilles' Heel of Mamba: Essential difficulties of the Mamba architecture demonstrated by synthetic datacited by 3
  2. 2025MemMamba: Rethinking Memory Patterns in State Space Modelcited by 3
  3. 2026MixerCSeg: An Efficient Mixer Architecture for Crack Segmentation via Decoupled Mamba Attentioncited by 3
  4. 2025State Space Prompting via Gathering and Spreading Spatio-Temporal Information for Video Understandingcited by 2
  5. 2026Echoes Over Time: Unlocking Length Generalization in Video-to-Audio Generation Modelscited by 2
  6. 2025Growing Through Experience: Scaling Episodic Grounding in Language Modelscited by 1
  7. 2025MambaMIL+: Modeling Long-Term Contextual Patterns for Gigapixel Whole Slide Imagecited by 1
  8. 2026MamTra: A Hybrid Mamba-Transformer Backbone for Speech Synthesiscited by 1
  9. 2026RS-SSM: Refining Forgotten Specifics in State Space Model for Video Semantic Segmentationcited by 1
  10. 2026Optimal Decay Spectra for Linear Recurrencescited by 1
  11. 2026Mamba with Hierarchical Memory: Solving Representation Bottleneck in Long Sequence Modelingcited by 1
  12. 2026On the Recall Scaling Laws in Mamba: A Theoretical and Mechanistic Study via Hashingcited by 1
  13. 2025SCOUT: Toward Sub-Quadratic Attention via Segment Compression for Optimized Utility in Transformerscited by 0
  14. 2026Chemical Language Models for Natural Products: A State-Space Model Approachcited by 0
  15. 2026DeformTrace: A Deformable State Space Model with Relay Tokens for Temporal Forgery Localizationcited by 0
  16. 2026Graph Signal Processing Meets Mamba2: Adaptive Filter Bank via Delta Modulationcited by 0
  17. 2026Safety, Security, and Cognitive Risks in State-Space Models: A Systematic Threat Analysis with Spectral, Stateful, and Capacity Attackscited by 0
  18. 2026Inference Time Context Sparsity: Illusion or Opportunity?cited by 0
  19. 2026A Circuit, Not The Circuit: Non-Unique Causal Localisation of the Mamba-2 State Sinkcited by 0
  20. 2026Consistent and Editable: A Balanced Framework for Text-Guided Video Editingcited by 0
  21. 2026VLZip: Unified Visual and Textual Compression for Interleaved Long-Context Modelingcited by 0
  22. 2026SpectralShift: Effective Context Window Extension of Gated DeltaNet via Spectral Reparameterizationcited by 0
  23. 2026Fractional State Space Transition for Long Sequence Modelingcited by 0
  24. 2026WIPSNet: Deep Learning for Paediatric Wheeze Detection from Overnight Impedance Pneumographycited by 0
  25. 2026Length Generalization Needs Proper Regularizationcited by 0
  26. 2026LogSig-SSM: Time-Series Modelling with Multi-Scale Log-Signature Compression for State-Space Modelscited by 0
  27. 2026The Cost of Long Memory: State, Context, and Stability Complexity in Sequence Modelscited by 0
  28. 2026Understanding Mamba-3 Through Oscillatory Dynamicscited by 0
  29. 2026SuPER-Mamba: Surprisal Prioritization for Extended-Context Routing in Mambacited by 0
  30. 2026Beyond State Capacity: Why Retrieval Breaks in Mambacited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2024ReMamba: Equip Mamba with Effective Long-Sequence Modeling
  2. 2024Revealing and Mitigating the Local Pattern Shortcuts of Mamba
  3. 2024Can Mamba Learn How to Learn? A Comparative Study on In-Context Learning Tasks
  4. 2024Taipan: Efficient and Expressive State Space Language Models with Selective Attention
  5. 2024Mamba-PTQ: Outlier Channels in Recurrent Large Language Models
  6. 2024Stuffed Mamba: Oversized States Lead to the Inability to Forget
  7. 2026Interpreting and Steering State-Space Models via Activation Subspace Bottlenecks
  8. 2024Bi-Mamba: Towards Accurate 1-Bit State Space Models