arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.16582cs.CV
收藏

Any-Size-Diffusion:面向任意尺寸高清图像的高效文本驱动合成

Any-Size-Diffusion: Toward Efficient Text-Driven Synthesis for Any-Size HD Images

Northwestern Polytechnical University(西北工业大学);Huawei UKRD(华为英国研发中心)

Qingping Zheng, Yuanfan Guo, Jiankang Deng, Jianhua Han, Ying Li, Songcen Xu, Hang Xu

AI总结:

本文提出两阶段流程Any-Size-Diffusion (ASD),通过ARAD优化模型构图能力并引入FSTD技术快速放大图像,高效生成任意尺寸高清图像,在LAION-COCO和MM-CelebA-HQ上推理速度提升2倍。

摘要:

Stable diffusion是一种用于文本到图像合成的生成模型,在生成不同尺寸的图像时经常遇到由分辨率引起的构图问题。该问题主要源于模型在单尺度图像及其对应文本描述的配对上进行训练。此外,直接在无限尺寸的图像上进行训练是不可行的,因为这需要海量的文本-图像配对,并产生巨大的计算开销。为克服这些挑战,我们提出了一种名为Any-Size-Diffusion (ASD)的两阶段流程,旨在高效生成任意尺寸且构图良好的图像,同时尽量减少对高显存GPU资源的需求。具体而言,第一阶段被称为Any Ratio Adaptability Diffusion (ARAD),利用一组选定比例范围受限的图像来优化文本条件扩散模型,从而提升其调整构图以适应不同图像尺寸的能力。为支持创建任意所需尺寸的图像,我们在后续阶段进一步引入了一种名为Fast Seamless Tiled Diffusion (FSTD)的技术。该方法允许将ASD输出快速放大至任意高分辨率尺寸,同时避免接缝伪影或内存过载。在LAION-COCO和MM-CelebA-HQ基准上的实验结果表明,ASD能够生成结构良好的任意尺寸图像,且与传统分块算法相比,推理时间缩短了2倍。

英文摘要:

Stable diffusion, a generative model used in text-to-image synthesis, frequently encounters resolution-induced composition problems when generating images of varying sizes. This issue primarily stems from the model being trained on pairs of single-scale images and their corresponding text descriptions. Moreover, direct training on images of unlimited sizes is unfeasible, as it would require an immense number of text-image pairs and entail substantial computational expenses. To overcome these challenges, we propose a two-stage pipeline named Any-Size-Diffusion (ASD), designed to efficiently generate well-composed images of any size, while minimizing the need for high-memory GPU resources. Specifically, the initial stage, dubbed Any Ratio Adaptability Diffusion (ARAD), leverages a selected set of images with a restricted range of ratios to optimize the text-conditional diffusion model, thereby improving its ability to adjust composition to accommodate diverse image sizes. To support the creation of images at any desired size, we further introduce a technique called Fast Seamless Tiled Diffusion (FSTD) at the subsequent stage. This method allows for the rapid enlargement of the ASD output to any high-resolution size, avoiding seaming artifacts or memory overloads. Experimental results on the LAION-COCO and MM-CelebA-HQ benchmarks demonstrate that ASD can produce well-structured images of arbitrary sizes, cutting down the inference time by 2x compared to the traditional tiled algorithm.

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

↑