通过提示引导减少视觉标记数,实现零训练视频大模型高效推理
Free Video-LLM: Prompt-guided Visual Perception for Efficient Training-free Video LLMs
- 根据任务提示分别采样帧和裁剪区域,解耦时空维度
- 在多个视频问答数据集上保持高精度,视觉标记数显著减少
- 适合资源受限场景下快速部署视频理解模型
视觉语言大模型在多模态任务中取得显著成功,但将其应用于视频理解仍面临固有的复杂性和计算需求挑战。基于训练的视频大模型性能优异,但需大量资源进行训练与推理;而零训练方法虽更高效,却因视频帧生成大量视觉标记导致推理效率瓶颈。本文提出一种新型提示引导视觉感知框架(Free Video-LLM),通过解耦时空维度,基于任务特定提示分别进行时间帧采样与空间感兴趣区域裁剪。该方法有效减少视觉标记数量,同时在多个视频问答基准上保持高表现力。大量实验表明,本方法在显著降低标记数的同时达到与前沿视频大模型相当的性能,实现了准确率与计算效率之间的最优平衡。
原文摘要 · Abstract (English)
Vision-language large models have achieved remarkable success in various multi-modal tasks, yet applying them to video understanding remains challenging due to the inherent complexity and computational demands of video data. While training-based video-LLMs deliver high performance, they often require substantial resources for training and inference. Conversely, training-free approaches offer a more efficient alternative by adapting pre-trained image-LLMs models for video tasks without additional training, but they face inference efficiency bottlenecks due to the large number of visual tokens generated from video frames. In this work, we present a novel prompt-guided visual perception framework (abbreviated as Free Video-LLM) for efficient inference of training-free video LLMs. The proposed framework decouples spatial-temporal dimension and performs temporal frame sampling and spatial RoI cropping respectively based on task-specific prompts. Our method effectively reduces the number of visual tokens while maintaining high performance across multiple video question-answering benchmarks. Extensive experiments demonstrate that our approach achieves competitive results with significantly fewer tokens, offering an optimal trade-off between accuracy and computational efficiency compared to state-of-the-art video LLMs. The code will be available at https://github.com/contrastive/FreeVideoLLM.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。