mlsanityData to 7 Oct 2026

Differential Mamba

arXiv 2507.06204 ↗First posted 8 Jul 2025cs.LG cs.AI cs.CLcited by 2

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

Abstract (arXiv)

Sequence models like Transformers and RNNs often overallocate attention to irrelevant context, leading to noisy intermediate representations. This degrades LLM capabilities by promoting hallucinations, weakening long-range and retrieval abilities, and reducing robustness. Recent work has shown that differential design can mitigate this issue in Transformers, improving their effectiveness across various applications. In this paper, we explore whether these techniques, originally developed for Transformers, can be applied to Mamba, a recent architecture based on selective state-space layers that achieves Transformer-level performance with greater efficiency. We show that a naive adaptation of differential design to Mamba is insufficient and requires careful architectural modifications. To address this, we introduce a novel differential mechanism for Mamba, empirically validated on language modeling benchmarks, demonstrating improved retrieval capabilities and superior performance over vanilla Mamba. Finally, we conduct extensive ablation studies and empirical analyses to justify our design choices and provide evidence that our approach effectively mitigates the overallocation problem in Mamba-based models. Our code is publicly available: https://github.com/NadavSc/Diff-Mamba

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Core SSM architectures for language, one of 10 directions in State-space sequence models (S4, Mamba). Builds on 43 of its 52 references that are in the map. First posted on arXiv 8 Jul 2025.

Builds on

43 of 52 references.

Closest ancestors · 15

Same direction, newest first

  1. 2025Overflow Prevention Enhances Long-Context Recurrent LLMs12 May
  2. 2025M1: Towards Scalable Test-Time Compute with Mamba Reasoning Models14 Apr
  3. 2025Thinking Slow, Fast: Scaling Inference Compute with Distilled Reasoners27 Feb
  4. 2024Falcon Mamba: The First Competitive Attention-free 7B Language Model7 Oct
  5. 2024DeciMamba: Exploring the Length Extrapolation Potential of Mamba20 Jun
  6. 2024An Empirical Study of Mamba-based Language Models12 Jun
  7. 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modeling11 Jun
  8. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality31 May
  9. 2024Jamba: A Hybrid Transformer-Mamba Language Model28 Mar
  10. 2024The Hidden Attention of Mamba Models3 Mar
  11. 2024MambaByte: Token-free Selective State Space Model24 Jan
  12. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spaces1 Dec
3 more
  1. 2023Structured State Space Models for In-Context Reinforcement Learning7 Mar
  2. 2022Simplified State Space Layers for Sequence Modeling9 Aug
  3. 2021Efficiently Modeling Long Sequences with Structured State Spaces31 Oct

Other references · 28

  1. 2017Attention Is All You Needcited by 59,932
  2. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  3. 2023GPT-4 Technical Reportcited by 18,132
  4. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
  5. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  6. 2018Group Normalizationcited by 1,514
  7. 2019Root Mean Square Layer Normalizationcited by 1,425
  8. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
  9. 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 607
  10. 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 579
  11. 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 495
  12. 2023Hyena Hierarchy: Towards Larger Convolutional Language Modelscited by 388
16 more
  1. 2019Lookahead Optimizer: k steps forward, 1 step backcited by 333
  2. 2022Long Range Language Modeling via Gated State Spacescited by 265
  3. 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Modelscited by 232
  4. 2024BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystackcited by 211
  5. 2024RedPajama: an Open Dataset for Training Large Language Modelscited by 178
  6. 2022It's Raw! Audio Generation with State-Space Modelscited by 171
  7. 2024Zamba: A Compact 7B SSM Hybrid Modelcited by 118
  8. 2023Selective Structured State-Spaces for Long-Form Video Understandingcited by 105
  9. 2024Hymba: A Hybrid-head Architecture for Small Language Modelscited by 95
  10. 2024Mechanistic Design and Scaling of Hybrid Architecturescited by 57
  11. 2025Forgetting Transformer: Softmax Attention with a Forget Gatecited by 50
  12. 2023Decision S4: Efficient Sequence-Based RL via State Spaces Layerscited by 26
  13. 2024Understanding the differences in Foundation Models: Attention, State Space Models, and Recurrent Neural Networkscited by 26
  14. 2023Diagonal State Space Augmented Transformers for Speech Recognitioncited by 25
  15. 2022Simplifying and Understanding State Space Models with Diagonal Linear RNNscited by 23
  16. 20232-D SSM: A General Spatial Layer for Visual Transformerscited by 18

Built on by

Cited by year

Citing papers per year: 2025: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025TransMamba: A Sequence-Level Hybrid Transformer-Mamba Language Model
  2. 2024A Survey of Mamba
  3. 2024Venturing into Uncharted Waters: The Navigation Compass from Transformer to Mamba
  4. 2024The Mamba in the Llama: Distilling and Accelerating Hybrid Models
  5. 2025Pimba: A Processing-in-Memory Acceleration for Post-Transformer Large Language Model Serving
  6. 2024Can Mamba Learn How to Learn? A Comparative Study on In-Context Learning Tasks
  7. 2025Achilles' Heel of Mamba: Essential difficulties of the Mamba architecture demonstrated by synthetic data
  8. 2025On the Expressivity of Selective State-Space Layers: A Multivariate Polynomial Approach