arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2605.19218cs.CVcs.AI
收藏

旋转对齐的关键通道剪枝用于高效的视觉-语言模型推理

Rotation-Aligned Key Channel Pruning for Efficient Vision-Language Model Inference

Seoul National University(首尔国立大学)

Beomseok Kang, Dongwon Jo, Jiwon Song, Donghwee Son, Jae-Joon Kim

AI总结:

本文提出旋转对齐的关键通道剪枝方法,通过压缩通道维度在固定KV缓存预算下保留更多视觉token,解决传统token剪枝在细粒度感知任务中的性能下降问题,同时提升解码效率。

摘要:

视觉-语言模型在推理过程中面临严重的KV缓存压力,因为单张图像通常会编码成数千个token。现有方法主要通过token稀疏性进行token剪枝,但永久丢弃视觉内容导致细粒度感知任务显著退化。为此,本文提出一个互补的轴,即特征稀疏性:在固定KV缓存预算下,压缩通道维度可以在相同内存成本下保留更多视觉token。然而,现有关键通道剪枝方法面临结构上的权衡:基于token的通道剪枝具有表现力但不结构化且较慢,而基于head的方法则硬件友好但不够稳健。本文通过RotateK,一种基于旋转的结构化关键通道剪枝框架,解决这一问题。RotateK应用基于PCA的在线旋转,将token依赖的通道重要性对齐到共享的低维子空间,从而在轻量级head掩码下实现精确剪枝;融合的Triton注意力内核直接在稀疏通道的Key上操作以实现高效的解码。在两个代表性的VLM后端上进行的实验表明,RotateK在准确率和解码延迟方面均优于现有关键通道剪枝方法,而联合token-通道剪枝在匹配的KV缓存预算下优于仅token剪枝的基线。

英文摘要:

Vision-Language Models suffer severe KV cache pressure at inference, as a single image often encodes into thousands of tokens. Most existing methods exploit token sparsity through token pruning, but permanently discarding visual content causes substantial degradation on fine-grained perception tasks. This motivates a complementary axis, feature sparsity: under a fixed KV cache budget, compressing the channel dimension preserves more visual tokens at the same memory cost. Prior Key channel pruning methods, however, face a structural trade-off: token-wise channel pruning is expressive but unstructured and slow, while head-wise approach is hardware-friendly but less robust. We resolve this with RotateK, a rotation-based structured Key channel pruning framework. RotateK applies an online PCA-based rotation that aligns token-dependent channel importance into a shared low-dimensional subspace, enabling accurate pruning under lightweight head-wise masks; a fused Triton attention kernel operates directly on sparse-channel Keys for efficient decoding. Experiments on two representative VLM backbones show that RotateK consistently outperforms prior Key channel pruning in both accuracy and decoding latency, while joint token-channel pruning improves over token-only baselines at matched KV cache budgets.

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

↑