2025-10-21 · 专家 · 计算机视觉 · 机器学习

ConsistEdit: Highly Consistent and Precise Training-free Visual Editing

ConsistEdit提出了一种基于多模态扩散变换器(MM-DiT)的视觉编辑方法,通过创新性的注意力控制机制,实现了高度一致且精确的无监督视觉编辑。

更新于 2025-10-21。作者:Zixin Yin、Ling-Hao Chen、Lionel Ni、Xili Dai。

中文摘要

近年来,训练自由注意力控制方法的最新进展使得现有生成模型具备了灵活高效的文本引导编辑能力。然而,当前的方法在同时提供强大的编辑能力并保持与源内容的连贯性方面存在困难。这一限制在多轮和视频编辑中尤为重要,因为视觉错误会随着时间的推移而累积。此外,大多数现有方法强制执行全局一致性,这限制了它们在保持其他属性的同时修改单个属性(如纹理)的能力,从而阻碍了精细编辑。最近,从 U-Net 到 MM-DiT 的架构转变在生成性能方面带来了显著改进,并引入了一种将文本和视觉模态集成的创新机制。这些进步为克服先前方法未能解决的问题铺平了道路。通过对 MM-DiT 的深入研究,我们发现了其注意力机制中的三个关键见解。在此基础上,我们提出了 ConsistEdit,这是一种专门针对 MM-DiT 的新型注意力控制方法。ConsistEdit 结合了仅视觉的注意力控制、掩码引导的预注意力融合以及查询、键和值标记的差异化处理,以产生一致、与提示对齐的编辑。广泛的实验表明,ConsistEdit 在广泛的图像和视频编辑任务中实现了最先进的性能,包括结构一致和不一致的场景。与先前的方法不同,它是第一个在整个推理步骤和注意力层中进行编辑而不需要手工制作的方法,这显著增强了可靠性和一致性,使得稳健的多轮和多区域编辑成为可能。此外,它支持结构一致性的渐进式调整,从而实现更精细的控制。

英文摘要

Recent advances in training-free attention control methods have enabled flexible and efficient text-guided editing capabilities for existing generation models. However, current approaches struggle to simultaneously deliver strong editing strength while preserving consistency with the source. This limitation becomes particularly critical in multi-round and video editing, where visual errors can accumulate over time. Moreover, most existing methods enforce global consistency, which limits their ability to modify individual attributes such as texture while preserving others, thereby hindering fine-grained editing. Recently, the architectural shift from U-Net to MM-DiT has brought significant improvements in generative performance and introduced a novel mechanism for integrating text and vision modalities. These advancements pave the way for overcoming challenges that previous methods failed to resolve. Through an in-depth analysis of MM-DiT, we identify three key insights into its attention mechanisms. Building on these, we propose ConsistEdit, a novel attention control method specifically tailored for MM-DiT. ConsistEdit incorporates vision-only attention control, mask-guided pre-attention fusion, and differentiated manipulation of the query, key, and value tokens to produce consistent, prompt-aligned edits. Extensive experiments demonstrate that ConsistEdit achieves state-of-the-art performance across a wide range of image and video editing tasks, including both structure-consistent and structure-inconsistent scenarios. Unlike prior methods, it is the first approach to perform editing across all inference steps and attention layers without handcraft, significantly enhancing reliability and consistency, which enables robust multi-round and multi-region editing. Furthermore, it supports progressive adjustment of structural consistency, enabling finer control.

解读

一句话总结

ConsistEdit提出了一种基于多模态扩散变换器(MM-DiT)的视觉编辑方法,通过创新性的注意力控制机制,实现了高度一致且精确的无监督视觉编辑。

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

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

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

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

来源