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

TiNO-Edit: 面向鲁棒扩散模型图像编辑的时间步与噪声优化

TiNO-Edit: Timestep and Noise Optimization for Robust Diffusion-Based Image Editing

University of California, Santa Barbara(加州大学圣巴巴拉分校);Cloudinary;Layer AI

Sherry X. Chen, Yaron Vaxman, Elad Ben Baruch, David Asulin, Aviad Moreshet, Kuo-Chin Lien, Misha Sra, Pradeep Sen

AI总结:

针对现有扩散模型图像编辑方法可控性不足的问题,提出TiNO-Edit方法,通过优化编辑过程中的噪声模式与扩散时间步,结合潜空间损失函数提升优化速度,可适配多种SD变体实现更精准可控的图像编辑。

摘要:

尽管已有诸多研究尝试利用Stable Diffusion(SD,稳定扩散)等预训练文本到图像(T2I)模型实现可控图像编辑,但生成可预测的优质结果仍是一项挑战。现有方法要么针对特定数据集微调预训练T2I模型以生成特定类型的图像(例如包含特定物体或人物的图像),要么针对每张输入图像优化权重、文本提示和/或学习特征,试图引导图像生成器输出预期结果。但这些方法均存在缺陷,无法以可预测、可控的方式生成优质结果。为解决该问题,我们提出TiNO-Edit——一种基于SD的方法,核心是在编辑过程中优化噪声模式与扩散时间步,这是现有文献尚未探索的方向。通过这一简单调整,我们生成的结果既能更好地与原始图像对齐,又能反映预期编辑效果。此外,我们提出一组在SD潜空间中运行的新型损失函数,与此前在像素域运行的方法相比,大幅提升了优化速度。我们的方法可轻松应用于SD的各类变体,包括Textual Inversion(文本反转)和DreamBooth,这些变体能够编码新概念并将其融入编辑结果中。我们展示了该方法实现的多种图像编辑能力。我们的代码已在https://github.com/SherryXTChen/TiNO-Edit 公开。

英文摘要:

Despite many attempts to leverage pre-trained text-to-image models (T2I) like Stable Diffusion (SD) for controllable image editing, producing good predictable results remains a challenge. Previous approaches have focused on either fine-tuning pre-trained T2I models on specific datasets to generate certain kinds of images (e.g., with a specific object or person), or on optimizing the weights, text prompts, and/or learning features for each input image in an attempt to coax the image generator to produce the desired result. However, these approaches all have shortcomings and fail to produce good results in a predictable and controllable manner. To address this problem, we present TiNO-Edit, an SD-based method that focuses on optimizing the noise patterns and diffusion timesteps during editing, something previously unexplored in the literature. With this simple change, we are able to generate results that both better align with the original images and reflect the desired result. Furthermore, we propose a set of new loss functions that operate in the latent domain of SD, greatly speeding up the optimization when compared to prior approaches, which operate in the pixel domain. Our method can be easily applied to variations of SD including Textual Inversion and DreamBooth that encode new concepts and incorporate them into the edited results. We present a host of image-editing capabilities enabled by our approach. Our code is publicly available at https://github.com/SherryXTChen/TiNO-Edit.

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

↑