Cobra: Extending Mamba to Multi-Modal Large Language Model for Efficient Inference
Han Zhao, Min Zhang, Wei Zhao, Pengxiang Ding, Siteng Huang, Donglin Wang
摘要
In recent years, applying multi-modal large language models (MLLMs) in various fields has achieved remarkable success. However, as the foundation model for many downstream tasks, MLLMs comprise the well-known Transformer network, which has a less efficient quadratic computation complexity. In this study, we introduce Cobra, a multi-modal large-scale language model built upon a state-space model, which has demonstrated significant potential in efficiently handling long sequences with fast inference and linear scalability concerning sequence length. Specifically, Cobra involves replacing Transformer-based backbone models (e.g., LLaMA or Phi) with pre-trained Mamba language models. We then empirically explore effective strategies for aligning visual and textual modalities and integrating various pre-trained Mamba model variants with visual encoders. Experiments across various multi-modal benchmarks demonstrate that: (i) Cobra performs 3× ∼ 4× faster than the most computationally efficient state-of-the-art methods, e.g., LLaVA-Phi and MobileVLM v2. Additionally, its performance is significantly enhanced thanks to the implementation of linear sequential modeling. (ii) Cobra fine-tunes a small parameter (∼48% of model parameters), leading to a significant improvement in overall performance compared to LLaVA.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 36 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- InstructBLIP: Towards General-purpose Vision-Language Models with Instruction Tuning 引用了 Flamingo: a Visual Language Model for Few-Shot Learning
- InstructBLIP: Towards General-purpose Vision-Language Models with Instruction Tuning 引用了 MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language Models
- Visual Instruction Tuning 引用了 Flamingo: a Visual Language Model for Few-Shot Learning
- Meteor: Mamba-based Traversal of Rationale for Large Language and Vision Models 引用了 InstructBLIP: Towards General-purpose Vision-Language Models with Instruction Tuning
- Meteor: Mamba-based Traversal of Rationale for Large Language and Vision Models 引用了 Visual Instruction Tuning
- Meteor: Mamba-based Traversal of Rationale for Large Language and Vision Models 引用了 MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language Models
- RoboMamba: Efficient Vision-Language-Action Model for Robotic Reasoning and Manipulation 引用了 InstructBLIP: Towards General-purpose Vision-Language Models with Instruction Tuning
- RoboMamba: Efficient Vision-Language-Action Model for Robotic Reasoning and Manipulation 引用了 Visual Instruction Tuning
- RoboMamba: Efficient Vision-Language-Action Model for Robotic Reasoning and Manipulation 引用了 Flamingo: a Visual Language Model for Few-Shot Learning
- SSR: Enhancing Depth Perception in Vision-Language Models via Rationale-Guided Spatial Reasoning 引用了 Visual Instruction Tuning
- SSR: Enhancing Depth Perception in Vision-Language Models via Rationale-Guided Spatial Reasoning 引用了 Meteor: Mamba-based Traversal of Rationale for Large Language and Vision Models
- SSR: Enhancing Depth Perception in Vision-Language Models via Rationale-Guided Spatial Reasoning 引用了 Flamingo: a Visual Language Model for Few-Shot Learning
- SSR: Enhancing Depth Perception in Vision-Language Models via Rationale-Guided Spatial Reasoning 引用了 MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language Models
- MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language Models 引用了 Flamingo: a Visual Language Model for Few-Shot Learning
引用它的顶会 Paper36
- MambaAD: Exploring State Space Models for Multi-class Unsupervised Anomaly DetectionHaoyang He, Yuhu Bai, Jiangning Zhang, Qingdong He 等NeurIPS 2024 · 251 次引用
- RoboMamba: Efficient Vision-Language-Action Model for Robotic Reasoning and ManipulationJiaming Liu, Mengzhen Liu, Zhenyu Wang, Pengju An 等NeurIPS 2024 · 154 次引用
- Hybrid Mamba for Few-Shot SegmentationQianxiong Xu, Xuanyi Liu, Lanyun Zhu, Guosheng Lin 等NeurIPS 2024 · 49 次引用
- SSR: Enhancing Depth Perception in Vision-Language Models via Rationale-Guided Spatial ReasoningYang Liu, Ming Ma, Xiaomin Yu, Pengxiang Ding 等NeurIPS 2025 · 46 次引用
- Meteor: Mamba-based Traversal of Rationale for Large Language and Vision ModelsByung-Kwan Lee, Chae Won Kim, Beomchan Park, Yong Man RoNeurIPS 2024 · 37 次引用
它引用的 Paper21
- Visual Instruction TuningHaotian Liu, Chunyuan Li, Qingyang Wu, Yong Jae LeeNeurIPS 2023 · 11,349 次引用
- Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning 等NeurIPS 2023 · 10,924 次引用
- Flamingo: a Visual Language Model for Few-Shot LearningJean-Baptiste Alayrac, Jeff Donahue, Pauline Luc, Antoine Miech 等NeurIPS 2022 · 6,707 次引用
- InstructBLIP: Towards General-purpose Vision-Language Models with Instruction TuningWenliang Dai, Junnan Li, Dongxu Li, Anthony Meng Huat Tiong 等NeurIPS 2023 · 4,013 次引用
- MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language ModelsDeyao Zhu, Jun Chen, Xiaoqian Shen, Xiang Li 等ICLR 2024 · 3,079 次引用
相关 Paper
- Shaking Up VLMs: Comparing Transformers and Structured State Space Models for Vision & Language ModelingGeorgios Pantazopoulos, Malvina Nikandrou, Alessandro Suglia, Oliver Lemon 等EMNLP 2024 · 3 次引用
- Query-based Cross-Modal Projector Bolstering Mamba Multimodal LLMSooHwan Eom, Jay Shim, Gwanhyeong Koo, Haebin Na 等EMNLP Findings 2024
- Visual Perception by Large Language Model's WeightsFeipeng Ma, Hongwei Xue, Yizhou Zhou, Guangting Wang 等NeurIPS 2024 · 24 次引用
- A Comprehensive Overhaul of Multimodal Assistant with Small Language ModelsMinjie Zhu, Yichen Zhu, Ning Liu, Xin Liu 等AAAI 2025 · 30 次引用
- EMMA: Empowering Multi-modal Mamba with Structural and Hierarchical AlignmentYifei Xing, Xiangyuan Lan, Ruiping Wang, Dongmei Jiang 等ICLR 2025
