Papers
Topics
Authors
Recent
Search
2000 character limit reached

Denoising Diffusion Null-Space Model (DDNM)

Updated 25 May 2026
  • DDNM is a zero-shot image restoration framework that combines denoising diffusion probabilistic models with range–null-space decomposition to enforce strict linear measurement consistency.
  • It leverages pretrained generative priors without retraining, supporting diverse tasks like super-resolution, inpainting, deblurring, and compressed sensing.
  • Empirical evaluations show significant improvements in metrics such as PSNR and LPIPS while ensuring locally and globally coherent high-fidelity restorations.

The Denoising Diffusion Null-Space Model (DDNM) is a zero-shot image restoration framework that rigorously enforces linear measurement consistency by combining denoising diffusion probabilistic models (DDPMs) with the range–null-space decomposition of linear inverse problems. DDNM and its extensions permit direct leveraging of powerful pretrained generative priors without any retraining or network modification, supporting a broad class of linear inverse restoration tasks—including super-resolution, inpainting, deblurring, and compressed sensing—while ensuring that all restored outputs are provably consistent with observed measurements. Extensions such as Mask-Shift Restoration (MSR) and Hierarchical Restoration (HiR) enable seamless and semantically coherent processing of images with arbitrary sizes.

1. Theoretical Basis: Range–Null-Space Decomposition

Given a linear inverse problem y=Ax+ny = A\,x + n, where AA is a known linear measurement or degradation operator, DDNM decomposes the solution set into orthogonal subspaces: the range space (row-space of AA) and the null space (kernel of AA) (Wang et al., 2022). Any xRDx \in \mathbb{R}^D consistent with Ax=yA\,x = y can be expressed as

x^=Ay+(IAA)z,\hat{x} = A^{\dagger} y + (I - A^{\dagger} A)z,

where AA^{\dagger} is the Moore–Penrose pseudoinverse, zz is arbitrary, the first term ensures strict measurement consistency, and the second spans the null space. By design, Ax^=yA\,\hat{x} = y holds exactly. DDNM leverages this structure to ensure the observed (range) part is fixed, while only the null component is stochastically refined via the diffusion prior.

2. DDNM Sampling Algorithm and Mathematical Formulation

At each reverse-diffusion step AA0, DDNM (Wang et al., 2023, Wang et al., 2022) executes the following:

  1. Denoising Prior: The pretrained denoiser AA1 estimates noise AA2 from AA3.
  2. Posterior Mean Estimate: Compute the "clean" image estimate,

AA4

  1. Null-Space Consistency Projection: Replace the range part of AA5 with AA6:

AA7

  1. Sampling: Advance to the next iterate,

AA8

The process is repeated for AA9 steps with a schedule AA0, typically corresponding to DDPM (AA1) or DDIM (AA2) variants. Data consistency is enforced at every step via the null-space update (Wang et al., 2022, Wang et al., 2023), guaranteeing AA3 for all AA4.

3. Extensions: DDNM+, Mask-Shift Restoration (MSR), and Hierarchical Restoration (HiR)

DDNM+ generalizes DDNM to support noisy observations and is robustified for challenging scenarios (e.g., large-scale SR, low CS ratios). The update modifies the range-correction to allow for partial replacement, scaled by a time-dependent factor AA5, and adapts the sampling variance using AA6 to maintain theoretical consistency with the noise schedule (Wang et al., 2022).

Mask-Shift Restoration (MSR) addresses restoration of arbitrarily sized images. Input images are divided into overlapping fixed-size patches. For each patch, overlapping regions are treated as hard constraints via binary masks. During each diffusion step, the range-projected estimate in the overlap region is replaced with the corresponding pixels from previously restored neighboring patches, while the remainder is denoised via DDNM. This prevents boundary artefacts and ensures local coherence (Wang et al., 2023).

Hierarchical Restoration (HiR) imbues restored images with global semantic structure to prevent out-of-domain (OOD) or semantic inconsistencies, especially for large images. HiR applies a two-level diffusion process: (1) first, a downsampled version is restored (usually with MSR), preserving coarse semantics; (2) then, this low-frequency structure is injected as a prior during high-resolution diffusion, by projecting current denoised estimates onto the space matched to upsampled low-frequency reconstruction, before the final measurement consistency projection (Wang et al., 2023).

4. Empirical Effectiveness and Applications

DDNM achieves state-of-the-art performance versus prior zero-shot and model-based methods, substantiated by systematic experiments (Wang et al., 2022). Across a wide range of inverse problems—super-resolution, inpainting, deblurring, compressed sensing, colorization, and real-world restoration tasks—DDNM provides:

  • Strict Data Consistency: All outputs exactly satisfy AA7 to numerical precision.
  • Diversity: Multiple plausible reconstructions (null-space samples) are efficiently generated, controlled only by the diffusion prior.
  • High Fidelity: Use of a diffusion prior ensures output details and texture remain on-manifold for natural images.

Empirical metrics on standard datasets include improvements of 2–5 dB in PSNR and 20–40% reduction in LPIPS over GAN-based and prior diffusion approaches. Notable test cases include 4× super-resolution (FID drop from 43→39 on ImageNet), deblurring (PSNR +1.9 dB), colorization (FID +4–10 points), and compressed sensing (PSNR +1.7 dB).

In wireless image transmission, DDNM is used in conjunction with DeepJSCC coding, where the range-space is transmitted and the null-space is restored by diffusion at the receiver, yielding higher perceptual quality under bandwidth and SNR constraints (Yilmaz et al., 2023).

InfraDiffusion adapts DDNM for restoration and segmentation of depth maps projected from sparse point clouds. It extends DDNM with a boundary mask, ensuring that generative sampling and range projections only affect physically meaningful support regions, thereby improving downstream segmentation metrics (e.g., mIoU from 0.064→0.708 on masonry test data) (Jing et al., 3 Sep 2025).

5. Implementation Strategies and Practical Recommendations

  • Patch size for unlimited-size restoration should match the training size of the underlying diffusion U-Net (commonly 256×256).
  • Overlap width should be at least half the patch size to minimize seam artefacts (MSR).
  • Classifier guidance can be incorporated, with scale factors ∼1.5–2.0 for sharper outputs.
  • Sampling schedule: AA8 is often set to 100–250 (DDIM or DDPM schedule, respectively).
  • Time-travel trick: Optional local jump-forward/noise-back steps (DDNM+) can improve global consistency for hard inverse problems or large images.
  • Accurate knowledge of AA9 and AA0 is necessary for optimal consistency enforcement.

6. Limitations, Best Practices, and Comparative Context

DDNM's efficacy is upper-bounded by the quality of the pretrained diffusion prior; failure modes arise for extremely challenging AA1 or OOD degradations. Inference time scales with image size and patch count; large-scale restoration incurs substantial compute cost. For best performance, the practitioner must accurately specify both AA2 and AA3, which is not always possible (e.g., unknown degradations).

Compared to simpler patching schemes, the combination of MSR and HiR in DDNM eliminates block seams and preserves long-range semantic coherence. Naïve patching yields artifacts, disconnected semantics, and poor quality on large or nonstandard images, whereas DDNM’s explicit treatment of null/row-space and overlap constraints ensures both local and global fidelity (Wang et al., 2023).

DDNM frameworks unify strict linear measurement consistency (via range–null decomposition) with the flexibility of pretrained unconditional diffusion priors. This synergy enables a general-purpose, zero-shot principle for image restoration that generalizes across diverse linear IR tasks and scales to unlimited image sizes, without retraining or prior exposure to target degradations.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Denoising Diffusion Null-Space Model (DDNM).