DiffMorpher:释放扩散模型的图像变形能力
DiffMorpher: Unleashing the Capability of Diffusion Models for Image Morphing
AI总结:
针对扩散模型因潜空间非结构化难以实现平滑图像插值的问题,提出DiffMorpher方法,通过双LoRA拟合、参数与噪声插值等技术实现自然图像变形,效果优于现有方法,填补了扩散模型与GAN的功能差距。
摘要:
扩散模型已取得超越以往生成模型的卓越图像生成质量。然而,与GAN(生成对抗网络)相比,扩散模型的一个显著局限是难以在两个图像样本之间进行平滑插值,这源于其高度非结构化的潜空间。这种平滑插值极具吸引力,因为它天然可作为图像变形任务的解决方案,拥有众多应用场景。在本研究中,我们提出DiffMorpher,这是首个利用扩散模型实现平滑自然图像插值的方法。我们的核心思路是通过分别为两张图像拟合两个LoRA(低秩适配)来捕捉其语义,同时对LoRA参数和潜噪声进行插值,以确保平滑的语义过渡,且无需标注即可自动生成对应关系。此外,我们提出了注意力插值与注入技术,以及一种新的采样调度策略,以进一步提升连续图像之间的平滑度。大量实验表明,DiffMorpher在多种物体类别上的图像变形效果远优于以往方法,填补了扩散模型与GAN之间存在的一项关键功能差距。
英文摘要:
Diffusion models have achieved remarkable image generation quality surpassing previous generative models. However, a notable limitation of diffusion models, in comparison to GANs, is their difficulty in smoothly interpolating between two image samples, due to their highly unstructured latent space. Such a smooth interpolation is intriguing as it naturally serves as a solution for the image morphing task with many applications. In this work, we present DiffMorpher, the first approach enabling smooth and natural image interpolation using diffusion models. Our key idea is to capture the semantics of the two images by fitting two LoRAs to them respectively, and interpolate between both the LoRA parameters and the latent noises to ensure a smooth semantic transition, where correspondence automatically emerges without the need for annotation. In addition, we propose an attention interpolation and injection technique and a new sampling schedule to further enhance the smoothness between consecutive images. Extensive experiments demonstrate that DiffMorpher achieves starkly better image morphing effects than previous methods across a variety of object categories, bridging a critical functional gap that distinguished diffusion models from GANs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。