arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.15841cs.CV
收藏

SlowFast-LLaVA:一种用于视频大语言模型的强效免训练基线

SlowFast-LLaVA: A Strong Training-Free Baseline for Video Large Language Models

Apple(苹果公司)

Mingze Xu, Mingfei Gao, Zhe Gan, Hong-You Chen, Zhengfeng Lai, Haiming Gang, Kai Kang, Afshin Dehghan

AI总结:

本研究提出免训练视频大语言模型SlowFast-LLaVA,通过双流快慢通路设计兼顾空间细节与时序运动特征,在不超token预算的前提下,在多项视频任务上优于现有免训练方法,部分性能比肩微调的SOTA模型。

摘要:

我们提出了SlowFast-LLaVA(简称SF-LLaVA),这是一种免训练的视频大语言模型(LLM),能够在不超出常用大语言模型token预算的前提下,同时捕捉精细的空间语义和长距离时序上下文。这一效果通过为视频大语言模型采用双流SlowFast输入设计、以有效方式聚合采样帧的特征来实现。具体而言,Slow(慢)通路以低帧率提取特征,同时尽可能保留空间细节(例如使用12×24个token);Fast(快)通路以高帧率运行,但采用更大的空间池化步长(例如下采样6倍),聚焦于运动线索。因此,这种设计使我们能够充分捕获对精细视频理解有益的空间和时序特征。实验结果表明,SF-LLaVA在广泛的视频任务上优于现有的免训练方法。在部分基准测试中,其性能与在视频数据集上微调的最先进视频大语言模型相当,甚至更优。代码已发布于:https://github.com/apple/ml-slowfast-llava。

英文摘要:

We propose SlowFast-LLaVA (or SF-LLaVA for short), a training-free video large language model (LLM) that can jointly capture detailed spatial semantics and long-range temporal context without exceeding the token budget of commonly used LLMs. This is realized by using a two-stream SlowFast design of inputs for Video LLMs to aggregate features from sampled frames in an effective way. Specifically, the Slow pathway extracts features at a low frame rate while keeping as much spatial detail as possible (e.g., with 12x24 tokens), and the Fast pathway operates on a high frame rate but uses a larger spatial pooling stride (e.g., downsampling 6x) to focus on the motion cues. As a result, this design allows us to adequately capture both spatial and temporal features that are beneficial for detailed video understanding. Experimental results show that SF-LLaVA outperforms existing training-free methods on a wide range of video tasks. On some benchmarks, it achieves comparable or even better performance compared to state-of-the-art Video LLMs that are fine-tuned on video datasets. Code has been made available at: https://github.com/apple/ml-slowfast-llava.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