arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2209.14169cs.CVcs.AIcs.MM
收藏

CALIP:无参数注意力的CLIP Zero-Shot增强

CALIP: Zero-Shot Enhancement of CLIP with Parameter-free Attention

Peking University(北京大学);Shanghai AI Laboratory(上海人工智能实验室);ShanghaiTech University(上海科技大学)

Ziyu Guo, Renrui Zhang, Longtian Qiu, Xianzheng Ma, Xupeng Miao, Xuming He, Bin Cui

摘要:

对比图像预训练(CLIP)已被证明可以学习具有很大可移植性的视觉表示,从而实现zero-shot分类的有希望的准确性。为了进一步提高其下游性能,现有的作品提出了额外的可学习模块CLIP和微调他们的Few-Shot训练集。然而,由此产生的额外培训成本和数据需求严重阻碍了模型部署和知识转移的效率。在本文中,我们介绍了一种免费午餐增强方法,CALIP,通过一个无参数的注意力模块来提高CLIP的zero-shot性能。具体来说,我们引导视觉和文本表征相互作用,并通过注意力探索跨模态信息特征。由于预训练大大减少了两个模态之间的嵌入距离,我们丢弃了注意力中所有可学习的参数,并双向更新多模态特征,使整个过程无参数和无训练。通过这种方式,图像与文本感知信号混合,并且文本表示变为视觉引导的,以实现更好的自适应zero-shot对准。我们评估CALIP的各种基准的14个数据集的二维图像和三维点云Few-Shot分类,显示一致的zero-shot性能改善CLIP。在此基础上,我们进一步在CALIP的注意力模块中插入少量的线性层,并在Few-Shot设置下验证了我们的鲁棒性,与现有方法相比,也取得了领先的性能。这些广泛的实验证明了我们的方法的优越性,有效地增强CLIP。

英文摘要:

Contrastive Language-Image Pre-training (CLIP) has been shown to learn visual representations with great transferability, which achieves promising accuracy for zero-shot classification. To further improve its downstream performance, existing works propose additional learnable modules upon CLIP and fine-tune them by few-shot training sets. However, the resulting extra training cost and data requirement severely hinder the efficiency for model deployment and knowledge transfer. In this paper, we introduce a free-lunch enhancement method, CALIP, to boost CLIP's zero-shot performance via a parameter-free Attention module. Specifically, we guide visual and textual representations to interact with each other and explore cross-modal informative features via attention. As the pre-training has largely reduced the embedding distances between two modalities, we discard all learnable parameters in the attention and bidirectionally update the multi-modal features, enabling the whole process to be parameter-free and training-free. In this way, the images are blended with textual-aware signals and the text representations become visual-guided for better adaptive zero-shot alignment. We evaluate CALIP on various benchmarks of 14 datasets for both 2D image and 3D point cloud few-shot classification, showing consistent zero-shot performance improvement over CLIP. Based on that, we further insert a small number of linear layers in CALIP's attention module and verify our robustness under the few-shot settings, which also achieves leading performance compared to existing methods. Those extensive experiments demonstrate the superiority of our approach for efficient enhancement of CLIP.

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

↑