Skip to main content
QUICK REVIEW

[论文解读] Quality Not Quantity: On the Interaction between Dataset Design and Robustness of CLIP

Thao D. Nguyen, Gabriel Ilharco|arXiv (Cornell University)|Aug 10, 2022
Topic ModelingComputer Science被引用 19
一句话总结

本文研究了数据集设计对CLIP模型鲁棒性的影响,发现数据质量比数量更为重要:将多个网络爬取的数据集组合反而会削弱鲁棒性而非提升。作者通过实证和理论分析表明,经过筛选的数据源(如Wikipedia或YFCC)优于原始、未经过滤的集合(如LAION),且使用CLIP自身进行过滤可提升数据质量,从而挑战了‘更多数据总是带来更好泛化能力’的假设。

ABSTRACT

Web-crawled datasets have enabled remarkable generalization capabilities in recent image-text models such as CLIP (Contrastive Language-Image pre-training) or Flamingo, but little is known about the dataset creation processes. In this work, we introduce a testbed of six publicly available data sources - YFCC, LAION, Conceptual Captions, WIT, RedCaps, Shutterstock - to investigate how pre-training distributions induce robustness in CLIP. We find that the performance of the pre-training data varies substantially across distribution shifts, with no single data source dominating. Moreover, we systematically study the interactions between these data sources and find that combining multiple sources does not necessarily yield better models, but rather dilutes the robustness of the best individual data source. We complement our empirical findings with theoretical insights from a simple setting, where combining the training data also results in diluted robustness. In addition, our theoretical model provides a candidate explanation for the success of the CLIP-based data filtering technique recently employed in the LAION dataset. Overall our results demonstrate that simply gathering a large amount of data from the web is not the most effective way to build a pre-training dataset for robust generalization, necessitating further study into dataset design. Code is available at https://github.com/mlfoundations/clip_quality_not_quantity.

研究动机与目标

  • 理解不同网络爬取的图文数据集在分布偏移下对CLIP模型鲁棒性的影响。
  • 探究组合多个数据集是否能提升模型鲁棒性,还是反而削弱各来源的优势。
  • 评估数据过滤技术(尤其是基于CLIP的过滤)对数据集质量及下游模型泛化能力的影响。
  • 为组合数据集可能降低鲁棒性的原因提供理论洞见,即使各独立来源本身质量较高。
  • 挑战当前普遍认为更大、更多样化数据集总能带来更好泛化的假设。

提出的方法

  • 作者构建了一个由六个公开可用数据集组成的测试平台:YFCC、LAION、Conceptual Captions、WIT、RedCaps 和 Shutterstock,涵盖多样化的网络来源。
  • 他们在每个数据集上微调CLIP模型,并在ImageNet及其典型的分布偏移设置下评估零样本准确率。
  • 通过测量在多种分布偏移下的性能退化程度,比较单一数据集及其组合的鲁棒性。
  • 他们构建了一个包含两类线性分类器和各向同性数据分布的理论模型,以解析研究组合数据集对鲁棒性的影响。
  • 理论模型表明,组合不同鲁棒性的数据源会导致鲁棒性被稀释,尤其当其中一个来源显著优于另一个时。
  • 他们利用该理论框架解释了基于CLIP的过滤在LAION中取得成功的原因,表明使用强模型进行过滤可提升数据质量并增强泛化能力。

实验结果

研究问题

  • RQ1在不同分布偏移下,基于不同网络爬取图文数据集训练的CLIP模型鲁棒性如何变化?
  • RQ2与单独使用各来源相比,组合多个数据集是否能提升或导致鲁棒性下降?
  • RQ3能否通过预训练的CLIP模型对数据进行过滤,以提升最终数据集的质量和泛化能力?
  • RQ4为何在某些情况下,即使各独立来源表现优异,组合数据集仍会降低鲁棒性?
  • RQ5视觉-语言预训练中,数据量与鲁棒性之间观察到的权衡背后的理论机制是什么?

主要发现

  • CLIP模型在不同数据源上的鲁棒性存在显著差异,没有单一数据集在所有分布偏移下均占优。
  • 在Wikipedia或YFCC-15M等经过筛选的数据集上训练的模型,通常优于在更大但未经充分过滤的LAION等数据集上训练的模型。
  • 组合两个数据集后,模型的鲁棒性介于两者之间,而非继承两者的最优特性,表明鲁棒性被稀释。
  • 理论分析证实,当组合鲁棒性不同的数据源时,整体鲁棒性会降低,尤其在其中一个来源显著优于另一个时。
  • LAION中基于CLIP的过滤可能通过去除低质量或噪声样本提升了数据质量,解释了其尽管规模庞大却仍表现优异的原因。
  • 本研究挑战了‘更多数据总是带来更好泛化’的假设,强调了数据质量与设计的重要性,而非单纯依赖规模。

阅读本论文

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

在 Nubint 中阅读本论文

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