Manuscript Offprint
arXiv:2611.05843Dual Flow: Joint Image-Measurement Flow for Inverse Problems
Sevket Ege Yesilyurt and Figen S. Oktem , Member, IEEE
Abstract—Existing generative model-based approaches to linear inverse problems typically use the acquired noisy measurement to condition or guide sampling in the image domain. In this work, we introduce Dual Flow, a novel joint flow model for solving linear inverse problems by jointly estimating the clean image and its corresponding noise-free measurement from the observation. Specifically, Dual Flow formulates image reconstruction and measurement denoising as a coupled estimation problem, using coupled flows in the image and measurement domains. The acquired noisy measurement is used only to initialize the measurement state; thereafter, the image and measurement states are jointly updated based on their current values. By construction, the final image and measurement estimates are guaranteed to satisfy the underlying forward model. We derive the sampling updates for the joint flow and show that they are governed by the conditional mean of the clean image given the current joint state. We further derive a closed-form expression for a sufficient statistic of the joint state and show that the required conditional mean can be obtained by solving an image-domain Gaussian denoising problem involving operator-dependent, correlated noise. We train a velocity-prediction network using this formulation to estimate the conditional mean from the derived sufficient statistic. Dual Flow requires no hyperparameter tuning beyond selecting the number of inference steps and achieves substantially shorter reconstruction times than competing methods. Extensive experiments across various linear inverse problems and image datasets demonstrate state-of-the-art performance in both distortion metrics and perceptual quality. Additional analyses assess robustness to model mismatch, as well as the ability to generate diverse plausible reconstructions and characterize reconstruction uncertainty. Overall, by jointly addressing image reconstruction and measurement denoising within a physically consistent framework, Dual Flow offers an effective approach to solving linear inverse problems with improved reconstruction quality and computational efficiency. Our code is available at https://github.com/METU-SPACE-Lab/Dual-Flow.
Index Terms—Inverse problems, flow matching, diffusion models.
I. INTRODUCTION
Inverse problems play a fundamental role in modern imaging and sensing, underpinning applications such as medical imaging [1], computational microscopy [2], remote sensing [3], as well as image restoration tasks such as super-resolution, deblurring, and inpainting [4]. In the context of linear inverse problems, the objective is to recover an unknown signal or image from noisy measurements , which are often modeled as
Here the matrix represents the known forward (system) operator, the noise vector represents additive white Gaussian noise, and the scalar denotes the standard deviation of each noise component.
Recovering the image from the measurement is often challenging, as the underlying system of linear equations may be underdetermined or ill-conditioned, leading to non-unique solutions or sensitivity to measurement noise. To address these challenges, reconstruction methods typically incorporate prior information about the unknown image to constrain the solution space and obtain reliable reconstructions. This prior information can be characterized by the prior distribution of the image, which is generally unknown in practice.
A classical approach to incorporating prior information is through regularization-based reconstruction. From a Bayesian perspective, maximum posterior (MAP) estimation under the observation model in Eq. (1) leads to an optimization problem that involves a data-fidelity term and a regularization term corresponding to the negative log-prior (i.e., ). Traditional regularization choices, such as total variation and sparsity-based regularization, typically promote smoothness or sparsity of the unknown image [5]–[7]. While the resulting optimization problems can often be efficiently solved using proximal splitting methods [8], [9], their reconstruction performance is often limited by the inability of hand-crafted regularizers to adequately capture complex image statistics.
To overcome the limitations of hand-crafted regularizers, deep learning has emerged as a powerful tool for developing data-driven image reconstruction methods. In plug-and-play (PnP) methods, the proximal operator, which can be interpreted as a MAP denoiser under an assumed image prior, is replaced by a learned denoiser, typically trained to minimize the mean squared error (MSE) [10]–[12]. Unrolled methods, on the other hand, convert a fixed number of iterations of a model-based reconstruction algorithm into a trainable network, combining learned image updates with explicit data-consistency steps that involve the forward operator. The learned parameters are typically specialized to the imaging setting used during training [13]–[15].
Despite these advances, many existing reconstruction methods aim to produce a single estimate of the unknown image from the given measurements, rather than generating diverse recon-structions that can enable the exploration of multiple plausible solutions and the characterization of reconstruction uncertainty, while potentially improving perceptual quality [16]–[18]. For instance, minimum mean-squared error (MMSE)-based reconstruction methods aim to approximate the posterior mean, which minimizes the expected squared reconstruction error but may lead to overly smooth images when the posterior distribution contains multiple distinct plausible solutions. MAP-based methods, on the other hand, seek to maximize the posterior distribution , yielding a single reconstruction without capturing the uncertainty associated with the inverse problem.
Generative models provide a powerful framework for learning complex image distributions from data and generating diverse plausible samples. In particular, diffusion models and flow matching have emerged as effective approaches for modeling high-dimensional image distributions [19]–[21]. Diffusion models generate new samples by reversing a gradual noise-corruption process, typically using learned score functions. Flow matching models, on the other hand, learn a time-dependent velocity field that transports samples from a simple source distribution to the target data distribution, often using straight-line interpolations between source and target samples during training [21], [22]. Both approaches can thus provide learned priors for image reconstruction. However, solving inverse problems requires incorporating the observed measurements into the generative process, rather than solely sampling from the learned image prior.
A major class of approaches for inverse problems addresses this by relying on pretrained unconditional generative models and incorporating measurement information only during inference. While these methods allow pretrained models to be reused across different inverse problems, accurately incorporating measurement information into the sampling process appears to be challenging. Many existing methods address this challenge through approximations of the likelihood score at intermediate stages to achieve posterior sampling [4], [23], [24], data-consistency corrections applied to the sampling process of a pretrained unconditional model [25]–[27], or Bayesian filtering techniques that employ weighted particles to approximate posterior sampling [28]. Despite their differences, these methods face limitations in posterior approximation accuracy and computational efficiency, as approximate measurement-conditioning strategies can lead to deviations from the true posterior [29], while Bayesian filtering methods can improve posterior approximation accuracy at the expense of increased computational cost.
While the aforementioned methods incorporate measurement information only during inference, an alternative class of approaches uses measurement information during training. For instance, conditional diffusion and flow matching methods train denoising or velocity-prediction networks using the ac-
quired measurements or measurement-related quantities (such as ) as conditioning inputs [30]–[32]. Once trained, these methods can generate measurement-conditioned reconstructions without separate correction steps during inference. However, conditioning on measurements alone does not guarantee consistency with the underlying forward model (i.e. physics-based data consistency). Another line of work focuses on image restoration by learning deterministic or stochastic processes that progressively transform degraded observations into clean images [33]–[36]. More recently, posterior-score estimation has been reformulated as a denoising problem involving operator-dependent, correlated Gaussian noise, enabling a learned denoiser to estimate the posterior score directly and perform posterior sampling without approximations and separate data-consistency correction steps [37].
Existing generative model-based approaches to inverse problems typically use the acquired measurement to condition or guide the sampling process in the image domain, rather than jointly modeling the image and the corresponding measurement. In this work, we introduce Dual Flow, a novel joint flow model over the image and measurement domains for solving linear inverse problems, which enables the joint estimation of the unknown image and the corresponding noise-free measurement. Specifically, under the forward model in Eq. (1), we define a joint image–measurement interpolation in which both the image and measurement states are defined through coupled straight-line interpolations. In particular, the image state is interpolated between an initial random sample and the clean image , while the measurement state is interpolated between the acquired noisy measurement and the noise-free measurement of the final clean image. Thus, the two coupled flows evolve jointly, with the image-domain flow mapping the initial noise process to a clean image estimate and the measurement-domain flow denoising the acquired measurement. These coupled interpolations provide the basis for learning joint flow dynamics in the image and measurement domains.
In our development, we combine the image and measurement states into a single variable, referred to as the joint state, and derive the sampling updates of this joint state for the reverse sampling procedure of Dual Flow. We show that these updates are governed by the conditional mean of the clean image given the current joint state. To this end, we derive a closed-form sufficient statistic of the current joint state and show that estimating this conditional mean can be formulated as a denoising problem in which the clean image is corrupted by operator-dependent correlated Gaussian noise. The derived sufficient statistic serves as the input to a velocity-prediction network, which is trained to obtain the conditional mean required for the joint-state sampling updates.
We conduct comprehensive experiments across different linear inverse problems and image datasets, and compare the reconstruction quality, perceptual quality, and computational efficiency of Dual Flow against recent approaches. We also perform additional analyses to investigate the effect of the number of inference steps, robustness to varying degradation levels and model mismatch, and the ability to generate multiple plausible reconstructions and characterize reconstruction uncertainty. Numerical results demonstrate that Dual Flow achieves state-of-the-art performance, outperforming competing methods in terms of both distortion metrics and perceptual quality, while requiring substantially less reconstruction time and no additional hyperparameters beyond the number of inference steps. Visual comparisons further suggest that Dual Flow better avoids oversmoothing and artifacts while preserving fine textures and sharp details. Overall, these results demonstrate that Dual Flow achieves substantial improvements in perceptual quality without sacrificing distortion performance, yielding a more favorable perception–distortion trade-off than competing methods.
Unlike existing approaches that use the acquired noisy measurement to guide the reconstruction of the unknown image, Dual Flow formulates linear inverse problems as a joint estimation problem involving two coupled quantities: the clean image and its corresponding noise-free measurement. Specifically, it jointly addresses image reconstruction and measurement denoising within a single reverse sampling procedure, while ensuring that the two estimates are related through the forward operator. Rather than repeatedly using the fixed noisy measurement to guide the sampling process, Dual Flow uses it only to initialize the measurement state, with subsequent updates relying on the evolving joint state. To enable this joint sampling procedure, we derive a closed-form expression for a sufficient statistic of the current joint state, which serves as the input to the velocity-prediction network for estimating the conditional mean of the clean image. This exact formulation allows the network to fully incorporate the relevant image and measurement information without relying on hand-crafted measurement-related quantities or approximate measurement-conditioning strategies. Furthermore, Dual Flow requires no hyperparameter tuning beyond selecting the number of inference steps, whereas existing approaches often require multiple hyperparameters to be tuned for different inverse problems.
The main contributions of this paper can be summarized as follows:
-
We develop Dual Flow, a novel joint flow model for linear inverse problems that formulates image reconstruction and measurement denoising as a coupled estimation problem. The proposed model jointly estimates the clean image and its corresponding noise-free measurement through coupled straight-line interpolations in the image and measurement domains, with the two estimates directly related by the underlying forward operator.
-
We derive the sampling updates for the joint state and
show that they are governed by the conditional mean of the clean image given the current joint state. We further derive a closed-form sufficient statistic of the joint state and show that estimating this conditional mean can be reformulated as a denoising problem involving operator-dependent, correlated Gaussian noise.
-
Based on this reformulation, we develop a velocity-prediction network that takes the derived sufficient statistic as input to estimate the conditional mean required for joint state sampling. By using the acquired noisy measurement only to initialize the measurement state and relying on the evolving joint state for subsequent updates, Dual Flow avoids the need for hand-crafted measurement-related conditioning inputs and approximate measurement-conditioning strategies. Moreover, the proposed method does not require hyperparameter tuning beyond selecting the number of inference steps.
-
We conduct comprehensive experiments across various linear inverse problems and image datasets, demonstrating state-of-the-art performance in terms of both distortion metrics and perceptual quality, while requiring substantially less reconstruction time than competing methods. We also provide detailed analyses of the effects of the number of inference steps, robustness to varying degradation levels and model mismatch, reconstruction diversity, and uncertainty estimation.
The remainder of this paper is organized as follows. Section II provides the necessary background on conventional flow matching. Section III presents the Dual Flow method in detail, including its mathematical formulation and relevant derivations. Section IV presents numerical results for various linear inverse problems, compares Dual Flow against recent methods, and provides detailed analyses of its performance. Finally, Section V concludes the paper.
A. Flow Matching
Flow matching learns a time-dependent velocity field that transports a source distribution to a data distribution with a continuous probability path indexed by time [21]. Let and denote respectively random variables with the source and data distributions. A commonly used model for flow matching is based on straight-line interpolation [22]:
where denotes the intermediate state at time obtained through interpolation between a source sample and a data sample , and denotes its probability distribution (i.e. ). Thus, defines a path from the probability distribution (at ) to the distribution (at ). The transport of samples along this path is described by the ordinary differential equation (ODE) [21], [22]
where denotes the marginal velocity field associated with this path. For the straight-line interpolation in Eq. (2), the resulting marginal velocity field is given by [22], [26]:
(5)
The objective of flow matching is to approximate the marginal velocity field using a neural network by minimizing the following flow matching loss [21]:
However, the marginal velocity field is generally unavailable in practice. Conditional flow matching (CFM) [21], [38] instead minimizes the following loss:
which differs from the flow matching loss only by a additive constant independent of . Here denotes a coupling over , given by joint distributions with marginals and . After training with CFM loss, a data sample can be generated by drawing a sample from and integrating the learned velocity field from to based on Eq. (3).
III. DUAL FLOW APPROACH
A. Dual Flow Model
In this subsection, we introduce the joint image–measurement flow model in which both the image and measurement states evolve jointly over time, rather than updating only the image state and using the acquired noisy measurement as fixed. We first present the main equations of the developed method, followed by their derivations and interpretations in the subsequent subsections.
Let denote the clean image and denote the initial random sample independent of . Similarly, let denote the corresponding noise-free measurement and denote the acquired noisy measurement, where the independent noise term . The straight-line interpolations in the image and measurement domains are defined as follows:
where . We refer to and as the image- and measurement-domain states, respectively. Combining these states together, we define the joint state variable . The joint image-measurement interpolation can then be expressed in terms of as follows:
Dual Flow Sampling: Let denote the number of Euler steps, with step size . Starting from , which contains the initial random sample and acquired noisy measurement, sampling update for joint state takes the form:
Conditional Mean via Denoising The joint-state update requires the evaluation of conditional mean . For this, we utilize defined as follows:
Here provides a sufficient statistic for estimating from , resulting in the following conditional mean equivalence:
The defined can also be viewed as a noisy observation of with correlated Gaussian noise, hence estimating from reduces to a denoising problem that can be effectively addressed using neural networks.
Velocity-Prediction Network: We then train a velocity-prediction network on this denoising problem. Then , representing the estimate of the conditional mean , is obtained using this trained network as follows:
Using this, the joint-state sampling update in Eq. (11) can be implemented. We next provide the derivations and details of these steps.
B. Dual Flow Sampling
In this subsection, we derive the joint-state sampling update in Eq. (11) and discuss how the image- and measurement-domain states simultaneously evolve conditioned on the current joint state.
Using the Euler method with number of inference steps N and step size , the joint state can be updated as
Using Eq. (10) and the expression of the marginal velocity field given in Eq. (5), this update can be rewritten as:
(16)
Here, the last equality follows from . Hence, we reach the joint-state update in Eq. (11), which involves , the conditional mean of the clean image given the current joint state. To explicitly formulate the evolution of the image- and measurement-domain states, equivalently, we can express and as follows:
The reverse sampling procedure starts at with the acquired noisy measurement and an initial random sample , which together form the initial joint state . To obtain the final estimate at , the joint state is required to be iteratively updated using Eq. (11).
Having derived Eq. (11), we now discuss the behavior of this dual flow. Note that, using the expression of the marginal velocity field given in Eq. (4), can also be expressed as
(19)
or equivalently,
Hence update of each individual state is actually based on its conditional expectation given the current joint state .
Moreover, using Eqs. (8) and (9), the direct relationship between the intermediate states and can be expressed as:
Notably, whereas the observation model in Eq. (1) relates the clean image to the acquired noisy measurement using the forward operator , Eq. (22) provides a similar relationship between the intermediate states and . In particular, the discrepancy equals to the initial residual , scaled by . As increases, this discrepancy decreases and vanishes at , yielding for the final estimate.
In summary, our sampling update in Eq. (11) jointly evolves the image- and measurement-domain states while maintaining a relationship between them through the forward operator. In particular, the image state evolves from the initial random sample toward the clean image estimate , while the measurement state evolves from the acquired noisy measurement toward the noise-free measurement of the clean image estimate . Note that the acquired noisy measurement is used as the measurement-domain state only in the initial step at , whereas subsequent update steps use the evolving intermediate measurement state .
Because the sampling update for the joint state requires the conditional mean , we next establish the equivalent denoising formulation to estimate this conditional mean.
C. Conditional Mean via Denoising
We now show that the conditional mean is equivalent to , which can be obtained by solving a denoising problem on with correlated Gaussian noise and noisy observation given in Eq. (12).
Let . The joint image-measurement interpolation can then be re-expressed as the following linear observation model:
where the additive noise term is zero-mean Gaussian noise with covariance
By Bayes' rule, the posterior satisfies:
(25)
where the terms that depend only on are dropped. Here, denotes the weighted norm with a positive-definite matrix .
We then define the whitened variable and . The weighted norm term in Eq. (25) can be expressed in terms of these variables as follows:
(26)
where the second equality follows from decomposition into components in the range space of and its orthogonal complement since is the orthogonal projector onto the range space of with denoting the Moore–Penrose pseudoinverse of . The constant term in the final equality is a term that does not depend on .
We now define , which can be expressed for as follows:
(27)
where we use the fact that has full column rank for , hence is invertible. This is the expression given in Eq. (12).
Substituting Eq. (26) into Eq. (25) with the defined variable , the posterior becomes:
Under Bayesian estimation framework, right hand-side of Eq. (28) is associated with the following observation model:
which is a denoising problem in the image domain with correlated Gaussian noise of covariance and noisy observation . Hence the posterior associated with the model in Eq. (29) is identical to the posterior associated with the observation model given in Eq. (23). As a result,
Hence, we obtain the conditional mean equivalence in Eq. (13).
Note that the noisy observation has the same dimension as the image state , rather than the joint state , while retaining all the information in relevant to estimating the clean image . Thus, is a sufficient statistic of for estimating .
This reformulation and the success of neural networks in image denoising [19], [39] together motivates us to estimate the conditional mean using the equivalent observation through an image-domain Gaussian denoising problem, rather than directly using the joint state in the original problem in Eq. (23). Based on this, we next describe how to train a velocity-prediction network for this conditional mean.
D. Velocity-Prediction Network
In this subsection, we explain the training of a velocity-prediction network on this denoising problem to estimate the conditional mean . This estimate is then used to perform Dual Flow sampling with Eq. (11).
We first scale the equivalent observation in Eq. (29) by , defining , to match the term in the image-domain interpolation formula given in Eq. (8). We then define a velocity parametrization analogous to Eq. (5):
To learn this, we train a velocity-prediction network using the scaled equivalent observation and the measurement-domain state with the following mean squared error (MSE) loss:
The network input in Eq. (32) can be computed as follows for :
(33)
During training, the joint state is constructed using the joint interpolation formula in Eq. (10) by independently drawing , , and , with . The corresponding network input is then computed using Eq. (33). The resulting training procedure is summarized in Algorithm 1.
Having described the training procedure of Dual Flow in Algorithm 1, we now focus on the reverse sampling procedure. For a minimizer of the MSE loss in Eq. (32), we have
where the last equality follows directly from Eq. (30) when since the given information is equivalent to conditioning solely on . At , note that since is independent of . Moreover, additionally conditioning on the initial value of , which is a function of , does not affect this conditional mean.
Using Eq. (34), the conditional mean satisfies
Therefore, the trained velocity-prediction network provides an estimate of the conditional mean , denoted by , as follows:
as stated earlier in Eq. (14). Joint-state sampling update can now be implemented with this estimate.
For initialization of this sampling procedure, we define the network input at by the right-hand limit of , i.e. . To evaluate this limit, we rewrite Eq. (33) as
Based on SVD representation of the matrix used for Tikhonov regularization with parameter , or equivalently by Tikhonov's regularization theorem [40, Th. 4.3], we have
where denotes the Moore–Penrose pseudoinverse of A. Using this to evaluate the limit for Eqn. (37), we obtain the network input at t = 0 as
Hence the initial input of the network is the projection of the random sample onto the nullspace of . When is not full column rank like in inpainting and super-resolution problems, this projection enables the initial network input to retain the values of only at the locations of missing observations and setting the remaining pixel values to zero, therefore allowing the capacity of the network to focus more on the missing information. In addition, when has full column rank like in denoising problem, the initial network input becomes zero everywhere, providing the same initialization as with evaluating Eq. (33) at .
The resulting sampling procedure is summarized in Algorithm 2 and illustrated in Fig. 1. In the initialization step, the only hyperparameter , representing the number of inference steps, is set, and the acquired noisy measurement and an initial random sample are used to form the initial joint state and then via Eq. (38). During Dual Flow sampling, at each time , the network input is computed by evaluating Eq. (33) with the available current joint state . The estimated conditional mean using Eq. (36) is then utilized in the joint-state sampling update in Eq. (11).
Algorithm 1 Training
Input: A,
1: repeat
2: , , ,
3: ,
4:
5:
6: Update based on Eq. (32)
7: until convergence
Algorithm 2 Dual Flow
Input:
Hyperparameter:
1: ,
2:
3: for to do
4:
5:
6:
7:
8: return
IV. NUMERICAL RESULTS
We evaluate the developed method on five linear inverse problems: denoising, Gaussian deblurring, super-resolution, random inpainting, and box inpainting. To this end, we first fine-tune unconditional velocity-prediction networks pretrained on human-face and cat images for each problem except denoising. We then conduct comprehensive experiments on both image datasets, comparing the proposed method with recent approaches in terms of distortion metrics, perceptual quality, and computational efficiency. We also provide detailed analyses of the evolution of the image- and measurement-domain states during Dual Flow sampling, the effects of the number of inference steps, robustness to varying degradation levels and model mismatch, reconstruction diversity, and uncertainty estimation.
A. Experimental Setup
We follow the experimental procedure of PnP-Flow [26]. We use CelebA [41] with human-face images resized to and AFHQ-Cat [42] with cat images resized to . All images are normalized to . We use the standard training, validation, and test splits of CelebA. Since AFHQ-Cat does not have a validation split, we reserve 32 images from its test set for validation. The acquired noisy measurements are generated according to Eq. (1), with independent additive white Gaussian noise .
We consider five linear inverse problems: denoising (); Gaussian deblurring with a kernel ( for CelebA and for AFHQ-Cat, where denotes the standard deviation of the blur kernel, and ); super-resolution with and decimation for CelebA and AFHQ-Cat, respectively (); random inpainting with 70% missing pixels (); and box inpainting with centered and missing regions for CelebA and AFHQ-Cat, respectively (). We evaluate each inverse problem on 100 test images per dataset.

