arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.19752cs.CVcs.LG
收藏

基于CLIP的零样本视觉分类的模态内代理学习

Intra-Modal Proxy Learning for Zero-Shot Visual Categorization with CLIP

Alibaba Group(阿里巴巴集团);University of Washington(华盛顿大学)

Qi Qian, Yuanhong Xu, Juhua Hu

AI总结:

本文提出模态内代理学习InMaP,利用文本代理在未标注视觉数据上直接学习视觉代理以缩小CLIP模态差距,并在ImageNet上将零样本准确率从77.02%提升至80.21%。

摘要:

视觉-语言预训练方法(如CLIP)在视觉分类任务中展现了令人印象深刻的零样本性能,其类别代理来自类别名称的文本嵌入。然而,文本空间与视觉空间之间的模态差距可能导致次优性能。我们从理论上证明,仅通过最小化CLIP中的对比损失无法充分缩小这一差距,并且视觉任务的最优代理可能仅存在于视觉空间中。因此,在给定未标注的目标视觉数据的情况下,我们提出借助文本代理直接学习视觉代理,以实现零样本迁移。此外,根据我们的理论分析,我们开发了策略来进一步细化由文本代理获得的伪标签,以促进视觉的模态内代理学习(InMaP)。在广泛的下游任务上的实验证实了我们方法的有效性和高效性。具体而言,在使用CLIP预训练的ViT-L/14@336模型上,InMaP可以在单个GPU上在一分钟内获得视觉代理,同时将ImageNet上的零样本准确率从$77.02\%$提升到$80.21\%$。代码可在\url{https://github.com/idstcv/InMaP}获取。

英文摘要:

Vision-language pre-training methods, e.g., CLIP, demonstrate an impressive zero-shot performance on visual categorizations with the class proxy from the text embedding of the class name. However, the modality gap between the text and vision space can result in a sub-optimal performance. We theoretically show that the gap cannot be reduced sufficiently by minimizing the contrastive loss in CLIP and the optimal proxy for vision tasks may reside only in the vision space. Therefore, given unlabeled target vision data, we propose to learn the vision proxy directly with the help from the text proxy for zero-shot transfer. Moreover, according to our theoretical analysis, strategies are developed to further refine the pseudo label obtained by the text proxy to facilitate the intra-modal proxy learning (InMaP) for vision. Experiments on extensive downstream tasks confirm the effectiveness and efficiency of our proposal. Concretely, InMaP can obtain the vision proxy within one minute on a single GPU while improving the zero-shot accuracy from $77.02\%$ to $80.21\%$ on ImageNet with ViT-L/14@336 pre-trained by CLIP. Code is available at \url{https://github.com/idstcv/InMaP}.

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

↑