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

CASP:基于注意力稀疏性的大型多模态模型压缩

CASP: Compression of Large Multimodal Models Based on Attention Sparsity

Huawei Technologies Canada Co., Ltd.(华为技术加拿大有限公司)

Mohsen Gholami, Mohammad Akbari, Kevin Cannons, Yong Zhang

AI总结:

本文提出CASP压缩技术,利用多模态模型注意力矩阵的稀疏性对Query和Key权重进行低秩分解与最优比特量化,在图像和视频语言基准上平均提升2比特量化方法21%。

摘要:

在这项工作中,我们提出了一种针对大型多模态模型(LMMs)的极限压缩技术。虽然以往研究已经探索了将量化作为大型语言模型(LLMs)的高效训练后压缩方法,但多模态模型的低比特压缩仍未被充分研究。多模态模型中输入的冗余特性导致注意力矩阵高度稀疏。我们从理论和实验上证明,注意力矩阵的稀疏性约束了Query和Key权重矩阵的压缩误差。基于此,我们引入了CASP,一种用于LMMs的模型压缩技术。我们的方法对Query和Key权重矩阵执行数据感知的低秩分解,然后基于最优比特分配过程对所有层进行量化。CASP与任何量化技术兼容,并在图像和视频语言基准上将最先进的2比特量化方法(AQLM和QuIP#)平均提升了21%。

英文摘要:

In this work, we propose an extreme compression technique for Large Multimodal Models (LMMs). While previous studies have explored quantization as an efficient post-training compression method for Large Language Models (LLMs), low-bit compression for multimodal models remains under-explored. The redundant nature of inputs in multimodal models results in a highly sparse attention matrix. We theoretically and experimentally demonstrate that the attention matrix's sparsity bounds the compression error of the Query and Key weight matrices. Based on this, we introduce CASP, a model compression technique for LMMs. Our approach performs a data-aware low-rank decomposition on the Query and Key weight matrix, followed by quantization across all layers based on an optimal bit allocation process. CASP is compatible with any quantization technique and enhances state-of-the-art 2-bit quantization methods (AQLM and QuIP#) by an average of 21% on image- and video-language benchmarks.

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

↑