Fig. 1: Overview of Dual Flow. The reverse sampling procedure is initialized with the acquired noisy measurement and an initial random sample . At each time , the joint state is formed from the current image state and measurement state . The joint state is then used, together with the forward operator , to obtain the scaled equivalent noisy observation , which, together with , is provided as input to the velocity-prediction network . Subsequently, the network output and are used to estimate the conditional mean . This estimate is then used in the Dual Flow sampling updates, which are based on the conditional expectations of the next image state, , and the next measurement state, . Finally, at , Dual Flow outputs the estimate of the unknown image and its corresponding noise-free measurement .
We compare the developed method with the recent flow-based algorithms PnP-Flow [26], Flower [27], OT-ODE [43], D-Flow [44], and Flow-Priors [45], as well as the plug-and-play method PnP-GS [46] and the diffusion-based method PnP-Diff [47]. For CelebA and AFHQ-Cat, all flow-based algorithms use the same pretrained, dataset-specific unconditional velocity-prediction networks, while PnP-GS uses separately trained denoisers. We obtain these networks and their pretrained weights directly from PnP-Flow [26]. Both the velocity-prediction networks and PnP-GS denoisers employ the same U-Net architecture [48], based on the implementations in [19], [49]. The velocity-prediction networks were trained using Mini-Batch Optimal-Transport Flow Matching [38] with a standard Gaussian latent distribution . Training was performed using the Adam optimizer with a learning rate of for 200 and 400 epochs on CelebA and AFHQ-Cat, respectively, with corresponding batch sizes of 128 and 64. For PnP-Diff, following PnP-Flow [26], we use a pretrained diffusion model from [50], trained on the FFHQ dataset [51] and available through the DeepInverse library [52], since training a diffusion model with the same U-Net architecture yielded poor results due to insufficient model capacity.
B. Implementation Details
For denoising, we use the same pretrained unconditional velocity-prediction networks as the other flow-based methods, without any additional training. In this case, since , the noise term in Eq. (29) is uncorrelated Gaussian with standard deviation . The equivalent observation can therefore be expressed as . To use the pretrained unconditional network, we scale the equivalent observation to match the straight-line interpolation in Eq. (2). Specifically, scaling by gives . We then choose such that the standard deviation of the scaled noise equals , as required by the straight-line interpolation. This gives , which yields . The pretrained network is therefore evaluated at for all .
For the remaining inverse problems, we fine-tune the same pretrained unconditional velocity-prediction networks used by the other flow-based methods in our comparison. To incorporate the measurement-domain state into the network, we expand the input convolutional layer from three to six channels. In doing so, we retain the pretrained weights for the original channels and initialize the additional weights to zero. The resulting network takes as input. Here, corresponds to the blurred measurement state for Gaussian deblurring and the masked measurement state for random and box inpainting. For super-resolution, is upsampled to the image dimensions using nearest-neighbor interpolation. In all cases, the acquired noisy measurement is not provided as a separate input.
For all problems except denoising, these networks are fine-tuned using the same optimizer and batch-size settings as PnP-Flow [26] (Adam optimizer with a learning rate of and batch sizes of 128 and 64 for CelebA and AFHQ-Cat, respectively). For CelebA, fine-tuning is performed for approximately 50 epochs for all problems except random inpainting, for which approximately 150 epochs are used. For AFHQ-Cat, fine-tuning is performed for approximately 600 epochs for all problems. All experiments are conducted on a single NVIDIA A100 80 GB GPU.
We next describe how the network input in Eq. (33) is computed without explicit matrix inversion. For , is diagonal for random and box inpainting and super-resolution, allowing the network input to be computed by elementwise division in Eq. (33). For Gaussian deblurring, is diagonalized by the two-dimensional discrete Fourier transform (DFT) under circular convolution. Therefore, we compute the network input by elementwise division in the Fourier domain, followed by the inverse DFT. For initialization at , Eq. (38) shows that the network input is the projection of onto the nullspace of . For random and box inpainting and super-resolution, this projection is obtained by retaining the values of at the unobserved pixel locations and setting the remaining pixels to zero. For Gaussian deblurring, we compute the projection in the Fourier domain. Specifically, letting denote the unitary DFT matrix, is diagonal. We retain only the coefficients of corresponding to diagonal entries of whose magnitudes do not exceed the threshold , while setting the remaining coefficients to zero. The network input at is then obtained by applying the inverse DFT.
C. Comparison With Other Methods
For each competing method, we use the corresponding hyperparameter settings reported in the comparative evaluations of PnP-Flow [26] and Flower [27]. The hyperparameters of the methods compared in PnP-Flow were selected through a grid search on the validation set to maximize peak signal-to-noise ratio (PSNR). Among the competing methods, we report two variants of PnP-Flow: PnP-Flow1 uses one velocity-network evaluation per denoising step, whereas PnP-Flow5 averages the outputs of five velocity-network evaluations per denoising step. We also report two variants of Flower: Flower1 uses a single reconstruction, whereas Flower5 averages five reconstructions.
The Dual Flow sampling procedure has no tunable hyperparameters other than the number of inference steps N. Since each reverse sampling step requires a single network evaluation, we consider two variants of our method with the same total number of network evaluations, denoted by , which is the dominant factor in runtime. These variants are denoted by Dual Flow-T and Dual Flow-W, where T and W stand for Tall and Wide, respectively. Specifically, Dual Flow-T generates a single reconstruction using steps ( ), whereas Dual Flow-W averages K independently generated reconstructions, each using steps ( ). Thus, both variants require a total of network evaluations. For CelebA, we use and K = 6 for all inverse problems. For AFHQ-Cat, we use for denoising, for Gaussian deblurring, for super-resolution, and for both inpainting problems.
We evaluate reconstruction quality using the distortion metrics peak signal-to-noise ratio (PSNR) and structural similarity index (SSIM), and perceptual quality using learned perceptual image patch similarity (LPIPS). Higher PSNR and SSIM values and lower LPIPS values indicate better performance. We also report the average reconstruction time per image. Throughout Section IV, the values reported below the reconstructed images in the qualitative figures correspond to PSNR, SSIM, and LPIPS, respectively.
Table I presents the average reconstruction performance of the compared methods over 100 test images on CelebA. As in PnP-Flow [26], box-inpainting results are omitted (indicated by a dash, -) for PnP-GS, which is not designed for generative tasks, and PnP-Diff, whose diffusion model was pretrained on a different dataset. Dual Flow achieves state-of-the-art reconstruction performance, outperforming competing methods in terms of both distortion metrics and perceptual quality. In particular, Dual Flow-W achieves the highest PSNR for all five inverse problems and the highest SSIM for four of them, with a value very close to the best result for Gaussian deblurring. Dual Flow-T achieves the lowest LPIPS across all five problems. In terms of computational efficiency, Dual Flow requires substantially less reconstruction time than all competing methods, except PnP-GS for denoising.
The qualitative results in Figs. 2 and 3 show that Dual Flow-T better preserves fine textures and sharp details while producing fewer visible artifacts compared with the competing methods. In contrast to the other methods, our approach generally avoids the over-smoothing observed in their reconstructions. For a closer visual comparison, the figures also include magnified regions of the reconstructed images and the corresponding pixelwise absolute-error maps, computed by averaging the absolute differences between the ground-truth and reconstructed images over RGB channels. Under a common color scale for each inverse problem, the error maps of Dual Flow-T exhibit darker regions, indicating smaller reconstruction errors in the displayed examples. Overall, these results demonstrate that Dual Flow achieves substantial improvements in perceptual quality without

