HoliTom: Holistic Token Merging for Fast Video Large Language Models
HoliTom通过全局冗余感知的时空压缩和基于相似度的内部LLM压缩,实现快速视频LLMs的全面令牌合并,显著降低计算负担,同时保持高性能。
更新于 2025-05-28。作者:Kele Shao、Keda Tao、Can Qin、Haoxuan You、Yang Sui、Huan Wang。
中文摘要
视频大型语言模型(视频LLM)在视频理解方面表现出色,但由于冗余视频标记,面临着显著的计算低效问题。现有的标记修剪方法提供了解决方案。然而,在LLM内(内LLM修剪)操作的策略,如FastV,在浅层中产生了固有的计算开销。相比之下,在LLM之前(外LLM修剪)进行标记修剪的方法主要解决单个帧或有限时间窗口内的空间冗余,忽视了长期视频序列中关键的全球时间动态和相关性。这导致时空减少不优化,并且没有充分利用视频的可压缩性。关键的是,结合这些策略的协同潜力和相互影响尚未得到探索。为了进一步减少冗余,我们引入了HoliTom,这是一种创新的无需训练的全面标记合并框架。HoliTom通过全局冗余感知的时间分割进行外LLM修剪,然后进行时空合并,以超过90%的比例减少视觉标记,显著减轻了LLM的计算负担。作为补充,我们引入了一种鲁棒的基于内LLM标记相似度的合并方法,旨在提供卓越的性能并与外LLM修剪兼容。评估表明,我们的方法在LLaVA-OneVision-7B上展现出有希望的效率-性能权衡,将计算成本降低到原始的6.9%,同时保持了99.1%的原有性能。此外,我们实现了2.28倍的Time-To-First-Token(TTFT)降低和1.32倍的解码吞吐量加速,突出了我们集成修剪方法在高效视频LLM推理中的实际益处。
英文摘要
Video large language models (video LLMs) excel at video comprehension but face significant computational inefficiency due to redundant video tokens. Existing token pruning methods offer solutions. However, approaches operating within the LLM (inner-LLM pruning), such as FastV, incur intrinsic computational overhead in shallow layers. In contrast, methods performing token pruning before the LLM (outer-LLM pruning) primarily address spatial redundancy within individual frames or limited temporal windows, neglecting the crucial global temporal dynamics and correlations across longer video sequences. This leads to sub-optimal spatio-temporal reduction and does not leverage video compressibility fully. Crucially, the synergistic potential and mutual influence of combining these strategies remain unexplored. To further reduce redundancy, we introduce HoliTom, a novel training-free holistic token merging framework. HoliTom employs outer-LLM pruning through global redundancy-aware temporal segmentation, followed by spatial-temporal merging to reduce visual tokens by over 90%, significantly alleviating the LLM's computational burden. Complementing this, we introduce a robust inner-LLM token similarity-based merging approach, designed for superior performance and compatibility with outer-LLM pruning. Evaluations demonstrate our method's promising efficiency-performance trade-off on LLaVA-OneVision-7B, reducing computational costs to 6.9% of FLOPs while maintaining 99.1% of the original performance. Furthermore, we achieve a 2.28x reduction in Time-To-First-Token (TTFT) and a 1.32x acceleration in decoding throughput, highlighting the practical benefits of our integrated pruning approach for efficient video LLMs inference.
解读
一句话总结
HoliTom通过全局冗余感知的时空压缩和基于相似度的内部LLM压缩,实现快速视频LLMs的全面令牌合并,显著降低计算负担,同时保持高性能。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:视频LLMs在视频理解方面表现出色,但由于冗余视频令牌的处理,存在显著的计算效率低下的问题。
- 现有方案不足:现有的令牌剪枝方法主要集中在LLM内部或外部,忽略了全局时空动态和长期视频序列中的相关性,导致时空压缩不足,未能充分利用视频的可压缩性。
- 研究目标:提出HoliTom,一种新的无训练的整体令牌合并框架,以减少冗余并提高视频LLMs的效率。
问题2:论文的核心创新点是什么?
- 技术创新:全局冗余感知的时空压缩和基于相似度的内部LLM压缩。
- 方法改进:结合外部和内部策略,先进行全局冗余感知的视频分割,然后进行时空合并,随后引入基于相似度的内部LLM令牌合并。
- 优势:与现有方法相比,HoliTom在保持99.1%平均性能的同时,将FLOPs降低到6.9%,同时显著降低了计算负担。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在LLaVA-OneVision-7B模型上进行的实验,HoliTom将计算成本降低到原始FLOPs的6.9%,同时保持了99.1%的性能。
- 性能提升:实现了2.28倍的TTFT减少和1.32倍的解码吞吐量加速。
- 对比结果:HoliTom在MVBench、EgoSchema、LongVideoBench和VideoMME等四个广泛使用的视频理解基准测试中,优于现有方法。
问题4:这个研究的实际应用价值是什么?
- 应用场景:视频理解、视频问答、视频编辑等。
- 实施建议:在LLM预处理阶段应用HoliTom,以减少计算负担和提高效率。
- 局限与展望:目前HoliTom主要针对固定长度的视频片段,未来将探索对实时处理和长时间上下文理解的优化。
来源
机器可读索引:llms.txt