Skip to main content
QUICK REVIEW

[论文解读] Improved baselines for vision-language pre-training

Enrico Fini, Pietro Astolfi|arXiv (Cornell University)|May 15, 2023
Multimodal Machine Learning ApplicationsComputer Science被引用 3
一句话总结

本文通过系统性地评估并整合自监督学习技术到CLIP中,改进了视觉-语言预训练基线,表明简单的训练配方——尤其是数据增强——能带来显著提升。作者在四个基准上实现了最先进的零样本性能,相比之前的工作最高提升4%,且采用比复杂多损失方法更简单、更透明的方法。

ABSTRACT

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

研究动机与目标

  • 为了从其他训练因素(如数据增强和正则化)中分离出非对比损失在视觉-语言预训练中真正贡献的部分。
  • 为了评估近期自监督学习损失是否能在应用于视觉-语言对齐时,提升CLIP式对比预训练的性能。
  • 为了识别出能最大化性能而不依赖复杂损失工程的CLIP最优训练配方。
  • 为了证明通过标准技术而非新型损失函数即可实现性能提升。
  • 为了为未来视觉-语言预训练研究建立一个更强、更简单的基线。

提出的方法

  • 作者通过将对比学习与在视觉表示学习中已被证明有效的自监督学习损失相结合,实现了并评估了多个CLIP式基线。
  • 将图像和文本的数据增强作为训练配方的关键组成部分,测试其对下游零样本性能的影响。
  • 训练配方包括权重衰减、学习率调度和批量归一化等标准技术,这些技术在其他深度学习子领域中普遍使用。
  • 作者将改进后的CLIP基线与使用额外非对比损失的先前工作进行比较,以隔离增强和优化的影响。
  • 他们使用对比损失在配对的图像-文本数据上训练模型,并对训练过程进行修改以增强泛化能力。
  • 最终模型采用标准视觉Transformer和文本Transformer主干网络,除训练协议增强外,未进行任何架构修改。

实验结果

研究问题

  • RQ1在排除数据增强和优化技术后,非对比损失在视觉-语言预训练中的性能提升中贡献了多少?
  • RQ2仅通过改进的训练配方,标准CLIP基线能否实现最先进性能?
  • RQ3先前工作中报告的性能提升中有多少可归因于数据增强,又有多少可归因于新型损失函数?
  • RQ4是否可能在不修改损失函数的前提下,仅通过标准训练技术实现更优的零样本性能?
  • RQ5哪种最有效且透明的训练配方能超越复杂多损失方法,在视觉-语言预训练中实现更优性能?

主要发现

  • 当使用数据增强、权重衰减和学习率调度等改进技术训练时,简单的CLIP基线在零样本视觉-语言基准上实现了高达25%的相对性能提升。
  • 图像和文本增强本身已占先前使用复杂损失函数的工作中观察到的性能提升的绝大部分。
  • 改进的训练配方在最大规模基准数据集上,持续优于先前最先进方法4%。
  • 作者通过比以往方法更简单、更透明的训练协议,在四个标准视觉-语言数据集上实现了最先进性能。
  • 当应用强训练配方时,额外非对比损失的贡献微乎其微,表明其优势可能被实现细节所混淆。
  • 最终模型在不进行架构修改或引入新型损失函数的前提下,仅依靠标准深度学习优化实践,即实现了更优结果。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。