arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.20494cs.CVcs.AIcs.LG
收藏

预训练数据中的轻微损坏可打造更优的扩散模型

Slight Corruption in Pre-training Data Makes Better Diffusion Models

Carnegie Mellon University(卡内基梅隆大学);The University of Hong Kong(香港大学);Mila - Quebec AI Institute(米拉-魁北克人工智能研究所);RIKEN AIP(理化学研究所人工智能项目);The University of Tokyo(东京大学);William & Mary(威廉玛丽学院);MBZUAI(穆罕默德·本·扎耶德人工智能大学)

Hao Chen, Yujin Han, Diganta Misra, Xiang Li, Kai Hu, Difan Zou, Masashi Sugiyama, Jindong Wang, Bhiksha Raj

AI总结:

该研究发现预训练数据的轻微损坏能提升扩散模型生成效果,通过理论证明其合理性,并提出条件嵌入扰动方法有效改进扩散模型的预训练与下游任务性能。

摘要:

扩散模型(DMs)在生成逼真的高质量图像、音频和视频方面展现出卓越能力。它们极大受益于在大规模数据集上的广泛预训练,这些数据集包括带有配对数据和条件的网络爬取数据,例如图文对、图像-类别对。尽管经过严格过滤,这些预训练数据集通常不可避免地包含条件无法准确描述数据的损坏配对。本文首次针对扩散模型预训练数据中的此类损坏影响开展了全面研究。我们对ImageNet-1K和CC3M进行合成损坏处理,以此预训练并评估了50多个条件扩散模型。我们的实证研究结果表明,预训练中各类轻微损坏都能显著提升不同扩散模型在预训练阶段和下游适配阶段生成图像的质量、多样性和保真度。理论层面,我们采用高斯混合模型,证明了条件中的轻微损坏会带来更高的熵,并且能降低经损坏数据训练的扩散模型所生成的数据分布与真实分布之间的2-瓦瑟斯坦距离。受我们的分析启发,我们提出了一种简单方法,通过添加条件嵌入扰动(CEP)来改进扩散模型在实际数据集上的训练。CEP显著提升了各类扩散模型在预训练和下游任务中的性能。我们希望本研究能为理解扩散模型的数据和预训练过程提供新的见解,所有模型均已发布于https://huggingface.co/DiffusionNoise。

英文摘要:

Diffusion models (DMs) have shown remarkable capabilities in generating realistic high-quality images, audios, and videos. They benefit significantly from extensive pre-training on large-scale datasets, including web-crawled data with paired data and conditions, such as image-text and image-class pairs. Despite rigorous filtering, these pre-training datasets often inevitably contain corrupted pairs where conditions do not accurately describe the data. This paper presents the first comprehensive study on the impact of such corruption in pre-training data of DMs. We synthetically corrupt ImageNet-1K and CC3M to pre-train and evaluate over 50 conditional DMs. Our empirical findings reveal that various types of slight corruption in pre-training can significantly enhance the quality, diversity, and fidelity of the generated images across different DMs, both during pre-training and downstream adaptation stages. Theoretically, we consider a Gaussian mixture model and prove that slight corruption in the condition leads to higher entropy and a reduced 2-Wasserstein distance to the ground truth of the data distribution generated by the corruptly trained DMs. Inspired by our analysis, we propose a simple method to improve the training of DMs on practical datasets by adding condition embedding perturbations (CEP). CEP significantly improves the performance of various DMs in both pre-training and downstream tasks. We hope that our study provides new insights into understanding the data and pre-training processes of DMs and all models are released at https://huggingface.co/DiffusionNoise.

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

↑