Fig. 2: Qualitative comparison of reconstruction results for denoising, Gaussian deblurring, and super-resolution on CelebA. Each result shows the full image, a magnified region, and a pixelwise absolute-error map of that region. The values below the images are PSNR, SSIM, and LPIPS, respectively.
sacrificing distortion performance, yielding a more favorable perception–distortion trade-off than competing methods.
Table II presents the corresponding results over 100 test images on AFHQ-Cat. Dual Flow-W achieves the highest PSNR and SSIM for denoising, Gaussian deblurring, and box inpainting, while obtaining the best or near-best results for super-resolution and random inpainting. Dual Flow-T achieves the lowest LPIPS across all five inverse problems. Similar to CelebA, Dual Flow requires substantially less reconstruction time than all competing methods, except PnP-GS for denoising.
D. Evolution of the Joint States
We next examine the evolution of the image- and measurement-domain states during Dual Flow sampling. Fig. 4 shows the
intermediate image and measurement states generated by Dual Flow-T for super-resolution on CelebA. Starting from the initial random sample and the acquired noisy measurement , the image and measurement states evolve jointly during sampling. As increases, the image state progressively approaches the ground-truth image , with increasing PSNR and SSIM and decreasing LPIPS. Meanwhile, evolves from the acquired noisy measurement toward the corresponding noise-free measurement , as indicated by the decreasing relative measurement error .
E. Effect of the Number of Inference Steps
We further investigate the effect of the number of inference steps N on reconstruction performance. To this end, we

