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

见林木而非树木:通过视觉-语义引导实现松散推测解码以提高视频大语言模型的推理效率

See the Forest for the Trees: Loosely Speculative Decoding via Visual-Semantic Guidance for Efficient Inference of Video LLMs

ZJU(浙江大学);BUPT(北京邮电大学)

Yicheng Ji, Jun Zhang, Jinpeng Chen, Cong Wang, Lidan Shou, Gang Chen, Huan Li

AI总结:

本文提出LVSpec,一种无需训练的松散推测解码框架,通过视觉相关锚点识别和位置移位容忍机制,提升视频大语言模型的推理速度和精度。

摘要:

视频大语言模型(Video-LLMs)在视频理解方面表现出色,但在自回归生成过程中存在高推理延迟的问题。推测解码(SD)通过采用草稿-验证范式来缓解这一问题,但现有方法受限于严格的精确匹配规则,严重限制了加速潜力。为弥合这一差距,我们提出了LVSpec,这是首个无需训练的松散SD框架,专门针对视频大语言模型。基于生成过程由稀疏的视觉相关锚点(要求严格)和大量视觉无关填充符(允许松散验证)的洞察,LVSpec采用轻量的视觉相关令牌识别方案来准确识别前者。为进一步最大化接受度,我们还加入了位置移位容忍机制,有效挽救位置不匹配但语义等价的令牌。实验表明,LVSpec在保真度和速度方面均表现出色:在保持>99.8的目标性能的同时,将Qwen2.5-VL-32B加速2.70倍,将LLaVA-OneVision-72B加速2.94倍。值得注意的是,它比视频大语言模型的最先进无训练SD方法在平均接受长度和加速比上分别提升了136%和35%。

英文摘要:

Video Large Language Models (Video-LLMs) excel in video understanding but suffer from high inference latency during autoregressive generation. Speculative Decoding (SD) mitigates this by applying a draft-and-verify paradigm, yet existing methods are constrained by rigid exact-match rules, severely limiting the acceleration potential. To bridge this gap, we propose LVSpec, the first training-free loosely SD framework tailored for Video-LLMs. Grounded in the insight that generation is governed by sparse visual-relevant anchors (mandating strictness) amidst abundant visual-irrelevant fillers (permitting loose verification), LVSpec employs a lightweight visual-relevant token identification scheme to accurately pinpoint the former. To further maximize acceptance, we augment this with a position-shift tolerant mechanism that effectively salvages positionally mismatched but semantically equivalent tokens. Experiments demonstrate that LVSpec achieves high fidelity and speed: it preserves >99.8 of target performance while accelerating Qwen2.5-VL-32B by 2.70x and LLaVA-OneVision-72B by 2.94x. Notably, it boosts the mean accepted length and speedup ratio by 136% and 35% compared to SOTA training-free SD methods for Video-LLMs.

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

↑