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

Turbo:信息度驱动的视觉-语言大模型加速插件

Turbo: Informativity-Driven Acceleration Plug-In for Vision-Language Large Models

Alibaba Group(阿里巴巴集团);Shanghai Jiao Tong University(上海交通大学)

Chen Ju, Haicheng Wang, Haozhe Cheng, Xu Chen, Zhonghua Zhai, Weilin Huang, Jinsong Lan, Shuai Xiao, Bo Zheng

AI总结:

本文提出Turbo插件,通过信息度评估标记的冗余与语义价值,剪除低效标记,实现视觉-语言大模型的通用加速,且性能损失极小。

摘要:

视觉-语言大模型(VLMs)近期因其出色的性能而成为人工智能的主要骨干。然而,其昂贵的计算成本,即吞吐量和延迟,阻碍了其在现实场景中的潜力。为了实现VLMs的加速,现有大多数方法聚焦于模型视角:剪枝、蒸馏、量化,但完全忽视了数据视角的冗余。为填补这一忽视,本文率先探讨了数据冗余的严重性,并设计了一个由信息度引导的即插即用Turbo模块,以从视觉或文本数据中剪除低效的标记。为追求效率与性能的权衡,信息度考虑了关键的两个因素:相互冗余和语义价值。具体而言,前者评估序列标记间的数据重复;后者则根据每个标记对整体语义的贡献来评估其价值。因此,具有高信息度的标记携带较少的冗余和更强的语义。对于VLMs的计算,Turbo作为一个用户友好的插件,根据信息度对数据进行排序,仅利用顶级标记来节省成本。其优势是多方面的,例如,普遍兼容于各种理解和生成型VLMs,无需重新训练即可简单使用,且工程努力微不足道。在多个VLMs基准上,我们进行了充分实验,以证明Turbo在性能下降可忽略的情况下具有良好的加速效果。

英文摘要:

Vision-Language Large Models (VLMs) recently become primary backbone of AI, due to the impressive performance. However, their expensive computation costs, i.e., throughput and delay, impede potentials in the real-world scenarios. To achieve acceleration for VLMs, most existing methods focus on the model perspective: pruning, distillation, quantization, but completely overlook the data-perspective redundancy. To fill the overlook, this paper pioneers the severity of data redundancy, and designs one plug-and-play Turbo module guided by information degree to prune inefficient tokens from visual or textual data. In pursuit of efficiency-performance trade-offs, information degree takes two crucial factors into consideration: mutual redundancy and semantic value. Concretely, the former evaluates data duplication between sequential tokens; while the latter evaluates each token by its contribution to the overall semantics. As a result, tokens with high information degree carry less redundancy and stronger semantics. For VLMs' calculation, Turbo works as a user-friendly plug-in that sorts data referring to information degree, utilizing only top-level ones to save costs. Its advantages are multifaceted, e.g., being generally compatible to various VLMs across understanding and generation, simple use without re-training and trivial engineering efforts. On multiple VLMs benchmarks, we fully experiment to demonstrate the good acceleration of Turbo, under negligible performance drop.

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

↑