arXiv:2602.15318cs.CVcs.AI2026-02ACL被引 4

让视频大模型推理快2.8倍,还能保持准确

Sparrow: Text-Anchored Window Attention with Visual-Semantic Glimpsing for Speculative Decoding in Video LLMs

  • 用文本锚定窗口注意力,把视觉计算全交给目标模型
  • 在25000个视觉帧下仍保持2.82倍加速且不丢精度
  • 适合需要实时处理长视频的场景,如直播分析

尽管推测解码广泛用于加速视觉语言模型(VLM)推理,但应用于视频大语言模型(Vid-LLMs)时会面临严重性能下降。原因在于草稿模型因键值缓存爆炸和上下文窗口不匹配导致注意力稀释与负向视觉增益。我们观察到Vid-LLMs中存在视觉语义内化现象:关键视觉语义在深层交互中被隐式编码进文本隐藏状态,使深层推理时原始视觉输入变得结构冗余。为此,我们提出Sparrow框架,通过利用感知视觉的文本锚定窗口注意力并复用隐藏状态,将视觉计算完全卸载至目标模型;同时采用中间层视觉状态桥接,以富含语义的中间状态训练草稿模型,过滤低层视觉噪声。此外,引入多标记预测策略缓解训练-推理分布偏移。实验表明,Sparrow在25,000个视觉令牌下仍实现平均2.82倍加速,有效解决长序列中的性能退化问题,为实时长视频任务提供可行方案。

原文摘要 · Abstract (English)

Although speculative decoding is widely used to accelerate Vision-Language Models (VLMs) inference, it faces severe performance collapse when applied to Video Large Language Models (Vid-LLMs). The draft model typically falls into the trap of attention dilution and negative visual gain due to key-value cache explosion and context window mismatches. We observe a visual semantic internalization phenomenon in Vid-LLMs, indicating that critical visual semantics are implicitly encoded into text hidden states during deep-layer interactions, which renders raw visual inputs structurally redundant during deep inference. To address this, we propose the Sparrow framework, which first utilizes visually-aware text-anchored window attention via hidden state reuse to fully offload visual computation to the target model, and leverages intermediate-layer visual state bridging to train the draft model with semantic-rich intermediate states, thereby filtering out low-level visual noise. Additionally, a multi-token prediction strategy is introduced to bridge the training-inference distribution shift. Experiments show that Sparrow achieves an average speedup of 2.82x even with 25k visual tokens, effectively resolving the performance degradation in long sequences and offering a practical solution for real-time long video tasks.

视频生成推理加速视觉语言模型

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。