2025-06-05 · 专家 · 机器学习 · 计算机视觉

Image Editing As Programs with Diffusion Models

本文提出了一种基于扩散模型的图像编辑框架,通过将复杂编辑指令分解为原子操作序列,实现了对图像的鲁棒编辑。

更新于 2025-06-05。作者:Yujia Hu、Songhua Liu、Zhenxiong Tan、Xingyi Yang、Xinchao Wang。

中文摘要

尽管扩散模型在文本到图像生成方面取得了显著的成功,但在指令驱动的图像编辑方面却面临着重大挑战。我们的研究突出了一个关键挑战:这些模型在涉及大量布局变化的结构不一致编辑方面尤其难以处理。为了弥合这一差距,我们引入了“图像编辑作为程序”(IEAP),这是一个基于扩散Transformer(DiT)架构的统一图像编辑框架。在其核心,IEAP通过还原论视角来处理指令编辑,将复杂的编辑指令分解为一系列原子操作。每个操作都通过一个共享相同DiT骨干的轻量级适配器实现,并针对特定类型的编辑进行专门化。由基于视觉-语言模型(VLM)的智能体编程,这些操作协同支持任意和结构不一致的转换。通过这种方式模块化和序列化编辑,IEAP在广泛的编辑任务中实现了稳健的泛化,从简单的调整到重大的结构变化。广泛的实验表明,IEAP在各种编辑场景的标准基准测试中显著优于最先进的方法。在这些评估中,我们的框架提供了优越的准确性和语义保真度,尤其是在复杂的多步指令方面。代码可在https://github.com/YujiaHu1109/IEAP上获取。

英文摘要

While diffusion models have achieved remarkable success in text-to-image generation, they encounter significant challenges with instruction-driven image editing. Our research highlights a key challenge: these models particularly struggle with structurally inconsistent edits that involve substantial layout changes. To mitigate this gap, we introduce Image Editing As Programs (IEAP), a unified image editing framework built upon the Diffusion Transformer (DiT) architecture. At its core, IEAP approaches instructional editing through a reductionist lens, decomposing complex editing instructions into sequences of atomic operations. Each operation is implemented via a lightweight adapter sharing the same DiT backbone and is specialized for a specific type of edit. Programmed by a vision-language model (VLM)-based agent, these operations collaboratively support arbitrary and structurally inconsistent transformations. By modularizing and sequencing edits in this way, IEAP generalizes robustly across a wide range of editing tasks, from simple adjustments to substantial structural changes. Extensive experiments demonstrate that IEAP significantly outperforms state-of-the-art methods on standard benchmarks across various editing scenarios. In these evaluations, our framework delivers superior accuracy and semantic fidelity, particularly for complex, multi-step instructions. Codes are available at https://github.com/YujiaHu1109/IEAP.

解读

一句话总结

本文提出了一种基于扩散模型的图像编辑框架,通过将复杂编辑指令分解为原子操作序列,实现了对图像的鲁棒编辑。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt