Manuscript Offprint
arXiv:2610.26183HP-PnP-Flow: Hybrid Time Scheduling and Projection for Plug-and-Play Image Restoration via Flow Matching
Abstract
Image restoration is a fundamental inverse problem that seeks to recover high-quality images from degraded observations. Plug-and-Play (PnP) methods provide a flexible framework for integrating pretrained denoisers into iterative reconstruction, whereas flow matching offers an efficient generative modeling approach based on continuous-time ODE dynamics. Very recently, Martin et al. (ICLR, 2025) developed a PnP-Flow method, which integrates the PnP framework with flow matching through a time-dependent denoiser constructed from a pretrained flow matching model. By incorporating a different time schedule and an additional pixel-space projection operator, this paper proposes a novel efficient PnP-Flow algorithm (HP-PnP-Flow) that enjoys rigorous convergence guarantees under mild assumptions, without imposing restrictive conditions on iterates required by the aforementioned work. Numerical experiments on CelebA and AFHQ-Cat demonstrate that the newly proposed HP-PnP-Flow algorithm significantly outperforms PnP-Flow on several restoration tasks such as denoising, deblurring, super-resolution, random inpainting, and box inpainting. Notably, our algorithm achieves comparable or better reconstruction quality with substantially fewer iterations, reducing the iteration count from 500 to 100 for deblurring and super-resolution on AFHQ-Cat.
AMS subject classification: 65J22, 68U10, 65K10.
Key Words: Image reconstruction, Flow matching, Plug-and-Play, Hybrid time scheduling, Projection operator.
1 Introduction
Image restoration has been a long-standing problem in a wide range of applications, including digital photography, medical imaging, remote sensing, surveillance and digital entertainment
This work was supported by Natural Science Foundation of China (12471394, 12371417, 12071488) and Hunan Basic Science Research Center for Mathematical Analysis (2024JC2002). E-mail addresses: 15572158033@163.com, x.j.wang7@csu.edu.cn, x.y.zhang@csu.edu.cn.
39]. Given a degraded observation, the objective is to recover the underlying clean image, where the degradation may arise from various factors during image acquisition, transmission, or processing [14, 15, 22, 23, 31]. Such restoration tasks can typically be formulated as inverse problems under the observation model
where denotes the unknown high-quality image, is the degraded observation, denotes the degradation operator, and describes the underlying additive noise. The inherent ill-posedness and high dimensionality of the problem pose significant challenges to accurate and stable reconstruction.
From a Bayesian perspective [18, 24, 36], the unknown image x and the observation y are treated as random variables. By Bayes' theorem, the corresponding maximum a posteriori (MAP) estimator is then given by
where represents the log-likelihood of observation , delivers the prior of clean image and is independent of degraded image . Nevertheless, the image prior is generally unknown or intractable in this framework. To illustrate this point, the negative log-prior is typically replaced by an explicit regularization term, leading to the optimization problem
where denotes the data-fidelity term. In particular, under additive Gaussian noise , the data-fidelity term takes the form .
In recent years, the regularized minimization problem (1.3) has received considerable attention. Early works addressed this problem by using proximal splitting methods, which handle the data-fidelity and regularization terms separately. For example, forward-backward splitting (FBS) [4,10] alternates between a proximal operation on g and a gradient descent step on f, when f is differentiable. In more general settings, half-quadratic-splitting (HQS) [17], alternating direction method of multipliers (ADMM) [2] or douglas-rachford splitting (DRS) [13] use proximal operations for both f and g.
Plug-and-Play (PnP) method. Since designing an effective regularizer for complex priors is challenging, the authors of [37] introduced the Plug-and-Play (PnP) methods, which replace the proximal operator with an off-the-shelf denoiser such as DnCNN [43] or DRUNet [42]. Over the last few years, much attention has been received on various PnP methods and their convergence analysis (see, e.g., [21, 28, 29, 32, 35] and references therein). For example, the authors of [40] first provide a new convergence theory for plug-and-play proximal gradient descent (PnP-PGD) under prior mismatch where the denoiser is trained on a different data distribution to the inference task at hand. By incorporating neural network denoisers, PnP methods have achieved promising results across various image restoration tasks. However, classical PnP methods typically rely on generic discriminative denoisers, for which an explicit regularization function may not be available. This limits both the optimization interpretation of the method and its ability to represent complex image distributions.
PnP-Flow method. Generative models provide a natural alternative by modeling the underlying data distribution, and have achieved state-of-the-art performance in image generation, inverse problems and a broad range of related applications [5, 9, 12, 19, 25, 26, 34]. In particular, flow matching learns a time-dependent vector field whose ODE flow transports a base distribution to the data distribution. Owing to simpler training objectives and more efficient sampling, flow matching has recently emerged as a powerful framework for continuous-time generative modeling. These developments have motivated the use of generative models as image priors within the PnP framework. Very recently, Martin et al. [27] introduced PnP-Flow matching method by defining a time-dependent denoiser using a pretrained flow matching model. Under regularity assumptions and bounded support of the base distribution, they established convergence under the additional assumptions that the iterates remain bounded and the time sequence satisfies . Despite its good reconstruction performance, PnP-Flow still has several limitations. On the one hand, the condition imposed on the time sequence is difficult to be satisfied in practice. For instance, the linear schedule used in [27] does not satisfy the required uniform boundedness with respect to the iteration budget N. On the other hand, the convergence guarantee is obtained based on bounded iterates, a property that is not explicitly guaranteed by the original algorithm. Motivated by this we ask the following question:
Can one design an improved PnP-Flow algorithm that enjoys rigorous convergence guarantees under mild assumptions, while achieving improved reconstruction efficiency and quality?
An improved HP-PnP-Flow algorithm. In this work, we address this problem by proposing a hybrid-projection PnP-Flow (HP-PnP-Flow) algorithm, based on a different time schedule and an additional pixel-space projection operator. More precisely, the hybrid time schedule given by (3.1) combines geometric and linear phases, while the projection operator defined by (3.2) explicitly constrains the iterates to the prescribed pixel range. Under mild and reasonable assumptions, we establish the convergence of HP-PnP-Flow (see Theorem 3.3), without requiring the a priori boundedness assumptions on the iterates imposed in the original PnP-Flow framework in [27]. Also, the new hybrid time schedule ensures the resulting time sequence satisfies the uniform boundedness assumption . Notably, numerical experiments demonstrate the efficiency and high quality of the new algorithm. Ablation studies further validate the individual effects of the initial time offset and the hybrid time schedule, with their combination yielding the best overall performance. In summary, our main contributions are as follows:
-
We propose an improved PnP-Flow algorithm, called HP-PnP-Flow, by incorporating a novel hybrid time schedule and an additional pixel-space projection operator.
-
We establish the convergence of the newly proposed HP-PnP-Flow algorithm under mild and reasonable assumptions.
-
Extensive experiments on two datasets and five tasks demonstrate that our algorithm significantly outperforms PnP-Flow in terms of reconstruction quality and convergence efficiency.
The rest of this article is organized as follows. The next section collects some notations, introduces background on Plug-and-Play (PnP), flow matching and PnP-Flow throughout this paper. Section 3 presents the proposed method and main results of this paper. Numerical experiments are conducted in Section 4 to demonstrate the effectiveness of the proposed algorithm. Finally, some concluding remarks are given in the last section.
2.1 Notation
Throughout this paper, we use N to denote the set of all positive integers and let . For any positive integer , we denote and . We let denote the identity matrix and let denote the Euclidean norm of vectors in . For a function , we write to denote the -th partial derivative of . The gradient is the vector of partial derivative . For a vector field , we denote its divergence by . Let be the space of all probability distributions on . By we denote the push-forward operation.
2.2 Plug-and-Play (PnP)
In this work we focus on solving the optimization problem (1.3). When g is nonsmooth, standard gradient descent is generally not directly applicable. Proximal splitting methods instead handle the smooth term f by a gradient step and the regularization term g through its proximal operator. We next recall the definition of the proximal operator.
Definition 2.1 (Proximal operator). Let be a proper lower semicontinuous convex function. The proximal operator of with step size is the mapping defined by
The quadratic term makes the proximal subproblem strongly convex, so the minimizer is unique. Intuitively, finds a point that remains close to z while reducing the regularization term g.
The Forward-Backward Splitting (FBS) algorithm [4,10,11] alternates between a forward gradient step on f and a backward proximal step on g:
Here, denotes the step size, where is the Lipschitz constant of . Under standard assumptions for FBS, this step size condition ensures convergence of the iterates to a minimizer (see [4] for details). However, designing an explicit regularizer that accurately captures complex image priors is often challenging in practice. The Plug-and-Play (PnP) framework [37] replaces the proximal step in this iteration with a pretrained denoiser , where controls the denoising strength, thereby incorporating an implicit image prior without requiring an explicit regularizer . The resulting PnP-FBS iteration is given by
PnP combines the flexibility of optimization-based methods with the expressive power of neural networks, leading to strong performance across a wide range of image restoration tasks.
2.3 Flow Matching
Flow matching [1,25] is a generative modeling framework that learns a time-dependent vector field to transport samples from a base distribution (e.g., standard Gaussian) to the data distribution . The associated flow is governed by the ordinary differential equation (ODE):
Once the velocity field is learned, sampling from the data distribution only requires solving ODE (2.4) to attain (see [7] for details). In addition, the flow transports the initial distribution into a probability density path , which satisfies the continuity (Liouville) equation
This equation characterizes the evolution of the density induced by the time-dependent vector field (see [3]). The goal of flow matching is to learn the velocity field of the flow ODE (2.4). This learning process consists in minimizing the loss function
where is parameterized by a neural network with weights . In practice, however, the marginal velocity field is generally unavailable, making the flow matching objective intractable to evaluate directly. To circumvent this difficulty, flow matching instead relies on a tractable conditional formulation.
Given a data sample , one can construct a conditional probability path that interpolates between the base distribution at and the target distribution at , together with an associated conditional vector field [26,27]. For the linear interpolation
the corresponding conditional vector field along the interpolation path is . A key result of [25] is that the conditional flow matching (CFM) objective has the same gradient with respect to the model parameters as the corresponding marginal flow matching objective. Consequently, minimizing the CFM objective allows the neural vector field to learn the associated marginal vector field, while requiring only samples of the endpoint pair and the corresponding conditional vector field. For the linear interpolation introduced above, the CFM loss takes the form
In (2.8), the endpoint pairs are sampled independently from and . Such independent pairing may lead to intersecting transport paths and thereby increase the complexity of the velocity field to be learned.
For the linear interpolation above, the conditional velocity is , and the corresponding marginal vector field is given by
A fundamental result of flow matching [25] shows that this marginal vector field can be learned through the tractable conditional flow matching objective. To illustrate the transport process induced by the learned flow matching model, Figure 1 visualizes the evolution of samples along the learned ODE trajectories on CelebA.

