TransMamba: Fast Universal Architecture Adaption from Transformers to Mamba
On the map: State-space sequence models (S4, Mamba) → Core SSM architectures for language
Abstract (arXiv)
Transformer-based architectures have become the backbone of both uni-modal and multi-modal foundation models, largely due to their scalability via attention mechanisms, resulting in a rich ecosystem of publicly available pre-trained models such as LLaVA, CLIP, and DeiT, etc. In parallel, emerging sub-quadratic architectures like Mamba offer promising efficiency gains by enabling global context modeling with linear complexity. However, training these architectures from scratch remains resource-intensive (e.g., in terms of data and time). Motivated by this challenge, we explore a cross-architecture knowledge transfer paradigm, termed TransMamba, that facilitates the reuse of Transformer pre-trained knowledge. We propose a two-stage framework to accelerate the training of Mamba-based models, ensuring their effectiveness across both uni-modal and multi-modal tasks. The first stage leverages pre-trained Transformer models to initialize critical components of the Mamba architecture. To bridge architectural and dimensional gaps, we develop a selective weight subcloning strategy and a layered initialization scheme that prioritizes the early n layers. Building on this initialization, the second stage introduces an adaptive multi-directional knowledge distillation method. This mechanism employs layer-wise adaptive scaling factors to align Mamba representations with their Transformer counterparts, while accommodating the scanning order variations inherent to multi-modal Mamba architectures. Despite operating with a reduced training dataset and a more compact model architecture, TransMamba consistently outperforms baseline approaches across diverse mamba-based backbones (e.g., PlainMamba, Vmamba, ViM and VideoMamba) and downstream tasks (e.g., image classification, visual question answering, text-video retrieval and multimodal reasoning). All code and implementation details will be released.
Key facts. Cited by 6 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 77 of its 95 references that are in the map. First posted on arXiv 21 Feb 2025.
Builds on
77 of 95 references.
Closest ancestors · 8
Same direction, newest first
- 2024Falcon Mamba: The First Competitive Attention-free 7B Language Model7 Oct
- 2024The Mamba in the Llama: Distilling and Accelerating Hybrid Models27 Aug
- 2024Jamba-1.5: Hybrid Transformer-Mamba Models at Scale22 Aug
- 2024Transformers to SSMs: Distilling Quadratic Knowledge to Subquadratic Models19 Aug
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spaces1 Dec
- 2022Simplified State Space Layers for Sequence Modeling9 Aug
- 2022How to Train Your HiPPO: State Space Models with Generalized Orthogonal Basis Projections24 Jun
- 2021Efficiently Modeling Long Sequences with Structured State Spaces31 Oct
Other references · 69
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
- 2023Visual Instruction Tuningcited by 7,869
38 more
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2016Visual Genome: Connecting Language and Vision Using Crowdsourced Dense Image Annotationscited by 2,656
- 2016Making the V in VQA Matter: Elevating the Role of Image Understanding in Visual Question Answeringcited by 2,516
- 2023Qwen-VL: A Versatile Vision-Language Model for Understanding, Localization, Text Reading, and Beyondcited by 2,224
- 2023MMBench: Is Your Multi-modal Model an All-around Player?cited by 2,141
- 2023MMMU: A Massive Multi-discipline Multimodal Understanding and Reasoning Benchmark for Expert AGIcited by 2,080
- 2022Learn to Explain: Multimodal Reasoning via Thought Chains for Science Question Answeringcited by 1,919
- 2023Evaluating Object Hallucination in Large Vision-Language Modelscited by 1,729
- 2019Towards VQA Models That Can Readcited by 1,718
- 2023MME: A Comprehensive Evaluation Benchmark for Multimodal Large Language Modelscited by 1,652
- 2023MathVista: Evaluating Mathematical Reasoning of Foundation Models in Visual Contextscited by 1,614
- 2022ChartQA: A Benchmark for Question Answering about Charts with Visual and Logical Reasoningcited by 1,479
- 2016CLEVR: A Diagnostic Dataset for Compositional Language and Elementary Visual Reasoningcited by 1,457
- 2020DocVQA: A Dataset for VQA on Document Imagescited by 1,317
- 2019OK-VQA: A Visual Question Answering Benchmark Requiring External Knowledgecited by 1,121
- 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Modelcited by 1,056
- 2024VMamba: Visual State Space Modelcited by 969
- 2023SEED-Bench: Benchmarking Multimodal LLMs with Generative Comprehensioncited by 940
- 2023PixArt-α: Fast Training of Diffusion Transformer for Photorealistic Text-to-Image Synthesiscited by 864
- 2018VizWiz Grand Challenge: Answering Visual Questions from Blind Peoplecited by 858
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 827
- 2022A-OKVQA: A Benchmark for Visual Question Answering using World Knowledgecited by 710
- 2017Localizing Moments in Video with Natural Languagecited by 663
- 2021CoAtNet: Marrying Convolution and Attention for All Data Sizescited by 569
- 2019Object Detection in 20 Years: A Surveycited by 531
- 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 527
- 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 499
- 2024LLaVA-CoT: Let Vision Language Models Reason Step-by-Stepcited by 454
- 2022On the Parameterization and Initialization of Diagonal State Space Modelscited by 424
- 2024U-Mamba: Enhancing Long-range Dependency for Biomedical Image Segmentationcited by 419
- 2020TextCaps: a Dataset for Image Captioning with Reading Comprehensioncited by 400
- 2024VideoMamba: State Space Model for Efficient Video Understandingcited by 328
- 2022Long Range Language Modeling via Gated State Spacescited by 265
- 2021Scaling Local Self-Attention for Parameter Efficient Visual Backbonescited by 220
- 2024MambaOut: Do We Really Need Mamba for Vision?cited by 143
- 2024PlainMamba: Improving Non-Hierarchical Mamba in Visual Recognitioncited by 141
- 2024LLaVA-Phi: Efficient Multi-Modal Assistant with Small Language Modelcited by 129
- 2022CLEVR-Math: A Dataset for Compositional Language, Visual and Mathematical Reasoningcited by 120
50 most cited of 69 All 69 (JSON)
Built on by
Citing papers per year: 2025: 4; 2026: 2.
6 papers.
- 2025Comba: Improving Bilinear RNNs with Closed-loop Controlcited by 15
- 2025Data Efficient Any Transformer-to-Mamba Distillation via Attention Bridgecited by 4
- 2025HyMaTE: A Hybrid Mamba and Transformer Model for EHR Representation Learningcited by 3
- 2026Interpreting and Steering State-Space Models via Activation Subspace Bottleneckscited by 3
- 2026Latent Visual States for Efficient Multimodal Reasoningcited by 3
- 2025Thinking with Drafts: Speculative Temporal Reasoning for Efficient Long Video Understandingcited by 2
- 2026Latent Visual States for Efficient Multimodal Reasoning23 Jun 2026
- 2026Interpreting and Steering State-Space Models via Activation Subspace Bottlenecks26 Feb 2026
- 2025Thinking with Drafts: Speculative Temporal Reasoning for Efficient Long Video Understanding30 Nov 2025
- 2025Data Efficient Any Transformer-to-Mamba Distillation via Attention Bridge22 Oct 2025
- 2025HyMaTE: A Hybrid Mamba and Transformer Model for EHR Representation Learning28 Sep 2025
- 2025Comba: Improving Bilinear RNNs with Closed-loop Control3 Jun 2025
Similar, not cited
Close in wording, no citation either way
- 2025TransMamba: A Sequence-Level Hybrid Transformer-Mamba Language Model
- 2026Attention to Mamba: A Recipe for Cross-Architecture Distillation
- 2024A Survey of Mamba
- 2025Differential Mamba
- 2024An Empirical Study of Mamba-based Language Models
- 2025MaTVLM: Hybrid Mamba-Transformer for Efficient Vision-Language Modeling
- 2024Jamba: A Hybrid Transformer-Mamba Language Model
- 2026InfoMamba: An Attention-Free Hybrid Mamba-Transformer Model