Fig. 3: Qualitative comparison of reconstruction results for random and box inpainting on CelebA. Each result shows the full image, a magnified region, and a pixelwise absolute-error map of that region.
TABLE I: Average reconstruction performance for five linear inverse problems on CelebA over 100 test images. PSNR, SSIM, LPIPS, and average runtime per image are reported. The best and second-best results are shown in bold and underlined, respectively.
| Method | Denoising | Gaussian Deblurring | Super-Resolution | Random Inpainting | Box Inpainting | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PSNR ↑ | SSIM ↑ | LPIPS ↓ | Time (s) ↓ | PSNR ↑ | SSIM ↑ | LPIPS ↓ | Time (s) ↓ | PSNR ↑ | SSIM ↑ | LPIPS ↓ | Time (s) ↓ | PSNR ↑ | SSIM ↑ | LPIPS ↓ | Time (s) ↓ | PSNR ↑ | SSIM ↑ | LPIPS ↓ | Time (s) ↓ | |
| Measurement | 20.00 | 0.348 | 0.372 | - | 27.83 | 0.740 | 0.127 | - | 10.26 | 0.183 | 0.827 | - | 11.98 | 0.198 | 1.028 | - | 22.26 | 0.742 | 0.214 | - |
| PnP-Flow1 | 31.82 | 0.905 | 0.045 | 0.99 | 34.49 | 0.936 | 0.040 | 0.99 | 31.07 | 0.902 | 0.045 | 1.01 | 33.11 | 0.945 | 0.018 | 0.99 | 30.44 | 0.933 | 0.037 | 0.98 |
| PnP-Flow5 | 32.31 | 0.911 | 0.056 | 4.88 | 34.80 | 0.940 | 0.047 | 4.87 | 31.50 | 0.907 | 0.055 | 4.90 | 34.07 | 0.954 | 0.021 | 4.83 | 31.06 | 0.940 | 0.043 | 4.83 |
| Flower1 | 32.28 | 0.913 | 0.034 | 1.03 | 34.98 | 0.947 | 0.026 | 1.77 | 32.34 | 0.922 | 0.034 | 1.08 | 33.14 | 0.945 | 0.017 | 1.05 | 31.13 | 0.945 | 0.023 | 1.03 |
| Flower5 | 33.15 | 0.926 | 0.038 | 5.06 | 35.67 | 0.954 | 0.032 | 8.87 | 33.09 | 0.931 | 0.039 | 5.40 | 34.03 | 0.954 | 0.019 | 5.25 | 31.83 | 0.952 | 0.023 | 5.15 |
| OT-ODE | 30.52 | 0.858 | 0.033 | 2.29 | 33.00 | 0.921 | 0.029 | 1.96 | 31.28 | 0.902 | 0.026 | 3.60 | 28.86 | 0.873 | 0.049 | 2.96 | 29.52 | 0.920 | 0.037 | 2.95 |
| D-Flow | 26.52 | 0.690 | 0.079 | 21.83 | 30.64 | 0.875 | 0.054 | 48.52 | 30.79 | 0.865 | 0.028 | 68.32 | 33.08 | 0.933 | 0.021 | 135.47 | 29.88 | 0.882 | 0.035 | 61.44 |
| Flow-Priors | 29.29 | 0.764 | 0.136 | 20.16 | 31.52 | 0.856 | 0.056 | 20.25 | 28.34 | 0.714 | 0.101 | 20.23 | 33.07 | 0.945 | 0.018 | 21.28 | 30.05 | 0.858 | 0.048 | 20.20 |
| PnP-GS | 32.26 | 0.902 | 0.035 | 0.05 | 32.85 | 0.885 | 0.046 | 0.95 | 30.44 | 0.881 | 0.082 | 0.57 | 27.89 | 0.820 | 0.106 | 0.66 | - | - | - | - |
| PnP-Diff | 31.19 | 0.885 | 0.061 | 0.80 | 32.77 | 0.912 | 0.061 | 0.80 | 31.49 | 0.894 | 0.033 | 3.71 | 31.86 | 0.919 | 0.024 | 0.82 | - | - | - | - |
| Dual Flow-T | 32.99 | 0.920 | 0.016 | 0.18 | 35.14 | 0.948 | 0.010 | 0.18 | 33.07 | 0.932 | 0.014 | 0.18 | 34.14 | 0.954 | 0.011 | 0.18 | 32.74 | 0.955 | 0.014 | 0.18 |
| Dual Flow-W | 33.54 | 0.931 | 0.020 | 0.18 | 35.73 | 0.953 | 0.016 | 0.18 | 34.28 | 0.946 | 0.021 | 0.18 | 35.73 | 0.965 | 0.014 | 0.18 | 33.71 | 0.961 | 0.015 | 0.18 |
consider random inpainting on CelebA and evaluate the two variants of our method: Dual Flow-T, which generates a single reconstruction, and Dual Flow-W, which averages six independently generated reconstructions. For both variants, we use inference steps per reconstruction. The corresponding quantitative and qualitative results are presented in Table III and Fig. 5, respectively.
As shown in Table III, even with , both variants outperform all competing methods in Table I in terms of PSNR and LPIPS, while Dual Flow-W also achieves the highest SSIM. For both Dual Flow-T and Dual Flow-W, increasing improves perceptual quality, as reflected by decreasing LPIPS values. Conversely, as decreases to , the reconstructions become smoother, with higher LPIPS values but improved
distortion metrics (PSNR and SSIM). For a fixed number of inference steps per reconstruction, Dual Flow-W achieves higher PSNR and SSIM through averaging multiple independently generated reconstructions, while generally yielding higher LPIPS than Dual Flow-T.
These trends are also observed in Fig. 5. In the displayed example, Dual Flow-W with produces a smoother reconstruction while achieving the highest PSNR and SSIM, whereas Dual Flow-T with produces a sharper reconstruction with the lowest LPIPS. These observations further explain the complementary roles of the two Dual Flow variants. Under the same total number of network evaluations , Dual Flow-W favors distortion metrics through reconstruction averaging with fewer steps per trajectory, whereas Dual Flow-T favors
TABLE II: Average reconstruction performance for five linear inverse problems on 100 AFHQ-Cat test images. PSNR, SSIM, LPIPS, and average runtime per image are reported. The best and second-best results are shown in bold and underlined, respectively.
| Method | Denoising | Gaussian Deblurring | Super-Resolution | Random Inpainting | Box Inpainting | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PSNR ↑ | SSIM ↑ | LPIPS ↓ | Time (s) ↓ | PSNR ↑ | SSIM ↑ | LPIPS ↓ | Time (s) ↓ | PSNR ↑ | SSIM ↑ | LPIPS ↓ | Time (s) ↓ | PSNR ↑ | SSIM ↑ | LPIPS ↓ | Time (s) ↓ | |||||
| Measurement | 20.00 | 0.296 | 0.529 | - | 24.38 | 0.528 | 0.437 | - | 11.77 | 0.218 | 0.872 | - | 13.44 | 0.221 | 1.074 | - | 21.72 | 0.730 | 0.214 | - |
| PnP-Flow1 | 31.59 | 0.867 | 0.140 | 0.98 | 28.65 | 0.777 | 0.289 | 4.90 | 27.49 | 0.778 | 0.159 | 5.30 | 33.72 | 0.924 | 0.038 | 2.12 | 26.69 | 0.897 | 0.110 | 0.98 |
| PnP-Flow5 | 31.84 | 0.868 | 0.171 | 4.87 | 28.96 | 0.783 | 0.318 | 24.36 | 27.96 | 0.790 | 0.169 | 24.77 | 34.48 | 0.933 | 0.045 | 9.92 | 27.20 | 0.901 | 0.127 | 4.88 |
| Flower1 | 32.09 | 0.882 | 0.114 | 1.09 | 28.63 | 0.780 | 0.267 | 9.17 | 26.68 | 0.757 | 0.266 | 6.18 | 33.69 | 0.923 | 0.042 | 2.40 | 26.95 | 0.915 | 0.063 | 1.10 |
| Flower5 | 32.73 | 0.893 | 0.127 | 5.41 | 29.04 | 0.788 | 0.281 | 46.07 | 27.06 | 0.766 | 0.277 | 30.84 | 34.41 | 0.932 | 0.048 | 11.93 | 27.42 | 0.923 | 0.067 | 5.47 |
| OT-ODE | 30.44 | 0.818 | 0.081 | 2.19 | 27.76 | 0.732 | 0.127 | 2.19 | 26.66 | 0.735 | 0.109 | 6.01 | 29.95 | 0.849 | 0.088 | 3.05 | 24.87 | 0.875 | 0.093 | 2.81 |
| D-Flow | 26.77 | 0.650 | 0.162 | 25.04 | 28.59 | 0.760 | 0.174 | 155.85 | 25.49 | 0.639 | 0.163 | 155.61 | 32.21 | 0.883 | 0.065 | 158.33 | 26.65 | 0.812 | 0.107 | 71.10 |
| Flow-Priors | 29.61 | 0.755 | 0.166 | 31.44 | 27.26 | 0.725 | 0.188 | 31.47 | 24.00 | 0.579 | 0.268 | 31.46 | 33.00 | 0.910 | 0.051 | 32.00 | 26.23 | 0.810 | 0.128 | 31.43 |
| PnP-GS | 32.08 | 0.872 | 0.121 | 0.04 | 27.21 | 0.747 | 0.347 | 1.99 | 21.42 | 0.570 | 0.420 | 1.71 | 28.74 | 0.839 | 0.158 | 0.80 | - | - | - | - |
| PnP-Diff | 31.00 | 0.839 | 0.189 | 1.26 | 28.20 | 0.745 | 0.324 | 1.27 | 24.16 | 0.646 | 0.389 | 47.09 | 32.30 | 0.886 | 0.058 | 1.35 | - | - | - | - |
| Dual Flow-T | 32.78 | 0.897 | 0.042 | 0.40 | 28.03 | 0.744 | 0.088 | 0.41 | 27.50 | 0.759 | 0.087 | 0.66 | 32.60 | 0.909 | 0.031 | 0.23 | 29.57 | 0.924 | 0.031 | 0.21 |
| Dual Flow-W | 33.33 | 0.907 | 0.065 | 0.44 | 29.59 | 0.803 | 0.203 | 0.42 | 28.21 | 0.789 | 0.118 | 0.72 | 33.99 | 0.931 | 0.040 | 0.23 | 29.74 | 0.928 | 0.035 | 0.22 |

