Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

BiFM: Bidirectional Flow Matching for Few-Step Image Editing and Generation

About

Recent diffusion and flow matching models have demonstrated strong capabilities in image generation and editing by progressively removing noise through iterative sampling. While this enables flexible inversion for semantic-preserving edits, few-step sampling regimes suffer from poor forward process approximation, leading to degraded editing quality. Existing few-step inversion methods often rely on pretrained generators and auxiliary modules, limiting scalability and generalization across different architectures. To address these limitations, we propose BiFM (Bidirectional Flow Matching), a unified framework that jointly learns generation and inversion within a single model. BiFM directly estimates average velocity fields in both ``image $\to$ noise" and ``noise $\to$ image" directions, constrained by a shared instantaneous velocity field derived from either predefined schedules or pretrained multi-step diffusion models. Additionally, BiFM introduces a novel training strategy using continuous time-interval supervision, stabilized by a bidirectional consistency objective and a lightweight time-interval embedding. This bidirectional formulation also enables one-step inversion and can integrate seamlessly into popular diffusion and flow matching backbones. Across diverse image editing and generation tasks, BiFM consistently outperforms existing few-step approaches, achieving superior performance and editability.

Yasong Dai, Zeeshan Hayder, David Ahmedt-Aristizabal, Hongdong Li• 2026

Related benchmarks

TaskDatasetResultRank
Image GenerationImageNet 256x256--
359
Unconditional Image GenerationCIFAR-10
FID2.17
240
Image EditingPIE-Bench
PSNR29.89
166
Image EditingPIE-Bench
PSNR29.89
25
Image ReconstructionPIE-Bench
MSE87.72
15
Text-to-Image GenerationMSCOCO
FID4.57
10
Text-to-Image GenerationMSCOCO 256
FID4.57
7
Showing 7 of 7 rows

Other info

Follow for update