Figure 1: Evolution of samples along the learned flow matching trajectories on CelebA at different time points. The ODE (2.4) is integrated using the forward Euler method with a step size of 0.01.
2.4 PnP-Flow: Plug-and-Play with flow matching
Given a pretrained flow matching vector field , an estimate of the clean endpoint can be constructed from an intermediate state along the prescribed interpolation path. We first give the following definition.
Definition 2.2 (Flow matching denoiser [27]). Given a pretrained flow matching vector field , the time-dependent denoiser is defined by
Next, we explain the motivation behind the choice of the denoiser in (2.9). For the linear interpolation
where denotes a coupling between the base distribution and the target distribution , i.e., a joint distribution on whose marginals are and , respectively. For this interpolation, the minimizer of the CFM loss (2.8) over all admissible vector fields is given by
In practice, is replaced by the learned vector field , yielding the practical denoiser . Therefore, the corresponding ideal denoiser satisfies, for any and ,
(2.10)
Hence, is the minimum mean-square error (MMSE) estimator of the clean endpoint given , which is also used in [30, 44].
PnP-Flow algorithm. Recently in [27], the authors incorporate the time-dependent denoiser defined in (2.9) into the FBS framework, leading to
where is a sequence of i.i.d. latent samples drawn from the base distribution . This iteration differs from the classical PnP-FBS scheme (2.3) in that the denoiser explicitly depends on the time, and the gradient update is first reprojected along the interpolation path before denoising. For clarity, we sketch the above PnP-Flow algorithm in Algorithm 1.
Algorithm 1 PnP-Flow iteration.
Require: Initialize , the total iterations , step sizes , time sequence with .
Ensure: Reconstructed image
1: for to do
2:
▷ Gradient step
3: ,
▷ Interpolation
4:
▷ Flow matching denoising
5: end for
6: return
Choice of the step size. To balance the contributions of the data-fidelity update and the flow matching denoiser, the authors of [27] adopt the following time-dependent step size:
Thus, the step size gradually decreases with t, reducing the influence of the data-fidelity update in the later stages of the iteration; see [27] for further motivation of this choice. This choice yields favorable numerical performance in practice.
Recalling the definition of the denoiser , we observe that the factor progressively attenuates the correction induced by the flow-matching prior as . Consequently, approaches the identity mapping, with . This provides a flow-time-dependent mechanism for controlling the strength of the learned prior, in contrast to conventional PnP methods based on predefined denoising operators [6,38]. Substituting the definition of into the last equation of (2.11) yields the following compact update rule:
where the first term accounts for the contribution of the base noise in the interpolation step, the second term incorporates the gradient-based data-fidelity update, and the third term provides the correction induced by the learned flow-matching prior.
Under some regularity assumptions, PnP-Flow algorithm (2.11) admits the following convergence result (see [27, Proposition 4]).
Proposition 2.3 (Convergence of PnP-Flow). Assume that is continuously differentiable. The learned vector field is continuous, and the base distribution has bounded support. Let the time sequence satisfy and set , . If the sequence produced by PnP-Flow algorithm (2.11) is bounded, then it is convergent.
Despite its effectiveness, PnP-Flow algorithm (2.11) has two limitations.
-
First, the convergence result in Proposition 2.3 requires the time sequence to satisfy . However, the practical implementation of PnP-Flow algorithm (2.11) employs the linear schedule , . For this time sequence, , which goes to infinity as . Hence, the family of linear time sequence is not uniformly bounded with respect to , and therefore does not satisfy the convergence condition.
-
Second, PnP-Flow algorithm (2.11) sets , in which case the first interpolation step reduces to and is therefore independent of the data-fidelity update . While this choice makes the first iteration independent of the initialization (see [27]), it also prevents the measurement information encoded by the data-fidelity gradient from entering the first denoising step.
Next we aim to propose an improved PnP-Flow algorithm to address the above issues.
3 An efficient Hybrid-Projection PnP-Flow
Before presenting our proposed algorithm, we first introduce the following hybrid time schedule.
Hybrid time schedule. To address the first issue mentioned above, we introduce a switching point , where denotes the total number of iterations and determines the switching point between the two phases. Regarding the second issue, we adopt a positive initial offset , which allows the data-fidelity update to contribute from the first iteration. More precisely, for , we define the hybrid time schedule by
We notice that the time schedule defined by (3.1) consists of a geometric growth and linear growth phase, differing the linear time schedule used in [27]. When , approaches 1 geometrically, so that the noise weight decays exponentially. This rapidly reduces the influence of the base noise and promotes fast recovery of the dominant image structure. When , increases linearly from to 1, providing a more gradual transition toward the final reconstruction and facilitating stable refinement.
The following result establishes a uniform bound for the hybrid time schedule with respect to the total number of iterations N.
Proposition 3.1 (Uniform boundedness for the hybrid time schedule). The time schedule defined by (3.1) satisfies .
Proof. For the geometric phase , the definition (3.1) gives
For the linear phase, i.e., , we similarly obtain from (3.1) that
Together with the definition of , we have
For a fixed , since , we have . Therefore,
Due to as and , we have
The proof is completed.
Image intensities are commonly represented in and are typically normalized to during training. However, PnP-Flow algorithm (2.11) does not guarantee that the intermediate iterates remain within this normalized range. Pixel values outside the valid range may lead to numerical instability and degrade reconstruction quality.
Pixel-space projection. To overcome this difficulty, we impose a box constraint by applying a component-wise projection operator at the end of each iteration.
Definition 3.2 (Projection operator). For any vector , the projection operator is defined component-wise as, for any ,
The projection operator possesses two properties, which are crucial to the subsequent analysis:
(i) Non-expansiveness. For any , , i.e., the projection operator is 1-Lipschitz.
(ii) Identity on the constraint set. if and only if ; the projection modifies only those components that violate the bound.
By combining the hybrid time schedule (3.1) with the projection operator P defined in (3.2), we are able to propose our new efficient Hybrid-Projection PnP-Flow (HP-PnP-Flow) algorithm.
HP-PnP-Flow algorithm. In this paper, we introduce an improved variant of PnP-Flow, termed HP-PnP-Flow:
where . For a more intuitive presentation, the complete iteration is given in Algorithm 2.
Algorithm 2 HP-PnP-Flow iteration.
Require: Initialize , the total iterations , step sizes , time sequence with .
Ensure: Reconstructed image
1: for to do
2:
3: ,
4:
5: end for
6: return
Choice of the step size. By introducing a scaling parameter , we adopt the following time-dependent step size in this paper:
In the special case , the above step size with hyperparameter reduces into the usual step size in the literature [27]. The scaling hyperparameter provides additional control over the overall step magnitude without altering the decay profile determined by , thereby allowing the step size to be adapted to different degradation tasks. In particular, when and , we recover , which is the step size choice used in the convergence analysis below.
Theorem 3.3 (Convergence of HP-PnP-Flow). Assume that is continuously differentiable. The learned vector field is continuous, and the base distribution has bounded support. Let the time sequence satisfy , and set . Then the sequence generated by HP-PnP-Flow (3.3) is convergent.
Proof. Since , using the triangle inequality, identity on the constraint set and the Lipschitz condition of gives, for any ,
From HP-PnP-Flow algorithm (3.3), one can see that
(3.5)
Under the assumptions on and , the boundedness of in and the bounded support of , there exists a constant , independent of , such that
Since , we have
so is a Cauchy sequence. Since adding the finite initial does not affect convergence, is also convergent.
We note that the convergence analysis assumes , corresponding to and in (3.4). The more general choice is used in practice, but is not covered by the present theoretical guarantee.
Comparison to PnP-Flow. Our paper is clearly motivated by [27] and aims to achieve more promising performance on various inverse problems. In the following, we compare HP-PnP-Flow in this work with PnP-Flow and summarize the main improvements.
(i) Time schedule design. The linear schedule in [27] does not yield a uniform-in-N boundedness for , which contradicts the convergence assumption, whereas our hybrid schedule defined by (3.1) satisfies .
(ii) Pixel-space projection. The convergence analysis of PnP-Flow in [27, Proposition 4] assumes bounded iterates of . In our algorithm, the projection enforces at every iteration, thereby guaranteeing boundedness of the iterates directly from the algorithmic construction.
(iii) Step size design. The step size in [27] is chosen as , whereas we adopt the scaled form with , allowing the overall step magnitude to be adjusted independently of the decay profile.
(iv) Initial time offset. The PnP-Flow algorithm [27] adopts , rendering the first interpolation step independent of the data-fidelity update. We instead introduce a tunable initial offset in our algorithm, which enables measurement information to influence the first denoising step.
4 Numerical experiments
In this section, we evaluate the performance of HP-PnP-Flow algorithm (3.3) on five canonical image restoration tasks, including denoising, deblurring, super-resolution, random-pixel inpainting, and box inpainting, using two publicly available datasets. We compare our algorithm with several baseline methods using PSNR, SSIM, and LPIPS, and perform ablation studies to assess the effects of the hybrid time schedule and the initial time offset.
4.1 Experimental Setup
Datasets and preprocessing. We use two datasets with complementary characteristics.
• CelebA contains approximately 200,000 celebrity face images (see [41]). All images are center-cropped and resized to pixels. The dataset provides well-structured facial patterns and diverse texture details, making it suitable for evaluating image restoration methods.
• AFHQ-Cat is the cat subset of the Animal Faces HQ dataset (see [8]), comprising roughly 5 000 images. Images are resized to pixels. The higher resolution and fine fur detail provide a more challenging test of generalization.
Both datasets use standard training, validation, and test splits. All quantitative evaluations are performed on the test set. Pixel values are normalized to .
Degradation tasks. We consider five degradation tasks. In all cases, additive Gaussian noise is included, with the task-dependent noise level specified below.
• Denoising: , with .
• Deblurring: H is a Gaussian blurring operator with b = 1.0 on CelebA and b = 3.0 on AFHQ-Cat, with .
• Super-resolution: H is a bicubic downsampling operator with scale factor ×2 on CelebA and ×4 on AFHQ-Cat, with .
• Random inpainting: H is a random binary masking operator retaining 30% of the pixels, with .
• Box inpainting: H masks a central region on CelebA and an region on AFHQ-Cat, with .
Baseline methods. We compare our algorithm against several existing methods. PnP-Flow [27] is used as our primary baseline. We additionally include three flow-matching-based restoration methods, namely OT-ODE [30], D-Flow [16], and Flow-Priors [44], together with PnP-GS [20], a PnP-based baseline. All baselines are evaluated using their optimal hyperparameters and officially released weights under identical degradation settings and test splits for fair comparison.
Implementation details. All experiments are conducted on an NVIDIA Tesla V100S GPU using PyTorch. Random seeds are fixed for reproducibility. For the flow-matching-based methods, including our proposed method, we use the U-Net model weights and pretrained checkpoints from [27]. The only exception is PnP-GS, which uses its own pretrained denoiser.
We note a difference in the evaluation protocol. Martin et al. [27] report results averaged over 25 batches of 4 images each, whereas we recompute all evaluation metrics using 100 independent runs for each image. As a result, the values reported here may differ slightly from those in the original publication. For each baseline method, we use the optimal hyperparameters reported in [27], which were selected by grid search on the validation set to maximize PSNR. Detailed hyperparameter settings for HP-PnP-Flow and all baseline methods are provided in Appendix A.
4.2 Main Numerical Results
Next we report quantitative comparisons of all methods across multiple image restoration tasks using PSNR, SSIM, and LPIPS metrics. By "N/A" we mean that a method is not applicable to the task. For example, PnP-GS relies on a discriminative denoiser that cannot perform generative completion and thus cannot handle the box inpainting forward model. PnP-Flow(m) and HP-PnP-Flow(m) denote variants that average the denoising results over independent samples of at each iteration. Bold and underlining values indicate the best and the second-best performance, respectively.
Table 1: Quantitative results on CelebA (100 test images).
| Method | Denoise | Deblur | Super-res. | Rand. inp. | Box inp. | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PSNR↑ | SSIM↑ | LPIPS↓ | PSNR↑ | SSIM↑ | LPIPS↓ | PSNR↑ | SSIM↑ | LPIPS↓ | PSNR↑ | SSIM↑ | LPIPS↓ | PSNR↑ | SSIM↑ | LPIPS↓ | |
| Degraded | 20.01 | 0.349 | 0.365 | 27.79 | 0.739 | 0.126 | 10.51 | 0.184 | 0.824 | 12.26 | 0.197 | 1.024 | 22.42 | 0.745 | 0.209 |
| PnP-GS | 32.59 | 0.910 | 0.035 | 33.84 | 0.922 | 0.040 | 30.35 | 0.902 | 0.056 | 28.42 | 0.845 | 0.087 | N/A | ||
| OT-ODE | 30.49 | 0.858 | 0.032 | 32.87 | 0.918 | 0.028 | 31.56 | 0.910 | 0.020 | 28.82 | 0.874 | 0.050 | 29.92 | 0.923 | 0.033 |
| D-Flow | 25.99 | 0.604 | 0.090 | 31.16 | 0.852 | 0.037 | 30.39 | 0.847 | 0.025 | 33.65 | 0.944 | 0.015 | 30.93 | 0.901 | 0.024 |
| Flow-Priors | 29.30 | 0.769 | 0.129 | 31.47 | 0.858 | 0.055 | 28.31 | 0.716 | 0.099 | 32.95 | 0.943 | 0.019 | 30.42 | 0.862 | 0.046 |
| PnP-Flow(1) | 31.79 | 0.905 | 0.044 | 34.33 | 0.935 | 0.038 | 31.00 | 0.902 | 0.044 | 33.06 | 0.943 | 0.018 | 30.52 | 0.936 | 0.035 |
| PnP-Flow(5) | 32.30 | 0.912 | 0.055 | 34.65 | 0.940 | 0.046 | 31.42 | 0.907 | 0.054 | 33.94 | 0.953 | 0.022 | 31.07 | 0.942 | 0.041 |
| HP-PnP-Flow(1) | 32.39 | 0.915 | 0.026 | 34.34 | 0.933 | 0.037 | 32.75 | 0.929 | 0.021 | 33.98 | 0.955 | 0.013 | 31.25 | 0.945 | 0.024 |
| HP-PnP-Flow(5) | 32.91 | 0.923 | 0.035 | 34.65 | 0.938 | 0.044 | 33.27 | 0.936 | 0.025 | 34.76 | 0.962 | 0.015 | 32.02 | 0.954 | 0.027 |
Table 2: Quantitative results on AFHQ-Cat (100 test images).
| Method | Denoise | Deblur | Super-res. | Rand. inp. | Box inp. | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PSNR↑ | SSIM↑ | LPIPS↓ | PSNR↑ | SSIM↑ | LPIPS↓ | PSNR↑ | SSIM↑ | LPIPS↓ | PSNR↑ | SSIM↑ | LPIPS↓ | PSNR↑ | SSIM↑ | LPIPS↓ | |
| Degraded | 20.00 | 0.294 | 0.531 | 24.39 | 0.530 | 0.436 | 11.59 | 0.212 | 0.867 | 13.24 | 0.214 | 1.082 | 21.53 | 0.727 | 0.215 |
| PnP-GS | 33.03 | 0.896 | 0.078 | 28.38 | 0.771 | 0.331 | 24.26 | 0.642 | 0.350 | 29.80 | 0.838 | 0.127 | N/A | ||
| OT-ODE | 30.51 | 0.819 | 0.080 | 26.50 | 0.680 | 0.149 | 26.73 | 0.738 | 0.108 | 30.01 | 0.850 | 0.086 | 24.51 | 0.874 | 0.095 |
| D-Flow | 26.42 | 0.570 | 0.182 | 28.58 | 0.745 | 0.168 | 25.19 | 0.616 | 0.190 | 32.83 | 0.900 | 0.044 | 27.02 | 0.841 | 0.081 |
| Flow-Priors | 29.68 | 0.757 | 0.164 | 27.28 | 0.727 | 0.188 | 24.01 | 0.572 | 0.271 | 32.98 | 0.910 | 0.051 | 26.13 | 0.809 | 0.130 |
| PnP-Flow(1) | 31.65 | 0.867 | 0.139 | 28.74 | 0.781 | 0.285 | 27.58 | 0.781 | 0.158 | 33.75 | 0.924 | 0.038 | 26.40 | 0.896 | 0.111 |
| PnP-Flow(5) | 31.89 | 0.869 | 0.170 | 29.03 | 0.786 | 0.313 | 28.02 | 0.792 | 0.168 | 34.47 | 0.933 | 0.045 | 27.15 | 0.901 | 0.127 |
| HP-PnP-Flow(1) | 32.51 | 0.892 | 0.066 | 28.88 | 0.780 | 0.284 | 27.93 | 0.783 | 0.150 | 33.91 | 0.928 | 0.035 | 27.29 | 0.912 | 0.072 |
| HP-PnP-Flow(5) | 32.97 | 0.900 | 0.086 | 29.10 | 0.784 | 0.313 | 28.42 | 0.796 | 0.161 | 34.60 | 0.936 | 0.040 | 28.05 | 0.921 | 0.082 |
Tables 1 and 2 present quantitative comparisons of different methods, showing that our algorithm achieves the best or second-best performance in most settings across the two datasets and three evaluation metrics. One can observe that, the largest PSNR improvement over PnP-Flow is observed in super-resolution on CelebA, where HP-PnP-Flow(1) improves upon PnP-Flow(1) by
1.75 dB under the same single-sampling setting. Compared with the single-sample variant HP-PnP-Flow(1), HP-PnP-Flow(5) provides an additional PSNR improvement of 0.3–0.8 dB. Notably, HP-PnP-Flow(1) outperforms PnP-Flow(5) on most restoration tasks despite using only a single sample per iteration. Compared with the other baselines, HP-PnP-Flow shows more balanced performance across different restoration tasks. While D-Flow and Flow-Priors are particularly effective on inpainting, and PnP-GS and OT-ODE perform well on denoising and deblurring, our algorithm remains competitive across all five degradation settings on both datasets.
In addition, our algorithm achieves these results with a substantially smaller iteration budget on most tasks. For instance, on AFHQ-Cat, HP-PnP-Flow uses 60 iterations for box inpainting versus 100 for PnP-Flow, and 100 iterations for deblurring versus 500 for PnP-Flow (see Appendix A for details).
4.3 Comparison to PnP-Flow
In the following, we compare HP-PnP-Flow (3.3) with PnP-Flow (2.11) under the single-sampling setting, and analyze their iteration-wise reconstruction trajectories across all five restoration tasks and both datasets. Visual comparisons are provided in Appendix B.
One can observe that HP-PnP-Flow exhibits faster convergence during the early iterations. For example, from Figures 6 and 7, we observe that, at iteration 20, HP-PnP-Flow improves upon PnP-Flow by 7.58 and 7.96 dB in PSNR, and by 0.1611 and 0.219 in SSIM, on CelebA and AFHQ-Cat, respectively. Similar early-stage advantages are also observed on the other four tasks. In terms of equivalent PnP-Flow iterations, the reconstruction quality achieved by HP-PnP-Flow after 20 iterations is comparable to that of PnP-Flow after approximately 40-120 iterations, depending on the task. The largest efficiency gap is observed for random inpainting (20 vs. 80-120 iterations), whereas the smallest gap occurs for deblurring (20 vs. 40-60 iterations).
HP-PnP-Flow also achieves better final reconstruction quality. Across the five tasks and both datasets, its converged PSNR exceeds that of PnP-Flow by 0.38-1.74 dB, with the largest improvements observed for super-resolution and random inpainting. On AFHQ-Cat, HP-PnP-Flow requires only 100 iterations for deblurring and super-resolution, compared with 500 iterations for PnP-Flow, and 60 iterations for box inpainting, compared with 100 for PnP-Flow. Taken together, the faster early-stage convergence and reduced iteration budget enable HP-PnP-Flow to reach a given PSNR level in substantially fewer iterations than PnP-Flow.
4.4 Qualitative Comparison
In this subsection we provide visual comparisons of all methods on a single test image from CelebA and AFHQ-Cat across the five degradation tasks. Each row corresponds to one task, ordered from top to bottom as denoising, deblurring, super-resolution, random inpainting, and box inpainting. The PSNR value of each reconstruction is reported below the corresponding image.
Clean
Degraded
PnP-GS
OT-ODE
D-Flow
Flow-
Priors
PnP-
Flow(1)
PnP-
Flow(5)
HP-PnP-
Flow(1)
HP-PnP-
Flow(5)

