CWCL:使用连续加权对比损失的跨模态迁移
CWCL: Cross-Modal Transfer with Continuously Weighted Contrastive Loss
AI总结:
针对跨模态零样本迁移中二元对比目标难以刻画连续相似性的问题,论文提出 CWCL 连续加权对比损失,并在图像-文本、语音-文本任务上显著提升零样本分类性能。
摘要:
本文研究用于跨模态零样本迁移的对比训练,其中利用一个模态中的预训练模型,借助成对数据在另一个领域进行表征学习。随后,在后一领域中学到的模型可以零样本方式用于多种任务,这与近期受到广泛关注的“Contrastive Language-Image Pre-training(CLIP,对比语言-图像预训练)”和“Locked-image Tuning(LiT,锁定图像调优)”类似。大多数现有的跨模态表征对齐工作(包括 CLIP 和 LiT)都采用标准对比训练目标,该目标使用正样本和负样本集合来对齐相似的训练数据样本并排斥不相似的样本。然而,训练样本之间的相似性具有更强的连续性质,因此需要更“非二元”的处理方式。为解决这一问题,我们提出了一种名为 Continuously Weighted Contrastive Loss(CWCL,连续加权对比损失)的新型损失函数,它采用连续的相似性度量。借助 CWCL,我们试图将一个模态的嵌入空间与另一个模态对齐。由于所提出损失函数中相似性的连续性质,这些模型在多种模型、数据集和模态上的零样本迁移表现优于现有方法。具体而言,我们考虑了图像-文本和语音-文本模态对;我们的模型在零样本图像分类上比此前最先进方法取得 5%–8%(绝对)提升,在零样本语音到意图分类和关键词分类上取得 20%–30%(绝对)提升。
英文摘要:
This paper considers contrastive training for cross-modal 0-shot transfer wherein a pre-trained model in one modality is used for representation learning in another domain using pairwise data. The learnt models in the latter domain can then be used for a diverse set of tasks in a zero-shot way, similar to ``Contrastive Language-Image Pre-training (CLIP)'' and ``Locked-image Tuning (LiT)'' that have recently gained considerable attention. Most existing works for cross-modal representation alignment (including CLIP and LiT) use the standard contrastive training objective, which employs sets of positive and negative examples to align similar and repel dissimilar training data samples. However, similarity amongst training examples has a more continuous nature, thus calling for a more `non-binary' treatment. To address this, we propose a novel loss function called Continuously Weighted Contrastive Loss (CWCL) that employs a continuous measure of similarity. With CWCL, we seek to align the embedding space of one modality with another. Owing to the continuous nature of similarity in the proposed loss function, these models outperform existing methods for 0-shot transfer across multiple models, datasets and modalities. Particularly, we consider the modality pairs of image-text and speech-text and our models achieve 5-8% (absolute) improvement over previous state-of-the-art methods in 0-shot image classification and 20-30% (absolute) improvement in 0-shot speech-to-intent classification and keyword classification.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。