[论文解读] Video Mamba Suite: State Space Model as a Versatile Alternative for Video Understanding
论文研究使用状态空间模型(SSMs),具体是 Mamba 及其变体,作为 Transformer 在广泛视频理解任务的可行替代方案,形成覆盖12个任务的14模型的视频 Mamba 套件。它展示了在时序、跨模态和时空视频建模中的竞争性能和良好效率。
Understanding videos is one of the fundamental directions in computer vision research, with extensive efforts dedicated to exploring various architectures such as RNN, 3D CNN, and Transformers. The newly proposed architecture of state space model, e.g., Mamba, shows promising traits to extend its success in long sequence modeling to video modeling. To assess whether Mamba can be a viable alternative to Transformers in the video understanding domain, in this work, we conduct a comprehensive set of studies, probing different roles Mamba can play in modeling videos, while investigating diverse tasks where Mamba could exhibit superiority. We categorize Mamba into four roles for modeling videos, deriving a Video Mamba Suite composed of 14 models/modules, and evaluating them on 12 video understanding tasks. Our extensive experiments reveal the strong potential of Mamba on both video-only and video-language tasks while showing promising efficiency-performance trade-offs. We hope this work could provide valuable data points and insights for future research on video understanding. Code is public: https://github.com/OpenGVLab/video-mamba-suite.
研究动机与目标
- 评估 Mamba 是否可以成为视频理解的 Transformer 的可行替代方案。
- 构建并评估一个 Video Mamba Suite,包含跨多个任务的 14 个基于 SSM 的模型。
- 将 Mamba 分析为四个角色:时序模型、时序模块、多模态交互网络,以及时空模型。
- 将 Mamba 变体与各种视频数据集上的 Transformer 基线进行比较,揭示优势与权衡。
提出的方法
- 描述状态空间模型(S4、Mamba)及通过零阶保持获得 Ā 和 B̄ 的离散化形式。
- 介绍四种基于 Mamba 的块变体(Mamba、ViM、DBM)及其在双向与单向扫描中的架构差异。
- 构建 Video Mamba Suite,覆盖 12 项任务中的 14 个模块,涉及时序定位、分割、字幕生成、动作预测以及跨模态视频定位。
- 在强基线中用 Mamba 块替换 Transformer 块,形成具有竞争力的基于 Mamba 的模型,便于公平比较。
- 在13个主要数据集上评估,并报告如 mAP、准确率、BLEU/METEOR/CIDEr/SODA,以及检索指标等。
- 通过与 Flash-attention 的推理速度比较以及帧长度缩放来分析效率。

实验结果
研究问题
- RQ1Mamba 基于的 SSM 是否能够在多样化视频理解任务中达到与 Transformer 竞争的性能?
- RQ2哪些角色(时序建模、时序模块、多模态交互、时空建模)在视频任务中最能发挥 Mamba 的作用?
- RQ3Mamba 变体在处理长视频序列时是否提供有利的效率-性能权衡?
- RQ4基于 Mamba 的跨模态模型在时序定位和多模态任务中的表现如何,与基线的 Transformer 相比?
- RQ5双向扫描与单向扫描以及分解块设计对性能有何影响?
主要发现
- 基于 Mamba 的模型在视频 Mamba Suite 下的时序动作定位和分割任务中常常超越 Transformer 基线。
- 采用 DBM 块的 ActionMamba 在 HACS Segment 的平均 mAP(44.56)高于 Transformer 对应(43.34)。
- 在密集视频字幕生成中,我们的 DBM 相对于基线在 ActivityNet 和 YouCook2 上提升 METEOR 与 CIDEr。
- 采用 DBM 的跨模态 UniVTG 在 QvHighlight 和 Charade-STA 数据集上比 Transformer 的 UniVTG 拿到更高的平均 mAP。
- TimeMamba 在未监督学习下的跨实例检索和动作识别上一般超越 TimeSformer,前提是在 Ego4D 预训练下应用于 Epic-Kitchens-100。
- 基于 ViViM 的时空建模在零-shot 检索方面相比 ViT 变体显示出强劲提升,表明其对长序列视频任务有效。
![Figure 2 : Illustration of three SSMs blocks. (a) is the vanilla Mamba block [ 30 ] . (b) is the ViM block [ 96 ] . (c) is our proposed DBM block, which separates the input projector and shares the parameters of SSM in both scanning directions.](https://ar5iv.labs.arxiv.org/html/2403.09626/assets/x2.png)
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。