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

ERA:基于熵引导的视觉令牌剪枝与修正注意力机制的高效多模态大语言模型

ERA: Entropy-Guided Visual Token Pruning with Rectified Attention for Efficient MLLMs

School of Future Technology, Dalian University of Technology(大连理工大学未来技术学院);S-Lab, Nanyang Technological University(南洋理工大学S-Lab);OPPO Research Institute(OPPO研究院);Department of Computing, The Hong Kong Polytechnic University(香港理工大学计算机系)

Yuhao Wang, Mu Qiao, Haiwen Diao, Yunzhi Zhuge, Pingping Zhang, Xindong Zhang, Lei Zhang, Huchuan Lu

AI总结:

提出ERA框架,通过熵引导的视觉令牌剪枝和修正注意力机制,解决令牌减少导致的注意力对数坍塌问题,实现高效多模态大语言模型推理加速。

摘要:

多模态大语言模型(MLLMs)由于长视觉令牌序列而产生高昂的推理成本。无训练的视觉令牌减少提供了一种高效解决方案。然而,现有方法扭曲了注意力分布,导致我们称之为注意力对数坍塌的现象。为了解决这个问题,我们提出了ERA,一种基于熵引导的视觉令牌剪枝框架,具有修正注意力机制,用于高效MLLMs。具体来说,ERA包含三个关键组件:双视角熵剪枝(DEP)、偏差感知令牌回收(BTR)和对数保持注意力修正(LAR)。首先,DEP通过联合建模视觉多样性和头部显著性来识别代表性锚点令牌。然后,BTR将剪枝的令牌回收至其对应的锚点,同时估计聚类级别的对数偏差。在此基础上,LAR将估计的偏差注入注意力对数,有效修正由令牌减少引起的坍塌。这些组件共同在激进压缩下保留视觉证据,使广泛MLLMs在单图像、多图像和视频设置中实现稳健性能。除了提供实际加速外,ERA将对数保持视觉令牌剪枝建立为高效MLLMs的原则性框架,统一了理论基础、算法设计和实际部署。代码位于此https URL。

英文摘要:

Multimodal Large Language Models (MLLMs) incur prohibitive inference costs due to long visual token sequences. Training-free visual token reduction provides an efficient solution. However, existing methods distort attention distributions, giving rise to a phenomenon we term Attention Logit Collapse. To address this issue, we propose ERA, an Entropy-guided visual token pruning framework with Rectified Attention for efficient MLLMs. Specifically, ERA comprises three crucial components: Dual-view Entropy Pruning (DEP), Bias-aware Token Recycling (BTR), and Logit-preserving Attention Rectification (LAR). First, DEP identifies representative anchor tokens by jointly modeling visual diversity and head-wise saliency. BTR then recycles pruned tokens into their corresponding anchors while estimating a cluster-level logit bias. Building upon this, LAR injects the estimated bias into attention logits, effectively rectifying the collapse induced by token reduction. Together, these components preserve visual evidence even under aggressive compression, enabling robust performance across single-image, multi-image, and video settings on a wide range of MLLMs. Beyond delivering practical acceleration, ERA establishes logit-preserving visual token pruning as a principled framework for efficient MLLMs, unifying theoretical foundation, algorithmic design, and practical deployment. The code is at https://github.com/924973292/ERA.

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

↑