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

基于分块生成的记忆高效扩散概率模型

Memory Efficient Diffusion Probabilistic Models via Patch-based Generation

Waseda University(早稻田大学);The University of Tokyo(东京大学);Waseda Research Institute for Science and Engineering(早稻田理工学研究院)

Shinei Arakawa, Hideki Tsunashima, Daichi Horita, Keitaro Tanaka, Shigeo Morishima

AI总结:

本文针对扩散概率模型内存消耗过高的问题,提出基于分块生成的方法,通过位置条件化和全局内容条件化保证分块位置正确与内容连贯,在CelebA和LSUN bedroom上以2×2分块将最大内存消耗降低一半且保持图像质量。

摘要:

扩散概率模型已在生成高质量、多样化的图像方面取得成功。然而,传统模型的输入和输出均为高分辨率图像,面临过高的内存需求,使其在边缘设备上不够实用。此前针对生成对抗网络的方法提出了一种利用位置编码和全局内容信息的分块方法。尽管如此,为扩散概率模型设计分块方法并非易事。本文提出了一种逐块生成图像的扩散概率模型。我们为分块生成提出了两种条件化方法。第一,我们提出使用独热(one-hot)表示的位置条件化,以确保各分块处于正确位置。第二,我们提出全局内容条件化(Global Content Conditioning, GCC),以确保各分块在拼接后具有连贯的内容。我们在CelebA和LSUN bedroom数据集上对模型进行了定性和定量评估,并展示了最大内存消耗与生成图像质量之间的适度权衡。具体而言,当整幅图像被划分为2×2分块时,我们提出的方法可将最大内存消耗降低一半,同时保持可比的图像质量。

英文摘要:

Diffusion probabilistic models have been successful in generating high-quality and diverse images. However, traditional models, whose input and output are high-resolution images, suffer from excessive memory requirements, making them less practical for edge devices. Previous approaches for generative adversarial networks proposed a patch-based method that uses positional encoding and global content information. Nevertheless, designing a patch-based approach for diffusion probabilistic models is non-trivial. In this paper, we resent a diffusion probabilistic model that generates images on a patch-by-patch basis. We propose two conditioning methods for a patch-based generation. First, we propose position-wise conditioning using one-hot representation to ensure patches are in proper positions. Second, we propose Global Content Conditioning (GCC) to ensure patches have coherent content when concatenated together. We evaluate our model qualitatively and quantitatively on CelebA and LSUN bedroom datasets and demonstrate a moderate trade-off between maximum memory consumption and generated image quality. Specifically, when an entire image is divided into 2 x 2 patches, our proposed approach can reduce the maximum memory consumption by half while maintaining comparable image quality.

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

↑