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

视觉-语言预训练的改进基线

Improved baselines for vision-language pre-training

FAIR, Meta(FAIR,Meta公司);University of Trento(特伦托大学);Mila, Quebec AI Institute(米拉魁北克人工智能研究所);McGill University(麦吉尔大学)

Enrico Fini, Pietro Astolfi, Adriana Romero-Soriano, Jakob Verbeek, Michal Drozdzal

AI总结:

本研究针对视觉-语言预训练中额外损失与实现细节贡献难区分的问题,通过结合对比学习与自监督学习进展构建基线,发现改进训练方案(含数据增强)可让简单CLIP基线大幅提升,在四个标准数据集上取得SOTA且更简洁。

摘要:

对比学习已成为一种学习多模态表征的高效框架。CLIP(对比语言-图像预训练)是该领域的一项开创性工作,它通过使用对比损失在成对的图像-文本数据上训练,取得了令人瞩目的成果。近期研究声称,受自监督学习启发,通过引入额外的非对比损失,其方法相较CLIP实现了性能提升。然而,有时很难将这些额外损失的贡献与训练模型时用到的其他实现细节(例如数据增强或正则化技术)区分开来。为阐明这一问题,本文首先提出、实现并评估了若干将对比学习与自监督学习最新进展相结合的基线方法。具体而言,我们使用已被证明在视觉自监督学习中有效的损失函数来对齐图像和文本模态。我们发现这些基线方法的表现优于基础版的CLIP实现。但当采用更强的训练方案时,这种优势便不复存在。事实上,我们发现,仅通过使用其他子领域中流行的成熟训练技术,简单的CLIP基线也能得到大幅提升,在下游零样本任务上的相对提升可达25%。此外,我们发现,仅应用图像和文本增强就足以弥补先前工作取得的大部分提升效果。借助我们为CLIP设计的改进训练方案,我们在四个标准数据集上取得了当前最优性能,并且始终优于先前工作(在最大数据集上提升幅度高达+4%),同时方法也大幅简化。代码可在https://github.com/facebookresearch/clip-rocket 获取。

英文摘要:

Contrastive learning has emerged as an efficient framework to learn multimodal representations. CLIP, a seminal work in this area, achieved impressive results by training on paired image-text data using the contrastive loss. Recent work claims improvements over CLIP using additional non-contrastive losses inspired from self-supervised learning. However, it is sometimes hard to disentangle the contribution of these additional losses from other implementation details, e.g., data augmentation or regularization techniques, used to train the model. To shed light on this matter, in this paper, we first propose, implement and evaluate several baselines obtained by combining contrastive learning with recent advances in self-supervised learning. In particular, we use the loss functions that were proven successful for visual self-supervised learning to align image and text modalities. We find that these baselines outperform a basic implementation of CLIP. However, when a stronger training recipe is employed, the advantage disappears. Indeed, we find that a simple CLIP baseline can also be improved substantially, up to a 25% relative improvement on downstream zero-shot tasks, by using well-known training techniques that are popular in other subfields. Moreover, we discover that it is enough to apply image and text augmentations to make up for most of the improvement attained by prior works. With our improved training recipe for CLIP, we obtain state-of-the-art performance on four standard datasets, and consistently outperform prior work (up to +4% on the largest dataset), while being substantially simpler. The code is available at https://github.com/facebookresearch/clip-rocket

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

↑