paper-with-me

Papers

Taming Rectified Flow for Inversion and Editing

2024-11-07 · Jiangshan Wang, Junfu Pu, Zhongang Qi, Jiayi Guo, Yue Ma, Nisha Huang, Yuxin Chen, Xiu Li, Ying Shan

Rectified-flow-based diffusion transformers like FLUX and OpenSora have demonstrated outstanding performance in the field of image and video generation. Despite their robust generative capabilities, these models often struggle with inversion inaccuracies, which could further limit their effectiveness in downstream tasks such as image and video editing. To address this issue, we propose RF-Solver, a novel training-free sampler that effectively enhances inversion precision by mitigating the errors in the ODE-solving process of rectified flow. Specifically, we derive the exact formulation of the rectified flow ODE and apply the high-order Taylor expansion to estimate its nonlinear components, significantly enhancing the precision of ODE solutions at each timestep. Building upon RF-Solver, we further propose RF-Edit, a general feature-sharing-based framework for image and video editing. By incorporating self-attention features from the inversion process into the editing process, RF-Edit effectively preserves the structural information of the source image or video while achieving high-quality editing results. Our approach is compatible with any pre-trained rectified-flow-based models for image and video tasks, requiring no additional training or optimization. Extensive experiments across generation, inversion, and editing tasks in both image and video modalities demonstrate the superiority and versatility of our method. The source code is available at https://github.com/wangjiangshan0725/RF-Solver-Edit.

📄 PDF Abstract BibTeX arXiv:2411.04746

Code (1)

wangjiangshan0725/rf-solver-edit 공식 구현 pytorch

Tasks

Image GenerationText-to-Image GenerationVideo EditingVideo Generation

Methods 이 논문이 사용한 방법론

Diffusion Diffusion models generate samples by gradually removing noise from a signal, and their training objective can be expressed as a reweighted variational lower-bound…

Similar Papers 제목 키워드 기반

Optimal Transport for Rectified Flow Image Editing: Unifying Inversion-Based and Direct Methods

2025-08-04 · Marian Lupascu, Mihai-Sorin Stupariu arxiv

Image editing in rectified flow models remains challenging due to the fundamental trade-off between reconstruction fidelity and editing flexibility. While inversion-based methods suffer from trajectory deviation, recent …

Image Editing

FireFlow: Fast Inversion of Rectified Flow for Image Semantic Editing

2024-12-10 · Yingying Deng, Xiangyu He, Changwang Mei, Peisong Wang 외

Though Rectified Flows (ReFlows) with distillation offers a promising way for fast sampling, its fast inversion transforms images back to structured noise for recovery and following editing remains unsolved. This paper i…

Text-based Image Editing

InstantEdit: Text-Guided Few-Step Image Editing with Piecewise Rectified Flow

2025-08-08 · Yiming Gong, Zhen Zhu, Minjia Zhang arxiv

We propose a fast text-guided image editing method called InstantEdit based on the RectifiedFlow framework, which is structured as a few-step editing process that preserves critical content while following closely to tex…

Image Editing

Semantic Image Inversion and Editing using Rectified Stochastic Differential Equations

2024-10-14 · Litu Rout, Yujia Chen, Nataniel Ruiz, Constantine Caramanis 외

Generative models transform random noise into images; their inversion aims to transform images back to structured noise for recovery and editing. This paper addresses two key tasks: (i) inversion and (ii) editing of a re…

Image Generation

Delta Rectified Flow Sampling for Text-to-Image Editing

2025-09-01 · Gaspard Beaudouin, Minghan Li, Jaeyeon Kim, Sung-Hoon Yoon 외 arxiv

We propose Delta Rectified Flow Sampling (DRFS), a novel inversion-free, path-aware editing framework within rectified flow models for text-to-image editing. DRFS is a distillation-based method that explicitly models the…

Image Editing