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

拯救你的剪枝:重新思考多模态大语言模型(MLLM)中的视觉标记剪枝与后训练恢复

Rescuing Your Pruning: Rethinking Visual Token Pruning and Post-Training Recovery in MLLMs

Eastern Institute of Technology(宁波东方理工大学);Shanghai Jiao Tong University(上海交通大学);Uppsala University(乌普萨拉大学)

Peiran Yin, Hao Wu, Zihao Yang, Haozhe Hu, Xudong Wang, Xiaoyu Shen

AI总结:

本研究针对MLLM视觉标记剪枝,提出后训练可挽回多数剪枝损失,发现编码器主导预填充时间,最佳配置为轻剪编码器、重剪投影器,使LLM阶段提速3.49倍,为联合压缩研究提供见解。

摘要:

视觉标记剪枝可大幅降低多模态大语言模型(MLLM)的推理成本,但现有方法大多是无训练、即插即用的,它们将剪枝导致的性能下降视为压缩的必然代价,并追求日益复杂的剪枝规则。我们通过两个问题重新审视这一观点:后训练能挽回多少损失?基于这种恢复,联合压缩如何将剪枝推向极限?我们整理了包含通用视觉问答(VQA)、推理、光学字符识别(OCR)和 grounding 的 28.2 万样本后训练混合数据集,并在统一协议下对 36 种删除或合并标记的配置进行后训练。后训练可挽回大部分损失,即使对于 OCR 和 grounding 任务也是如此,且其在缩小剪枝模型与稠密模型差距方面的适配增益会随预算收紧而增大。对于联合压缩,我们发现原生分辨率 MLLM 中,视觉编码器而非 LLM 主导预填充时间,因此标记被移除的位置比移除数量更重要:在编码器处保留 40% 的标记比在投影器处保留 10% 的标记运行更快。我们的最佳配置是对编码器进行轻度剪枝、对投影器进行激进剪枝,保留 LLM 完整,且保持通用理解和推理能力达到稠密模型水平。它使 LLM 阶段提速 3.49 倍,但端到端首 token 时间仅提速 1.54 倍,表明 LLM 阶段的提速夸大了端到端增益。我们希望这些发现能为未来的联合视觉标记压缩研究提供见解,我们的数据集、协议和代码将被发布。

英文摘要:

Visual token pruning substantially reduces the inference cost of multimodal large language models (MLLMs), yet existing methods are mostly training-free and plug-and-play. They treat the resulting performance drop as an inevitable cost of compression and pursue increasingly complex pruning rules. We rethink this view through two questions: how much of the loss can post-training rescue, and, building on this recovery, how can joint compression push pruning to its limit? We curate a 282K-sample post-training mixture covering general VQA, reasoning, OCR, and grounding, and post-train 36 configurations that drop or merge tokens under a unified protocol. Post-training rescues most of the loss, even for OCR and grounding, and its adaptation gain in closing the gap between the pruned and the dense model grows as the budget tightens. For joint compression, we find that the vision encoder, not the LLM, dominates prefill time in native-resolution MLLMs, so where tokens are removed matters more than how many: keeping 40% of tokens at the encoder runs faster than keeping 10% at the projector. Our best configuration prunes the encoder lightly and the projector aggressively, leaves the LLM intact, and keeps general understanding and reasoning at the dense level. It accelerates the LLM stage by 3.49x but the end-to-end time-to-first-token by only 1.54x, showing that LLM-stage speedups overstate end-to-end gains. We hope these findings offer insights for future research on joint visual token compression. Our data, protocol, and code will be released.

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

↑