TransMamba: A Sequence-Level Hybrid Transformer-Mamba Language Model
On the map: State-space sequence models (S4, Mamba) → Core SSM architectures for language
Abstract (arXiv)
Transformers are the cornerstone of modern large language models, but their quadratic computational complexity limits efficiency in long-sequence processing. Recent advancements in Mamba, a state space model (SSM) with linear complexity, offer promising efficiency gains but suffer from unstable contextual learning and multitask generalization. Some works conduct layer-level hybrid structures that combine Transformer and Mamba layers, aiming to make full use of both advantages. This paper proposes TransMamba, a novel sequence-level hybrid framework that unifies Transformer and Mamba through shared parameter matrices (QKV and CBx), and thus could dynamically switch between attention and SSM mechanisms at different token lengths and layers. We design the Memory Converter to bridge Transformer and Mamba by converting attention outputs into SSM-compatible states, ensuring seamless information flow at TransPoints where the transformation happens. The TransPoint scheduling is also thoroughly explored for balancing effectiveness and efficiency. We conducted extensive experiments demonstrating that TransMamba achieves superior training efficiency and performance compared to single and hybrid baselines, and validated the deeper consistency between Transformer and Mamba paradigms at sequence level, offering a scalable solution for next-generation language modeling. Code and data are available at https://github.com/Yixing-Li/TransMamba
Key facts. Cited by 7 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 33 of its 34 references that are in the map. First posted on arXiv 31 Mar 2025.
Builds on
33 of 34 references.
Closest ancestors · 7
Same direction, newest first
- 2024ReMamba: Equip Mamba with Effective Long-Sequence Modeling28 Aug
- 2024The Mamba in the Llama: Distilling and Accelerating Hybrid Models27 Aug
- 2024A Survey of Mamba2 Aug
- 2024An Empirical Study of Mamba-based Language Models12 Jun
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality31 May
- 2024Jamba: A Hybrid Transformer-Mamba Language Model28 Mar
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spaces1 Dec
Other references · 26
- 2017Attention Is All You Needcited by 60,361
- 2023GPT-4 Technical Reportcited by 18,396
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2023A Survey of Large Language Modelscited by 2,576
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
- 2020Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecastingcited by 2,169
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
14 more
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
- 2018CoQA: A Conversational Question Answering Challengecited by 683
- 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 379
- 2024Titans: Learning to Memorize at Test Timecited by 328
- 2024MambaVision: A Hybrid Mamba-Transformer Vision Backbonecited by 224
- 2024Demystify Mamba in Vision: A Linear Attention Perspectivecited by 102
- 2024A Survey on Visual Mambacited by 50
- 2024A Survey on Transformer Compressioncited by 46
- 2024Spatial-Mamba: Effective Visual State Space Models via Structure-aware State Fusioncited by 41
- 2025Vamba: Understanding Hour-Long Videos with Hybrid Mamba-Transformerscited by 36
- 2024Do Efficient Transformers Really Save Computation?cited by 20
- 2024SparX: A Sparse Cross-Layer Connection Mechanism for Hierarchical Vision Mamba and Transformer Networkscited by 14
- 2024DSDFormer: An Innovative Transformer-Mamba Framework for Robust High-Precision Driver Distraction Identificationcited by 1
Built on by
Citing papers per year: 2026: 7.
7 papers.
- 2026Neural Attention Search Linear: Towards Adaptive Token-Level Hybrid Attention Modelscited by 3
- 2026Effective Distillation to Hybrid xLSTM Architecturescited by 3
- 2026Modern Transformers Are Implicit Hybrids: From Functional Differentiation to Principled Hybrid Architecture Designcited by 3
- 2026Tydra: An Efficient Hybrid Model for Tabular Datacited by 1
- 2026LoGo: Token-Level Dynamic Local-Global Attentioncited by 1
- 2026Rhamba: Region-Aware Hybrid Attention-Mamba Framework for Self-Supervised Learning in Resting-State fMRIcited by 0
- 2026Black-Mamba: Biologically-Inspired Leaky Accumulation for Conceptual Knowledge under Distribution Driftcited by 0
- 2026Modern Transformers Are Implicit Hybrids: From Functional Differentiation to Principled Hybrid Architecture Design2 Sep 2026
- 2026LoGo: Token-Level Dynamic Local-Global Attention30 Aug 2026
- 2026Tydra: An Efficient Hybrid Model for Tabular Data21 Aug 2026
- 2026Black-Mamba: Biologically-Inspired Leaky Accumulation for Conceptual Knowledge under Distribution Drift21 Jul 2026
- 2026Rhamba: Region-Aware Hybrid Attention-Mamba Framework for Self-Supervised Learning in Resting-State fMRI2 May 2026
- 2026Effective Distillation to Hybrid xLSTM Architectures16 Mar 2026
- 2026Neural Attention Search Linear: Towards Adaptive Token-Level Hybrid Attention Models3 Feb 2026
Similar, not cited
Close in wording, no citation either way
- 2025Differential Mamba
- 2025TransMamba: Fast Universal Architecture Adaption from Transformers to Mamba
- 2024Can Mamba Learn How to Learn? A Comparative Study on In-Context Learning Tasks
- 2025Pimba: A Processing-in-Memory Acceleration for Post-Transformer Large Language Model Serving
- 2025Understanding and Enhancing Mamba-Transformer Hybrids for Memory Recall and Language Modeling
- 2024Zamba: A Compact 7B SSM Hybrid Model
- 2024Venturing into Uncharted Waters: The Navigation Compass from Transformer to Mamba
- 2025MaTVLM: Hybrid Mamba-Transformer for Efficient Vision-Language Modeling