arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.16825cs.CVcs.CY
收藏

CommonCanvas:一个使用 Creative-Commons 图像训练的开放扩散模型

CommonCanvas: An Open Diffusion Model Trained with Creative-Commons Images

Cornell Tech(康奈尔科技学院);Databricks Mosaic

Aaron Gokaslan, A. Feder Cooper, Jasmine Collins, Landan Seguin, Austin Jacobson, Mihir Patel, Jonathan Frankle, Cory Stephenson, Volodymyr Kuleshov

AI总结:

使用 Creative-Commons 图像和合成标题训练出与 Stable Diffusion 2 质量相当的开放扩散模型 CommonCanvas,仅需 3% 的 LAION-4B 数据,并实现约 3 倍训练加速。

摘要:

我们组装了一个 Creative-Commons 许可(CC)图像数据集,并用它训练了一组在质量上可与 Stable Diffusion 2 (SD) 相媲美的开放扩散模型。该任务面临两个挑战:(1)高分辨率 CC 图像缺乏训练文本到图像生成模型所需的标题;(2)CC 图像相对稀缺。为应对这些挑战,我们使用一种直观的迁移移学习技术生成了一组与精选 CC 图像配对的高质量合成标题。随后,我们开发了一种数据和计算高效的训练方法,仅需训练现有 SD 模型所需 LAION-4B 数据的 3%,即可获得相当的质量。结果表明,我们拥有足够数量的 CC 图像(约 7000 万张)来训练高质量模型。我们的训练方法还实现了一种训练加速,速度提升约 3 倍,从而实现快速模型迭代。我们利用该方法训练了多个高质量的文本到图像模型,将其称为 CommonCanvas 系列。我们最大的模型在人类评估中取得了与 SD2 相当的性能,尽管它是在显著更小的 CC 数据集上训练,并使用合成标题进行训练。我们发布了模型、数据和代码。

英文摘要:

We assemble a dataset of Creative-Commons-licensed (CC) images, which we use to train a set of open diffusion models that are qualitatively competitive with Stable Diffusion 2 (SD2). This task presents two challenges: (1) high-resolution CC images lack the captions necessary to train text-to-image generative models; (2) CC images are relatively scarce. In turn, to address these challenges, we use an intuitive transfer learning technique to produce a set of high-quality synthetic captions paired with curated CC images. We then develop a data- and compute-efficient training recipe that requires as little as 3% of the LAION-2B data needed to train existing SD2 models, but obtains comparable quality. These results indicate that we have a sufficient number of CC images (~70 million) for training high-quality models. Our training recipe also implements a variety of optimizations that achieve ~3X training speed-ups, enabling rapid model iteration. We leverage this recipe to train several high-quality text-to-image models, which we dub the CommonCanvas family. Our largest model achieves comparable performance to SD2 on a human evaluation, despite being trained on our CC dataset that is significantly smaller than LAION and using synthetic captions for training. We release our models, data, and code at https://github.com/mosaicml/diffusion/blob/main/assets/common-canvas.md

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

↑