ProEdit: Inversion-based Editing From Prompts Done Right
Zhi Ouyang, Dian Zheng, Xiao-Ming Wu, Jian-Jian Jiang, Kun-Yu Lin, Jingke Meng, Wei-Shi Zheng
TL;DR
ProEdit tackles the pervasive issue of excessive source-image information intrusion in inversion-based editing by addressing both attention and latent distributions. It introduces KV-mix to regionally mix source and target attention features and Latents-Shift to AdaIN-style shift the inverted latent in edited regions, both without retraining. The method is plug-and-play and yields state-of-the-art results on image and video editing benchmarks, while preserving non-edited content and background structure. This approach enables more accurate attribute edits guided by prompts and demonstrates strong practical impact for flow-based editing pipelines.
Abstract
Inversion-based visual editing provides an effective and training-free way to edit an image or a video based on user instructions. Existing methods typically inject source image information during the sampling process to maintain editing consistency. However, this sampling strategy overly relies on source information, which negatively affects the edits in the target image (e.g., failing to change the subject's atributes like pose, number, or color as instructed). In this work, we propose ProEdit to address this issue both in the attention and the latent aspects. In the attention aspect, we introduce KV-mix, which mixes KV features of the source and the target in the edited region, mitigating the influence of the source image on the editing region while maintaining background consistency. In the latent aspect, we propose Latents-Shift, which perturbs the edited region of the source latent, eliminating the influence of the inverted latent on the sampling. Extensive experiments on several image and video editing benchmarks demonstrate that our method achieves SOTA performance. In addition, our design is plug-and-play, which can be seamlessly integrated into existing inversion and editing methods, such as RF-Solver, FireFlow and UniEdit.
