arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2602.00247cs.CVcs.LG
收藏

CAPA:面向高效大视觉-语言模型的贡献感知剪枝与FFN近似

CAPA: Contribution-Aware Pruning and FFN Approximation for Efficient Large Vision-Language Models

Indian Institute of Technology (ISM) Dhanbad, India(印度理工学院(ISM)达翰巴德分校);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Samyak Jha, Junho Kim

AI总结:

CAPA通过贡献感知剪枝和FFN近似,提升大视觉-语言模型的效率与鲁棒性。

摘要:

在大型视觉-语言模型中,高效的推理受限于处理数千个视觉标记的高成本,但尚不清楚哪些标记和计算可以安全地删除。尽管注意力分数常用于估计视觉标记的重要性,但它们是实际贡献的不完美代理。我们证明,通过将注意力概率乘以值向量的大小来计算注意力贡献,可以提供更准确的视觉标记选择标准。我们的实证分析表明,视觉注意力 sinks 在功能上是异质的,包括贡献低的概率溢出,可以安全剪枝,以及贡献高的结构锚点,对于维持模型性能是必要的。此外,我们发现与视觉标记相关的前馈网络(FFN)中存在大量冗余,特别是在中间层中,图像标记表现出线性行为。基于我们的发现,我们引入了CAPA(贡献感知剪枝和FFN近似),一种双策略框架,通过在关键功能转换处使用注意力贡献来剪枝视觉标记,并通过高效的线性近似减少FFN计算。在各种基准上的实验表明,CAPA实现了有竞争力的效率-性能权衡,并提高了鲁棒性。

英文摘要:

Efficient inference in Large Vision-Language Models is constrained by the high cost of processing thousands of visual tokens, yet it remains unclear which tokens and computations can be safely removed. While attention scores are commonly used to estimate visual token importance, they are an imperfect proxy for actual contribution. We show that Attention Contribution, which weights attention probabilities by value vector magnitude, provides a more accurate criterion for visual token selection. Our empirical analysis reveals that visual attention sinks are functionally heterogeneous, comprising Probability Dumps with low contribution that can be safely pruned, and Structural Anchors with high contribution essential for maintaining model performance. Further, we identify substantial redundancy in Feed-Forward Networks (FFNs) associated with visual tokens, particularly in intermediate layers where image tokens exhibit linear behavior. Based on our findings, we introduce CAPA (Contribution-Aware Pruning and FFN Approximation), a dual-strategy framework that prunes visual tokens using attention contribution at critical functional transitions and reduces FFN computation through efficient linear approximations. Experiments on various benchmarks across baselines show that CAPA achieves competent efficiency--performance trade-offs with improved robustness.

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

↑