arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.23905cs.CVeess.IV
收藏

用于文生图扩散/流模型编辑的实例特定无分类器引导

Instance-Specific Classifier-Free Guidance for Text-to-Image Diffusion/Flow-Based Editing

Tel Aviv University(特拉维夫大学);Bar-Ilan University(巴伊兰大学)

Wajeeh Atrash, Tom Tirer

AI总结:

本文针对文生图扩散/流模型编辑中固定CFG尺度的缺陷,提出训练轻量级神经网络预测指标以快速选择实例特定CFG尺度,提升了编辑性能且推理高效。

摘要:

近年来,基于文生图(T2I)扩散/流模型开发了多种基于提示词的图像编辑方法。图像编辑在贴合原始源图像与实现目标提示词指定的修改之间存在固有权衡,该权衡分别通过LPIPS和CLIP-T指标衡量。直观来看,这种权衡可通过无分类器引导(CFG)尺度控制。然而,现有多数编辑方法使用固定CFG尺度,忽略了不同编辑任务需要不同程度的修改。本文中,我们通过在基准数据集上对主流编辑方法在广泛CFG尺度值下进行穷尽重运行,首先探索使用实例特定CFG的潜在益处。结果表明,实例特定设置可显著提升LPIPS指标,同时不损害CLIP-T指标。但基于重复执行编辑流水线的调优效率低下,为避免推理速度变慢,我们训练了一个轻量级神经网络,用于预测给定编辑实例和CFG尺度下基础编辑方法的指标。在推理阶段,这些预测可快速选择实例特定CFG尺度。在多种编辑方法和基准设置下的实验表明,我们的方法相比基线方法具有性能优势。

英文摘要:

In recent years, a variety of prompt-based image editing methods have been developed based on text-to-image (T2I) diffusion/flow models. Image editing introduces an inherent trade-off between adhering to the original source image and realizing the change specified by the target prompt, which are typically measured by the LPIPS and CLIP-T metrics, respectively. Intuitively, this trade-off can be controlled by the classifier-free guidance (CFG) scale. Most existing editing methods, though, use a fixed CFG scale, ignoring that different edits require varying levels of modification. In this paper, we first explore the potential benefits of using an instance-specific CFG by exhaustively re-running prominent editing methods with a wide range of CFG scale values on benchmark datasets. We show that instance-specific setting can significantly improve LPIPS without compromising CLIP-T. Yet, tuning based on repeatedly executing an editing pipeline is inefficient. To prevent slow inference, we train a light-weight neural network that predicts the metrics of the underlying editing method for a given edit instance and CFG scale. At inference time, these predictions enable fast selection of an instance-specific CFG scale. Experiments across multiple editing methods and benchmark settings show the performance advantage of our approach over the baseline methods.

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

↑