PSNR: 20.01
PSNR: 34.37
PSNR: 32.10
PSNR: 27.06
PSNR: 29.97
PSNR: 33.96
PSNR: 34.29
PSNR: 34.47
PSNR: 34.29
PSNR: 34.86

PSNR: 28.72
PSNR: 34.92
PSNR: 33.78
PSNR: 31.21
PSNR: 32.28
PSNR: 35.29
PSNR: 35.72
PSNR: 35.25
PSNR: 35.25
PSNR: 35.70

PSNR: 7.95
PSNR: 30.81
PSNR: 29.63
PSNR: 29.20
PSNR: 28.19
PSNR: 29.56
PSNR: 29.99
PSNR: 31.57
PSNR: 32.04
PSNR: 32.04

PSNR: 12.06
PSNR: 30.33
PSNR: 31.42
PSNR: 35.40
PSNR: 35.26
PSNR: 34.99
PSNR: 35.65
PSNR: 36.33
PSNR: 36.81
PSNR: 36.81

PSNR: 24.87
N/A

PSNR: 31.16
PSNR: 30.99
PSNR: 32.05
PSNR: 34.27
PSNR: 34.16
PSNR: 33.76
PSNR: 35.45
Figure 2: PSNR comparison of all methods on CelebA across five restoration tasks (from top to bottom: denoising, deblurring, super-resolution, random inpainting, and box inpainting).
Clean
Degraded
PnP-GS
OT-ODE
D-Flow
Flow-
Priors
PnP-
Flow(1)
PnP-
Flow(5)
HP-PnP-
Flow(1)
HP-PnP-
Flow(5)

