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

面向长视频理解的线性缩放视频视觉语言模型

Linear Scaling Video VLMs for Long Video Understanding

Stanford University(斯坦福大学)

Cristobal Eyzaguirre, Jiajun Wu, Juan Carlos Niebles

AI总结:

提出StateKV方法,通过固定容量的重要性驱动循环状态实现线性时间视频预填充,在保持接近全自注意力性能的同时显著降低计算成本。

摘要:

视频视觉语言模型(VLM)越来越多地用于长时和流式场景,但大多数视频编码器仍依赖时空自注意力,导致计算和延迟随帧数二次增长。现有的效率方法提高了可扩展性,但相对于全自注意力往往损失准确性,例如通过激进的帧/令牌丢弃或粗略的注意力近似。我们引入了StateKV,一种推理时方法,通过将跨帧上下文携带在固定容量、基于重要性的循环状态中,并配以用于解码的第二个完整每帧缓存,使预训练的长视频VLM适应线性时间视频预填充。在三个长视频基准测试和跨越三个家族、多个尺度的七个模型上,StateKV保持接近全自注意力的性能,并持续优于主流的滑动窗口/基于最近性的流式近似,无需微调或架构更改。StateKV还降低了以FLOPs衡量的视频预填充成本,通过运行更大的模型在固定计算预算下实现更强的准确性。这些结果表明了向可扩展长视频理解迈出的实际一步。

英文摘要:

Video vision-language models (VLMs) are increasingly used in long-horizon and streaming settings, yet most video encoders still rely on spatiotemporal self-attention, causing compute and latency to grow quadratically with the number of frames. Existing efficiency methods improve scalability but often lose accuracy relative to full self-attention, for example through aggressive frame/token dropping or coarse attention approximations. We introduce StateKV, an inference-time method that adapts pretrained long-video VLMs to linear-time video prefill by carrying cross-frame context in a fixed-capacity, importance-based recurrent state, paired with a second full per-frame cache used for decoding. Across three long-video benchmarks and seven models spanning three families and multiple scales, StateKV remains close to full self-attention and consistently outperforms dominant sliding-window / recency-based streaming approximations, without fine-tuning or architectural changes. StateKV also reduces video-prefill cost measured FLOPs, enabling stronger accuracy at a fixed compute budget by running larger models. These results suggest a practical step toward scalable long-video understanding.

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

↑