arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2211.12446cs.CVcs.AIcs.LG
收藏

EDICT:基于耦合变换的精确扩散反演

EDICT: Exact Diffusion Inversion via Coupled Transformations

Salesforce Research(赛富时研究院)

Bram Wallace, Akash Gokul, Nikhil Naik

摘要:

找到一个初始的噪声向量,产生一个输入图像时,馈送到扩散过程(称为反演)是一个重要的问题,在去噪扩散模型(DDM),与应用程序的真实图像编辑。用于具有反演的真实图像编辑的最新方法使用去噪扩散隐式模型(DDIM)来确定性地将图像噪声化到沿着给定原始条件的去噪将遵循的路径的中间状态。然而,实际图像的DDIM反演是不稳定的,因为它依赖于局部线性化假设,这导致误差的传播,导致不正确的图像重建和内容的丢失。为了缓解这些问题,我们提出了精确扩散反演通过耦合变换(EDICT),一种反演方法,灵感来自仿射耦合层。EDICT通过保持两个耦合的噪声矢量,使数学上精确的反演的真实和模型生成的图像,这是用来在一个交替的方式相互反演。使用稳定扩散,一个国家的最先进的潜空间扩散模型,我们证明了EDICT成功地重建真实图像高保真。在像MS-COCO这样的复杂图像数据集上,EDICT重建的性能明显优于DDIM,将重建的均方误差提高了两倍。使用从真实图像反转的噪声向量,EDICT实现了广泛的图像编辑-从局部和全局语义编辑到图像风格化-同时保持对原始图像结构的保真度。EDICT不需要模型训练/微调、提示微调或额外的数据,并且可以与任何预训练的DDM相结合。代码可在www.example.com上获得。

英文摘要:

Finding an initial noise vector that produces an input image when fed into the diffusion process (known as inversion) is an important problem in denoising diffusion models (DDMs), with applications for real image editing. The state-of-the-art approach for real image editing with inversion uses denoising diffusion implicit models (DDIMs) to deterministically noise the image to the intermediate state along the path that the denoising would follow given the original conditioning. However, DDIM inversion for real images is unstable as it relies on local linearization assumptions, which result in the propagation of errors, leading to incorrect image reconstruction and loss of content. To alleviate these problems, we propose Exact Diffusion Inversion via Coupled Transformations (EDICT), an inversion method that draws inspiration from affine coupling layers. EDICT enables mathematically exact inversion of real and model-generated images by maintaining two coupled noise vectors which are used to invert each other in an alternating fashion. Using Stable Diffusion, a state-of-the-art latent diffusion model, we demonstrate that EDICT successfully reconstructs real images with high fidelity. On complex image datasets like MS-COCO, EDICT reconstruction significantly outperforms DDIM, improving the mean square error of reconstruction by a factor of two. Using noise vectors inverted from real images, EDICT enables a wide range of image edits--from local and global semantic edits to image stylization--while maintaining fidelity to the original image structure. EDICT requires no model training/finetuning, prompt tuning, or extra data and can be combined with any pretrained DDM. Code is available at https://github.com/salesforce/EDICT.

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

↑