PnP-Flow: Plug-and-Play Image Restoration with Flow Matching
Ségolène Tiffany Martin, Anne Gagneux, Paul Hagemann, Gabriele Steidl
Abstract
In this paper, we introduce Plug-and-Play (PnP) Flow Matching, an algorithm for solving imaging inverse problems. PnP methods leverage the strength of pretrained denoisers, often deep neural networks, by integrating them in optimization schemes. While they achieve state-of-the-art performance on various inverse problems in imaging, PnP approaches face inherent limitations on more generative tasks like inpainting. On the other hand, generative models such as Flow Matching pushed the boundary in image sampling yet lack a clear method for efficient use in image restoration. We propose to combine the PnP framework with Flow Matching (FM) by defining a time-dependent denoiser using a pre-trained FM model. Our algorithm alternates between gradient descent steps on the data-fidelity term, reprojections onto the learned FM path, and denoising. Notably, our method is computationally efficient and memory-friendly, as it avoids backpropagation through ODEs and trace computations. We evaluate its performance on denoising, super-resolution, deblurring, and inpainting tasks, demonstrating superior results compared to existing PnP algorithms and Flow Matching based state-of-the-art methods. Code available at https://github.com/annegnx/PnP-Flow . BACKGROUND We next provide background on both Plug-and-Play algorithms and Flow Matching models. PLUG AND PLAY PnP algorithms were introduced as extensions of proximal splitting methods like Forward-Backward Splitting (FBS) or the alternating direction method of multipliers (ADMM). These are first-order Clean Degraded PnP-Diff PnP-GS OT-ODE D-Flow Flow-Priors PnP-Flow
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
27 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- On the Relation between Rectified Flows and Optimal Transport cites Denoising Diffusion Probabilistic Models
- On the Relation between Rectified Flows and Optimal Transport cites Score-Based Generative Modeling through Stochastic Differential Equations
- Flower: A Flow-Matching Solver for Inverse Problems cites Denoising Diffusion Restoration Models
- Flower: A Flow-Matching Solver for Inverse Problems cites Denoising Diffusion Probabilistic Models
- Flower: A Flow-Matching Solver for Inverse Problems cites Score-Based Generative Modeling through Stochastic Differential Equations
- Flower: A Flow-Matching Solver for Inverse Problems cites ILVR: Conditioning Method for Denoising Diffusion Probabilistic Models
- On the Closed-Form of Flow Matching: Generalization Does Not Arise from Target Stochasticity cites Denoising Diffusion Probabilistic Models
- On the Closed-Form of Flow Matching: Generalization Does Not Arise from Target Stochasticity cites Score-Based Generative Modeling through Stochastic Differential Equations
- Principled Probabilistic Imaging using Diffusion Models as Plug-and-Play Priors cites Denoising Diffusion Restoration Models
- Principled Probabilistic Imaging using Diffusion Models as Plug-and-Play Priors cites Denoising Diffusion Probabilistic Models
- Principled Probabilistic Imaging using Diffusion Models as Plug-and-Play Priors cites Score-Based Generative Modeling through Stochastic Differential Equations
- Principled Probabilistic Imaging using Diffusion Models as Plug-and-Play Priors cites ILVR: Conditioning Method for Denoising Diffusion Probabilistic Models
- UniEdit-Flow: Unleashing Inversion and Editing in the Era of Flow Models cites Denoising Diffusion Probabilistic Models
- UniEdit-Flow: Unleashing Inversion and Editing in the Era of Flow Models cites Score-Based Generative Modeling through Stochastic Differential Equations
- Discrete Flow Matching cites Denoising Diffusion Probabilistic Models
- Discrete Flow Matching cites Score-Based Generative Modeling through Stochastic Differential Equations
- Denoising Diffusion Restoration Models cites Denoising Diffusion Probabilistic Models
- Denoising Diffusion Restoration Models cites Score-Based Generative Modeling through Stochastic Differential Equations
- Score-Based Generative Modeling through Stochastic Differential Equations cites Denoising Diffusion Probabilistic Models
- ILVR: Conditioning Method for Denoising Diffusion Probabilistic Models cites Denoising Diffusion Probabilistic Models
Cited by top-tier papers27
- Principled Probabilistic Imaging using Diffusion Models as Plug-and-Play PriorsZihui Wu, Yu Sun, Yifan Chen, Bingliang Zhang et al.NeurIPS 2024 · 128 citations
- On the Closed-Form of Flow Matching: Generalization Does Not Arise from Target StochasticityQuentin Bertrand, Anne Gagneux, Mathurin Massias, Rémi EmonetNeurIPS 2025 · 49 citations
- UniEdit-Flow: Unleashing Inversion and Editing in the Era of Flow ModelsGuanlong Jiao, Biqing Huang, Kuan-Chieh Wang, Renjie LiaoICLR 2026 · 42 citations
- Flower: A Flow-Matching Solver for Inverse ProblemsMehrsa Pourya, Bassam El Rawas, Michael UnserICLR 2026 · 25 citations
- On the Relation between Rectified Flows and Optimal TransportJohannes Hertrich, Antonin Chambolle, Julie DelonNeurIPS 2025 · 15 citations
Builds on31
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- Denoising Diffusion Restoration ModelsBahjat Kawar, Michael Elad, Stefano Ermon, Jiaming SongNeurIPS 2022 · 1,439 citations
- Score-Based Generative Modeling through Stochastic Differential EquationsYang Song, Jascha Sohl-Dickstein, Diederik P. Kingma, Abhishek Kumar et al.ICLR 2021 · 1,270 citations
- ILVR: Conditioning Method for Denoising Diffusion Probabilistic ModelsJooyoung Choi, Sungwon Kim, Yonghyun Jeong, Youngjune Gwon et al.ICCV 2021 · 933 citations
- Discrete Flow MatchingItai Gat, Tal Remez, Neta Shaul, Felix Kreuk et al.NeurIPS 2024 · 363 citations
Related papers
- Image Restoration via Primal Dual Hybrid Gradient and Flow Generative ModelJi Li, Chao WangAAAI 2026
- Gradient Step Denoiser for convergent Plug-and-PlaySamuel Hurault, Arthur Leclaire, Nicolas PapadakisICLR 2022 · 154 citations
- Proximal Denoiser for Convergent Plug-and-Play Optimization with Nonconvex RegularizationSamuel Hurault, Arthur Leclaire, Nicolas PapadakisICML 2022 · 121 citations
- Prior Mismatch and Adaptation in PnP-ADMM with a Nonconvex Convergence AnalysisShirin Shoushtari, Jiaming Liu, Edward P. Chandler, M. Salman Asif et al.ICML 2024 · 9 citations
- Plug-and-Play image restoration with Stochastic deNOising REgularizationMarien Renaud, Jean Prost, Arthur Leclaire, Nicolas PapadakisICML 2024 · 19 citations
