Differential Mamba
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
- 2025Overflow Prevention Enhances Long-Context Recurrent LLMs12 May
- 2025M1: Towards Scalable Test-Time Compute with Mamba Reasoning Models14 Apr
- 2025Thinking Slow, Fast: Scaling Inference Compute with Distilled Reasoners27 Feb
- 2024Falcon Mamba: The First Competitive Attention-free 7B Language Model7 Oct
- 2024DeciMamba: Exploring the Length Extrapolation Potential of Mamba20 Jun
- 2024An Empirical Study of Mamba-based Language Models12 Jun
- 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modeling11 Jun
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality31 May
- 2024Jamba: A Hybrid Transformer-Mamba Language Model28 Mar
- 2024The Hidden Attention of Mamba Models3 Mar
- 2024MambaByte: Token-free Selective State Space Model24 Jan
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spaces1 Dec
3 more
Other references · 28
- 2017Attention Is All You Needcited by 59,932
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2023GPT-4 Technical Reportcited by 18,132
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2018Group Normalizationcited by 1,514
- 2019Root Mean Square Layer Normalizationcited by 1,425
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
- 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 607
- 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 579
- 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 495
- 2023Hyena Hierarchy: Towards Larger Convolutional Language Modelscited by 388
16 more
- 2019Lookahead Optimizer: k steps forward, 1 step backcited by 333
- 2022Long Range Language Modeling via Gated State Spacescited by 265
- 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Modelscited by 232
- 2024BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystackcited by 211
- 2024RedPajama: an Open Dataset for Training Large Language Modelscited by 178
- 2022It's Raw! Audio Generation with State-Space Modelscited by 171
- 2024Zamba: A Compact 7B SSM Hybrid Modelcited by 118
- 2023Selective Structured State-Spaces for Long-Form Video Understandingcited by 105
- 2024Hymba: A Hybrid-head Architecture for Small Language Modelscited by 95
- 2024Mechanistic Design and Scaling of Hybrid Architecturescited by 57
- 2025Forgetting Transformer: Softmax Attention with a Forget Gatecited by 50
- 2023Decision S4: Efficient Sequence-Based RL via State Spaces Layerscited by 26
- 2024Understanding the differences in Foundation Models: Attention, State Space Models, and Recurrent Neural Networkscited by 26
- 2023Diagonal State Space Augmented Transformers for Speech Recognitioncited by 25
- 2022Simplifying and Understanding State Space Models with Diagonal Linear RNNscited by 23
- 20232-D SSM: A General Spatial Layer for Visual Transformerscited by 18
Built on by
Citing papers per year: 2025: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2025TransMamba: A Sequence-Level Hybrid Transformer-Mamba Language Model
- 2024A Survey of Mamba
- 2024Venturing into Uncharted Waters: The Navigation Compass from Transformer to Mamba
- 2024The Mamba in the Llama: Distilling and Accelerating Hybrid Models
- 2025Pimba: A Processing-in-Memory Acceleration for Post-Transformer Large Language Model Serving
- 2024Can Mamba Learn How to Learn? A Comparative Study on In-Context Learning Tasks
- 2025Achilles' Heel of Mamba: Essential difficulties of the Mamba architecture demonstrated by synthetic data
- 2025On the Expressivity of Selective State-Space Layers: A Multivariate Polynomial Approach