无需图像编码器的视频理解模型,参数量减少6.5倍且速度更快。
Video-Panda: Parameter-efficient Alignment for Encoder-free Video-Language Models
- 用新型时空对齐模块直接处理视频,不依赖预训练编码器。
- 仅用4500万参数实现与主流模型相当的问答准确率。
- 适合追求高效推理的视频理解应用,尤其看重速度与资源限制场景。
我们提出一种高效的无编码器视频语言理解方法,在显著降低计算开销的同时达到有竞争力的性能。当前视频语言模型普遍依赖重型图像编码器(3亿至11亿参数)或视频编码器(10亿至14亿参数),在处理多帧视频时带来巨大计算负担。本文引入一种新颖的时空对齐块(STAB),可直接处理视频输入而无需预训练编码器,视觉处理仅需4500万参数,较传统方法至少降低6.5倍。STAB架构结合局部时空编码以提取细粒度特征,通过学习注意力实现高效空间下采样,并分别建模帧级与视频级关系。模型在标准基准上开放问题视频问答任务中表现媲美甚至超越基于编码器的方法。细粒度视频问答评估显示,本模型在正确性和时间理解方面优于Video-ChatGPT和Video-LLaVA。大量消融实验验证了架构设计的有效性,同时实现3至4倍于先前方法的处理速度提升。代码已公开于 https://jh-yi.github.io/Video-Panda。
原文摘要 · Abstract (English)
We present an efficient encoder-free approach for video-language understanding that achieves competitive performance while significantly reducing computational overhead. Current video-language models typically rely on heavyweight image encoders (300M-1.1B parameters) or video encoders (1B-1.4B parameters), creating a substantial computational burden when processing multi-frame videos. Our method introduces a novel Spatio-Temporal Alignment Block (STAB) that directly processes video inputs without requiring pre-trained encoders while using only 45M parameters for visual processing - at least a 6.5$\times$ reduction compared to traditional approaches. The STAB architecture combines Local Spatio-Temporal Encoding for fine-grained feature extraction, efficient spatial downsampling through learned attention and separate mechanisms for modeling frame-level and video-level relationships. Our model achieves comparable or superior performance to encoder-based approaches for open-ended video question answering on standard benchmarks. The fine-grained video question-answering evaluation demonstrates our model's effectiveness, outperforming the encoder-based approaches Video-ChatGPT and Video-LLaVA in key aspects like correctness and temporal understanding. Extensive ablation studies validate our architectural choices and demonstrate the effectiveness of our spatio-temporal modeling approach while achieving 3-4$\times$ faster processing speeds than previous methods. Code is available at https://jh-yi.github.io/Video-Panda.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。