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

FOLDER:加速多模态大语言模型并提升性能

FOLDER: Accelerating Multi-modal Large Language Models with Enhanced Performance

LTCI, Télécom Paris, Institut Polytechnique de Paris(巴黎综合理工学院电信学院LTCI实验室);University of Turin(都灵大学);Alibaba Group(阿里巴巴集团)

Haicheng Wang, Zhemeng Yu, Gabriele Spadaro, Chen Ju, Victor Quétu, Shuai Xiao, Enzo Tartaglione

AI总结:

本文提出即插即用模块 FOLDER,通过削减视觉 token 序列中高达 70% 的冗余来加速多模态大语言模型的训练与推理,同时保持或提升模型性能。

摘要:

近年来,多模态大语言模型(MLLMs)因其生成和理解跨模态数据的能力,在多模态任务中展现出显著效果。然而,处理从视觉骨干网络提取的长视觉 token 序列,给实时应用中的部署带来了挑战。为解决这一问题,我们提出了 FOLDER,一个简单而有效的即插即用模块,旨在缩短视觉 token 序列的长度,从而降低训练和推理过程中的计算与内存需求。通过对 token 缩减过程的全面分析,我们研究了不同缩减策略所引入的信息损失,并开发了 FOLDER,以在去除视觉冗余的同时保留关键信息。我们通过将 FOLDER 集成到多个 MLLMs 的视觉骨干网络中,展示了其有效性,显著加速了推理阶段。此外,我们评估了其作为训练加速器乃至性能提升器对 MLLMs 的效用。在这两种场景下,FOLDER 均取得了与原始模型相当甚至更好的性能,同时通过移除高达 70% 的视觉 token 大幅降低了复杂度。

英文摘要:

Recently, Multi-modal Large Language Models (MLLMs) have shown remarkable effectiveness for multi-modal tasks due to their abilities to generate and understand cross-modal data. However, processing long sequences of visual tokens extracted from visual backbones poses a challenge for deployment in real-time applications. To address this issue, we introduce FOLDER, a simple yet effective plug-and-play module designed to reduce the length of the visual token sequence, mitigating both computational and memory demands during training and inference. Through a comprehensive analysis of the token reduction process, we analyze the information loss introduced by different reduction strategies and develop FOLDER to preserve key information while removing visual redundancy. We showcase the effectiveness of FOLDER by integrating it into the visual backbone of several MLLMs, significantly accelerating the inference phase. Furthermore, we evaluate its utility as a training accelerator or even performance booster for MLLMs. In both contexts, FOLDER achieves comparable or even better performance than the original models, while dramatically reducing complexity by removing up to 70% of visual tokens.

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

↑