PSNR: 20.00
PSNR: 34.25
PSNR: 31.86
PSNR: 26.40
PSNR: 31.10
PSNR: 32.85
PSNR: 33.07
PSNR: 33.79
PSNR: 33.79
PSNR: 34.16

PSNR: 28.89
PSNR: 25.00
PSNR: 32.34
PSNR: 26.84
PSNR: 33.18
PSNR: 32.43
PSNR: 33.60
PSNR: 33.60
PSNR: 34.67
PSNR: 35.81

PSNR: 9.70
PSNR: 25.48
PSNR: 25.07
PSNR: 23.99
PSNR: 23.73
PSNR: 26.02
PSNR: 26.73
PSNR: 26.73
PSNR: 25.98
PSNR: 26.75

PSNR: 11.49
PSNR: 30.54
PSNR: 30.15
PSNR: 33.52
PSNR: 33.35
PSNR: 34.69
PSNR: 34.69
PSNR: 35.39
PSNR: 34.87
PSNR: 35.45

PSNR: 22.89
N/A

PSNR: 26.94
PSNR: 27.95
PSNR: 28.17
PSNR: 26.28
PSNR: 27.64
PSNR: 28.02
PSNR: 28.73
Figure 3: PSNR comparison of all methods on AFHQ-Cat across five restoration tasks (from top to bottom: denoising, deblurring, super-resolution, random inpainting, and box inpainting).
Figures 2 and 3 further illustrate the strong and consistent restoration performance of HP-PnP-Flow across all five degradation tasks on both datasets. On CelebA, our algorithm achieves clear PSNR improvements over PnP-Flow in super-resolution, random inpainting, and box inpainting. Even under the single-sampling setting, HP-PnP-Flow(1) matches or surpasses most competing methods at their best-performing settings, while typically requiring fewer iterations.
In terms of visual quality, HP-PnP-Flow produces consistently clean reconstructions across the five tasks, with few noticeable artifacts, although mild over-smoothing may occur in some cases. By comparison, PnP-GS is less competitive on generative restoration tasks, while D-Flow performs less favorably on denoising and deblurring. Flow-Priors tends to introduce more visible noise and artifacts, whereas OT-ODE preserves textures reasonably well but is less effective on the more ill-posed restoration tasks. Overall, HP-PnP-Flow provides a favorable balance of reconstruction quality and robustness across different degradation settings.
4.5 Ablation Study
We conduct the ablation study on random inpainting with missing pixels and Gaussian noise , using iterations and set . Results are averaged over 10 test images and reported as the mean standard deviation of PSNR (dB).
Initial offset . To isolate the effect of the initial time offset, we fix a linear schedule by setting and vary , with corresponding to the original PnP-Flow.

