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

ASAP: 一种面向高效视觉-语言模型推理的注意力转移感知剪枝方法

ASAP: Attention-Shift-Aware Pruning for Efficient LVLM Inference

George Mason University(乔治·马歇尔大学)

Surendra Pathak, Bo Han

AI总结:

本文提出ASAP方法,通过动态双向软注意力掩码缓解注意力转移问题,并引入加权软合并组件减少语义冗余,实现视觉上下文近似无损压缩,保持99.02%的LLaVA-NeXT-7B性能,计算量降低约80%。

摘要:

尽管大型视觉-语言模型(LVLMs)展现出卓越的多模态能力,但处理高分辨率视觉标记的二次计算成本仍是关键瓶颈。尽管近期的标记缩减策略试图加速推理,但这些方法未能充分利用注意力值,也未解决标记冗余问题。更关键的是,它们忽略了LVLMs中固有的“注意力转移”现象,这种现象会扭曲标记注意力分数。在本文中,我们提出了ASAP,一种新颖的无训练、兼容KV-Cache的剪枝方法,全面解决了这些限制。首先,我们通过动态双向软注意力掩码缓解注意力转移问题,确保选择真正有信息量的标记,而不是基于朴素注意力的选择。其次,我们提出高语义冗余的标记集会降级性能,因此我们引入加权软合并组件,合并语义相似的标记,仅保留最特征密集的视觉块供后续层使用。ASAP实现了视觉上下文的近似无损压缩,保持99.02%的原始LLaVA-NeXT-7B性能,同时大幅降低计算量,计算量减少约80%。

英文摘要:

While Large Vision-Language Models (LVLMs) demonstrate exceptional multi-modal capabilities, the quadratic computational cost of processing high-resolution visual tokens remains a critical bottleneck. Though recent token reduction strategies attempt to accelerate inference, such methods inadequately exploit attention values and fail to address token redundancy. More critically, they overlook the ``attention shift'' phenomenon inherent in LVLMs, which skews token attention scores. In this work, we propose ASAP, a novel training-free, KV-Cache-compatible pruning recipe that comprehensively addresses these limitations. First, we mitigate the attention shift by utilizing a dynamic bidirectional soft attention mask, ensuring the selection of genuinely informative tokens rather than naive attention-based selection. Second, we posit that high semantic redundancy within the token set degrades performance. We therefore introduce a weighted soft merging component that merges semantically similar tokens, preserving only the most feature-dense visual patches for subsequent layers. ASAP achieves virtually lossless compression of visual context, retaining 99.02% of the original LLaVA-NeXT-7B performance while aggressively slashing computational FLOPs by ~80%.

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

↑