SNR-Edit: Structure-Aware Noise Rectification for Inversion-Free Flow-Based Editing
Lifan Jiang, Boxi Wu, Yuhang Pei, Tianrun Wu, Yongyuan Chen, Yan Zhao, Shiyu Yu, Deng Cai
TL;DR
SNR-Edit tackles the problem of preserving structural fidelity during inversion-free flow-based editing by addressing the Structural--Stochastic Mismatch that arises when using a fixed Gaussian proxy. It introduces a structure-aware prior constructed from semantic region decomposition, RoPE-based geometric encoding, and a fixed randomized projection to produce a latent prior $\Phi_{\mathcal{Z}}$, then rectifies the latent trajectory with $\tilde{\epsilon} = \lambda_{\text{struct}} \Phi_{\mathcal{Z}} + \lambda_{\text{stoch}} \xi$ and a re-anchored velocity evaluation. The framework provides a theoretical Lipschitz-based bound on trajectory deviation and demonstrates, across SD3 and FLUX backbones on PIE-Bench and SNR-Bench, that SNR-Edit yields superior structural fidelity and semantic alignment with negligible overhead (approximately 1s per image) while remaining training-free and model-agnostic. These results highlight the importance of trajectory engineering via structure-aware initialization for robust, editable flow-based generation in real-world scenarios.
Abstract
Inversion-free image editing using flow-based generative models challenges the prevailing inversion-based pipelines. However, existing approaches rely on fixed Gaussian noise to construct the source trajectory, leading to biased trajectory dynamics and causing structural degradation or quality loss. To address this, we introduce SNR-Edit, a training-free framework achieving faithful Latent Trajectory Correction via adaptive noise control. Mechanistically, SNR-Edit uses structure-aware noise rectification to inject segmentation constraints into the initial noise, anchoring the stochastic component of the source trajectory to the real image's implicit inversion position and reducing trajectory drift during source--target transport. This lightweight modification yields smoother latent trajectories and ensures high-fidelity structural preservation without requiring model tuning or inversion. Across SD3 and FLUX, evaluations on PIE-Bench and SNR-Bench show that SNR-Edit delivers performance on pixel-level metrics and VLM-based scoring, while adding only about 1s overhead per image.
