DecFlowEdit: Self-Localized Flow-based Image Editing via Guidance Decoupling
Zheyuan Zhan, Can Wang, Jiawei Chen, Chun Chen, Siwei Lyu, Zeyu Zheng, Defang Chen
Abstract
Flow-based image editing (FlowEdit) enables inversion-free semantic changes through the difference between source and target velocities. In this paper, we observe that FlowEdit's default classifier-free guidance (CFG) configuration, with asymmetric source and target scales, causes substantial background leakage. Matching these guidance scales, for example by removing CFG, improves edit-relevant localization but severely degrades editability. To get the best of both worlds, we propose DecFlowEdit, which decouples the optimal guidance scales for localization and for editing in flow-based generative models. In particular, DecFlowEdit first extracts an edit-relevant prior by temporally aggregating velocity differences evaluated without CFG, and then uses this prior to reweight the original updates under default CFG. Our method remains training-free and inversion-free, requiring neither external spatial masks nor attention manipulation. Experiments on PIE-Bench across FLUX.1-dev, SD3, and SD3.5 show that DecFlowEdit improves background preservation, reducing structure distance by approximately 61-73% and background LPIPS by 68-80% relative to FlowEdit at comparable editing fidelity.
Create a lesson
Related papers
PreserveReward: Reliable Consistency Reward Modeling for Image Editing via Dual-Teacher On-Policy Self-Distillation
Shared title terminologycs.CVXueheng Li, Yong Liu, Wen Xue et al.
PostMesh: Self-Rewarded Preference Post-Training for Flow-Based Artist Mesh Generation
Shared title terminologycs.CVGihyun Kwon
Less Supervision, Better Generalization: Weakly Supervised Fake Region Localization in Diffusion-Edited Images
Shared title terminologycs.CVJunhee Lee, Donghyeon Jeon, Taeoh Kim et al.
Attention-Scoped Guidance: Training-Free Spatial Control for Image Editing
Shared title terminologycs.CVZeyan Li, Wei Zhou, Hadi Amirpour et al.
On-Policy Self-Distillation for Multi-Turn Image Editing
Shared title terminologycs.CVLiangbing Zhao, Le Zhuo, Mohamed Elhoseiny
Domain-adaptive Zero-Shot Image Enhancement via Locality-Constrained Diffusion Guidance
Shared title terminologycs.CVTheresa Neubauer, Dimitrios Lenis, Astrid Berg et al.