arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.36671cs.CVcs.AIcs.LG
收藏

仅在需要时查看:用于高效扩散视觉语言模型的证书引导视觉路由

Look Only When Needed: Certificate-Guided Visual Routing for Efficient Diffusion VLMs

KAIST(韩国科学技术院);AITRICS

Donghyeon Cho, Joowon Kim, Seungho Shin, Eunho Yang

AI总结:

针对扩散视觉语言模型重复处理图像导致计算冗余的问题,提出LOWN解码方法,通过对比有无图像的预测自适应决定是否处理图像,在保留模型性能的同时大幅降低解码计算量。

摘要:

扩散视觉语言模型(DVLMs)在每个去噪步骤都会处理全部输入。在我们研究的基准测试中,视觉令牌占该输入的89%-97%,因此大部分解码计算都用于重复处理同一张图像。视觉令牌剪枝方法通过移除部分视觉令牌部分缓解了这一负担,但会丢失被移除的信息,且仍在每个步骤处理剩余图像。为衡量图像的实际需求频率,我们在每个解码步骤对比LLaDA-V在有图像和无图像情况下的预测,发现移除图像平均仅在22.8%的步骤中改变令牌的未掩码状态,最少仅为7.9%。因此,我们提出LOWN,一种在每个步骤决定是否处理图像以及要取消掩码的令牌数量的解码方法。LOWN在无图像时预测掩码令牌,仅当该预测与上一次基于图像的预测不一致时才处理图像;一致时则复用之前的预测,且被复用的令牌数量决定该步骤中取消掩码的令牌数。我们进一步观察到,对图像的需求因基准测试而异,因此需要LOWN的自适应决策而非固定调度。无需训练或调整阈值,LOWN在10个基准测试中保留了LLaDA-V 99.6%的分数,平均仅消耗35.3%的解码浮点运算量(FLOPs)。LOWN还可在基于LLaDA的DVLMs间泛化,与视觉令牌剪枝正交组合,且可在键值缓存下运行以进一步提升效率。代码和项目页面可在该https URL获取。

英文摘要:

Diffusion vision-language models (DVLMs) process their entire input at every denoising step. Since visual tokens make up 89-97% of this input on the benchmarks we study, most of the decoding computation is spent repeatedly processing the same image. Visual token pruning methods partially relieve this burden by removing part of the visual tokens, but they lose the removed information and still process the remaining image at every step. To measure how often the image is actually needed, we compare LLaDA-V's predictions with and without the image at every decoding step and find that removing the image changes a token being unmasked at only 22.8% of steps on average and at as few as 7.9%. We therefore propose LOWN, a decoding method that decides at every step whether to process the image and how many tokens to unmask. LOWN predicts the masked tokens without the image and processes the image only when this prediction disagrees with the last image-conditioned prediction. Agreement certifies the earlier prediction for reuse, and the number of certified tokens sets how many are unmasked in that step. We further observe that the need for the image differs across benchmarks, so LOWN's adaptive decision is needed rather than a fixed schedule. Without training or a tuned threshold, LOWN retains 99.6% of LLaDA-V's score on ten benchmarks at 35.3% of the decoding FLOPs on average. LOWN also generalizes across LLaDA-based DVLMs, composes orthogonally with visual token pruning, and runs under key-value caching for further efficiency gains. Code and project page are available at https://hyeon9698.github.io/LOWN/

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

↑