Fig. 4: Evolution of the image- and measurement-domain states during inference for super-resolution on CelebA using Dual Flow-T. The first and second rows show the image state and measurement state , respectively, at different time instants. The last column shows the ground-truth image and the corresponding noise-free measurement . The values below the first row are PSNR, SSIM, and LPIPS, respectively, while those below the second row are the relative measurement errors .
perceptual quality by allocating all network evaluations to a single trajectory.
F. Robustness to Varying Degradation Levels and Model Mismatch
We now investigate the robustness of Dual Flow-T to variations in degradation settings on CelebA. Specifically, we consider different measurement noise levels for denoising and Gaussian blur kernel standard deviations for deblurring, without retraining the corresponding networks.
For denoising, as described in Section IV-B, the pretrained unconditional PnP-Flow network is used directly without fine-tuning. The derived formulation allows the same network to handle different measurement noise levels by evaluating it at the
corresponding noise-dependent flow time . We evaluate this approach for , where denotes the standard deviation of the measurement noise and corresponds to the setting used in the main experiments in Table I. As shown in Table IV, although reconstruction performance degrades as the noise level increases, Dual Flow-T maintains high PSNR and SSIM and low LPIPS values even at the challenging noise level . The visual results in Fig. 6 show that the reconstruction preserves the main facial structures and fine details even at .
For Gaussian deblurring, we investigate robustness to forward-operator mismatch between training and testing. The network is fine-tuned using a Gaussian blur kernel with standard deviation , corresponding to the setting used in the main experiments in Table I. We then evaluate the same network
Ground Truth

