arXiv:2605.02417cs.CV2026-05

提出直接对齐生成路径,实现无需重建误差的高精度图像编辑。

DirectEdit: Step-Level Accurate Inversion for Flow-Based Image Editing

论文配图:DirectEdit: Step-Level Accurate Inversion for Flow-Based Image Editing
图 1 · 摘自论文原文
  • 通过直接对齐前向路径,消除重建误差
  • 在多个场景中实现优于现有方法的编辑精度
  • 适合需要高保真与精确编辑的视觉应用

随着大规模预训练文本到图像(T2I)模型的发展,无需训练的图像编辑方法已取得显著成果。传统方法在反演过程中对干净图像添加噪声,随后在前向过程的重建与编辑路径中分别进行去噪。但由于重建路径使用不同时步的噪声潜在表示,导致累积漂移,严重限制了重建保真度。为此,本文系统分析流变换器中的反演过程,提出DirectEdit,一种简单而有效的编辑方法,可在不引入额外神经网络函数评估(NFEs)的情况下消除固有重建误差。不同于以往尝试修正反演路径的工作,DirectEdit聚焦于直接对齐前向路径,实现精准重建与可靠特征共享。此外,引入基于注意力特征注入和多分支掩码引导噪声混合的保持机制,有效平衡保真度与可编辑性。大量实验表明,DirectEdit在多种场景下实现高效且准确的图像编辑,性能全面超越现有先进方法。代码与示例见 https://desongyang.github.io/Directedit。

原文摘要 · Abstract (English)

With recent advancements in large-scale pre-trained text-to-image (T2I) models, training-free image editing methods have demonstrated remarkable success. Typically, these methods involve adding noise to a clean image via an inversion process, followed by separate denoising steps for the reconstruction and editing paths during the forward process. However, since the reconstruction path is approximated using noisy latents from mismatched timesteps, existing methods inevitably suffer from accumulated drift, which fundamentally limits reconstruction fidelity. To address this challenge, we systematically analyze the inversion process within the flow transformer and propose DirectEdit, a simple yet effective editing method that eliminates the inherent reconstruction error without introducing additional neural function evaluations (NFEs). Unlike most prior works that attempt to rectify the inversion path, DirectEdit focuses on directly aligning the forward paths, enabling precise reconstruction and reliable feature sharing. Furthermore, we introduce a preservation mechanism based on attention feature injection and multi-branch mask-guided noise blending, which effectively balances fidelity and editability. Extensive experiments across diverse scenarios demonstrate that DirectEdit achieves efficient and accurate image editing, delivering superior performance that outperforms state-of-the-art methods. Code and examples are available at https://desongyang.github.io/Directedit.

图像编辑扩散模型生成路径对齐

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。