paper-with-me

홈 › Papers

MaTVLM: Hybrid Mamba-Transformer for Efficient Vision-Language Modeling

2025-03-17 · Yingyue Li, Bencheng Liao, Wenyu Liu, Xinggang Wang

With the advancement of RNN models with linear complexity, the quadratic complexity challenge of transformers has the potential to be overcome. Notably, the emerging Mamba-2 has demonstrated competitive performance, bridging the gap between RNN models and transformers. However, due to sequential processing and vanishing gradients, RNN models struggle to capture long-range dependencies, limiting contextual understanding. This results in slow convergence, high resource demands, and poor performance on downstream understanding and complex reasoning tasks. In this work, we present a hybrid model MaTVLM by substituting a portion of the transformer decoder layers in a pre-trained VLM with Mamba-2 layers. Leveraging the inherent relationship between attention and Mamba-2, we initialize Mamba-2 with corresponding attention weights to accelerate convergence. Subsequently, we employ a single-stage distillation process, using the pre-trained VLM as the teacher model to transfer knowledge to the MaTVLM, further enhancing convergence speed and performance. Furthermore, we investigate the impact of differential distillation loss within our training framework. We evaluate the MaTVLM on multiple benchmarks, demonstrating competitive performance against the teacher model and existing VLMs while surpassing both Mamba-based VLMs and models of comparable parameter scales. Remarkably, the MaTVLM achieves up to 3.6x faster inference than the teacher model while reducing GPU memory consumption by 27.5%, all without compromising performance. Code and models are released at http://github.com/hustvl/MaTVLM.

📄 PDF Abstract BibTeX arXiv:2503.13440

Code (1)

hustvl/MaTVLM 공식 구현 pytorch

Tasks

GPULanguage ModelingLanguage ModellingMamba

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음
SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…

Similar Papers 제목 키워드 기반

TimeViper: A Hybrid Mamba-Transformer Vision-Language Model for Efficient Long Video Understanding

2025-11-20 · Boshen Xu, Zihan Xiao, Jiaze Li, Jianzhong Ju 외 arxiv

We introduce TimeViper, a hybrid vision-language model designed to tackle challenges of long video understanding. Processing long videos demands both an efficient model architecture and an effective mechanism for handlin…

MambaVision: A Hybrid Mamba-Transformer Vision Backbone

2024-07-10 · CVPR 2025 1 · Ali Hatamizadeh, Jan Kautz

We propose a novel hybrid Mamba-Transformer backbone, MambaVision, specifically tailored for vision applications. Our core contribution includes redesigning the Mamba formulation to enhance its capability for efficient m…

Image ClassificationInstance SegmentationMambaobject-detection+2

MAP: Unleashing Hybrid Mamba-Transformer Vision Backbone's Potential with Masked Autoregressive Pretraining

2024-10-01 · CVPR 2025 1 · Yunze Liu, Li Yi

Mamba has achieved significant advantages in long-context modeling and autoregressive tasks, but its scalability with large parameters remains a major limitation in vision applications. pretraining is a widely used strat…

Mamba

Multimodal Mamba: Decoder-only Multimodal State Space Model via Quadratic to Linear Distillation

2025-02-18 · Bencheng Liao, Hongyuan Tao, Qian Zhang, Tianheng Cheng 외

Recent Multimodal Large Language Models (MLLMs) have achieved remarkable performance but face deployment challenges due to their quadratic computational complexity, growing Key-Value cache requirements, and reliance on s…

DecoderGPUMambaState Space Models

Falcon Mamba: The First Competitive Attention-free 7B Language Model

2024-10-07 · Jingwei Zuo, Maksim Velikanov, Dhia Eddine Rhaiem, Ilyas Chahed 외

In this technical report, we present Falcon Mamba 7B, a new base large language model based on the novel Mamba architecture. Falcon Mamba 7B is trained on 5.8 trillion tokens with carefully selected data mixtures. As a p…

Language ModelingLanguage ModellingLarge Language ModelMamba