Measurement

12.22/0.219/0.959
N = 1

32.63/0.947/0.021
N = 3
32.44/0.951/0.017
N = 18
31.34/0.940/0.014
N = 30
31.15/0.936/0.013
Dual Flow-T
Dual Flow-W

32.79/0.950/0.021
Dual Flow-W
33.03/0.954/0.018
32.82/0.953/0.016
32.77/0.952/0.016
Fig. 5: Effect of the number of inference steps on random inpainting reconstructions on CelebA. The leftmost column shows the ground-truth image and the measurement. The first row shows Dual Flow-T, which generates a single reconstruction, whereas the second row shows Dual Flow-W, which averages six independently generated reconstructions, each using inference steps.
TABLE III: Effect of the number of inference steps on random inpainting performance on CelebA. Here, denotes the number of inference steps per reconstruction, and denotes the total number of network evaluations. Dual Flow-T generates a single reconstruction, whereas Dual Flow-W averages six independent reconstructions. The best and second-best results are highlighted in bold and underlined, respectively.
| Method | N | Ne | PSNR ↑ | SSIM ↑ | LPIPS ↓ |
|---|---|---|---|---|---|
| Dual Flow-T | 1 | 1 | 35.01 | 0.953 | 0.016 |
| 3 | 3 | 35.20 | 0.961 | 0.013 | |
| 18 | 18 | 34.14 | 0.954 | 0.011 | |
| 30 | 30 | 33.92 | 0.952 | 0.011 | |
| Dual Flow-W | 1 | 6 | 35.39 | 0.960 | 0.016 |
| 3 | 18 | 35.73 | 0.965 | 0.014 | |
| 18 | 108 | 35.58 | 0.965 | 0.012 | |
| 30 | 180 | 35.52 | 0.965 | 0.012 |
TABLE IV: Average denoising performance of Dual Flow-T over 100 CelebA test images for measurement noise with standard deviation .
| PSNR ↑ | SSIM ↑ | LPIPS ↓ | |
|---|---|---|---|
| 0.10 | 36.48 | 0.957 | 0.007 |
| 0.20 | 32.99 | 0.920 | 0.016 |
| 0.40 | 29.73 | 0.866 | 0.032 |
at without further fine-tuning, using the corresponding forward operator for each test setting. As shown in Table V, both distortion and perceptual metrics degrade when the blur level differs from the training setting. The visual results in Fig. 7 show that the reconstruction remains visually reasonable but appears over-sharpened at , while more noticeable artifacts are observed at .
Overall, these results indicate that the proposed method remains robust to challenging measurement noise levels in denoising. In this case, the derived formulation in Section IV-B allows

Fig. 6: Denoising results on CelebA using Dual Flow-T for measurement noise with standard deviation , without fine-tuning the pretrained network.
TABLE V: Average Gaussian deblurring performance of Dual Flow-T over 100 CelebA test images under forward-operator variation. Here, denotes the standard deviation of the Gaussian blur kernel. The network is fine-tuned at and evaluated at without further fine-tuning.
| PSNR ↑ | SSIM ↑ | LPIPS ↓ | |
|---|---|---|---|
| 0.80 | 30.67 | 0.877 | 0.038 |
| 1.00 | 35.14 | 0.948 | 0.010 |
| 1.20 | 23.82 | 0.511 | 0.389 |
the pretrained unconditional network to handle varying noise levels without fine-tuning. However, as observed in Gaussian deblurring, the method remains sensitive to forward-operator mismatch when the forward operator used during testing differs from that used during training.
G. Reconstruction Diversity and Uncertainty Estimation
Beyond reconstruction accuracy, we investigate the reconstruction diversity and uncertainty estimation capabilities of Dual Flow-W. Point estimators, such as MAP or MMSE estimators provide a single reconstruction. Although such estimates can be optimal under their respective estimation criteria, a single

Fig. 7: Gaussian deblurring results on CelebA using Dual Flow-T under forward-operator variations. Here, is the standard deviation of the Gaussian blur kernel. The network is fine-tuned at and evaluated at without further fine-tuning.
reconstruction cannot capture the full range of plausible solutions, thereby discarding information about uncertainty and reconstruction diversity.
Dual Flow-W addresses this limitation by generating reconstructions for the same acquired noisy measurement through joint-state sampling, starting from independent initial samples . These reconstructions represent different plausible solutions supported by the learned joint flow model rather than random perturbations of a single estimate. The samples tend to agree in regions strongly constrained by the measurements, whereas regions with limited information due to the forward operator, noise, or missing observations may exhibit greater variability. This enables pixelwise uncertainty estimation directly from the generated reconstructions.
Given the reconstructions , we estimate the pixel-wise uncertainty by averaging the sample variances across RGB channels and taking the square root:

