Skip to main content
QUICK REVIEW

[论文解读] VL-Mamba: Exploring State Space Models for Multimodal Learning

Yanyuan Qiao, Zheng Yu|arXiv (Cornell University)|Mar 20, 2024
Speech and dialogue systems被引用 10
一句话总结

VL-Mamba 引入一个基于状态空间模型的多模态大语言模型,使用 Vision Selective Scan 基的多模态连接器,在八个基准上实现具竞争力的结果。

ABSTRACT

Multimodal large language models (MLLMs) have attracted widespread interest and have rich applications. However, the inherent attention mechanism in its Transformer structure requires quadratic complexity and results in expensive computational overhead. Therefore, in this work, we propose VL-Mamba, a multimodal large language model based on state space models, which have been shown to have great potential for long-sequence modeling with fast inference and linear scaling in sequence length. Specifically, we first replace the transformer-based backbone language model such as LLama or Vicuna with the pre-trained Mamba language model. Then, we empirically explore how to effectively apply the 2D vision selective scan mechanism for multimodal learning and the combinations of different vision encoders and variants of pretrained Mamba language models. The extensive experiments on diverse multimodal benchmarks with competitive performance show the effectiveness of our proposed VL-Mamba and demonstrate the great potential of applying state space models for multimodal learning tasks.

研究动机与目标

  • 动机:提出在多模态学习中使用状态空间模型(SSMs),以解决 Transformer 规模计算的问题。
  • 提出 VL-Mamba,通过用 Mamba LLM 替代基于 Transformer 的骨干网络,并新增基于二维视觉选择性扫描的 MMC。
  • 研究不同视觉编码器、LLM 变体和 MMC 架构如何影响多模态性能。
  • 在标准多模态基准上展示具竞争力的结果,并提供消融研究以理解各组成部分的贡献。

提出的方法

  • 使用预训练的 Mamba LLM 作为骨干语言模型,替代基于 Transformer 的 LLM。
  • 将 Vision Transformer 作为视觉编码器以提取图像补丁特征。
  • 引入 MultiModal Connector (MMC) 及 Vision Selective Scan (VSS),将二维视觉数据与一维序列建模桥接。
  • 探索两种二维扫描机制(双向扫描 Bidirectional-Scan 和交叉扫描 Cross-Scan)以高效捕获视觉上下文。
  • 通过广泛的消融,评估三种 MMC 变体(MLP、VSS-MLP、VSS-L2)以及两种视觉编码器(CLIP-ViT-L 和 SigLIP-SO)。
  • 在八个多模态基准上进行实验,将 VL-Mamba 与最先进的 MLLMs 进行比较。

实验结果

研究问题

  • RQ1用 Mamba LLM 替代 Transformer 骨干网络是否可以提升多模态任务的效率和扩展性?
  • RQ2基于 2D Vision Selective Scan 的 MMC 在将非因果视觉数据与因果状态空间建模桥接方面有多有效?
  • RQ3不同视觉编码器、MMC 架构和扫描机制对多模态基准的影响是什么?
  • RQ4VL-Mamba 能否在参数量较少、预训练数据更少的情况下实现与一些大型 MLLMs 相竞争的性能?

主要发现

方法LLMPTITVQAv2GQASQA IVQATPOPEMMEMMBenchMMVet
BLIP-2Vicuna-13B129M-41.041.061.042.585.31293.822.4
MiniGPT-4Vicuna-7B5M5K-32.2---581.723.0-
InstructBLIPVicuna-7B129M1.2M-49.260.550.1--3626.2
InstructBLIPVicuna-13B129M1.2M-49.563.150.778.91212.8-25.6
ShikraVicuna-13B600K5.5M77.4-----58.8-
OtterLLaMA-7B-------1292.348.324.6
mPLUG-OwlLLaMA-7B2.1M102K-----967.349.4-
IDEFICS-9BLLaMA-7B353M1M50.938.4-25.9--48.2-
IDEFICS-80BLLaMA-65B353M1M60.045.2-30.9--54.5-
Qwen-VLQwen-7B1.4B50M78.859.367.163.8--38.2-
Qwen-VL-ChatQwen-7B1.4B50M78.257.568.261.5-1487.560.6-
LLaVA-1.5Vicuna-7B558K665K78.562.066.858.285.91510.764.330.5
LLaVA-1.5Vicuna-13B558K665K80.063.371.661.385.91531.367.735.4
LLaVA-PhiPhi-2-2.7B558K665K71.4-68.448.685.01335.159.828.9
MobileVLM-3BMobileLLaMA-2.7B558K665K-59.061.247.584.91288.959.6-
VL-MambaMamba LLM-2.8B558K665K76.656.265.448.984.41369.657.032.6
  • VL-Mamba 在同等规模的其他小型 MLLMs 上实现具竞争力的性能,在部分基准上甚至超越一些更大规模的模型。
  • 以 SigLIP-SO 作为视觉编码器、Mamba-2.8B-Slimpj LLM 的 VL-Mamba 变体在消融实验中显示出强的整体性能。
  • VSS-L2 MMC 架构和 Bidirectional Scan(BSM)在所有基准测试中通常能获得较强的结果。
  • VL-Mamba 展示了将状态空间模型应用于多模态学习任务的可行性并获得具竞争力的结果。
  • 消融研究表明,语言模型变体、视觉编码器、MMC 设计和扫描机制都对性能产生显著影响。

更好的研究,从现在开始

从论文设计到论文写作,大幅缩短您的研究时间。

无需绑定信用卡

本解读由 AI 生成,并经人工编辑审核。