Feather the Throttle: Revisiting Visual Token Pruning for Vision-Language Model Acceleration
该论文提出了一种新的视觉token剪枝方法FEATHER,通过改进剪枝策略和引入均匀采样,显著提高了视觉语言模型的定位性能,同时保持了高效的计算效率。
更新于 2024-12-18。作者:Mark Endo、Xiaohan Wang、Serena Yeung-Levy。
中文摘要
近期关于加速视觉-语言模型的研究表明,即使在高度压缩视觉信息的情况下,强大的性能也可以在多种视觉-语言任务中得到保持。在这项工作中,我们检验了在语言模型内部早期剪枝视觉标记的流行加速方法,并发现它在许多任务中表现出色并非因为其非凡的压缩视觉信息的能力,而是因为基准测试在评估精细视觉能力方面的局限性。具体来说,我们揭示了加速方法中的一个核心问题,即图像顶部的大部分标记被剪除。然而,这个问题仅在定位等少数任务中反映了性能下降。对于其他评估任务,尽管存在有缺陷的剪枝策略,但仍然保持了强大的性能。鉴于所研究加速技术的视觉能力有限,我们提出了FEATHER(基于集成标准的快速且有效的加速),这是一种直接的方法,(1)解决了早期层剪枝中识别出的问题,(2)采用均匀采样以确保覆盖所有图像区域,(3)分两阶段进行剪枝,以允许标准在后期层中更加有效,同时通过早期层剪枝仍然实现显著的速度提升。在可比的计算节省下,我们发现与原始加速方法相比,FEATHER在以视觉为中心的定位基准测试上实现了超过5倍的性能提升。
英文摘要
Recent works on accelerating Vision-Language Models show that strong performance can be maintained across a variety of vision-language tasks despite highly compressing visual information. In this work, we examine the popular acceleration approach of early pruning of visual tokens inside the language model and find that its strong performance across many tasks is not due to an exceptional ability to compress visual information, but rather the benchmarks' limited ability to assess fine-grained visual capabilities. Namely, we demonstrate a core issue with the acceleration approach where most tokens towards the top of the image are pruned away. Yet, this issue is only reflected in performance for a small subset of tasks such as localization. For the other evaluated tasks, strong performance is maintained with the flawed pruning strategy. Noting the limited visual capabilities of the studied acceleration technique, we propose FEATHER (Fast and Effective Acceleration wiTH Ensemble cRiteria), a straightforward approach that (1) resolves the identified issue with early-layer pruning, (2) incorporates uniform sampling to ensure coverage across all image regions, and (3) applies pruning in two stages to allow the criteria to become more effective at a later layer while still achieving significant speedup through early-layer pruning. With comparable computational savings, we find that FEATHER has more than 5times performance improvement on the vision-centric localization benchmarks compared to the original acceleration approach.
解读
一句话总结
该论文提出了一种新的视觉token剪枝方法FEATHER,通过改进剪枝策略和引入均匀采样,显著提高了视觉语言模型的定位性能,同时保持了高效的计算效率。
问题1:这篇论文想要解决什么具体问题?
• 问题背景:现有的视觉语言模型加速方法(如FastV)虽然通过剪枝视觉token来提高效率,但在定位等视觉中心任务上表现不佳。 • 现有方案不足:现有方法在早期层剪枝时,往往忽视了图像顶部的重要token,导致性能下降。 • 研究目标:提出一种新的剪枝方法,能够更好地保留图像中的视觉信息,同时提高模型的定位性能。
问题2:论文的核心创新点是什么?
• 技术创新:提出了一种新的剪枝准则ϕ-R,通过移除RoPE来减轻位置偏差,并引入均匀采样来确保覆盖所有图像区域。 • 方法改进:将剪枝过程分为两个阶段,第一阶段在早期层进行,第二阶段在后期层进行,以增强剪枝准则的有效性。 • 优势:与现有方法相比,FEATHER在定位任务上提高了5倍以上的性能,同时保持了64%的FLOPS减少。
问题3:实验结果如何验证了方法的有效性?
• 关键实验:在多个视觉语言任务上进行了实验,包括定位、开放式视觉问答、挑战集等。 • 性能提升:FEATHER在定位任务上比原始加速方法提高了5倍以上的性能,同时保持了64%的FLOPS减少。 • 对比结果:与FastV和PyramidDrop等方法相比,FEATHER在定位任务上表现出显著的性能提升。
问题4:这个研究的实际应用价值是什么?
• 应用场景:适用于需要高效率且具有强视觉理解能力的视觉语言模型,如自动驾驶、机器人导航等。 • 实施建议:在实际部署中,应结合具体任务需求,选择合适的剪枝比例和阶段。 • 局限与展望:目前的研究主要针对定位任务,未来可以扩展到其他视觉语言任务,并进一步探索如何提高视觉语言模型的整体性能。