Fig. 8: Reconstruction diversity and uncertainty estimation for box inpainting on CelebA using Dual Flow-W. The first row shows the ground-truth image, acquired measurement, and predicted pixelwise uncertainty map in the missing region. The second row shows three representative reconstruction samples.
where is the mean estimate, indexes the RGB channels, and denotes the pixel location.
This capability is relevant to box inpainting, where a contiguous image region is missing and multiple distinct reconstructions may be consistent with the same acquired noisy measurement. Fig. 8 shows three representative reconstructions and the predicted uncertainty map computed from the samples generated by Dual Flow-W for a representative box-inpainting example from CelebA. The samples produce realistic reconstructions with few artifacts while exhibiting plausible variations in the missing region. These variations are particularly noticeable in fine facial details, such as the eyebrow, where the uncertainty map also exhibits higher standard deviations. These results illustrate that Dual Flow-W provides diverse plausible reconstructions and uncertainty estimates as an intrinsic byproduct of its sampling procedure, without requiring additional network evaluations beyond those used to generate the reconstruction samples.
V. CONCLUSION
In this paper, we developed Dual Flow, a novel joint flow model for solving linear inverse problems by jointly estimating the clean image and its corresponding noise-free measurement. The key idea is to jointly evolve the image and measurement states, rather than repeatedly using the acquired noisy measurement to condition or guide the reverse sampling process. This formulation enables image reconstruction and measurement denoising to be addressed as two coupled estimation tasks within
a single sampling procedure. By construction, the final image estimate and its corresponding noise-free measurement estimate are guaranteed to satisfy the underlying forward model.
We derived the reverse sampling updates for the joint state and showed that they are governed by the conditional mean of the clean image given the current joint state. We further derived a closed-form sufficient statistic of the joint state and showed that this conditional mean can be obtained by solving a denoising problem in which the clean image is corrupted by operator-dependent correlated Gaussian noise. Based on this formulation, we trained a velocity-prediction network that uses the derived sufficient statistic to estimate the conditional mean required for the reverse sampling updates. The resulting method does not require approximate measurement-conditioning strategies or any additional hyperparameters beyond the number of inference steps.
We evaluated the developed approach across five linear inverse problems on the CelebA and AFHQ-Cat datasets. The numerical results demonstrate that Dual Flow achieves state-of-the-art reconstruction performance in terms of both distortion metrics and perceptual quality, while requiring substantially less reconstruction time than competing methods. The visual results further show that Dual Flow better preserves fine textures and sharp details while reducing over-smoothing and reconstruction artifacts. These findings indicate that the developed approach achieves a more favorable perception–distortion trade-off than competing methods. Moreover, we showed that Dual Flow can generate diverse plausible reconstructions, enabling uncertainty estimation directly from the generated samples. Despite its strong reconstruction performance, Dual Flow remains sensitive to forward-operator mismatch between training and testing. Improving robustness to such mismatches is therefore an important direction for future work.
REFERENCES
[1] S. Ravishankar, J. C. Ye, and J. A. Fessler, "Image reconstruction: From sparsity to data-adaptive methods and machine learning," Proceedings of the IEEE, vol. 108, no. 1, pp. 86–109, 2020. [2] J. Miao, "Computational microscopy with coherent diffractive imaging and ptychography," Nature, vol. 637, no. 8045, pp. 281–295, 2025. [3] B. Rasti, Y. Chang, E. Dalsasso, L. Denis, and P. Ghamisi, "Image restoration for remote sensing: Overview and toolbox," IEEE Geoscience and Remote Sensing Magazine, vol. 10, no. 2, pp. 201–230, 2022. [4] H. Chung, J. Kim, M. T. Mccann, M. L. Klasky, and J. C. Ye, "Diffusion posterior sampling for general noisy inverse problems," in The Eleventh International Conference on Learning Representations, 2023. [5] L. I. Rudin, S. Osher, and E. Fatemi, "Nonlinear total variation based noise removal algorithms," Physica D: nonlinear phenomena, vol. 60, no. 1-4, pp. 259–268, 1992. [6] A. Beck and M. Teboulle, "Fast gradient-based algorithms for constrained total variation image denoising and deblurring problems," IEEE transactions on image processing, vol. 18, no. 11, pp. 2419–2434, 2009. [7] I. Daubechies, M. Defrise, and C. De Mol, "An iterative thresholding algorithm for linear inverse problems with a sparsity constraint," Communications on Pure and Applied Mathematics: A Journal Issued by the
Courant Institute of Mathematical Sciences, vol. 57, no. 11, pp. 1413–1457, 2004.
[8] S. Boyd, N. Parikh, E. Chu, B. Peleato, and J. Eckstein, “Distributed optimization and statistical learning via the alternating direction method of multipliers,” Foundations and Trends in Machine Learning, vol. 3, no. 1, pp. 1–122, 2011.
[9] P. L. Combettes and J.-C. Pesquet, “Proximal splitting methods in signal processing,” in Fixed-point algorithms for inverse problems in science and engineering. Springer, 2011, pp. 185–212.
[10] S. V. Venkatakrishnan, C. A. Bouman, and B. Wohlberg, “Plug-and-play priors for model based reconstruction,” in 2013 IEEE global conference on signal and information processing. IEEE, 2013, pp. 945–948.
[11] T. Meinhardt, M. Moller, C. Hazirbas, and D. Cremers, “Learning proximal operators: Using denoising networks for regularizing inverse imaging problems,” in Proceedings of the IEEE International Conference on Computer Vision (ICCV), Oct 2017.
[12] K. Zhang, W. Zuo, S. Gu, and L. Zhang, “Learning deep cnn denoiser prior for image restoration,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), July 2017.
[13] Y. Yang, J. Sun, H. Li, and Z. Xu, “Admm-csnet: A deep learning approach for image compressive sensing,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 42, no. 3, pp. 521–538, 2020.
[14] J. Adler and O. Öktem, “Learned primal-dual reconstruction,” IEEE transactions on medical imaging, vol. 37, no. 6, pp. 1322–1332, 2018.
[15] H. K. Aggarwal, M. P. Mani, and M. Jacob, “Modl: Model-based deep learning architecture for inverse problems,” IEEE Transactions on Medical Imaging, vol. 38, no. 2, pp. 394–405, 2019.
[16] H. Sun and K. L. Bouman, “Deep probabilistic imaging: Uncertainty quantification and multi-modal solution characterization for computational imaging,” Proceedings of the AAAI Conference on Artificial Intelligence, vol. 35, no. 3, pp. 2628–2637, May 2021.
[17] B. Kawar, M. Elad, S. Ermon, and J. Song, “Denoising diffusion restoration models,” in Advances in Neural Information Processing Systems, S. Koyejo, S. Mohamed, A. Agarwal, D. Belgrave, K. Cho, and A. Oh, Eds., vol. 35. Curran Associates, Inc., 2022, pp. 23 593–23 606.
[18] Y. Blau and T. Michaeli, “The perception-distortion tradeoff,” in 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition. IEEE, 2018, pp. 6228–6237.
[19] J. Ho, A. Jain, and P. Abbeel, “Denoising diffusion probabilistic models,” Advances in neural information processing systems, vol. 33, pp. 6840–6851, 2020.
[20] Y. Song, J. Sohl-Dickstein, D. P. Kingma, A. Kumar, S. Ermon, and B. Poole, “Score-based generative modeling through stochastic differential equations,” in International Conference on Learning Representations, 2021.
[21] Y. Lipman, R. T. Q. Chen, H. Ben-Hamu, M. Nickel, and M. Le, "Flow matching for generative modeling," in The Eleventh International Conference on Learning Representations, 2023.
[22] X. Liu, C. Gong, and Q. Liu, “Flow straight and fast: Learning to generate and transfer data with rectified flow,” in The Eleventh International Conference on Learning Representations, 2023.
[23] A. Jalal, M. Arvinte, G. Daras, E. Price, A. G. Dimakis, and J. Tamir, “Robust compressed sensing mri with deep generative priors,” Advances in neural information processing systems, vol. 34, pp. 14938–14954, 2021.
[24] J. Kim, B. S. Kim, and J. C. Ye, “Flowdps: Flow-driven posterior sampling for inverse problems,” in 2025 IEEE/CVF International Conference on Computer Vision (ICCV). IEEE, 2025, pp. 12 328–12 337.
[25] B. Song, S. M. Kwon, Z. Zhang, X. Hu, Q. Qu, and L. Shen, “Solving inverse problems with latent diffusion models via hard data consistency,” in International Conference on Learning Representations, B. Kim, Y. Yue, S. Chaudhuri, K. Fragkiadaki, M. Khan, and Y. Sun, Eds., vol. 2024, 2024, pp. 7624–7654.
[26] S. Martin, A. Gagneux, P. Hagemann, and G. Steidl, “Pnp-flow: Plug-and-play image restoration with flow matching,” in International Conference on Learning Representations, Y. Yue, A. Garg, N. Peng, F. Sha, and R. Yu, Eds., vol. 2025, 2025, pp. 45466–45492.
[27] M. Pourya, B. El Rawas, and M. Unser, “Flower: A flow-matching solver for inverse problems,” in International Conference on Learning Representations, C. Vondrick, B. Hariharan, C. Raffel, L. Pinto, D. Yang, and A. Faust, Eds., vol. 2026, 2026, pp. 91 318–91 343.
[28] Z. Dou and Y. Song, “Diffusion posterior sampling for linear inverse problem solving: A filtering perspective,” in International Conference on Learning Representations, B. Kim, Y. Yue, S. Chaudhuri, K. Fragkiadaki, M. Khan, and Y. Sun, Eds., vol. 2024, 2024, pp. 12 069–12 095.
[29] J. Xu, D. Zeng, J. Paisley, and Q. Zhao, “What do flow-based inverse solvers approximate? a posterior-transport view,” arXiv preprint arXiv:2606.24516, 2026.
[30] C. Saharia, J. Ho, W. Chan, T. Salimans, D. J. Fleet, and M. Norouzi, “Image super-resolution via iterative refinement,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 45, no. 4, pp. 4713–4726, 2023.
[31] C. Saharia, W. Chan, H. Chang, C. Lee, J. Ho, T. Salimans, D. Fleet, and M. Norouzi, “Palette: Image-to-image diffusion models,” in ACM SIGGRAPH 2022 conference proceedings, 2022, pp. 1–10.
[32] S. Ahamed and E. Haber, “Dawn-fm: Data-aware and noise-informed flow matching for solving inverse problems,” arXiv preprint arXiv:2412.04766, 2024.
[33] M. Delbracio and P. Milanfar, “Inversion by direct iteration: An alternative to denoising diffusion for image restoration,” Transactions on Machine Learning Research, 2023.
[34] G.-H. Liu, A. Vahdat, D.-A. Huang, E. Theodorou, W. Nie, and A. Anand-kumar, “T²SB: Image-to-image schrödinger bridge,” in Proceedings of the 40th International Conference on Machine Learning, ser. Proceedings of Machine Learning Research, A. Krause, E. Brunskill, K. Cho, B. Engelhardt, S. Sabato, and J. Scarlett, Eds., vol. 202. PMLR, 23–29 Jul 2023, pp. 22 042–22 062.
[35] Z. Yue, J. Wang, and C. C. Loy, “Resshift: Efficient diffusion model for image super-resolution by residual shifting,” Advances in neural information processing systems, vol. 36, pp. 13 294–13 307, 2023.
[36] H. Qin, W. Luo, L. Wang, D. Zheng, J. Chen, M. Yang, B. Li, and W. Hu, “Reversing flow for image restoration,” in 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). IEEE, 2025, pp. 7545–7558.
[37] A. Mammadov, O. Kara, K. Oktay, I. Azangulov, A. K. Akan, H. Chung, J. M. Rehg, and Y. W. Teh, “Exact posterior score estimation for solving linear inverse problems,” arXiv preprint arXiv:2606.17048, 2026.
[38] A. Tong, K. Fatras, N. Malkin, G. Huguet, Y. Zhang, J. Rector-Brooks, G. Wolf, and Y. Bengio, “Improving and Generalizing Flow-Based Generative Models with Minibatch Optimal Transport,” Transactions on Machine Learning Research, 2024.
[39] K. Zhang, W. Zuo, Y. Chen, D. Meng, and L. Zhang, “Beyond a gaussian denoiser: Residual learning of deep cnn for image denoising,” IEEE transactions on image processing, vol. 26, no. 7, pp. 3142–3155, 2017.
[40] J. C. A. Barata and M. S. Hussein, “The moore–penrose pseudoinverse: A tutorial review of the theory,” Brazilian Journal of Physics, vol. 42, no. 1–2, pp. 146–165, 2012.
[41] Z. Liu, P. Luo, X. Wang, and X. Tang, “Deep learning face attributes in the wild,” in Proceedings of the IEEE international conference on computer vision, 2015, pp. 3730–3738.
[42] Y. Choi, Y. Uh, J. Yoo, and J.-W. Ha, “Stargan v2: Diverse image synthesis for multiple domains,” in 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). IEEE, 2020, pp. 8185–8194.
[43] A. Pokle, M. J. Muckley, R. T. Q. Chen, and B. Karrer, “Training-Free Linear Image Inverses via Flows,” Transactions on Machine Learning Research, 2024.
[44] H. Ben-Hamu, O. Puny, I. Gat, B. Karrer, U. Singer, and Y. Lipman, “D-flow: Differentiating through flows for controlled generation,” in Proceedings of the 41st International Conference on Machine Learning, ser. Proceedings of Machine Learning Research, R. Salakhutdinov, Z. Kolter, K. Heller, A. Weller, N. Oliver, J. Scarlett, and F. Berkenkamp, Eds., vol. 235. PMLR, 21–27 Jul 2024, pp. 3462–3483.
[45] Y. Zhang, P. Yu, Y. Zhu, Y. Chang, F. Gao, Y. N. Wu, and O. Leong, “Flow priors for linear inverse problems via iterative corrupted trajectory matching,” Advances in Neural Information Processing Systems, vol. 37, pp. 57389–57417, 2024.
[46] S. Hurault, A. Leclaire, and N. Papadakis, “Gradient step denoiser for convergent plug-and-play,” in The Tenth International Conference on Learning Representations, ICLR 2022, Virtual Event, April 25-29, 2022. OpenReview.net, 2022.
[47] Y. Zhu, K. Zhang, J. Liang, J. Cao, B. Wen, R. Timofte, and L. Van Gool, “Denoising diffusion models for plug-and-play image restoration,” in 2023
IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW). IEEE, 2023, pp. 1219–1229.
[48] O. Ronneberger, P. Fischer, and T. Brox, “U-net: Convolutional networks for biomedical image segmentation,” in International Conference on Medical image computing and computer-assisted intervention. Springer, 2015, pp. 234–241.
[49] C.-W. Huang, J. H. Lim, and A. C. Courville, “A variational perspective on diffusion-based generative models and score matching,” Advances in Neural Information Processing Systems, vol. 34, pp. 22 863–22 876, 2021.
[50] J. Choi, S. Kim, Y. Jeong, Y. Gwon, and S. Yoon, “Ilvr: Conditioning method for denoising diffusion probabilistic models,” in Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), October 2021, pp. 14 367–14 376.
[51] T. Karras, S. Laine, and T. Aila, “A style-based generator architecture for generative adversarial networks,” in 2019 IEEE/CVF conference on computer vision and pattern recognition (CVPR). IEEE, 2019, pp. 4396–4405.
[52] J. Tachella, M. Terris, S. Hurault, A. Wang, L. Davy, J. Scanvic, V. Sechaud, R. Vo, T. Moreau, T. Davies, D. Chen, N. Laurent, B. Monroy, J. Dong, Z. Hu, M.-H. Nguyen, F. Sarron, P. Weiss, P. Escande, M. Massias, T. Modrzyk, B. Levac, T. I. Liaudat, M. Song, J. Hertrich, S. Neumayer, and G. Schramm, “Deepinverse: A python package for solving imaging inverse problems with deep learning,” Journal of Open Source Software, vol. 10, no. 115, p. 8923, 2025.