arXiv:2610.31592cs.CVOct 2026

Manuscript Offprint

arXiv:2610.31592

Beyond Best-of-kk: Prior-Consistent DAPS for Ambiguous Nonlinear Inverse Problems

Merve Kocabas, Benjamin A. Burns, Andreas Geiger, Kent Gauen, Sara Fridovich-Keil

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Diffusion models have become strong priors for solving inverse problems. However, nonlinear inverse problems such as phase retrieval remain challenging when multiple measurement-consistent solutions are distinguishable only by the prior; we call such measurements ambiguous. Existing diffusion-based samplers rely on local approximations during reconstruction. For an ambiguous measurement, these approximations can allow measurement guidance to favor a measurement-consistent mode that is close to a prior-supported mode but is itself not supported by the prior. Evaluation often masks this type of failure by reporting the best-of-k runs, where the best is selected by comparison to the ground truth. We introduce Prior-Consistent DAPS (PC-DAPS), a variant of Decoupled Annealing Posterior Sampling (DAPS) designed to address this failure case by maintaining multiple candidate solutions within a single sampling run. As annealing noise decreases, PC-DAPS prunes and replaces weaker candidates according to their prior consistency, without any ground-truth access. PC-DAPS reduces the incidence of prior-inconsistent samples and improves sample quality on nonlinear inverse problems while preserving sample quality and diversity on linear inverse problems. †^{\dagger}

1 INTRODUCTION

Figure

Figure 1: Measurement consistency is not sufficient for reconstruction. A single Fourier magnitude measurement is shared by rotations, translations, and color-channel inversions of an image. Existing solvers may return these prior-inconsistent modes, while PC-DAPS selects reconstructions supported by the learned image prior. Each sample was selected randomly, either from four independent runs for other methods or from the four particles generated in a single PC-DAPS run.

Inverse problems arise across science and engineering whenever an unknown signal must be recovered from indirect measurements, including image restoration (Bertero et al., 2021), medical imaging (Song et al., 2022), and astronomical imaging (Event Horizon Telescope Collaboration, 2019). Given an observed measurement y generated through a known but potentially noisy measurement

†^{\dagger}Code: https://github.com/voilalab/PC-DAPS; project website: PC-DAPS.

process, the goal of the inverse problem is to recover the original signal xx. For underdetermined problems, in which many different signals xx may give rise to the same measurement yy, Bayesian imaging defines the posterior distribution as p(x∣y)∝p(y∣x)p(x)p(x \mid y) \propto p(y \mid x)p(x), where the likelihood p(y∣x)p(y \mid x) captures measurement consistency of a candidate image xx and the prior p(x)p(x) captures which candidate reconstructions are plausible natural signals. The goal of posterior sampling is thus to generate candidate reconstructions that are simultaneously consistent with the measurement and the prior.

In Fourier phase retrieval, for example, multiple images can produce identical Fourier magnitude measurements (Fienup, 1982). These measurement-equivalent solutions therefore have the same likelihood, but can have very different posterior probabilities depending on their consistency with the image prior. In particular, we observe that existing phase-retrieval solvers applied to face images sometimes return a rotated or color-inverted face that is consistent with the measurement but implausible under a natural-image prior concentrated on upright faces. The challenge is therefore not simply to find measurement-consistent reconstructions, but to sample the measurement-consistent solutions supported by the prior.

Diffusion models provide strong image priors for posterior sampling (Ho et al., 2020; Song et al., 2021). At each noise level, a diffusion model implicitly defines a denoiser that maps a noisy sample xtx_t to an estimate of the corresponding clean image; this diffusion denoiser can be used to incorporate the prior p(x)p(x) during posterior sampling. Diffusion-based inverse solvers apply this prior information along a sampling trajectory, i.e., the sequence of intermediate states that evolves from a noisy sample toward a reconstruction. Existing methods primarily either tilt the unconditional reverse diffusion process using an approximate likelihood gradient (Zhang et al., 2025; Chung et al., 2023; Song et al., 2023; Boys et al., 2024) or alternate prior and measurement updates across noise levels (Wu et al., 2024; Xu & Chi, 2024; Chen et al., 2026; Ahmed & Makin, 2026). In these methods, the prior information available at each noise level is represented through a local denoising approximation centered on a single clean-image estimate, rather than explicitly maintaining multiple competing prior modes at intermediate timesteps.

When the measurement is ambiguous, as in the case of phase retrieval and other underdetermined inverse problems, following a sampling trajectory can lead to premature mode selection. At high noise levels, multiple prior modes may remain plausible, but the trajectory can only move towards one of them. Once a trajectory selects a particular prior mode, subsequent refinement primarily improves measurement consistency in the local neighborhood of that mode rather than considering more distant alternatives. This becomes problematic when (i) the selected prior mode is not consistent with the measurement, and (ii) its nearest measurement-consistent mode is not supported by the prior. Trajectory-based samplers can prematurely commit to this pair of modes, ultimately resulting in hallucinatory sampled reconstructions that are not supported by the true posterior or even the true prior. Best-of-k evaluation partially masks this issue by generating multiple independent reconstructions and selecting the one closest to the ground truth (Chung et al., 2023; Zhang et al., 2025). However, this selection uses information unavailable at test time and does not ensure that the produced samples are prior-consistent. Particle-based approaches maintain multiple candidates at intermediate timesteps (Cardoso et al., 2024; Dou & Song, 2024; Wu et al., 2023), but have primarily focused on linear inverse problems and particle diversity rather than prior-consistent sampling.

To address this issue, we introduce Prior-Consistent DAPS (PC-DAPS), which moves sample selection inside the sampler and removes the need for ground-truth-based best-of-k evaluation. PC-DAPS maintains a bag of K particles annealed under the same measurement, and models the denoiser posterior p(x0∣xt)p(x_0 \mid x_t) with a K-component Gaussian mixture rather than a unimodal estimate. Early in sampling, multiple candidates are kept while the noise level is high and the prior is still weakly informative. As the noise decreases during annealing, particles with low prior consistency are pruned and replaced by surviving candidates that are more prior-consistent. PC-DAPS thus delays mode selection until the prior becomes more informative, performing within a single sampling run (and without ground-truth access) what best-of-k does only after k independent sampling runs.

We evaluate PC-DAPS on FFHQ (Karras et al., 2019) and ImageNet (Deng et al., 2009) across three nonlinear and seven linear tasks, including the eight tasks reported in DAPS (Zhang et al., 2025) as well as high-pass filtering (Thaker et al., 2025) and 16×16\times super-resolution. We report PSNR, SSIM (Wang et al., 2004), and LPIPS (Zhang et al., 2018) under both single-sample and best-of-k evaluation. We additionally compare the rate of prior-inconsistent hallucinations against independent DAPS runs. PC-DAPS reduces the incidence of prior-inconsistent samples and improves perfor-mance on ambiguous nonlinear problems while maintaining image quality and diversity on linear inverse problems. Our contributions are as follows:

• We propose PC-DAPS, which maintains a bag of particles, models the denoiser posterior with a Gaussian mixture, and performs prior-based pruning without access to ground truth.

• We evaluate PC-DAPS across seven linear and three nonlinear inverse problems on FFHQ and ImageNet, showing fewer prior-inconsistent reconstructions and improved nonlinear reconstruction quality while preserving performance on linear tasks.

References (38)