arXiv:2611.00157eess.IVOct 2026

Manuscript Offprint

arXiv:2611.00157

FlowFPR: Flow Matching Prior for Oversampled Fourier Phase Retrieval

Li Jiatai, Cao Wenfei, Chen Yang

Jiatai Li, Wenfei Cao*, and Yang Chen

Abstract—Fourier phase retrieval reconstructs images from magnitude measurements without phase information, but noise and channel ambiguities make natural color-image recovery challenging. Although diffusion-prior methods provide strong image constraints, their recovery can deteriorate under stronger measurement noise, and repeated generative updates incur substantial computational cost. This paper proposes FlowFPR, which integrates a pretrained Flow Matching prior with relaxed averaged alternating reflections for oversampled Fourier phase retrieval. Each outer iteration obtains a clean image estimate through a single time-dependent Flow prediction, applies measurement-consistency correction, and reconstructs the next path state after fusing the two candidates. This process requires no backpropagation of measurement errors through the Flow network. To address ineffective or excessive correction caused by prescribed fusion weights and fixed inner depths, we introduce adaptive fusion based on residual improvement and a controlled inner search combining early stopping with best-so-far candidate selection. Their combination yields a joint variant alongside the basic method and the two independent improvements. Experiments on natural face images under a common ground-truth-assisted multiple-restart evaluation protocol show that the joint variant achieves the best mean quality among the evaluated methods at the two tested nonzero noise levels, while same-hardware timing demonstrates lower end-to-end runtime than the diffusion-based baselines.

Index Terms—Fourier phase retrieval, flow matching, plug-and-play, RAAR, generative prior

I. INTRODUCTION

Phase retrieval reconstructs an unknown object from magnitude or intensity measurements without phase information and is a fundamental inverse problem in coherent diffraction imaging, microscopy, crystallography, and astronomical imaging [1], [2]. Conventional optical detectors typically record intensity proportional to the squared field magnitude, whereas phase carries essential information about object morphology and spatial structure. Recovering phase from limited observations is therefore important for overcoming imaging-system limitations. Missing phase also introduces nonconvexity, solution ambiguities, and noise sensitivity; uniqueness in multidimensional Fourier phase retrieval has been studied under appropriate assumptions [3]. For natural RGB images, reconstruction must preserve both spatial structure within each channel and the color and geometric correspondence across channels, making recovery more challenging.

Classical iterative methods can be broadly organized by how their updates are constructed. One family develops projection, reflection, and feedback updates from measurement-

and object-domain constraints, as exemplified by hybrid input-output (HIO) [4], [5], difference-map iterations [6], and relaxed averaged alternating reflections (RAAR) [7], with comparative evaluations of projection algorithms reported by Marchesini [8]. Another formulates an explicit optimization model and applies convex relaxation, alternating minimization, or nonconvex gradient iterations, as in PhaseLift [9], alternating minimization with Gaussian measurements [10], and Wirtinger Flow and its truncated variant [11], [12]. The former directly exploits Fourier magnitudes and known support, with early work establishing oversampled reconstruction of non-periodic objects [13]; the latter provides recovery guarantees under specific measurement assumptions, which do not extend directly to arbitrary oversampled Fourier observations. Both remain limited by initialization, noise, and prior expressiveness, while channelwise reconstruction may yield equivalent solutions with inconsistent orientations [14].

Deep learning provides data-driven priors for phase retrieval, including supervised lensless imaging [15], constraints imposed by the range of a generative network, initially studied for linear compressed sensing [16], and untrained network architecture priors for image restoration [17]. In an early study of phase retrieval with generative priors, Hand et al. analyze recovery properties under specified generator and measurement assumptions [18]. Plug-and-play methods [19] instead embed learned denoisers, such as DnCNN [20], into measurement-driven iterations; DPIR demonstrates this modular design for image restoration [21]. For phase retrieval, prDeep combines a learned denoiser with regularization by denoising (RED) [22], [23]. These approaches separate the physical model from the prior but still require effective coordination of prior prediction and measurement correction.

Denoising diffusion and score-based models provide expressive generative priors [24], [25]. Denoising Diffusion Restoration Models (DDRM) address linear inverse problems [26], whereas diffusion posterior sampling (DPS) supports noisy nonlinear phase retrieval through measurement-gradient guidance [27]. DiffFPR couples diffusion prediction with RAAR-type correction and candidate fusion for natural RGB images [14]. DAPS, DDRM-PR, and I2I-PR further explore inverse-problem sampling with noise annealing, diffusion restoration with alternating projection, and learned reconstruction refinement, respectively [28]–[30]; their reported results are not directly comparable under our protocol. In our magnitude-domain Gaussian-noise experiments, DiffFPR's mean quality declines as noise increases, with failures on some images. Although DDIM offers a tradeoff between sampling quality and computational cost [31], our multistep DiffFPR baseline remains costly under repeated restarts. These observations

School of Mathematics and Statistics, Shaanxi Normal University, Xi'an 710119, China.

*Corresponding author: Wenfei Cao (e-mail: caowenf2015@gmail.com).

motivate improvements in noisy-reconstruction quality and computational efficiency.

Flow Matching learns a time-dependent velocity field connecting noise and data distributions, offering an alternative for efficient use of generative priors [32]. PnP-Flow constructs a time-dependent image prior from a pretrained Flow model and demonstrates its applicability to image restoration [33]. Recent work on FlowSGS combines split Gibbs sampling with Flow-based prior sampling and demonstrates nonlinear Fourier phase retrieval [34]. Unlike this posterior-sampling approach, our focus is on coupling a time-dependent Flow prediction with explicit RAAR correction and residual-guided fusion and inner search. Building on the time-dependent prior construction of PnP-Flow, we propose FlowFPR, which alternates a single Flow prediction with RAAR-type measurement correction and reconstructs the next path state after fusing the clean prediction and corrected candidate, without back-propagating measurement errors through the Flow network. Replacing the generative prior alone, however, does not ensure a suitable balance with measurement constraints. Fixed fusion weights or weights prescribed solely as a function of time can lead to ineffective or excessive data-consistency correction, while deeper inner searches can further fit measurement noise. We therefore introduce residual feedback in outer fusion and inner search, yielding Flow-RAAR-adaptive, Flow-RAAR-controlled, and their joint variant, alongside the basic method, Flow-RAAR-basic.

Our main contributions are as follows:

  1. We propose FlowFPR, combining a pretrained Flow Matching prior with RAAR-type measurement correction for oversampled Fourier phase retrieval of natural RGB images, with one time-dependent Flow prediction per outer iteration.

  2. We develop residual-improvement-based adaptive outer fusion and a controlled inner loop combining early stopping with best-so-far candidate selection. These yield two independent improvements and a joint variant that regulate the interaction between the generative prior and noisy measurements.

  3. We compare methods on 50 randomly selected FFHQ images at three noise levels and conduct ablations and runtime measurements on the same hardware on a 25-image subset. Under a common oracle best-of-20 protocol, the joint variant achieves the best mean PSNR, SSIM, and LPIPS at both noisy settings, while all four FlowFPR instances have lower measured end-to-end runtimes than DiffFPR.

References (41)