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

VAPOR:通过稀疏视觉更新提升多模态推理能力

VAPOR: Improving Multimodal Reasoning with Sparse Visual Updates

Mingyu Su, Wei Wu, Erle Zhu, Chengxing Xie, Deyao Hong, Hongning Wang

AI总结:

本文提出无需训练的VAPOR框架,通过缓存与按需刷新视觉注意力减少多模态大语言模型解码冗余,在8个图像、4个视频推理基准上提升准确率并加快解码速度。

摘要:

多模态大语言模型(MLLMs)在视觉推理领域已取得显著进展,但针对大规模视觉上下文的扩展生成仍存在计算成本过高的问题。在自回归解码过程中,即使连续生成的token依赖相似的视觉证据,也会为每个生成的token重新计算视觉注意力。本文提出VAPOR(按需刷新的视觉注意力持久化,Visual Attention Persistence with On-demand Refresh),这是一种无需训练的框架,通过在解码步骤间复用视觉注意力输出并在需要时刷新的方式减少冗余。VAPOR在缓存视觉注意力输出的同时,每一步仍持续更新文本注意力,有助于减少扩展推理过程中的视觉 grounding 漂移。为决定何时复用缓存输出,VAPOR通过低秩近似估计视觉注意力质量,还利用基于预填充的注意力一致性和缓存时长,为每个注意力头独立做出持久化与刷新决策。VAPOR保留完整的视觉键值(KV)缓存,因此当需要新证据时所有视觉token仍可用。在两个MLLM系列的8个图像推理基准和4个视频推理基准上开展的实验表明,VAPOR在几乎所有基准上较密集注意力提升了准确率,同时实现1.11-1.21倍的解码加速;与各设置下最强的现有加速基线相比,VAPOR进一步将准确率提升0.35-2.15个百分点,同时达到相当或更低的解码延迟。代码可在该https链接获取。

英文摘要:

Multimodal large language models (MLLMs) have made substantial progress in visual reasoning, but extended generation over large visual contexts remains computationally expensive. During autoregressive decoding, visual attention is recomputed for every generated token, even when consecutive tokens rely on similar visual evidence. We introduce VAPOR (Visual Attention Persistence with On-demand Refresh), a training-free framework that reduces this redundancy by reusing visual attention outputs across decoding steps and refreshing them when needed. VAPOR caches the visual attention output while continuing to update textual attention at every step, helping reduce visual grounding drift during extended reasoning. To decide when to reuse cached outputs, VAPOR estimates visual attention mass using a low-rank approximation. It also uses prefill-based attention consistency and cache age to make independent Persist and Refresh decisions for each attention head. VAPOR retains the full visual key-value (KV) cache, so all visual tokens remain available when new evidence is needed. Experiments on eight image and four video reasoning benchmarks across two MLLM families show that VAPOR improves accuracy over dense attention on nearly all benchmarks while achieving 1.11-1.21x decoding speedups. Compared with the strongest state-of-the-art acceleration baseline in each setting, VAPOR further improves accuracy by 0.35-2.15 percentage points while achieving comparable or lower decoding latency. Our code is available at https://github.com/Su-my/VAPOR.

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

↑