HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

FireFlow: Fast Inversion of Rectified Flow for Image Semantic Editing

Yingying Deng Xiangyu He Changwang Mei Peisong Wang Fan Tang

FireFlow: Fast Inversion of Rectified Flow for Image Semantic Editing

Abstract

Though Rectified Flows (ReFlows) with distillation offers a promising way forfast sampling, its fast inversion transforms images back to structured noisefor recovery and following editing remains unsolved. This paper introducesFireFlow, a simple yet effective zero-shot approach that inherits the startlingcapacity of ReFlow-based models (such as FLUX) in generation while extendingits capabilities to accurate inversion and editing in 8 steps. We firstdemonstrate that a carefully designed numerical solver is pivotal for ReFlowinversion, enabling accurate inversion and reconstruction with the precision ofa second-order solver while maintaining the practical efficiency of afirst-order Euler method. This solver achieves a 3times runtime speedupcompared to state-of-the-art ReFlow inversion and editing techniques, whiledelivering smaller reconstruction errors and superior editing results in atraining-free mode. The code is available athttps://github.com/HolmesShuan/FireFlow{this URL}.

Code Repositories

holmesshuan/fireflow
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
text-based-image-editing-on-pie-benchFireFlow
Background LPIPS: 123.6
Background PSNR: 23.03
CLIPSIM: 26.02
Structure Distance: 27.1
text-based-image-editing-on-pie-benchFireFlow (Add Q)
Background LPIPS: 239.4
Background PSNR: 16.49
CLIPSIM: 27.33
Structure Distance: 70.9

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
FireFlow: Fast Inversion of Rectified Flow for Image Semantic Editing | Papers | HyperAI