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

CLIP-Map: 结构化矩阵映射用于参数高效的CLIP压缩

CLIP-Map: Structured Matrix Mapping for Parameter-Efficient CLIP Compression

East China Normal University(东华师范大学);Xiaohongshu Inc.(小红书公司);Beihang University(北航大学)

Kangjie Zhang, Wenxuan Huang, Xin Zhou, Boxiang Zhou, Dejia Song, Yuan Xie, Baochang Zhang, Lizhuang Ma, Nemo Chen, Xu Tang, Yao Hu, Shaohui Lin

AI总结:

CLIP-Map通过结构化矩阵映射和克罗内克因子分解实现参数高效的CLIP压缩,有效保留原始权重信息并在高压缩比下表现优异。

摘要:

对比学习语言-图像预训练(CLIP)已在各种计算机视觉任务中得到广泛应用,例如文本到图像生成、图像-文本检索和图像描述生成。然而,CLIP存在高内存和计算成本的问题,这限制了其在资源受限的应用场景中的使用。现有的CLIP压缩方法通常通过选择预训练CLIP权重的子集作为进一步重新训练的权重继承,通过掩码优化或重要权重测量来减少预训练CLIP权重的大小。然而,这些基于选择的权重继承往往会牺牲特征表示能力,尤其是在极端压缩情况下。在本文中,我们提出了一种新的基于映射的CLIP压缩框架,即CLIP-Map。它利用可学习矩阵通过全映射与克罗内克因子分解来映射和结合预训练权重,旨在尽可能保留原始权重的信息。为了缓解由可学习映射引入的优化挑战,我们提出了对角继承初始化,以减少分布偏移问题,从而实现高效且有效的映射学习。广泛的实验结果表明,所提出的CLIP-Map在各种压缩比下均优于基于选择的框架,特别是在高压缩设置下表现出显著的优势。

英文摘要:

Contrastive Language-Image Pre-training (CLIP) has achieved widely applications in various computer vision tasks, e.g., text-to-image generation, Image-Text retrieval and Image captioning. However, CLIP suffers from high memory and computation cost, which prohibits its usage to the resource-limited application scenarios. Existing CLIP compression methods typically reduce the size of pre-trained CLIP weights by selecting their subset as weight inheritance for further retraining via mask optimization or important weight measurement. However, these select-based weight inheritance often compromises the feature presentation ability, especially on the extreme compression. In this paper, we propose a novel mapping-based CLIP compression framework, CLIP-Map. It leverages learnable matrices to map and combine pretrained weights by Full-Mapping with Kronecker Factorization, aiming to preserve as much information from the original weights as possible. To mitigate the optimization challenges introduced by the learnable mapping, we propose Diagonal Inheritance Initialization to reduce the distribution shifting problem for efficient and effective mapping learning. Extensive experimental results demonstrate that the proposed CLIP-Map outperforms select-based frameworks across various compression ratios, with particularly significant gains observed under high compression settings.

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

↑