PaRDi:用离散扩散实现图像编辑中的保留与修改
PaRDi: Learning to Preserve and Revise with Discrete Diffusion
写图像编辑扩散模型的论文,思路和常见的“全 MASK 重画”完全不同:从原图出发,只动该动的 token,还允许已生成部分继续改。做生成模型或编辑工具的研发者可以看看它的桥构造和目标函数设计。
PaRDi 是一个面向图像编辑的离散扩散框架,提出在一套动态过程中同时建模“保留”与“反复修改”。现有方法多采用 reference-based regeneration 范式:将源图编码为参考序列,再从全 MASK 画布生成目标图,导致本不该变的内容也被重新生成,容易在改服装时牵动面部、在改前景时牵动背景。
PaRDi 的做法是从源图画布直接出发,每个 token 可以保持原值,也可以先经过 MASK 再取新值,新生成的 token 还能继续被修改。这种异步更新让画布上始终同时存在未动的源 token 和已完成的修改,二者共同引导后续生成,因而既能做局部编辑,也能做整图编辑。
训练机制上,PaRDi 用端点条件桥(endpoint-conditioned bridges)加上未变位置的恒定路径,解析地给出训练状态分布与转移目标,配合 transition-matching 目标,无需手工设计 remasking 轨迹。
PaRDi: Learning to Preserve and Revise with Discrete Diffusion
Existing discrete diffusion methods for image editing often encode the source as a reference sequence and generate a separate target from a fully masked canvas---a paradigm we call reference-based regeneration. This forces even content meant to remain unchanged to be generated again, potentially introducing unwanted drift, such as background changes during foreground edits or facial changes during clothing edits. We introduce PaRDi, a discrete diffusion framework that starts from the source canvas and models preservation and repeated revision within the same dynamics. Each token can retain its value or pass through MASK before taking a new value, and newly generated tokens remain eligible for further revision. These asynchronous updates produce partially revised canvases in which preserved source tokens and completed revisions jointly guide subsequent generation, supporting both local and image-wide edits. Endpoint-conditioned bridges, combined with constant paths at unchanged positions, analytically provide training-state distributions and transition targets, yielding training canvases and transition-matching objectives without hand-designed remasking trajectories.
本条情报归属 AITOP「论文」核心追踪栏目。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:PaRDi、离散扩散、图像编辑、扩散模型,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。
信源核验说明:本文原始线索采编自「arXiv cs.AI」(@Haoxiang Cao, Jiajiong Cao, Bao Tang, JiaHao Guo, Shenhui Zhang, Xuanpu Zhang, Changqian Yu, Chaoqun Wang),经 AITOP 多维评分管线结构化提炼。