[论文解读] DataComp: In search of the next generation of multimodal datasets
DataComp 引入了一个大规模基准(CommonPool)和两个轨道(Filtering 和 BYOD)来研究数据集设计如何影响多模态 CLIP 模型,演示在等同计算量下,经过精心筛选的较小数据集可以超越未筛选的较大数据池。DataComp -1B 在该基准内实现了最先进的零-shot ImageNet 准确率。
Multimodal datasets are a critical component in recent breakthroughs such as Stable Diffusion and GPT-4, yet their design does not receive the same research attention as model architectures or training algorithms. To address this shortcoming in the ML ecosystem, we introduce DataComp, a testbed for dataset experiments centered around a new candidate pool of 12.8 billion image-text pairs from Common Crawl. Participants in our benchmark design new filtering techniques or curate new data sources and then evaluate their new dataset by running our standardized CLIP training code and testing the resulting model on 38 downstream test sets. Our benchmark consists of multiple compute scales spanning four orders of magnitude, which enables the study of scaling trends and makes the benchmark accessible to researchers with varying resources. Our baseline experiments show that the DataComp workflow leads to better training sets. In particular, our best baseline, DataComp-1B, enables training a CLIP ViT-L/14 from scratch to 79.2% zero-shot accuracy on ImageNet, outperforming OpenAI's CLIP ViT-L/14 by 3.7 percentage points while using the same training procedure and compute. We release DataComp and all accompanying code at www.datacomp.ai.
研究动机与目标
- 推动并使基于数据的研究在多模态数据集领域得到严格开展,而不仅仅关注模型层面的改进。
- 提供一个标准化、可扩展的基准(DataComp),配有固定的训练方案,以比较数据整理策略。
- 引入 CommonPool,一个 12.8B 的图像-文本数据池,用于筛选实验和注重安全的数据集构建。
- 评估数据源选择和筛选技术如何影响在 38 个下游任务中的零-shot 表现。
- 证明在相同计算预算下,经过精心筛选的子集可以优于更大且未筛选的数据池。
提出的方法
- 在固定架构和超参数下,建立一个固定的 CLIP 风格训练设置(图像/文本编码器,使用对比损失),覆盖四个计算规模。
- 从 Common Crawl 构建 CommonPool,进行 NSFW 过滤、重复数据删除和人脸模糊处理;提供每个样本的元数据。
- 两条竞赛轨道:Filtering(来自 CommonPool 的子集)和 Bring Your Own Data (BYOD) 结合外部数据源;四个计算规模(small 到 xlarge)。
- 在零-shot 设置下,对训练好的模型在 38 个下游任务(分类和检索)进行评估;使用秩相关来关联不同规模。
- 提供 DataComp -1B 作为由两个有前景的筛选基线构建的获胜数据集,并与 LAION-2B 和 OpenAI CLIP 基线进行比较。
实验结果
研究问题
- RQ1在固定计算量下,数据源选择和筛选策略如何影响零-shot 多模态模型的性能?
- RQ2在训练 CLIP 模型时,较小且经过仔细筛选的数据集是否比比较大且未筛选的数据池具有更好的泛化能力?
- RQ3数据整理带来的观测增益是否在不同的计算规模和数据池中保持一致?
- RQ4在 BYOD 中的外部数据源是否能进一步提升零-shot 性能,超出经过筛选的数据池?
- RQ5在多模态学习的数据集中,数据多样性与重复性的权衡如何?
主要发现
- 在各个规模和任务中,筛选策略通常优于无筛选基线。
- 基于图像的筛选与 CLIP-score 筛选的交集通常在许多任务上带来最佳结果。
- DataComp -1B(来自目标池的 1.4B 样本)在 ImageNet 零-shot 准确率上达到 79.2%,在等计算下领先 OpenAI 的 CLIP ViT-L/14 高出 3.7 个百分点。
- DataComp -1B 也在相同计算预算下优于 LAION-2B,尽管数据池更小。
- BYOD 中的外部数据源在若干情形下能提升性能,相较于仅使用 CommonPool 的方法(例如,在大规模下提升 +4.3 百分点)。
- 较小、筛选更严格的数据集相比较大、筛选较少的数据池具有更好的泛化能力,且性能提升在各个规模上持续存在。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。