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

PyramidCLIP:用于视觉语言模型预训练的分层特征对齐

PyramidCLIP: Hierarchical Feature Alignment for Vision-language Model Pretraining

Tencent(腾讯);Shanghai Jiaotong University(上海交通大学);Xiamen University(厦门大学);Zhejiang University(浙江大学)

Yuting Gao, Jinfeng Liu, Zihan Xu, Jun Zhang, Ke Li, Rongrong Ji, Chunhua Shen

摘要:

大规模的视觉语言预训练在下游任务上取得了可喜的成果。现有的方法高度依赖于从互联网上抓取的图像-文本对是完全一一对应的假设。然而,在实际场景中,这种假设很难成立:通过抓取图像的附属元数据获得的文本描述往往存在语义不匹配和相互兼容的问题。为了解决这些问题,我们介绍了PyramidCLIP,它构建了一个输入金字塔与不同的语义层次的每一个模态,并对齐视觉元素和语言元素的层次结构的形式,通过同级语义对齐和跨级别的关系对齐。此外,我们软化了负样本(未配对样本)的丢失,以削弱预训练阶段的严格约束,从而减轻了迫使模型区分兼容负对的风险。五个下游任务的实验证明了所提出的PyramidCLIP的有效性。特别是,在相同数量的1500万个预训练图像-文本对的情况下,PyramidCLIP在基于ResNet 50/ViT-B32/ViT-B16的图像编码器的ImageNet zero-shot分类上的top-1准确率分别超过CLIP 10.6%/13.2%/10.0%。当扩展到更大的数据集时,PyramidCLIP在几个下游任务上实现了最先进的结果。特别是在ImageNet zero-shot分类任务上,PyramidCLIP-ResNet 50在143 M图文对上训练的结果超过了CLIP使用400 M数据的结果,显著提高了CLIP的数据效率。

英文摘要:

Large-scale vision-language pre-training has achieved promising results on downstream tasks. Existing methods highly rely on the assumption that the image-text pairs crawled from the Internet are in perfect one-to-one correspondence. However, in real scenarios, this assumption can be difficult to hold: the text description, obtained by crawling the affiliated metadata of the image, often suffers from the semantic mismatch and the mutual compatibility. To address these issues, we introduce PyramidCLIP, which constructs an input pyramid with different semantic levels for each modality, and aligns visual elements and linguistic elements in the form of hierarchy via peer-level semantics alignment and cross-level relation alignment. Furthermore, we soften the loss of negative samples (unpaired samples) so as to weaken the strict constraint during the pre-training stage, thus mitigating the risk of forcing the model to distinguish compatible negative pairs. Experiments on five downstream tasks demonstrate the effectiveness of the proposed PyramidCLIP. In particular, with the same amount of 15 million pre-training image-text pairs, PyramidCLIP exceeds CLIP on ImageNet zero-shot classification top-1 accuracy by 10.6%/13.2%/10.0% with ResNet50/ViT-B32/ViT-B16 based image encoder respectively. When scaling to larger datasets, PyramidCLIP achieves the state-of-the-art results on several downstream tasks. In particular, the results of PyramidCLIP-ResNet50 trained on 143M image-text pairs surpass that of CLIP using 400M data on ImageNet zero-shot classification task, significantly improving the data efficiency of CLIP.

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

↑