Noise-Adaptive Diffusion Sampling for Inverse Problems Without Task-Specific Tuning

Yingzhi Xia, Setthakorn Tanomkiattikun, Liangli Zhen, Zaiwang Gu

TL;DR

Researchers have developed Noise-Adaptive Hamiltonian Monte Carlo (NA-NHMC), a method that solves complex inverse problems (like deblurring or medical imaging) by performing inference entirely within the initial noise space of a diffusion model. By treating the denoising process as a deterministic map and marginalizing out unknown noise levels, the method achieves state-of-the-art reconstruction quality without the tedious, task-specific hyperparameter tuning required by previous approaches.

What Problem Does This Paper Address?

Inverse problems (IPs) involve reconstructing a clean signal $x$ from noisy, degraded measurements $y$ (e.g., $y = A(x) + \eta$). While Diffusion Models (DMs) are world-class at modeling the "prior" distribution of images, using them to solve IPs is tricky.

Comparison of diffusion-based inverse problem solvers. N-HMC avoids manifold infeasibility by operating entirely in the initial noise space.

Current methods generally fall into two traps:

  1. Manifold Infeasibility: Methods like Diffusion Posterior Sampling (DPS) use gradients to nudge intermediate images toward measurement consistency. This often pushes the images off the "data manifold"—the narrow region of space where realistic images live—resulting in "crunchy" artifacts or failed reconstructions.
  2. The Tuning Nightmare: Most algorithms are highly sensitive to the measurement noise level ($\sigma_y$). If you don't know the exact noise level or type (Gaussian vs. Speckle), you have to spend hours tuning hyperparameters for every new task.

Methods

The authors introduce Noise-space Hamiltonian Monte Carlo (N-HMC). Instead of trying to "fix" the image during the denoising process, they look at the very beginning: the initial Gaussian noise $x_T$.

Key components include:

  • Deterministic Mapping: They use DDIM (Denoising Diffusion Implicit Models) to treat the entire reverse diffusion process as a single, deterministic function $x_0 = \mathcal{D}(x_T)$. This turns the problem into finding the right starting noise that, when denoised, matches the measurements.
  • Sampling in Noise Space: By performing Hamiltonian Monte Carlo (HMC) updates only on $x_T$, the proposals are guaranteed to stay on the learned data manifold because they are always passed through the full, unconditional denoiser.
  • Noise-Adaptive Variant (NA-NHMC): To eliminate tuning, they treat the measurement noise variance as a latent variable with a non-informative Jeffreys prior. By marginalizing this out, they create a "parameter-free" likelihood term that automatically adapts to the true noise level of the data.
  • Annealing Schedule: They use a temporary "warm" noise level during sampling to help the algorithm explore the space and avoid getting stuck in local minima.

Datasets

The method was evaluated on two standard high-resolution benchmarks:

  • FFHQ (256×256): A dataset of human faces.
  • ImageNet (256×256): A diverse dataset of natural objects and scenes.

The authors tested these across four linear problems (Super-resolution, Inpainting, Deblurring) and three challenging nonlinear problems (Nonlinear deblurring, Phase retrieval, and HDR reconstruction).

Key Insights and Ideas

  • The Manifold is the Key: By moving the "optimization" or "sampling" to the noise space, the denoiser acts as a perfect regularizer. You cannot "break" the image because the denoiser only knows how to make realistic images from noise.
  • Overcoming Local Minima: Deterministic optimization often gets stuck. HMC, combined with an annealing schedule for the noise level, allows the sampler to "jump" out of bad solutions. This was particularly effective for Phase Retrieval, a notoriously difficult problem where most other diffusion methods fail.
  • Robustness to the Unknown: Because NA-NHMC marginalizes out the noise level, it works remarkably well even when the noise isn't Gaussian (e.g., Impulse or Speckle noise), using the exact same settings.

Key Results

  • Superior Quality: NA-NHMC consistently outperformed SOTA baselines like DPS, DAPS, and DMPlug in terms of PSNR (Peak Signal-to-Noise Ratio) and LPIPS (a perceptual similarity metric).
  • Nonlinear Dominance: The gains were most significant in nonlinear tasks. In Phase Retrieval on FFHQ, NA-NHMC achieved a PSNR of 19.30, while the next best method (DAPS) trailed at 18.52, and others like DPS collapsed entirely (10.87).
  • Stability: Unlike DPS, which requires different "step sizes" for every task, NA-NHMC used a single configuration to solve every problem presented in the paper.
  • Visual Fidelity: Qualitative results show that NA-NHMC produces images with sharp details and significantly fewer artifacts compared to iterative guidance methods.

Limitations and Future Work

  • Computational Cost: HMC requires multiple "leapfrog" steps, each involving a pass through the diffusion model. While the authors optimized this to use as few as two denoising steps, it is still slower than simple MAP optimization.
  • Warmup Phases: The high dimensionality of the noise space means the sampler requires a "warmup" period to reach the correct distribution, which adds to the runtime.
  • Step Dependency: The reliance on a very small number of diffusion steps (to keep it fast) might limit performance on extremely complex, out-of-distribution images.

The authors suggest that future work could involve developing more efficient gradient estimation techniques to speed up the HMC process further.

Summary updated

BibTeX
@inproceedings{xia2026noise,
  author = {Yingzhi Xia and Setthakorn Tanomkiattikun and Liangli Zhen and ZAIWANG GU},
  title = {{Noise-Adaptive Diffusion Sampling for Inverse Problems Without Task-Specific Tuning}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=Yfk4ex3Z1G},
}
Figure