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

DiT4Edit:用于图像编辑的扩散Transformer

DiT4Edit: Diffusion Transformer for Image Editing

Peking University(北京大学);The Hong Kong University of Science and Technology(香港科技大学);Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))

Kunyu Feng, Yue Ma, Bingyuan Wang, Chenyang Qi, Haozhe Chen, Qifeng Chen, Zeyu Wang

AI总结:

提出首个基于扩散Transformer的图像编辑框架DiT4Edit,利用DPM-Solver反演和统一注意力控制,实现高分辨率图像中更高质量、更快速的形状感知编辑。

摘要:

尽管基于UNet的图像编辑近期取得了进展,但在高分辨率图像中进行形状感知的对象编辑方法仍然缺乏。与UNet相比,扩散Transformer(DiT)展现出更优越的能力,能够有效捕捉补丁之间的长距离依赖关系,从而生成更高质量的图像。在本文中,我们提出了DiT4Edit,这是首个基于扩散Transformer的图像编辑框架。具体而言,DiT4Edit使用DPM-Solver反演算法获取反演潜变量,与UNet框架中常用的DDIM反演算法相比,减少了步骤数量。此外,我们设计了统一注意力控制和补丁合并机制,专为Transformer计算流定制。这种整合使我们的框架能够更快地生成更高质量的编辑图像。我们的设计利用了DiT的优势,使其在图像编辑中超越UNet结构,尤其是在高分辨率和任意尺寸图像方面。大量实验表明,DiT4Edit在各种编辑场景中表现出强大的性能,凸显了扩散Transformer在支持图像编辑方面的潜力。

英文摘要:

Despite recent advances in UNet-based image editing, methods for shape-aware object editing in high-resolution images are still lacking. Compared to UNet, Diffusion Transformers (DiT) demonstrate superior capabilities to effectively capture the long-range dependencies among patches, leading to higher-quality image generation. In this paper, we propose DiT4Edit, the first Diffusion Transformer-based image editing framework. Specifically, DiT4Edit uses the DPM-Solver inversion algorithm to obtain the inverted latents, reducing the number of steps compared to the DDIM inversion algorithm commonly used in UNet-based frameworks. Additionally, we design unified attention control and patches merging, tailored for transformer computation streams. This integration allows our framework to generate higher-quality edited images faster. Our design leverages the advantages of DiT, enabling it to surpass UNet structures in image editing, especially in high-resolution and arbitrary-size images. Extensive experiments demonstrate the strong performance of DiT4Edit across various editing scenarios, highlighting the potential of Diffusion Transformers in supporting image editing.

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

↑