细化本质上是可编辑的:基于生成细化网络的无训练提示到提示图像编辑

·

研究论文 · 2026/09/21

文本引导的图像编辑需在引入所请求更改的同时保留无关的源内容。基于扩散的编辑器依赖空间控制,其不准确性可能导致编辑不完整或改变无关区域。因果自回归编辑器面临进一步限制:其固定的解码顺序限制了对先前决策的修正。我们提出RefineEdit,一种无需训练的提示到提示图像编辑框架,基于生成细化网络。我们的核心思想是通过二值图像码的全局细化,将编辑定位与内容生成耦合,使编辑证据随图像演化而被重新评估。RefineEdit从中间源状态初始化编辑分支,复用涌现的布局。我们比较两个分支对同一源采样比特分配的概率,利用其符号差异选择可编辑位置和比特。选中的比特遵循编辑细化,而其余比特复制演化的源状态。为在细化步骤中稳定编辑,自适应空间冻结限制不必要的掩码扩展,而有限比特锁定保持最近选中的比特可编辑。该框架无需额外训练、外部掩码或注意力控制。在PIE-Bench的九个编辑类别中,RefineEdit在PSNR、LPIPS、MSE和SSIM上取得最佳背景保留分数,并在所评估方法中获得最高的全图和编辑区域CLIP分数。

该工作提出了一种无需训练的提示到提示图像编辑框架,通过生成细化网络实现编辑定位与内容生成的耦合,在多个指标上取得最佳背景保留和CLIP分数,为文本引导图像编辑提供了新思路。

Text-guided image editing must introduce the requested changes while preserving unrelated source content. Diffusion-based editors rely on spatial controls whose inaccuracies can leave edits incomplete or alter unrelated regions. Causal autoregressive editors face a further constraint: their fixed decoding order limits revision of earlier decisions. We introduce RefineEdit, a training-free prompt-to-prompt image editing framework built on a Generative Refinement Network. Our key idea is to couple edit localization with content generation through the global refinement of binary image codes, allowing editing evidence to be reassessed as the image evolves. RefineEdit initializes an editing branch from an intermediate source state, reusing the emerging layout. We compare the probabilities assigned by the two branches to the same source-sampled bits, using their signed differences to select editable positions and bits. Selected bits follow editing refinement, while the remaining bits copy the evolving source state. To stabilize editing across refinement steps, adaptive spatial freezing limits unnecessary mask expansion, while finite bit locking keeps recently selected bits editable. The framework requires no additional training, external masks, or attention control. Across nine editing categories of PIE-Bench, RefineEdit achieves the best background-preservation scores in PSNR, LPIPS, MSE and SSIM, together with the highest whole-image and edited-region CLIP scores among the evaluated methods.

阅读原文

参与讨论