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

ComKD-CLIP:对比语言-图像预训练模型的综合知识蒸馏

ComKD-CLIP: Comprehensive Knowledge Distillation for Contrastive Language-Image Pre-traning Model

Northwestern Polytechnical University(西北工业大学);University of Science and Technology of China(中国科学技术大学);China Telecom(中国电信)

Yifan Chen, Xiaozhen Qiao, Zhe Sun, Xuelong Li

AI总结:

针对CLIP模型部署难题,提出ComKD-CLIP综合知识蒸馏方法,通过图像特征对齐与教育注意力机制,将大模型知识高效转移至小模型,在11个数据集上验证了优越性能。

摘要:

对比语言-图像预训练(CLIP)模型通过对比学习技术,在整合图像与文本之间的语义信息方面表现出色,并在各种多模态任务中取得了显著性能。然而,大型CLIP模型在资源受限环境中的部署受到阻碍,而较小的模型又常常无法达到实际应用所需的性能基准。本文提出了一种新方法ComKD-CLIP:对比语言-图像预训练模型的综合知识蒸馏,旨在将大型教师CLIP模型的知识全面蒸馏到较小的学生模型中,确保在参数大幅减少的情况下保持可比的性能。ComKD-CLIP由两个关键机制组成:图像特征对齐(IFAlign)和教育注意力(EduAttention)。IFAlign使学生模型提取的图像特征与教师模型提取的图像特征紧密匹配,使学生能够学习教师提取图像特征的知识。EduAttention探索教师模型提取的文本特征与学生模型提取的图像特征之间的交叉关系,使学生模型学习教师如何整合文本-图像特征。此外,ComKD-CLIP可以利用教师模型的文本-图像特征融合结果来细化从IFAlign和EduAttention蒸馏的知识,确保学生模型准确吸收教师的知识。在11个数据集上进行的大量实验证明了所提出方法的优越性。

英文摘要:

Contrastive Language-Image Pre-training (CLIP) models excel in integrating semantic information between images and text through contrastive learning techniques. It has achieved remarkable performance in various multimodal tasks. However, the deployment of large CLIP models is hindered in resource-limited environments, while smaller models frequently fail to meet the performance benchmarks required for practical applications. In this paper, we propose a novel approach, ComKD-CLIP: Comprehensive Knowledge Distillation for Contrastive Language-Image Pre-traning Model, which aims to comprehensively distill the knowledge from a large teacher CLIP model into a smaller student model, ensuring comparable performance with significantly reduced parameters. ComKD-CLIP is composed of two key mechanisms: Image Feature Alignment (IFAlign) and Educational Attention (EduAttention). IFAlign makes the image features extracted by the student model closely match those extracted by the teacher model, enabling the student to learn teacher's knowledge of extracting image features. EduAttention explores the cross-relationships between text features extracted by the teacher model and image features extracted by the student model, enabling the student model to learn how the teacher model integrates text-image features. In addition, ComKD-CLIP can refine the knowledge distilled from IFAlign and EduAttention by leveraging the text-image feature fusion results of the teacher model, ensuring the student model accurately absorbs the teacher's knowledge. Extensive experiments conducted on 11 datasets have demonstrated the superiority of the proposed method.

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

↑