Skip to main content
QUICK REVIEW

[论文解读] OBELICS: An Open Web-Scale Filtered Dataset of Interleaved Image-Text Documents

Hugo Laurençon, Lucile Saulnier|arXiv (Cornell University)|Jun 21, 2023
Multimodal Machine Learning ApplicationsComputer Science被引用 48
一句话总结

OBELICS 是一个开源、网络规模的交错图文文档数据集,包含 141M 个多模态 HTML 文档、353M 张图片和 115B 个令牌,并提供在其上训练的开源模型(IDEFICS),在多模态基准测试中表现具有竞争力。

ABSTRACT

Large multimodal models trained on natural documents, which interleave images and text, outperform models trained on image-text pairs on various multimodal benchmarks. However, the datasets used to train these models have not been released, and the collection process has not been fully specified. We introduce the OBELICS dataset, an open web-scale filtered dataset of interleaved image-text documents comprising 141 million web pages extracted from Common Crawl, 353 million associated images, and 115 billion text tokens. We describe the dataset creation process, present comprehensive filtering rules, and provide an analysis of the dataset's content. To show the viability of OBELICS, we train vision and language models of 9 and 80 billion parameters named IDEFICS, and obtain competitive performance on different multimodal benchmarks. We release our dataset, models and code.

研究动机与目标

  • 提供一个大规模、开放、经过筛选的多模态网页文档集合,能够保留页面结构和上下文。
  • 描述用于整理高质量数据的筛选、去重和隐私/安全措施。
  • 通过在 OBELICS 上训练类似 Flamingo 的模型(IDEFICS)并与封闭数据集进行比较,来展示 OBELICS 的实用性。
  • 发布数据集、模型和代码,支持多模态学习的开放研究。

提出的方法

  • 从最新的 Common Crawl 快照中收集英文内容(Feb 2020–Feb 2023)
  • 简化 HTML 以在保留文档结构的同时去除垃圾信息/广告
  • 提取保留基于 DOM 的换行的交错多模态文档
  • 应用节点级和段落级过滤,随后进行文档级过滤
  • 执行负责任的筛选,包括可选择退出的图片移除、图片去重、NSFW 筛选,以及多级去重
  • 在 OBELICS 上训练 Flamingo-like 模型(IDEFICS),并在多模态基准测试中与图文对(image-text-pair)基线进行比较
Figure 1: A comparison of extraction from the same web document. For image-text pairs, the alt-text of images is often short or non-grammatical. For OBELICS , the extracted multimodal web document interleaves long-form text with the images on the page.
Figure 1: A comparison of extraction from the same web document. For image-text pairs, the alt-text of images is often short or non-grammatical. For OBELICS , the extracted multimodal web document interleaves long-form text with the images on the page.

实验结果

研究问题

  • RQ1一个公开发布的、网络规模的交错图文文档多模态数据集,是否能够达到与封闭数据集相当的质量与多样性?
  • RQ2在交错多模态网页文档上训练的模型(相对于图文对)在标准多模态基准测试中是否具有竞争力的表现?
  • RQ3开放数据对模型在 VQA、OCR、仇恨言论检测以及多模态推理任务中的性能有何影响?
  • RQ4筛选、去重和基于同意的筛选如何影响数据质量及下游模型结果?

主要发现

  • 在筛选和去重之后,OBELICS 包含 141 million 文档、353 million 张图片、和 115 billion tokens。
  • 来自 OBELICS 的图像在很大程度上是唯一的(84.3% 唯一图像),文档呈现相对均衡的文本与图像比例(文档中位数 1 张图像,文本中位数 677 个 token)
  • 困惑度分析表明 OBELICS 文本在质量上更像维基百科风格,优于 c4/mmc4/OSCAR,且在多样性与质量方面更接近 The Pile。
  • 定性检查表明,大多数图像与文本内容相关(90%),其中 46% 包含人脸,30% 包含带有文字内容的图像;NSFW 内容大多被过滤。
  • IDEFICS (80B) 在若干多模态基准测试中对 Flamingo 具有竞争力的表现(当在 OBELICS 与其他数据混合上进行训练时);在 9B 时,基于 OBELICS 的模型在聚合指标上优于 OpenFlamingo-9B 等某些基线,凸显了开放多模态网络文档的价值。
  • 在多模态文档上进行训练可以在使用更少图片的情况下实现与仅图文对训练相似或更好的性能,强调了更长文本上下文的优势。
Figure 5: Heatmap displaying the joint distribution of the number of tokens and the number of images in OBELICS documents, accompanied by their respective marginal distributions.
Figure 5: Heatmap displaying the joint distribution of the number of tokens and the number of images in OBELICS documents, accompanied by their respective marginal distributions.

阅读本论文

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

在 Nubint 中阅读本论文

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