FastDrag:一步操控任意对象
FastDrag: Manipulate Anything in One Step
AI总结:
针对现有拖拽式图像编辑多步迭代耗时的问题,提出一步式方法FastDrag,通过潜在翘曲函数、双边最近邻插值和一致性保持策略,在DragBench数据集上实现了编辑速度的大幅提升与性能的增强。
摘要:
基于生成模型的拖拽式图像编辑可实现对图像内容的精准控制,让用户通过几次点击就能操控图像中的任意对象。然而,现有主流方法通常采用n步迭代进行潜在语义优化,以实现拖拽式图像编辑,这一过程耗时较长,限制了其实际应用。本文提出了一种全新的一步式拖拽图像编辑方法——FastDrag,用于加速编辑流程。该方法的核心是潜在翘曲函数(LWF),它模拟受拉伸材料的行为,在潜在空间中调整单个像素的位置。这一创新实现了一步式潜在语义优化,从而显著提升了编辑速度。同时,针对应用LWF后出现的空白区域,我们提出了双边最近邻插值(BNNI)策略。该策略利用邻近区域的相似特征对这些区域进行插值,从而增强语义完整性。此外,我们还引入了一致性保持策略,通过利用扩散反转过程中自注意力模块内存储为键值对的原始图像语义信息来引导扩散采样,从而保持编辑后图像与原始图像的一致性。我们的FastDrag在DragBench数据集上得到了验证,结果表明其处理时间较现有方法有大幅缩短,同时编辑性能也有所提升。项目页面:https://fastdrag-site.github.io/。
英文摘要:
Drag-based image editing using generative models provides precise control over image contents, enabling users to manipulate anything in an image with a few clicks. However, prevailing methods typically adopt $n$-step iterations for latent semantic optimization to achieve drag-based image editing, which is time-consuming and limits practical applications. In this paper, we introduce a novel one-step drag-based image editing method, i.e., FastDrag, to accelerate the editing process. Central to our approach is a latent warpage function (LWF), which simulates the behavior of a stretched material to adjust the location of individual pixels within the latent space. This innovation achieves one-step latent semantic optimization and hence significantly promotes editing speeds. Meanwhile, null regions emerging after applying LWF are addressed by our proposed bilateral nearest neighbor interpolation (BNNI) strategy. This strategy interpolates these regions using similar features from neighboring areas, thus enhancing semantic integrity. Additionally, a consistency-preserving strategy is introduced to maintain the consistency between the edited and original images by adopting semantic information from the original image, saved as key and value pairs in self-attention module during diffusion inversion, to guide the diffusion sampling. Our FastDrag is validated on the DragBench dataset, demonstrating substantial improvements in processing time over existing methods, while achieving enhanced editing performance. Project page: https://fastdrag-site.github.io/ .
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。