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

EasyInv:迈向更快且更优的DDIM反演

EasyInv: Toward Fast and Better DDIM Inversion

Xiamen University(厦门大学);Skywork AI(昆仑万维);National University of Singapore(新加坡国立大学)

Ziyue Zhang, Mingbao Lin, Shuicheng Yan, Rongrong Ji

AI总结:

EasyInv通过优先利用初始潜在状态并聚合相邻时间步状态来近似反演噪声,避免迭代优化,在保持或提升DDIM反演性能的同时实现约三倍推理加速,且仅需四行代码即可集成到现有方法中。

摘要:

本文提出EasyInv,一种简单而新颖的方法,通过解决传统迭代优化方法固有的低效问题和性能局限,显著推动了DDIM反演领域的发展。EasyInv的核心是一种用于近似反演噪声的精炼策略,这对于提升反演过程的准确性和可靠性至关重要。通过优先利用初始潜在状态——其中封装了关于原始图像的丰富信息——EasyInv避免了对噪声项的迭代细化。取而代之的是,我们引入了一种将前一时间步的潜在状态与当前状态进行系统性聚合的方法,从而有效增强初始潜在状态的影响并减轻噪声的干扰。我们证明,EasyInv能够提供与传统DDIM反演方法相当甚至更优的结果,尤其是在模型精度受限或计算资源稀缺的条件下。同时,与现成的迭代优化技术相比,我们的EasyInv在推理效率上实现了约三倍的提升。它只需四行代码即可轻松与大多数现有反演方法结合。代码见https://github.com/potato-kitty/EasyInv。

英文摘要:

This paper introduces EasyInv, an easy yet novel approach that significantly advances the field of DDIM Inversion by addressing the inherent inefficiencies and performance limitations of traditional iterative optimization methods. At the core of our EasyInv is a refined strategy for approximating inversion noise, which is pivotal for enhancing the accuracy and reliability of the inversion process. By prioritizing the initial latent state, which encapsulates rich information about the original images, EasyInv steers clear of the iterative refinement of noise items. Instead, we introduce a methodical aggregation of the latent state from the preceding time step with the current state, effectively increasing the influence of the initial latent state and mitigating the impact of noise. We illustrate that EasyInv is capable of delivering results that are either on par with or exceed those of the conventional DDIM Inversion approach, especially under conditions where the model's precision is limited or computational resources are scarce. Concurrently, our EasyInv offers an approximate threefold enhancement regarding inference efficiency over off-the-shelf iterative optimization techniques. It can be easily combined with most existing inversion methods by only four lines of code. See code at https://github.com/potato-kitty/EasyInv.

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

↑