Figure 4: PSNR convergence for different initial offsets .
Table 3: PSNR (dB) for different initial offsets .
| PnP-Flow (t0=0.0) | t0=0.2 | t0=0.5 | t0=0.7 | t0=0.9 | HP-PnP-Flow | |
|---|---|---|---|---|---|---|
| Mean PSNR | 33.73 | 33.96 | 34.47 | 33.95 | 21.21 | 34.75 |
| Std. dev. | 1.07 | 1.12 | 1.19 | 2.61 | 1.56 | 1.34 |
Figure 4 shows the PSNR trajectories for different choices of . Compared with the baseline , a moderate positive initial offset accelerates early-stage convergence. In particular, setting yields a mean PSNR of 34.47 dB, improving upon PnP-Flow by 0.74 dB while maintaining low variability. For , the final PSNR consistently exceeds that of the baseline, whereas performance deteriorates when becomes too large (e.g., ). In addition, as revealed by Table 3, our algorithm achieves a further 0.28 dB improvement over the best -only variant.
Transition coefficient . To evaluate the effect of the transition coefficient , we fix and vary . The choice recovers a purely linear schedule used in [27], while corresponds to a purely geometric schedule.

Figure 5: PSNR convergence for different transition coefficients .
Table 4: PSNR (dB) for different transition coefficients .
| PnP-Flow (K = 0) | K = 0.2 | K = 0.5 | K = 0.7 | K = 1.0 | HP-PnP-Flow | |
|---|---|---|---|---|---|---|
| Mean PSNR | 33.73 | 34.20 | 34.66 | 34.65 | 34.12 | 34.75 |
| Std. dev. | 1.07 | 1.17 | 1.24 | 1.18 | 1.07 | 1.34 |
From Figure 5, we observe that a larger accelerates early-stage convergence by increasing the contribution of the geometric phase. The purely linear schedule () exhibits the slowest early-stage convergence, whereas larger values of lead to more rapid initial PSNR improvement. When , HP-PnP-Flow achieves the highest final PSNR among the single-factor variants (34.66 dB), outperforming both the purely linear () and purely geometric () schedules. This suggests that the two-phase design effectively combines the complementary advantages of geometric growth for rapid early recovery and linear refinement for stable convergence.
As shown in Table 4, the proposed HP-PnP-Flow, which combines the optimal , the hybrid time schedule, and the projection operator, achieves both the fastest early-stage convergence and the highest final PSNR (34.75 dB) among all configurations, suggesting that these three components provide complementary benefits.
5 Conclusion
In this work, we propose an efficient hybrid-projection Plug-and-Play-Flow algorithm, an improved Plug-and-Play algorithm for image inverse problems that integrates flow matching priors with a hybrid time schedule and pixel-space projection operator. Furthermore, we establish the convergence of HP-PnP-Flow without imposing the boundedness assumption on the iterates required in original PnP-Flow (see Proposition 4 in [27]), since the pixel-space projection keeps the iterates within the prescribed pixel range. The hybrid schedule combines geometric and linear growth phases, satisfies the convergence condition, and achieves faster early-stage reconstruction and improved numerical performance over the linear schedule used in PnP-Flow. Experiments on CelebA and AFHQ-Cat across five degradation tasks show that HP-PnP-Flow achieves the best or second-best PSNR, SSIM, and LPIPS in most settings, while requiring fewer iterations than PnP-Flow (e.g., 100 vs. 500 iterations for deblurring on AFHQ-Cat). Ablation studies further demonstrate that the initial time offset and the hybrid schedule contribute independently to the performance gains, with their combination yielding the best overall performance.
Several directions remain for future investigation. First, we plan to establish quantitative error bounds for HP-PnP-Flow under mild assumptions. Second, it would be interesting to explore whether the proposed hybrid time schedule can be extended to other generative-model-based PnP frameworks beyond flow matching.
References
[1] Michael Samuel Albergo and Eric Vanden-Eijnden. Building normalizing flows with stochastic interpolants. In International Conference on Learning Representations, 2023.
[2] Mariana S. C. Almeida and Mário Figueiredo. Deconvolving images with unknown boundaries using the alternating direction method of multipliers. IEEE Transactions on Image Processing, 22(8):3074–3086, 2013.
[3] Luigi Ambrosio, Nicola Gigli, and Giuseppe Savaré. Gradient flows: in metric spaces and in the space of probability measures. Springer, 2005.
[4] Stephen Boyd, Neal Parikh, Eric Chu, Borja Peleato, and Jonathan Eckstein. Distributed Optimization and Statistical Learning via the Alternating Direction Method of Multipliers. Foundations and Trends® in Machine Learning, 3(1):1–122, 2011.
[5] Gabriel Cardoso, Sylvain Le Corff, Eric Moulines, et al. Monte Carlo guided denoising diffusion models for Bayesian linear inverse problems. In The Twelfth International Conference on Learning Representations, 2024.
[6] Stanley H Chan, Xiran Wang, and Omar A Elgendy. Plug-and-play admm for image restoration: Fixed-point convergence and applications. IEEE Transactions on Computational Imaging, 3(1):84–98, 2016.
[7] Ricky T. Q. Chen, Yulia Rubanova, Jesse Bettencourt, and David K Duvenaud. Neural ordinary differential equations. In S. Bengio, H. Wallach, H. Larochelle, K. Grauman, N. Cesa-Bianchi, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 31. Curran Associates, Inc., 2018.
[8] Yunjey Choi, Youngjung Uh, Jaejun Yoo, and Jung-Woo Ha. Stargan v2: Diverse image synthesis for multiple domains. In 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 8185–8194. IEEE, 2020.
[9] Hyungjin Chung, Jeongsol Kim, Michael Thompson Mccann, Marc Louis Klasky, and Jong Chul Ye. Diffusion posterior sampling for general noisy inverse problems. In The Eleventh International Conference on Learning Representations, 2023.
[10] Patrick L Combettes and Jean-Christophe Pesquet. Proximal splitting methods in signal processing. In Fixed-point algorithms for inverse problems in science and engineering, pages 185–212. Springer, 2011.
[11] Patrick L Combettes and Valérie R Wajs. Signal recovery by proximal forward-backward splitting. Multiscale modeling & simulation, 4(4):1168–1200, 2005.
[12] Prafulla Dhariwal and Alexander Nichol. Diffusion models beat gans on image synthesis. Advances in Neural Information Processing Systems, 34:8780–8794, 2021.
[13] Jim Douglas and Henry H Rachford. On the numerical solution of heat conduction problems in two and three space variables. Transactions of the American Mathematical Society, 82(2):421–439, 1956.
[14] Michael Elad, Bahjat Kawar, and Gregory Vaksman. Image denoising: The deep learning revolution and beyond—a survey paper. SIAM Journal on Imaging Sciences, 16(3):1594–1654, 2023.
[15] Yuchen Fan, Jiahui Yu, Yiqun Mei, Yulun Zhang, Yun Fu, Ding Liu, and Thomas S Huang. Neural sparse representation for image restoration. Advances in Neural Information Processing Systems, 33:15394–15404, 2020.
[16] Ruiqi Feng, Chenglei Yu, Wenhao Deng, Peiyan Hu, and Tailin Wu. On the guidance of flow matching. In Forty-second International Conference on Machine Learning, 2025.
[17] D. Geman and Chengda Yang. Nonlinear image recovery with half-quadratic regularization. IEEE Transactions on Image Processing, 4(7):932–946, 1995.
[18] Dennis Hein, Afshin Bozorgpour, Dorit Merhof, and Ge Wang. Physics-inspired generative models in medical imaging. Annual Review of Biomedical Engineering, 27(1):499–525, 2025.
[19] Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. Advances in Neural Information Processing Systems, 33:6840–6851, 2020.
[20] Samuel Hurault, Arthur Leclaire, and Nicolas Papadakis. Gradient step denoiser for convergent plug-and-play. In International Conference on Learning Representations (ICLR), Online, April 2022.
[21] Samuel Hurault, Arthur Leclaire, and Nicolas Papadakis. Proximal denoiser for convergent plug-and-play optimization with nonconvex regularization. In International Conference on Machine Learning, pages 9483–9505. PMLR, 2022.
[22] Fan Jia, Shen Mao, Xue-Cheng Tai, and Tieyong Zeng. A variational model for nonuniform low-light image enhancement. SIAM Journal on Imaging Sciences, 17(1):1–30, 2024.
[23] Shima Kamyab, Zohreh Azimifar, Rasool Sabzi, and Paul W. Fieguth. Survey of deep learning methods for inverse problems. PeerJ Computer Science, 8:e951, 2022.
[24] Jonas Latz, Aretha L Teckentrup, and Simon Urbainczyk. Deep gaussian process priors for bayesian image reconstruction. Inverse Problems, 41(6):065016, 2025.
[25] Yaron Lipman, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nickel, and Matthew Le. Flow matching for generative modeling. In The Eleventh International Conference on Learning Representations, 2023.
[26] Xingchao Liu, Chengyue Gong, and Qiang Liu. Flow straight and fast: Learning to generate and transfer data with rectified flow. In International Conference on Learning Representations, 2023.
[27] Ségolène Martin, Anne Gagneux, Paul Hagemann, and Gabriele Steidl. Pnp-flow: Plug-and-play image restoration with flow matching. In The Thirteenth International Conference on Learning Representations (ICLR), 2025.
[28] Tim Meinhardt, Michael Moller, Caner Hazirbas, and Daniel Cremers. Learning proximal operators: Using denoising networks for regularizing inverse imaging problems. In Proceedings of the IEEE international conference on computer vision, pages 1781–1790, 2017.
[29] Jean-Christophe Pesquet, Audrey Repetti, Matthieu Terris, and Yves Wiaux. Learning maximally monotone operators for image recovery. SIAM Journal on Imaging Sciences, 14(3):1206–1237, 2021.
[30] Ashwini Pokle, Matthew J. Muckley, Ricky T. Q. Chen, and Brian Karrer. Training-free linear image inverses via flows. Transactions on Machine Learning Research, 2024.
[31] Adnan Qayyum, Inaam Ilahi, Fahad Shamshad, Farid Boussaid, Mohammed Bennamoun, and Junaid Qadir. Untrained neural network priors for inverse imaging problems: A survey. IEEE Transactions on Pattern Analysis and Machine Intelligence, 45(5):6511–6536, 2023.
[32] Ernest Ryu, Jialin Liu, Sicheng Wang, Xiaohan Chen, Zhangyang Wang, and Wotao Yin. Plug-and-play methods provably converge with properly trained denoisers. In International Conference on Machine Learning, pages 5546–5557. PMLR, 2019.
[33] Nikita Singhal, Anup Kadam, Pravesh Kumar, Hritik Singh, Aaryan Thakur, et al. Study of recent image restoration techniques: a comprehensive survey. Jordanian Journal of Computers & Information Technology, 11(2):211, 2025.
[34] Jiaming Song, Chenlin Meng, and Stefano Ermon. Denoising diffusion implicit models. In International Conference on Learning Representations, 2021.
[35] Matthieu Terris, Audrey Repetti, Jean-Christophe Pesquet, and Yves Wiaux. Building firmly nonexpansive convolutional neural networks. In ICASSP 2020-2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 8658–8662. IEEE, 2020.
[36] K. Topolnicki, S. Sharma, Yu. Volkotrub, and M. Das. Exploring maximum likelihood and bayesian approaches for two-dimensional image restoration: A machine learning perspective. Computer Physics Communications, 319:109913, 2026.
[37] Singanallur V Venkatakrishnan, Charles A Bouman, and Brendt Wohlberg. Plug-and-play priors for model based reconstruction. In 2013 IEEE global conference on signal and information processing, pages 945–948. IEEE, 2013.
[38] Singanallur V Venkatakrishnan, Charles A Bouman, and Brendt Wohlberg. Plug-and-play priors for model based reconstruction. In 2013 IEEE global conference on signal and information processing, pages 945–948. IEEE, 2013.
[39] Aamir Wali, Asma Naseer, Maria Tamoor, and SAM Gilani. Recent progress in digital image restoration techniques: A review. Digital Signal Processing, 141:104187, 2023.
[40] Guixian Xu, Jinglai Li, and Junqi Tang. A New Convergence Analysis of Plug-and-Play Proximal Gradient Descent Under Prior Mismatch. arXiv preprint arXiv:2601.09831, 2026.
[41] Shuo Yang, Ping Luo, Chen-Change Loy, and Xiaoou Tang. From facial parts responses to face detection: A deep learning approach. In Proceedings of the IEEE international conference on computer vision, pages 3676–3684, 2015.
[42] Kai Zhang, Yawei Li, Wangmeng Zuo, Lei Zhang, Luc Van Gool, and Radu Timofte. Plug-and-play image restoration with deep denoiser prior. IEEE Transactions on Pattern Analysis and Machine Intelligence, 44(10):6360–6376, 2021.
[43] Kai Zhang, Wangmeng Zuo, Yunjin Chen, Deyu Meng, and Lei Zhang. Beyond a gaussian denoiser: Residual learning of deep cnn for image denoising. IEEE Transactions on Image Processing, 26(7):3142–3155, July 2017.
[44] Yasi Zhang, Peiyu Yu, Yaxuan Zhu, Yingshan Chang, Feng Gao, Ying N Wu, and Oscar Leong. Flow priors for linear inverse problems via iterative corrupted trajectory matching. Advances in Neural Information Processing Systems, 37:57389–57417, 2024.
A Hyperparameter Configurations
We report the optimal hyperparameter settings for HP-PnP-Flow and all baseline methods on CelebA (Table 5) and AFHQ-Cat (Table 6). These settings are selected by grid search on the validation set to maximize PSNR. A dash “−” denotes that the corresponding method is not applicable to the given degradation task.
Table 5: Optimal hyperparameter settings on CelebA.
| Method | Denoising | Deblurring | Super-res. | Rand. inp. | Box inp. |
|---|---|---|---|---|---|
| PnP-GS | |||||
| (step size) | — | 2.0 | 2.0 | — | — |
| (momentum) | 1.0 | 0.3 | 1.0 | — | — |
| (noise factor) | 1.0 | 1.8 | 3.0 | — | — |
| (iterations) | 1 | 35 | 20 | 23 | — |
| OT-ODE | |||||
| (initial time) | 0.3 | 0.4 | 0.1 | 0.1 | 0.1 |
| constant | constant | ||||
| Flow-Priors | |||||
| (regularization) | 100 | 1000 | 10000 | 10000 | 10000 |
| (learning rate) | 0.01 | 0.01 | 0.1 | 0.01 | 0.01 |
| D-Flow | |||||
| (regularization) | 0.001 | 0.001 | 0.001 | 0.01 | 0.001 |
| (blending) | 0.1 | 0.1 | 0.1 | 0.1 | 0.1 |
| (iterations) | 3 | 7 | 10 | 20 | 9 |
| PnP-Flow | |||||
| (step size exponent) | 0.8 | 0.01 | 0.3 | 0.01 | 0.5 |
| (iterations) | 100 | 100 | 100 | 100 | 100 |
| HP-PnP-Flow (ours) | |||||
| (step size scale) | 1.0 | 1.0 | 1.0 | 1.0 | 2.0 |
| (step size exponent) | 0.8 | 0.01 | 0.3 | 0.01 | 0.5 |
| (iterations) | 100 | 100 | 100 | 100 | 60 |
| (initial offset) | 0.4 | 0.2 | 0.4 | 0.5 | 0.0 |
| (decay factor) | 0.965 | 0.9 | 0.965 | 0.965 | 0.99 |
| (transition coefficient) | 0.3 | 0.3 | 0.7 | 0.7 | 0.2 |
Note 1: PnP-Flow(1) and PnP-Flow(5) share the same hyperparameters across all tasks.
Note 2: HP-PnP-Flow(1) and HP-PnP-Flow(5) share the same hyperparameters across all tasks.
Table 6: Optimal hyperparameter settings on AFHQ-Cat.
| Method | Denoising | Deblurring | Super-res. | Rand. inp. | Box inp. |
|---|---|---|---|---|---|
| PnP-GS | |||||
| (step size) | — | 2.0 | 2.0 | — | — |
| (momentum) | 1.0 | 0.3 | 1.0 | — | — |
| (noise factor) | 1.0 | 1.8 | 5.0 | — | — |
| (iterations) | 1 | 60 | 50 | 23 | — |
| OT-ODE | |||||
| (initial time) | 0.3 | 0.3 | 0.1 | 0.1 | 0.1 |
| constant | constant | ||||
| Flow-Priors | |||||
| (regularization) | 100 | 1000 | 10000 | 10000 | 10000 |
| (learning rate) | 0.01 | 0.01 | 0.1 | 0.01 | 0.01 |
| D-Flow | |||||
| (regularization) | 0.001 | 0.001 | 0.001 | 0.001 | 0.01 |
| (blending) | 0.1 | 0.5 | 0.1 | 0.1 | 0.1 |
| (iterations) | 3 | 20 | 20 | 20 | 9 |
| PnP-Flow | |||||
| (step size exponent) | 0.8 | 0.01 | 0.01 | 0.01 | 0.5 |
| (iterations) | 100 | 500 | 500 | 200 | 100 |
| HP-PnP-Flow (ours) | |||||
| (step size scale) | 1.2 | 1.0 | 1.2 | 1.0 | 2.0 |
| (step size exponent) | 0.8 | 0.01 | 0.01 | 0.01 | 0.5 |
| (iterations) | 100 | 100 | 100 | 100 | 60 |
| (initial offset) | 0.4 | 0.2 | 0.4 | 0.3 | 0.0 |
| (decay factor) | 0.965 | 0.965 | 0.965 | 0.965 | 0.99 |
| (transition coefficient) | 0.4 | 0.3 | 0.7 | 0.7 | 0.2 |
Note 1: PnP-Flow(1) and PnP-Flow(5) share the same hyperparameters across all tasks. Note 2: HP-PnP-Flow(1) and HP-PnP-Flow(5) share the same hyperparameters across all tasks.
B Iteration-wise Comparison with PnP-Flow
Figures 6-15 present iteration snapshots of HP-PnP-Flow and PnP-Flow across all five restoration tasks and both datasets. All experiments are conducted under the single-sampling setting.

