FlowOpt: Fast Optimization Through Whole Flow Processes for Training-Free Editing
On the map: Diffusion models → Image generation, text-to-image and editing
Abstract (arXiv)
The remarkable success of diffusion and flow-matching models has ignited a surge of works on adapting them at test time for controlled generation tasks. Examples range from image editing to restoration, compression and personalization. However, due to the iterative nature of the sampling process in those models, it is computationally impractical to use gradient-based optimization to directly control the image generated at the end of the process. As a result, existing methods typically resort to manipulating each timestep separately. Here we introduce FlowOpt - a zero-order (gradient-free) optimization framework that treats the entire flow process as a black box, enabling optimization through the whole sampling path without backpropagation through the model. Our method is both highly efficient and allows users to monitor the intermediate optimization results and perform early stopping if desired. We prove a sufficient condition on FlowOpt's step-size, under which convergence to the global optimum is guaranteed. We further show how to empirically estimate this upper bound so as to choose an appropriate step-size. We demonstrate how FlowOpt can be used for image editing, showcasing two options: (i) inversion (determining the initial noise that generates a given image), and (ii) directly steering the edited image to be similar to the source image while conforming to a target text prompt. In both cases, FlowOpt achieves state-of-the-art results while using roughly the same number of neural function evaluations (NFEs) as existing methods. Code and examples are available on the project's webpage.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Placed in Image generation, text-to-image and editing, one of 14 directions in Diffusion models. Builds on 52 of its 58 references that are in the map. First posted on arXiv 24 Oct 2025.
Builds on
52 of 58 references.
Closest ancestors · 13
Same direction, newest first
- 2025UniEdit-Flow: Unleashing Inversion and Editing in the Era of Flow Models17 Apr
- 2024FireFlow: Fast Inversion of Rectified Flow for Image Semantic Editing10 Dec
- 2024Taming Rectified Flow for Inversion and Editing7 Nov
- 2024Semantic Image Inversion and Editing using Rectified Stochastic Differential Equations14 Oct
- 2024ReNoise: Real Image Inversion Through Iterative Noising21 Mar
- 2023Lightning-Fast Image Inversion and Editing for Text-to-Image Diffusion Models19 Dec
- 2023Posterior Distillation Sampling23 Nov
- 2023Effective Real Image Editing with Accelerated Iterative Diffusion Inversion10 Sep
- 2023Negative-prompt Inversion: Fast Image Inversion for Editing with Text-guided Diffusion Models26 May
- 2023An Edit Friendly DDPM Noise Space: Inversion and Manipulations12 Apr
- 2022Null-text Inversion for Editing Real Images using Guided Diffusion Models17 Nov
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding23 May
1 more
Other references · 39
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2023GPT-4 Technical Reportcited by 18,132
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
- 2020Denoising Diffusion Implicit Modelscited by 9,655
- 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
- 2022Classifier-Free Diffusion Guidancecited by 5,717
- 2022Flow Matching for Generative Modelingcited by 5,426
- 2023Improved Baselines with Visual Instruction Tuningcited by 4,362
- 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,310
27 more
- 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,094
- 2022Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flowcited by 3,550
- 2022DreamFusion: Text-to-3D using 2D Diffusioncited by 3,006
- 2025DINOv3cited by 1,297
- 2022Building Normalizing Flows with Stochastic Interpolantscited by 964
- 2022Denoising Diffusion Restoration Modelscited by 951
- 2022Plug-and-Play Diffusion Features for Text-Driven Image-to-Image Translationcited by 897
- 2021Score-based Generative Modeling in Latent Spacecited by 634
- 2023FateZero: Fusing Attentions for Zero-shot Text-based Video Editingcited by 462
- 2020PULSE: Self-Supervised Photo Upsampling via Latent Space Exploration of Generative Modelscited by 358
- 2023DreamSim: Learning New Dimensions of Human Visual Similarity using Synthetic Datacited by 322
- 2024FlowEdit: Inversion-Free Text-Based Editing Using Pre-Trained Flow Modelscited by 214
- 2023Flow Matching in Latent Spacecited by 155
- 2018AutoZOOM: Autoencoder-based Zeroth Order Optimization Method for Attacking Black-box Neural Networkscited by 137
- 2018The Contextual Loss for Image Transformation with Non-Aligned Datacited by 135
- 2023Delta Denoising Scorecited by 120
- 2024D-Flow: Differentiating through Flows for Controlled Generationcited by 115
- 2024PnP-Flow: Plug-and-Play Image Restoration with Flow Matchingcited by 92
- 2024Distilling Diffusion Models into Conditional GANscited by 78
- 2019ZO-AdaMM: Zeroth-Order Adaptive Momentum Method for Black-Box Optimizationcited by 75
- 2024Zero-Shot Unsupervised and Text-Based Audio Editing Using DDPM Inversioncited by 58
- 2023On Exact Inversion of DPM-Solverscited by 47
- 2024Slicedit: Zero-Shot Video Editing With Text-to-Image Diffusion Models Using Spatio-Temporal Slicescited by 40
- 2024Text-to-Image Rectified Flow as Plug-and-Play Priorscited by 38
- 2025Compressed Image Generation with Denoising Diffusion Codebook Modelscited by 24
- 2017Zero-order Reverse Filteringcited by 8
- 2018Rendition: Reclaiming what a black box takes awaycited by 3
Built on by
Citing papers per year: 2025: 2; 2026: 1.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2026FlowBypass: Rectified Flow Trajectory Bypass for Training-Free Image Editing
- 2026AdaEdit: Adaptive Temporal and Channel Modulation for Flow-Based Image Editing
- 2026BiFM: Bidirectional Flow Matching for Few-Step Image Editing and Generation
- 2024Stable Flow: Vital Layers for Training-Free Image Editing
- 2025Delta Rectified Flow Sampling for Text-to-Image Editing
- 2025FlowAlign: Trajectory-Regularized, Inversion-Free Flow-based Image Editing
- 2023Bellman Optimal Stepsize Straightening of Flow-Matching Models
- 2024Steering Rectified Flow Models in the Vector Field for Controlled Image Generation