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

Filter, Correlate, Compress: 面向MLLM加速的无训练Token缩减方法

Filter, Correlate, Compress: Training-Free Token Reduction for MLLM Acceleration

Yuhang Han, Xuyang Liu, Zihan Zhang, Pengxiang Ding, Junjie Chen, Donglin Wang, Honggang Chen, Qingsen Yan, Siteng Huang

AI总结:

针对多模态大语言模型(MLLMs)上下文长度导致的计算与内存挑战,提出“过滤-关联-压缩”无训练框架,通过视觉Token过滤回收及文本先验辅助Token缩减,实现最高14.7倍FLOPs减少与93.6%性能保留,优于现有无训练方法且通用性强。

摘要:

多模态大语言模型(MLLMs)因上下文长度导致的二次复杂度带来了显著的计算与内存挑战,阻碍其实际部署。本文提出“过滤-关联-压缩”框架,通过在预填充阶段系统优化多模态上下文长度以加速MLLM。该框架首先实现FiCoCo-V——一种在视觉编码器内运行的无训练方法,采用基于冗余的Token丢弃机制,利用新颖的集成指标准确过滤冗余视觉Token。为减轻信息损失,框架引入基于关联的信息回收机制,让保留的Token通过自保留压缩选择性回收来自相关丢弃Token的信息,避免自身核心内容被稀释。框架的FiCoCo-L变体进一步利用任务感知文本先验,直接在LLM解码器内进行Token缩减。大量实验表明,FiCoCo系列能有效加速多种MLLM,实现最高14.7倍的FLOPs减少,同时保留93.6%的性能。我们的方法持续优于最先进的无训练方法,在不同模型架构、规模和任务上展现出有效性与通用性,且无需重新训练。代码:https://github.com/kawhiiiileo/FiCoCo

英文摘要:

The quadratic complexity of Multimodal Large Language Models (MLLMs) with respect to context length poses significant computational and memory challenges, hindering their real-world deployment. In the paper, we devise a ''filter-correlate-compress'' framework to accelerate the MLLM by systematically optimizing multimodal context length during prefilling. The framework first implements FiCoCo-V, a training-free method operating within the vision encoder. It employs a redundancy-based token discard mechanism that uses a novel integrated metric to accurately filter out redundant visual tokens. To mitigate information loss, the framework introduces a correlation-based information recycling mechanism that allows preserved tokens to selectively recycle information from correlated discarded tokens with a self-preserving compression, thereby preventing the dilution of their own core content. The framework's FiCoCo-L variant further leverages task-aware textual priors to perform token reduction directly within the LLM decoder. Extensive experiments demonstrate that the FiCoCo series effectively accelerates a range of MLLMs, achieves up to 14.7x FLOPs reduction with 93.6% performance retention. Our methods consistently outperform state-of-the-art training-free approaches, showcasing effectiveness and generalizability across model architectures, sizes, and tasks without requiring retraining. Code: https://github.com/kawhiiiileo/FiCoCo

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

↑