On Exact Editing of Flow-Based Diffusion Models

Zixiang Li, Yue Song, Jianing Peng, Ting Liu, Jun Huang +5 more
12/30/2025
cs.CV

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

Recent methods in flow-based diffusion editing have enabled direct transformations between source and target image distribution without explicit inversion. However, the latent trajectories in these methods often exhibit accumulated velocity errors, leading to semantic inconsistency and loss of structural fidelity. We propose Conditioned Velocity Correction (CVC), a principled framework that reformulates flow-based editing as a distribution transformation problem driven by a known source prior. CVC rethinks the role of velocity in inter-distribution transformation by introducing a dual-perspective velocity conversion mechanism. This mechanism explicitly decomposes the latent evolution into two components: a structure-preserving branch that remains consistent with the source trajectory, and a semantically-guided branch that drives a controlled deviation toward the target distribution. The conditional velocity field exhibits an absolute velocity error relative to the true underlying distribution trajectory, which inherently introduces potential instability and trajectory drift in the latent space. To address this quantifiable deviation and maintain fidelity to the true flow, we apply a posterior-consistent update to the resulting conditional velocity field. This update is derived from Empirical Bayes Inference and Tweedie correction, which ensures a mathematically grounded error compensation over time. Our method yields stable and interpretable latent dynamics, achieving faithful reconstruction alongside smooth local semantic conversion. Comprehensive experiments demonstrate that CVC consistently achieves superior fidelity, better semantic alignment, and more reliable editing behavior across diverse tasks.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{li2025exact,
  title  = {On Exact Editing of Flow-Based Diffusion Models},
  author = {Zixiang Li and Yue Song and Jianing Peng and Ting Liu and Jun Huang and Xiaochao Qu and Luoqi Liu and Wei Wang and Yao Zhao and Yunchao Wei},
  year   = {2025},
  eprint = {2512.24015},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.24015v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.24015.svg)](https://codeofpaper.com/paper/2512.24015)

Discussion