PSNR: 100.00 dB
SSIM: 1.0000
Step 0
PSNR: 20.58 dB
SSIM: 0.4195
Step 20
PSNR: 20.27 dB
SSIM: 0.6697
Step 40
PSNR: 24.54 dB
SSIM: 0.7582
Step 60
PSNR: 27.00 dB
SSIM: 0.8153
Step 80
PSNR: 29.00 dB
SSIM: 0.8502
Step 100
PSNR: 31.67 dB
SSIM: 0.9012
(a) PnP-Flow
clean img

PSNR: 100.00 dB
SSIM: 1.0000
Step 0
PSNR: 20.58 dB
SSIM: 0.4195
Step 20
PSNR: 27.85 dB
SSIM: 0.8308
Step 40
PSNR: 29.44 dB
SSIM: 0.8575
Step 60
PSNR: 30.58 dB
SSIM: 0.8829
Step 80
PSNR: 31.53 dB
SSIM: 0.8983
Step 100
PSNR: 32.07 dB
SSIM: 0.9056
(b) HP-PnP-Flow
Figure 6: Denoising on CelebA ( ).
clean img

PSNR: 100.00 dB
SSIM: 1.0000
Step 0
PSNR: 20.72 dB
SSIM: 0.3598
Step 20
PSNR: 20.47 dB
SSIM: 0.6090
Step 40
PSNR: 24.37 dB
SSIM: 0.7268
Step 60
PSNR: 26.56 dB
SSIM: 0.7877
Step 80
PSNR: 29.12 dB
SSIM: 0.8421
Step 100
PSNR: 32.09 dB
SSIM: 0.9009
(a) PnP-Flow
clean img

