IR-Flow: Bridging Discriminative and Generative Image Restoration via Rectified Flow

arXiv cs.CV / 4/22/2026

📰 NewsModels & Research

Key Points

  • IR-Flow is a new image restoration framework that bridges discriminative and generative approaches by using Rectified Flow to unify the two paradigms.
  • The method builds multilevel data distribution flows and learns cumulative velocity fields to model transport trajectories from degraded images to clean targets across different degradation severities.
  • It introduces a multi-step consistency constraint to keep the learned trajectories coherent, improving restoration quality especially with few sampling steps.
  • Experiments on deraining, denoising, and raindrop removal show IR-Flow can deliver competitive results with fast, few-step inference and better adaptability to out-of-distribution degradation types.
  • The authors provide an implementation at the linked GitHub repository for reproducibility and further use.

Abstract

In image restoration, single-step discriminative mappings often lack fine details via expectation learning, whereas generative paradigms suffer from inefficient multi-step sampling and noise-residual coupling. To address this dilemma, we propose IR-Flow, a novel image restoration method based on Rectified Flow that serves as a unified framework bridging the gap between discriminative and generative paradigms. Specifically, we first construct multilevel data distribution flows, which expand the ability of models to learn from and adapt to various levels of degradation. Subsequently, cumulative velocity fields are proposed to learn transport trajectories across varying degradation levels, guiding intermediate states toward the clean target, while a multi-step consistency constraint is presented to enforce trajectory coherence and boost few-step restoration performance. We show that directly establishing a linear transport flow between degraded and clean image domains not only enables fast inference but also improves adaptability to out-of-distribution degradations. Extensive evaluations on deraining, denoising and raindrop removal tasks demonstrate that IR-Flow achieves competitive quantitative results with only a few sampling steps, offering an efficient and flexible framework that maintains an excellent distortion-perception balance. Our code is available at https://github.com/fanzh03/IR-Flow.