arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2611.26933cs.CVcs.AI
收藏

对时刻而非帧进行分词:用于无训练视频大语言模型加速的分词器感知预算分配

Tokenize Moments, Not Frames: Tokenizer-Aware Budget Allocation for Training-Free Video LLM Acceleration

Huazhong University of Science and Technology(华中科技大学);Shanghai Jiao Tong University(上海交通大学)

Zirui Zhao, Kai Liu, Linghe Kong

AI总结:

针对无训练视频LLM加速器在长视频上精度损失的问题,提出ESSENCE方法,通过对时刻而非帧分词,在匹配TTFT下多数对比精度更高,部分模型上精度提升且速度加快。

摘要:

视频大语言模型(LLM)用数千个视觉令牌表示每个视频,而用于剪枝或合并这些令牌的无训练加速器在长视频上会损失精度。通过分析16个开放模型的帧相似度和视觉分词器,我们将这种精度损失追溯到令牌选择之前的步骤。在令牌预算约束下,长视频的帧采样间隔大于帧保持相似的约2秒,Qwen-VL等模型的两帧3D补丁随后会将两个不相关场景融合到每个视觉令牌中,这种双重曝光现象出现在任何剪枝或合并操作之前。InternVL等固定大小的分词器可避免这种融合,但对相同的令牌减少量会有不同响应。我们提出ESSENCE,一种无训练方法,它对时刻(帧保持相似的片段)而非帧进行分词。在编码前,一个闭式规则利用采样间隔和分词器类别设置令牌网格数量和降维维度;视觉令牌随后从后续LLM层释放。在Qwen3-VL、Qwen2.5-VL和InternVL3.5上与5种最新加速器对比,在匹配的平均首令牌时间(TTFT)下,ESSENCE在60项对比中的58项实现更高精度;使用80%的令牌时,它达到完整Qwen模型的平均精度,同时TTFT快1.6倍;在GLM-4.1V上,它比完整模型精度高出最多3.4个百分点。代码可在以下网址获取:this https URL

英文摘要:

Video large language models (LLMs) represent each video with thousands of visual tokens, and training-free accelerators that prune or merge these tokens lose accuracy on long videos. Analyzing frame similarity and the vision tokenizers of 16 open models, we trace this loss to a step before token selection. Under a token budget, the frames of a long video are sampled farther apart than the roughly 2 s over which frames remain similar. The two-frame 3D patches of models such as Qwen-VL then blend two unrelated scenes into each visual token, a double exposure that arises before any pruning or merging. Fixed-size tokenizers such as InternVL's avoid this blend but respond differently to the same reduction. We propose ESSENCE, a training-free method that tokenizes moments, segments within which frames remain similar, rather than frames. Before encoding, a closed-form rule uses the sampling interval and the tokenizer class to set the number of token grids and the dimension to reduce; visual tokens are then released from later LLM layers. Against five recent accelerators on Qwen3-VL, Qwen2.5-VL and InternVL3.5, ESSENCE achieves higher accuracy in 58 of 60 comparisons at matched mean time to first token (TTFT). With 80% of the tokens, it matches the average accuracy of the full Qwen models at $1.6\times$ faster TTFT; on GLM-4.1V, it exceeds the full model by up to 3.4 points. Code is available at: https://github.com/zhkandsrz/ESSENCE.

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

↑