RedVTP:基于掩码token引导的视觉token剪枝实现扩散视觉语言模型免训练推理加速
RedVTP: Training-Free Acceleration of Diffusion Vision-Language Models Inference via Masked Token-Guided Visual Token Pruning
AI总结:
针对扩散视觉语言模型视觉token冗余导致推理效率低的问题,提出免训练的RedVTP剪枝方法,通过掩码响应token注意力估算重要性并剪枝低价值视觉token,在不损失精度的前提下显著提升模型吞吐量、降低推理延迟。
摘要:
视觉语言模型(VLMs)在多模态推理与生成领域已取得显著进展,但其高昂的计算需求仍是一大核心挑战。扩散视觉语言模型(DVLMs)因支持并行token解码而具备独特优势,但数量庞大的视觉token仍严重制约其推理效率。尽管视觉token剪枝技术已在自回归视觉语言模型(AVLMs)中得到广泛研究,该方向在DVLMs领域仍基本处于空白状态。本研究提出RedVTP,这是一种响应驱动的视觉token剪枝策略,可充分利用DVLMs的推理动态特性。该方法借助掩码响应token的注意力机制估算视觉token的重要性,基于这些重要性分数在各推理步骤间保持一致的观测结果,RedVTP会在首个推理步骤后从掩码token中剪枝重要性较低的视觉token,从而最大化推理效率。实验结果表明,RedVTP可将LLaDA-V和LaViDa的token生成吞吐量分别提升最高186%和28.05%,同时将推理延迟分别降低最高64.97%和21.87%,且不会损失模型精度,部分场景下甚至可提升精度表现。
英文摘要:
Vision-Language Models (VLMs) have achieved remarkable progress in multimodal reasoning and generation, yet their high computational demands remain a major challenge. Diffusion Vision-Language Models (DVLMs) are particularly attractive because they enable parallel token decoding, but the large number of visual tokens still significantly hinders their inference efficiency. While visual token pruning has been extensively studied for autoregressive VLMs (AVLMs), it remains largely unexplored for DVLMs. In this work, we propose RedVTP, a response-driven visual token pruning strategy that leverages the inference dynamics of DVLMs. Our method estimates visual token importance using attention from the masked response tokens. Based on the observation that these importance scores remain consistent across steps, RedVTP prunes the less important visual tokens from the masked tokens after the first inference step, thereby maximizing inference efficiency. Experiments show that RedVTP improves token generation throughput of LLaDA-V and LaViDa by up to 186% and 28.05%, respectively, and reduces inference latency by up to 64.97% and 21.87%, without compromising-and in some cases improving-accuracy.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。