PSNR: 100.00 dB
SSIM: 1.0000
Step 0
PSNR: 20.72 dB
SSIM: 0.3598
Step 20
PSNR: 28.43 dB
SSIM: 0.8280
Step 40
PSNR: 30.58 dB
SSIM: 0.8711
Step 60
PSNR: 31.56 dB
SSIM: 0.8898
Step 80
PSNR: 32.62 dB
SSIM: 0.9078
Step 100
PSNR: 33.05 dB
SSIM: 0.9164
(b) HP-PnP-Flow
Figure 7: Denoising on AFHQ-Cat ( ).

PSNR: 100.00 dB
SSIM: 1.0000
Step 0
PSNR: 27.23 dB
SSIM: 0.7922
Step 20
PSNR: 18.97 dB
SSIM: 0.5743
Step 40
PSNR: 23.22 dB
SSIM: 0.6931
Step 60
PSNR: 26.05 dB
SSIM: 0.7769
Step 80
PSNR: 29.47 dB
SSIM: 0.8523
Step 100
PSNR: 32.81 dB
SSIM: 0.9198
(a) PnP-Flow
clean img

PSNR: 100.00 dB
SSIM: 1.0000
Step 0
PSNR: 27.23 dB
SSIM: 0.7922
Step 20
PSNR: 22.51 dB
SSIM: 0.6840
Step 40
PSNR: 24.90 dB
SSIM: 0.7430
Step 60
PSNR: 27.35 dB
SSIM: 0.8115
Step 80
PSNR: 29.90 dB
SSIM: 0.8660
Step 100
PSNR: 32.90 dB
SSIM: 0.9204
(b) HP-PnP-Flow
Figure 8: Deblurring on CelebA ( , ).
clean img

