arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2412.07517cs.CV
收藏

FireFlow: 面向图像语义编辑的整流流快速反演方法

FireFlow: Fast Inversion of Rectified Flow for Image Semantic Editing

Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所)

Yingying Deng, Xiangyu He, Changwang Mei, Peisong Wang, Fan Tang

AI总结:

针对整流流快速反演用于图像编辑的难题,提出零样本方法FireFlow,通过精心设计的数值求解器实现8步高效反演,速度提升3倍且重建误差更小、编辑效果更优。

摘要:

尽管带蒸馏的整流流(Rectified Flows, ReFlows)为快速采样提供了极具前景的途径,但用于将图像转换回结构化噪声以实现图像复原及后续编辑的快速反演方法仍未得到解决。本文提出FireFlow,这是一种简单而有效的零样本方法,它继承了基于ReFlow的模型(如FLUX)出色的生成能力,同时将其能力拓展至8步内完成精准反演与编辑。我们首先证明,精心设计的数值求解器对ReFlow反演至关重要,它能在保持一阶欧拉方法实际效率的同时,实现二阶求解器精度的精准反演与重建。该求解器与当前最优的ReFlow反演和编辑技术相比,运行速度提升3倍,同时在无需训练的模式下实现了更小的重建误差和更优的编辑效果。代码可通过此链接获取:https://github.com/HolmesShuan/FireFlow。

英文摘要:

Though Rectified Flows (ReFlows) with distillation offers a promising way for fast sampling, its fast inversion transforms images back to structured noise for recovery and following editing remains unsolved. This paper introduces FireFlow, a simple yet effective zero-shot approach that inherits the startling capacity of ReFlow-based models (such as FLUX) in generation while extending its capabilities to accurate inversion and editing in $8$ steps. We first demonstrate that a carefully designed numerical solver is pivotal for ReFlow inversion, enabling accurate inversion and reconstruction with the precision of a second-order solver while maintaining the practical efficiency of a first-order Euler method. This solver achieves a $3\times$ runtime speedup compared to state-of-the-art ReFlow inversion and editing techniques, while delivering smaller reconstruction errors and superior editing results in a training-free mode. The code is available at $\href{https://github.com/HolmesShuan/FireFlow}{this URL}$.

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

↑