Yinhuai Wang, Jiwen Yu, Jian Zhang
Most existing Image Restoration (IR) models are task-specific, which can not be generalized to different degradation operators. In this work, we propose the Denoising Diffusion Null-Space Model (DDNM), a novel zero-shot framework for arbitrary linear IR problems, including but not limited to image super-resolution, colorization, inpainting, compressed sensing, and deblurring. DDNM only needs a pre-trained off-the-shelf diffusion model as the generative prior, without any extra training or network modifications. By refining only the null-space contents during the reverse diffusion process, we can yield diverse results satisfying both data consistency and realness. We further propose an enhanced and robust version, dubbed DDNM+, to support noisy restoration and improve restoration quality for hard tasks. Our experiments on several IR tasks reveal that DDNM outperforms other state-of-the-art zero-shot IR methods. We also demonstrate that DDNM+ can solve complex real-world applications, e.g., old photo restoration.
| Task | Dataset | Metric | Value | Model |
|---|---|---|---|---|
| Super-Resolution | ImageNet | FID | 39.26 | DDNM |
| Super-Resolution | ImageNet | PSNR | 27.46 | DDNM |
| Super-Resolution | ImageNet | SSIM | 0.87 | DDNM |
| Super-Resolution | ImageNet | FID | 43.15 | DDRM |
| Super-Resolution | ImageNet | PSNR | 27.38 | DDRM |
| Super-Resolution | ImageNet | SSIM | 0.869 | DDRM |
| Super-Resolution | ImageNet | FID | 43.66 | ILVR |
| Super-Resolution | ImageNet | PSNR | 27.4 | ILVR |
| Super-Resolution | ImageNet | SSIM | 0.87 | ILVR |
| Super-Resolution | ImageNet | FID | 64.34 | DGP |
| Super-Resolution | ImageNet | PSNR | 23.18 | DGP |
| Super-Resolution | ImageNet | SSIM | 0.798 | DGP |
| Super-Resolution | ImageNet | FID | 134.4 | A+y |
| Super-Resolution | ImageNet | PSNR | 24.26 | A+y |
| Super-Resolution | ImageNet | SSIM | 0.684 | A+y |
| Super-Resolution | CelebA | FID | 22.27 | DDNM |
| Super-Resolution | CelebA | PSNR | 31.63 | DDNM |
| Super-Resolution | CelebA | SSIM | 0.945 | DDNM |
| Super-Resolution | CelebA | FID | 29.82 | ILVR |
| Super-Resolution | CelebA | PSNR | 31.59 | ILVR |
| Super-Resolution | CelebA | SSIM | 0.945 | ILVR |
| Super-Resolution | CelebA | FID | 31.04 | DDRM |
| Super-Resolution | CelebA | PSNR | 31.63 | DDRM |
| Super-Resolution | CelebA | SSIM | 0.945 | DDRM |
| Super-Resolution | CelebA | FID | 40.33 | PULSE |
| Super-Resolution | CelebA | PSNR | 22.74 | PULSE |
| Super-Resolution | CelebA | SSIM | 0.623 | PULSE |
| Super-Resolution | CelebA | FID | 103.3 | A+y |
| Super-Resolution | CelebA | PSNR | 27.27 | A+y |
| Super-Resolution | CelebA | SSIM | 0.782 | A+y |
| Image Generation | ImageNet | FID | 3.89 | DDNM |
| Image Generation | ImageNet | PSNR | 32.06 | DDNM |
| Image Generation | ImageNet | SSIM | 0.968 | DDNM |
| Image Generation | ImageNet | FID | 4.82 | DDRM |
| Image Generation | ImageNet | PSNR | 31.73 | DDRM |
| Image Generation | ImageNet | SSIM | 0.966 | DDRM |
| Image Generation | ImageNet | FID | 12.31 | RePaint |
| Image Generation | ImageNet | PSNR | 31.87 | RePaint |
| Image Generation | ImageNet | SSIM | 0.963 | RePaint |
| Image Generation | ImageNet | FID | 72.71 | A+y |
| Image Generation | ImageNet | PSNR | 14.52 | A+y |
| Image Generation | ImageNet | SSIM | 0.799 | A+y |
| Image Generation | CelebA | FID | 4.54 | DDNM |
| Image Generation | CelebA | PSNR | 35.64 | DDNM |
| Image Generation | CelebA | SSIM | 0.982 | DDNM |
| Image Generation | CelebA | FID | 12.53 | DDRM |
| Image Generation | CelebA | PSNR | 34.79 | DDRM |
| Image Generation | CelebA | SSIM | 0.978 | DDRM |
| Image Generation | CelebA | FID | 14.19 | RePaint |
| Image Generation | CelebA | PSNR | 35.2 | RePaint |
| Image Generation | CelebA | SSIM | 0.981 | RePaint |
| Image Generation | CelebA | FID | 181.56 | A+y |
| Image Generation | CelebA | PSNR | 15.57 | A+y |
| Image Generation | CelebA | SSIM | 0.809 | A+y |
| Image Inpainting | ImageNet | FID | 3.89 | DDNM |
| Image Inpainting | ImageNet | PSNR | 32.06 | DDNM |
| Image Inpainting | ImageNet | SSIM | 0.968 | DDNM |
| Image Inpainting | ImageNet | FID | 4.82 | DDRM |
| Image Inpainting | ImageNet | PSNR | 31.73 | DDRM |
| Image Inpainting | ImageNet | SSIM | 0.966 | DDRM |
| Image Inpainting | ImageNet | FID | 12.31 | RePaint |
| Image Inpainting | ImageNet | PSNR | 31.87 | RePaint |
| Image Inpainting | ImageNet | SSIM | 0.963 | RePaint |
| Image Inpainting | ImageNet | FID | 72.71 | A+y |
| Image Inpainting | ImageNet | PSNR | 14.52 | A+y |
| Image Inpainting | ImageNet | SSIM | 0.799 | A+y |
| Image Inpainting | CelebA | FID | 4.54 | DDNM |
| Image Inpainting | CelebA | PSNR | 35.64 | DDNM |
| Image Inpainting | CelebA | SSIM | 0.982 | DDNM |
| Image Inpainting | CelebA | FID | 12.53 | DDRM |
| Image Inpainting | CelebA | PSNR | 34.79 | DDRM |
| Image Inpainting | CelebA | SSIM | 0.978 | DDRM |
| Image Inpainting | CelebA | FID | 14.19 | RePaint |
| Image Inpainting | CelebA | PSNR | 35.2 | RePaint |
| Image Inpainting | CelebA | SSIM | 0.981 | RePaint |
| Image Inpainting | CelebA | FID | 181.56 | A+y |
| Image Inpainting | CelebA | PSNR | 15.57 | A+y |
| Image Inpainting | CelebA | SSIM | 0.809 | A+y |
| Image Super-Resolution | ImageNet | FID | 39.26 | DDNM |
| Image Super-Resolution | ImageNet | PSNR | 27.46 | DDNM |
| Image Super-Resolution | ImageNet | SSIM | 0.87 | DDNM |
| Image Super-Resolution | ImageNet | FID | 43.15 | DDRM |
| Image Super-Resolution | ImageNet | PSNR | 27.38 | DDRM |
| Image Super-Resolution | ImageNet | SSIM | 0.869 | DDRM |
| Image Super-Resolution | ImageNet | FID | 43.66 | ILVR |
| Image Super-Resolution | ImageNet | PSNR | 27.4 | ILVR |
| Image Super-Resolution | ImageNet | SSIM | 0.87 | ILVR |
| Image Super-Resolution | ImageNet | FID | 64.34 | DGP |
| Image Super-Resolution | ImageNet | PSNR | 23.18 | DGP |
| Image Super-Resolution | ImageNet | SSIM | 0.798 | DGP |
| Image Super-Resolution | ImageNet | FID | 134.4 | A+y |
| Image Super-Resolution | ImageNet | PSNR | 24.26 | A+y |
| Image Super-Resolution | ImageNet | SSIM | 0.684 | A+y |
| Image Super-Resolution | CelebA | FID | 22.27 | DDNM |
| Image Super-Resolution | CelebA | PSNR | 31.63 | DDNM |
| Image Super-Resolution | CelebA | SSIM | 0.945 | DDNM |
| Image Super-Resolution | CelebA | FID | 29.82 | ILVR |
| Image Super-Resolution | CelebA | PSNR | 31.59 | ILVR |
| Image Super-Resolution | CelebA | SSIM | 0.945 | ILVR |
| Image Super-Resolution | CelebA | FID | 31.04 | DDRM |
| Image Super-Resolution | CelebA | PSNR | 31.63 | DDRM |
| Image Super-Resolution | CelebA | SSIM | 0.945 | DDRM |
| Image Super-Resolution | CelebA | FID | 40.33 | PULSE |
| Image Super-Resolution | CelebA | PSNR | 22.74 | PULSE |
| Image Super-Resolution | CelebA | SSIM | 0.623 | PULSE |
| Image Super-Resolution | CelebA | FID | 103.3 | A+y |
| Image Super-Resolution | CelebA | PSNR | 27.27 | A+y |
| Image Super-Resolution | CelebA | SSIM | 0.782 | A+y |
| Image Deblurring | ImageNet | FID | 1.15 | DDNM |
| Image Deblurring | ImageNet | PSNR | 44.93 | DDNM |
| Image Deblurring | ImageNet | SSIM | 0.994 | DDNM |
| Image Deblurring | ImageNet | FID | 1.48 | DDRM |
| Image Deblurring | ImageNet | PSNR | 43.01 | DDRM |
| Image Deblurring | ImageNet | SSIM | 0.992 | DDRM |
| Image Deblurring | ImageNet | FID | 55.42 | A+y |
| Image Deblurring | ImageNet | PSNR | 18.56 | A+y |
| Image Deblurring | ImageNet | SSIM | 0.6616 | A+y |
| Image Deblurring | CelebA | FID | 1.41 | DDNM |
| Image Deblurring | CelebA | PSNR | 46.72 | DDNM |
| Image Deblurring | CelebA | SSIM | 0.996 | DDNM |
| Image Deblurring | CelebA | FID | 6.24 | DDRM |
| Image Deblurring | CelebA | PSNR | 43.07 | DDRM |
| Image Deblurring | CelebA | SSIM | 0.993 | DDRM |
| Image Deblurring | CelebA | FID | 54.31 | A+y |
| Image Deblurring | CelebA | PSNR | 18.85 | A+y |
| Image Deblurring | CelebA | SSIM | 0.741 | A+y |
| 10-shot image generation | ImageNet | FID | 1.15 | DDNM |
| 10-shot image generation | ImageNet | PSNR | 44.93 | DDNM |
| 10-shot image generation | ImageNet | SSIM | 0.994 | DDNM |
| 10-shot image generation | ImageNet | FID | 1.48 | DDRM |
| 10-shot image generation | ImageNet | PSNR | 43.01 | DDRM |
| 10-shot image generation | ImageNet | SSIM | 0.992 | DDRM |
| 10-shot image generation | ImageNet | FID | 55.42 | A+y |
| 10-shot image generation | ImageNet | PSNR | 18.56 | A+y |
| 10-shot image generation | ImageNet | SSIM | 0.6616 | A+y |
| 10-shot image generation | CelebA | FID | 1.41 | DDNM |
| 10-shot image generation | CelebA | PSNR | 46.72 | DDNM |
| 10-shot image generation | CelebA | SSIM | 0.996 | DDNM |
| 10-shot image generation | CelebA | FID | 6.24 | DDRM |
| 10-shot image generation | CelebA | PSNR | 43.07 | DDRM |
| 10-shot image generation | CelebA | SSIM | 0.993 | DDRM |
| 10-shot image generation | CelebA | FID | 54.31 | A+y |
| 10-shot image generation | CelebA | PSNR | 18.85 | A+y |
| 10-shot image generation | CelebA | SSIM | 0.741 | A+y |
| 3D Object Super-Resolution | ImageNet | FID | 39.26 | DDNM |
| 3D Object Super-Resolution | ImageNet | PSNR | 27.46 | DDNM |
| 3D Object Super-Resolution | ImageNet | SSIM | 0.87 | DDNM |
| 3D Object Super-Resolution | ImageNet | FID | 43.15 | DDRM |
| 3D Object Super-Resolution | ImageNet | PSNR | 27.38 | DDRM |
| 3D Object Super-Resolution | ImageNet | SSIM | 0.869 | DDRM |
| 3D Object Super-Resolution | ImageNet | FID | 43.66 | ILVR |
| 3D Object Super-Resolution | ImageNet | PSNR | 27.4 | ILVR |
| 3D Object Super-Resolution | ImageNet | SSIM | 0.87 | ILVR |
| 3D Object Super-Resolution | ImageNet | FID | 64.34 | DGP |
| 3D Object Super-Resolution | ImageNet | PSNR | 23.18 | DGP |
| 3D Object Super-Resolution | ImageNet | SSIM | 0.798 | DGP |
| 3D Object Super-Resolution | ImageNet | FID | 134.4 | A+y |
| 3D Object Super-Resolution | ImageNet | PSNR | 24.26 | A+y |
| 3D Object Super-Resolution | ImageNet | SSIM | 0.684 | A+y |
| 3D Object Super-Resolution | CelebA | FID | 22.27 | DDNM |
| 3D Object Super-Resolution | CelebA | PSNR | 31.63 | DDNM |
| 3D Object Super-Resolution | CelebA | SSIM | 0.945 | DDNM |
| 3D Object Super-Resolution | CelebA | FID | 29.82 | ILVR |
| 3D Object Super-Resolution | CelebA | PSNR | 31.59 | ILVR |
| 3D Object Super-Resolution | CelebA | SSIM | 0.945 | ILVR |
| 3D Object Super-Resolution | CelebA | FID | 31.04 | DDRM |
| 3D Object Super-Resolution | CelebA | PSNR | 31.63 | DDRM |
| 3D Object Super-Resolution | CelebA | SSIM | 0.945 | DDRM |
| 3D Object Super-Resolution | CelebA | FID | 40.33 | PULSE |
| 3D Object Super-Resolution | CelebA | PSNR | 22.74 | PULSE |
| 3D Object Super-Resolution | CelebA | SSIM | 0.623 | PULSE |
| 3D Object Super-Resolution | CelebA | FID | 103.3 | A+y |
| 3D Object Super-Resolution | CelebA | PSNR | 27.27 | A+y |
| 3D Object Super-Resolution | CelebA | SSIM | 0.782 | A+y |
| Image Colorization | CelebA | Consistency | 455.9 | DDRM |
| Image Colorization | CelebA | FID | 31.26 | DDRM |
| Image Colorization | CelebA | Consistency | 26.25 | DDNM |
| Image Colorization | CelebA | FID | 26.44 | DDNM |
| Image Colorization | CelebA | FID | 68.81 | A+y |
| Image Colorization | ImageNet | Consistency | 260.4 | DDRM |
| Image Colorization | ImageNet | FID | 36.56 | DDRM |
| Image Colorization | ImageNet | Consistency | 42.32 | DDNM |
| Image Colorization | ImageNet | FID | 36.32 | DDNM |
| Image Colorization | ImageNet | FID | 43.37 | A+y |
| Image Colorization | ImageNet | FID | 69.54 | DGP |
| 1 Image, 2*2 Stitchi | ImageNet | FID | 1.15 | DDNM |
| 1 Image, 2*2 Stitchi | ImageNet | PSNR | 44.93 | DDNM |
| 1 Image, 2*2 Stitchi | ImageNet | SSIM | 0.994 | DDNM |
| 1 Image, 2*2 Stitchi | ImageNet | FID | 1.48 | DDRM |
| 1 Image, 2*2 Stitchi | ImageNet | PSNR | 43.01 | DDRM |
| 1 Image, 2*2 Stitchi | ImageNet | SSIM | 0.992 | DDRM |
| 1 Image, 2*2 Stitchi | ImageNet | FID | 55.42 | A+y |
| 1 Image, 2*2 Stitchi | ImageNet | PSNR | 18.56 | A+y |
| 1 Image, 2*2 Stitchi | ImageNet | SSIM | 0.6616 | A+y |
| 1 Image, 2*2 Stitchi | CelebA | FID | 1.41 | DDNM |
| 1 Image, 2*2 Stitchi | CelebA | PSNR | 46.72 | DDNM |
| 1 Image, 2*2 Stitchi | CelebA | SSIM | 0.996 | DDNM |
| 1 Image, 2*2 Stitchi | CelebA | FID | 6.24 | DDRM |
| 1 Image, 2*2 Stitchi | CelebA | PSNR | 43.07 | DDRM |
| 1 Image, 2*2 Stitchi | CelebA | SSIM | 0.993 | DDRM |
| 1 Image, 2*2 Stitchi | CelebA | FID | 54.31 | A+y |
| 1 Image, 2*2 Stitchi | CelebA | PSNR | 18.85 | A+y |
| 1 Image, 2*2 Stitchi | CelebA | SSIM | 0.741 | A+y |
| 16k | ImageNet | FID | 39.26 | DDNM |
| 16k | ImageNet | PSNR | 27.46 | DDNM |
| 16k | ImageNet | SSIM | 0.87 | DDNM |
| 16k | ImageNet | FID | 43.15 | DDRM |
| 16k | ImageNet | PSNR | 27.38 | DDRM |
| 16k | ImageNet | SSIM | 0.869 | DDRM |
| 16k | ImageNet | FID | 43.66 | ILVR |
| 16k | ImageNet | PSNR | 27.4 | ILVR |
| 16k | ImageNet | SSIM | 0.87 | ILVR |
| 16k | ImageNet | FID | 64.34 | DGP |
| 16k | ImageNet | PSNR | 23.18 | DGP |
| 16k | ImageNet | SSIM | 0.798 | DGP |
| 16k | ImageNet | FID | 134.4 | A+y |
| 16k | ImageNet | PSNR | 24.26 | A+y |
| 16k | ImageNet | SSIM | 0.684 | A+y |
| 16k | CelebA | FID | 22.27 | DDNM |
| 16k | CelebA | PSNR | 31.63 | DDNM |
| 16k | CelebA | SSIM | 0.945 | DDNM |
| 16k | CelebA | FID | 29.82 | ILVR |
| 16k | CelebA | PSNR | 31.59 | ILVR |
| 16k | CelebA | SSIM | 0.945 | ILVR |
| 16k | CelebA | FID | 31.04 | DDRM |
| 16k | CelebA | PSNR | 31.63 | DDRM |
| 16k | CelebA | SSIM | 0.945 | DDRM |
| 16k | CelebA | FID | 40.33 | PULSE |
| 16k | CelebA | PSNR | 22.74 | PULSE |
| 16k | CelebA | SSIM | 0.623 | PULSE |
| 16k | CelebA | FID | 103.3 | A+y |
| 16k | CelebA | PSNR | 27.27 | A+y |
| 16k | CelebA | SSIM | 0.782 | A+y |
| 16k | ImageNet | FID | 1.15 | DDNM |
| 16k | ImageNet | PSNR | 44.93 | DDNM |
| 16k | ImageNet | SSIM | 0.994 | DDNM |
| 16k | ImageNet | FID | 1.48 | DDRM |
| 16k | ImageNet | PSNR | 43.01 | DDRM |
| 16k | ImageNet | SSIM | 0.992 | DDRM |
| 16k | ImageNet | FID | 55.42 | A+y |
| 16k | ImageNet | PSNR | 18.56 | A+y |
| 16k | ImageNet | SSIM | 0.6616 | A+y |
| 16k | CelebA | FID | 1.41 | DDNM |
| 16k | CelebA | PSNR | 46.72 | DDNM |
| 16k | CelebA | SSIM | 0.996 | DDNM |
| 16k | CelebA | FID | 6.24 | DDRM |
| 16k | CelebA | PSNR | 43.07 | DDRM |
| 16k | CelebA | SSIM | 0.993 | DDRM |
| 16k | CelebA | FID | 54.31 | A+y |
| 16k | CelebA | PSNR | 18.85 | A+y |
| 16k | CelebA | SSIM | 0.741 | A+y |