PSNR: 100.00 dB
SSIM: 1.0000
Step 0
PSNR: 25.89 dB
SSIM: 0.5500
Step 100
PSNR: 22.70 dB
SSIM: 0.5698
Step 200
PSNR: 25.54 dB
SSIM: 0.6527
Step 300
PSNR: 27.13 dB
SSIM: 0.6913
Step 400
PSNR: 28.59 dB
SSIM: 0.7380
Step 500
PSNR: 29.34 dB
SSIM: 0.7784
(a) PnP-Flow
clean img

PSNR: 100.00 dB
SSIM: 1.0000
Step 0
PSNR: 25.89 dB
SSIM: 0.5500
Step 20
PSNR: 29.13 dB
SSIM: 0.7541
Step 40
PSNR: 30.24 dB
SSIM: 0.7893
Step 60
PSNR: 30.18 dB
SSIM: 0.7895
Step 80
PSNR: 29.87 dB
SSIM: 0.7821
Step 100
PSNR: 29.53 dB
SSIM: 0.7660
(b) HP-PnP-Flow
Figure 9: Deblurring on AFHQ-Cat ( , ).

PSNR: 100.00 dB
SSIM: 1.0000
Step 0
PSNR: 26.59 dB
SSIM: 0.7368
Step 20
PSNR: 15.90 dB
SSIM: 0.4317
Step 40
PSNR: 18.94 dB
SSIM: 0.5198
Step 60
PSNR: 23.18 dB
SSIM: 0.6923
Step 80
PSNR: 26.82 dB
SSIM: 0.7826
Step 100
PSNR: 31.69 dB
SSIM: 0.9030
(a) PnP-Flow
clean img
Step 0

PSNR: 100.00 dB
SSIM: 1.0000
Step 20
PSNR: 26.59 dB
SSIM: 0.7368
Step 40
PSNR: 24.77 dB
SSIM: 0.7299
Step 60
PSNR: 28.25 dB
SSIM: 0.8283
Step 80
PSNR: 30.89 dB
SSIM: 0.8841
Step 100
PSNR: 32.68 dB
SSIM: 0.9186
PSNR: 33.43 dB
SSIM: 0.9298
(b) HP-PnP-Flow
Figure 10: Super-resolution on CelebA ( , ).
clean img

PSNR: 100.00 dB
SSIM: 1.0000
Step 0
PSNR: 23.30 dB
SSIM: 0.6207
Step 100
PSNR: 14.48 dB
SSIM: 0.5415
Step 200
PSNR: 18.10 dB
SSIM: 0.6335
Step 300
PSNR: 23.51 dB
SSIM: 0.7517
Step 400
PSNR: 25.05 dB
SSIM: 0.7922
Step 500
PSNR: 28.90 dB
SSIM: 0.8532
(a) PnP-Flow
clean img

PSNR: 100.00 dB
SSIM: 1.0000
Step 0
PSNR: 23.30 dB
SSIM: 0.6207
Step 20
PSNR: 24.67 dB
SSIM: 0.7765
Step 40
PSNR: 26.43 dB
SSIM: 0.8126
Step 60
PSNR: 28.14 dB
SSIM: 0.8434
Step 80
PSNR: 29.16 dB
SSIM: 0.8668
Step 100
PSNR: 29.28 dB
SSIM: 0.8560
(b) HP-PnP-Flow
Figure 11: Super-resolution on AFHQ-Cat ( , ).

PSNR: 100.00 dB
SSIM: 1.0000
Step 0
PSNR: 10.03 dB
SSIM: 0.2354
Step 20
PSNR: 16.11 dB
SSIM: 0.6767
Step 40
PSNR: 21.94 dB
SSIM: 0.8043
Step 60
PSNR: 25.02 dB
SSIM: 0.8660
Step 80
PSNR: 28.57 dB
SSIM: 0.9142
Step 100

PSNR: 34.49 dB
SSIM: 0.9711
(a) PnP-Flow
clean img
Step 0

PSNR: 100.00 dB
SSIM: 1.0000
Step 20
PSNR: 10.03 dB
SSIM: 0.2354
Step 40
PSNR: 28.24 dB
SSIM: 0.9081
Step 60
PSNR: 31.35 dB
SSIM: 0.9431
Step 80
PSNR: 34.03 dB
SSIM: 0.9644
Step 100
PSNR: 35.25 dB
SSIM: 0.9743

PSNR: 35.85 dB
SSIM: 0.9787
(b) HP-PnP-Flow
Figure 12: Random inpainting on CelebA (70% masked, ).
clean img

PSNR: 100.00 dB
SSIM: 1.0000
Step 0
PSNR: 11.35 dB
SSIM: 0.1692
Step 40
PSNR: 20.11 dB
SSIM: 0.5444
Step 80
PSNR: 23.93 dB
SSIM: 0.6889
Step 120
PSNR: 26.52 dB
SSIM: 0.7634
Step 160
PSNR: 30.31 dB
SSIM: 0.8665
Step 200
PSNR: 36.07 dB
SSIM: 0.9602
(a) PnP-Flow
clean img

PSNR: 100.00 dB
SSIM: 1.0000
Step 0
PSNR: 11.35 dB
SSIM: 0.1692
Step 20
PSNR: 27.10 dB
SSIM: 0.7839
Step 40
PSNR: 30.87 dB
SSIM: 0.8774
Step 60
PSNR: 33.67 dB
SSIM: 0.9252
Step 80
PSNR: 35.46 dB
SSIM: 0.9509
Step 100
PSNR: 36.54 dB
SSIM: 0.9640
(b) HP-PnP-Flow
Figure 13: Random inpainting on AFHQ-Cat (70% masked, ).

PSNR: 100.00 dB
SSIM: 1.0000
Step 0
PSNR: 23.83 dB
SSIM: 0.7830
Step 20
PSNR: 20.86 dB
SSIM: 0.5490
Step 40
PSNR: 23.89 dB
SSIM: 0.6649
Step 60
PSNR: 26.19 dB
SSIM: 0.7728
Step 80
PSNR: 28.86 dB
SSIM: 0.8509
Step 100
PSNR: 31.70 dB
SSIM: 0.9418
(a) PnP-Flow
clean img

PSNR: 100.00 dB
SSIM: 1.0000
Step 0
PSNR: 23.83 dB
SSIM: 0.7830
Step 20
PSNR: 22.27 dB
SSIM: 0.6198
Step 30
PSNR: 24.61 dB
SSIM: 0.7342
Step 40
PSNR: 27.86 dB
SSIM: 0.8133
Step 50
PSNR: 31.10 dB
SSIM: 0.9014
Step 60
PSNR: 33.77 dB
SSIM: 0.9547
(b) HP-PnP-Flow
Figure 14: Box inpainting on CelebA .
clean img

PSNR: 100.00 dB
SSIM: 1.0000
Step 0
PSNR: 23.07 dB
SSIM: 0.7415
Step 20
PSNR: 22.19 dB
SSIM: 0.5422
Step 40
PSNR: 24.74 dB
SSIM: 0.6547
Step 60
PSNR: 25.78 dB
SSIM: 0.7055
Step 80
PSNR: 26.22 dB
SSIM: 0.7661
Step 100
PSNR: 27.15 dB
SSIM: 0.8798
(a) PnP-Flow
clean img

PSNR: 100.00 dB
SSIM: 1.0000
Step 0
PSNR: 23.07 dB
SSIM: 0.7415
Step 20
PSNR: 22.56 dB
SSIM: 0.6052
Step 30
PSNR: 25.50 dB
SSIM: 0.6943
Step 40
PSNR: 27.01 dB
SSIM: 0.7569
Step 50
PSNR: 28.20 dB
SSIM: 0.8215
Step 60
PSNR: 29.38 dB
SSIM: 0.9041
(b) HP-PnP-Flow
Figure 15: Box inpainting on AFHQ-Cat .