不用训练,用缩略图+采样法让图像大模型读懂视频
TS-LLaVA: Constructing Visual Tokens through Thumbnail-and-Sampling for Training-Free Video Large Language Models
- 用等距采帧生成缩略图,辅以全帧采样构建视觉标记
- 34B模型在MVBench上超越GPT-4V,MLVU接近72B训练模型
- 适合想快速部署视频理解能力的研究者和开发者
近期多模态大语言模型在理解多模态内容方面取得显著进展。由于高质量视频-文本配对数据稀缺,基于训练的视频大模型难以构建。相比之下,图像-文本数据易获取,且图像与视频具有较高相似性,因此扩展图像大模型用于视频理解成为可行替代方案。有效压缩多帧视觉标记是利用预训练图像大模型的关键。本文研究现有压缩策略的局限性,提出新方法TS-LLaVA,通过缩略图与采样结合构造视觉标记:从视频中选取等距帧生成一张缩略图作为细节线索,并补充所有帧的采样视觉标记。该方法在多个基准测试中达到训练自由视频大模型的新最佳性能,其34B模型在MVBench上优于GPT-4V,MLVU表现接近72B训练模型Video-LLaMA2。代码已开源。
原文摘要 · Abstract (English)
Recent advances in multimodal Large Language Models (LLMs) have shown great success in understanding multi-modal contents. For video understanding tasks, training-based video LLMs are difficult to build due to the scarcity of high-quality, curated video-text paired data. In contrast, paired image-text data are much easier to obtain, and there is substantial similarity between images and videos. Consequently, extending image LLMs for video understanding tasks presents an appealing alternative. Developing effective strategies for compressing visual tokens from multiple frames is a promising way to leverage the powerful pre-trained image LLM. In this work, we explore the limitations of the existing compression strategies for building a training-free video LLM. The findings lead to our method TS-LLaVA, which constructs visual tokens through a Thumbnail-and-Sampling strategy. Given a video, we select few equidistant frames from all input frames to construct a Thumbnail image as a detailed visual cue, complemented by Sampled visual tokens from all input frames. Our method establishes the new state-of-the-art performance among training-free video LLMs on various benchmarks. Notably, our 34B model outperforms GPT-4V on the MVBench benchmark, and achieves performance comparable to the 72B training-based video LLM, Video-LLaMA2, on the challenging MLVU benchmark. Code is available at https://github.com/tingyu215/TS-LLaVA.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。