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

Patch Diffusion:更快且数据效率更高的扩散模型训练

Patch Diffusion: Faster and More Data-Efficient Training of Diffusion Models

The University of Texas at Austin(德克萨斯大学奥斯汀分校);Microsoft Azure AI(微软Azure人工智能部门)

Zhendong Wang, Yifan Jiang, Huangjie Zheng, Peihao Wang, Pengcheng He, Zhangyang Wang, Weizhu Chen, Mingyuan Zhou

AI总结:

提出 Patch Diffusion 补丁级训练框架,通过引入补丁级条件得分函数并随机化补丁大小,实现两倍以上训练加速并提升小数据集训练效率,在多个基准上取得杰出 FID 分数。

摘要:

扩散模型功能强大,但训练需要大量时间和数据。我们提出 Patch Diffusion,一种通用的补丁级训练框架,以显著降低训练时间成本并提高数据效率,从而帮助将扩散模型训练普及到更广泛的用户。我们创新的核心是一个新的补丁级条件得分函数,其中原始图像中的补丁位置作为附加坐标通道包含在内,而补丁大小在训练过程中被随机化和多样化,以编码多尺度下的跨区域依赖性。使用我们的方法进行采样与原始扩散模型一样简单。通过 Patch Diffusion,我们可以实现 $\mathbf{\ge 2\times}$ 更快的训练,同时保持可比或更好的生成质量。Patch Diffusion 同时提高了在相对较小数据集上训练的扩散模型的性能,例如,从仅有 5,000 张图像开始训练。我们取得了与最先进基准一致的杰出 FID 分数:CelebA-64$\times$64 上 1.77,AFHQv2-Wild-64$\times$64 上 1.93,以及 ImageNet-256$\times$256 上 2.72。我们在 https://github.com/Zhendong-Wang/Patch-Diffusion 分享了代码和预训练模型。

英文摘要:

Diffusion models are powerful, but they require a lot of time and data to train. We propose Patch Diffusion, a generic patch-wise training framework, to significantly reduce the training time costs while improving data efficiency, which thus helps democratize diffusion model training to broader users. At the core of our innovations is a new conditional score function at the patch level, where the patch location in the original image is included as additional coordinate channels, while the patch size is randomized and diversified throughout training to encode the cross-region dependency at multiple scales. Sampling with our method is as easy as in the original diffusion model. Through Patch Diffusion, we could achieve $\mathbf{\ge 2\times}$ faster training, while maintaining comparable or better generation quality. Patch Diffusion meanwhile improves the performance of diffusion models trained on relatively small datasets, $e.g.$, as few as 5,000 images to train from scratch. We achieve outstanding FID scores in line with state-of-the-art benchmarks: 1.77 on CelebA-64$\times$64, 1.93 on AFHQv2-Wild-64$\times$64, and 2.72 on ImageNet-256$\times$256. We share our code and pre-trained models at https://github.com/Zhendong-Wang/Patch-Diffusion.

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

↑