mlsanityData to 14 Oct 2026

TransMamba: Fast Universal Architecture Adaption from Transformers to Mamba

arXiv 2502.15130 ↗First posted 21 Feb 2025cs.CVcited by 6

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

  1. 2024Falcon Mamba: The First Competitive Attention-free 7B Language Model7 Oct
  2. 2024The Mamba in the Llama: Distilling and Accelerating Hybrid Models27 Aug
  3. 2024Jamba-1.5: Hybrid Transformer-Mamba Models at Scale22 Aug
  4. 2024Transformers to SSMs: Distilling Quadratic Knowledge to Subquadratic Models19 Aug
  5. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spaces1 Dec
  6. 2022Simplified State Space Layers for Sequence Modeling9 Aug
  7. 2022How to Train Your HiPPO: State Space Models with Generalized Orthogonal Basis Projections24 Jun
  8. 2021Efficiently Modeling Long Sequences with Structured State Spaces31 Oct

Other references · 69

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  4. 2020Language Models are Few-Shot Learnerscited by 32,419
  5. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  6. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  7. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
  8. 2024The Llama 3 Herd of Modelscited by 14,715
  9. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  10. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  11. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  12. 2023Visual Instruction Tuningcited by 7,869
38 more
  1. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  2. 2016Visual Genome: Connecting Language and Vision Using Crowdsourced Dense Image Annotationscited by 2,656
  3. 2016Making the V in VQA Matter: Elevating the Role of Image Understanding in Visual Question Answeringcited by 2,516
  4. 2023Qwen-VL: A Versatile Vision-Language Model for Understanding, Localization, Text Reading, and Beyondcited by 2,224
  5. 2023MMBench: Is Your Multi-modal Model an All-around Player?cited by 2,141
  6. 2023MMMU: A Massive Multi-discipline Multimodal Understanding and Reasoning Benchmark for Expert AGIcited by 2,080
  7. 2022Learn to Explain: Multimodal Reasoning via Thought Chains for Science Question Answeringcited by 1,919
  8. 2023Evaluating Object Hallucination in Large Vision-Language Modelscited by 1,729
  9. 2019Towards VQA Models That Can Readcited by 1,718
  10. 2023MME: A Comprehensive Evaluation Benchmark for Multimodal Large Language Modelscited by 1,652
  11. 2023MathVista: Evaluating Mathematical Reasoning of Foundation Models in Visual Contextscited by 1,614
  12. 2022ChartQA: A Benchmark for Question Answering about Charts with Visual and Logical Reasoningcited by 1,479
  13. 2016CLEVR: A Diagnostic Dataset for Compositional Language and Elementary Visual Reasoningcited by 1,457
  14. 2020DocVQA: A Dataset for VQA on Document Imagescited by 1,317
  15. 2019OK-VQA: A Visual Question Answering Benchmark Requiring External Knowledgecited by 1,121
  16. 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Modelcited by 1,056
  17. 2024VMamba: Visual State Space Modelcited by 969
  18. 2023SEED-Bench: Benchmarking Multimodal LLMs with Generative Comprehensioncited by 940
  19. 2023PixArt-α: Fast Training of Diffusion Transformer for Photorealistic Text-to-Image Synthesiscited by 864
  20. 2018VizWiz Grand Challenge: Answering Visual Questions from Blind Peoplecited by 858
  21. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 827
  22. 2022A-OKVQA: A Benchmark for Visual Question Answering using World Knowledgecited by 710
  23. 2017Localizing Moments in Video with Natural Languagecited by 663
  24. 2021CoAtNet: Marrying Convolution and Attention for All Data Sizescited by 569
  25. 2019Object Detection in 20 Years: A Surveycited by 531
  26. 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 527
  27. 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 499
  28. 2024LLaVA-CoT: Let Vision Language Models Reason Step-by-Stepcited by 454
  29. 2022On the Parameterization and Initialization of Diagonal State Space Modelscited by 424
  30. 2024U-Mamba: Enhancing Long-range Dependency for Biomedical Image Segmentationcited by 419
  31. 2020TextCaps: a Dataset for Image Captioning with Reading Comprehensioncited by 400
  32. 2024VideoMamba: State Space Model for Efficient Video Understandingcited by 328
  33. 2022Long Range Language Modeling via Gated State Spacescited by 265
  34. 2021Scaling Local Self-Attention for Parameter Efficient Visual Backbonescited by 220
  35. 2024MambaOut: Do We Really Need Mamba for Vision?cited by 143
  36. 2024PlainMamba: Improving Non-Hierarchical Mamba in Visual Recognitioncited by 141
  37. 2024LLaVA-Phi: Efficient Multi-Modal Assistant with Small Language Modelcited by 129
  38. 2022CLEVR-Math: A Dataset for Compositional Language, Visual and Mathematical Reasoningcited by 120

50 most cited of 69 All 69 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 4; 2026: 2.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025TransMamba: A Sequence-Level Hybrid Transformer-Mamba Language Model
  2. 2026Attention to Mamba: A Recipe for Cross-Architecture Distillation
  3. 2024A Survey of Mamba
  4. 2025Differential Mamba
  5. 2024An Empirical Study of Mamba-based Language Models
  6. 2025MaTVLM: Hybrid Mamba-Transformer for Efficient Vision-Language Modeling
  7. 2024Jamba: A Hybrid Transformer-Mamba Language Model
  8. 2026InfoMamba: An Attention-Free Hybrid Mamba-Transformer Model