NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Deep Image Prior

Dmitry Ulyanov, Andrea Vedaldi, Victor S. Lempitsky · DOI

Abstract

Traditional deep learning for image restoration relies on training large networks on massive datasets to learn image statistics. This paper introduces the Deep Image Prior (DIP), demonstrating that the structure of a convolutional neural network (CNN) itself acts as a powerful prior for natural images. By optimizing a randomly initialized network to fit a single degraded image, DIP achieves competitive results in denoising, super-resolution, and inpainting without any pre-training or external data.

Introduction

Image restoration tasks, such as denoising or super-resolution, are inherently ill-posed, requiring a "prior" to distinguish natural image content from noise or artifacts. Historically, these priors were either handcrafted mathematical models (e.g., Total Variation) or learned from large datasets. Deep Image Prior bridges this gap by showing that standard generator architectures, like U-Nets, possess an inherent "inductive bias" towards natural image statistics. This suggests that the success of CNNs in computer vision is partly due to their architectural design, which naturally captures the multi-scale, self-similar properties of the visual world.

Methodology

The DIP approach treats the weights of a deep CNN as the parameters of the image reconstruction. Given a corrupted image $x_0$, the goal is to find a reconstruction $x = f_\theta(z)$, where $f_\theta$ is a CNN with weights $\theta$ and $z$ is a fixed random input code vector.

The optimization process minimizes the reconstruction error: $$\min_\theta E(f_\theta(z); x_0)$$

Crucially, the network is not trained on a dataset. Instead, it is optimized specifically for the target image. Because the architecture is biased towards natural structures, it fits the "clean" signal much faster than high-frequency noise. By employing early stopping, the network effectively filters out degradations, yielding a restored image.

Experiments and Results

The authors evaluated DIP on standard benchmarks including Set5, Set14, and common denoising datasets. Despite the lack of training data, DIP achieves performance levels remarkably close to state-of-the-art supervised methods.

Comparison of super-resolution results: Ground truth vs. trained SRResNet and DIP variants.
  • Super-resolution: On the Set5 dataset, DIP achieved a PSNR of 29.90, significantly outperforming standard bicubic upsampling (28.43) and closing much of the gap with state-of-the-art networks trained on massive datasets.
  • Denoising: DIP reached a PSNR of 31.00, nearly matching the gold-standard non-learning method BM3D (31.42).
  • Inpainting: The method successfully removes complex overlays and fills large holes by leveraging the self-similarity within the image.

Discussion and Key Insights

The primary insight of this work is the "high noise impedance" of CNN architectures. Networks are "reluctant" to fit unstructured noise, converging much faster on natural patterns like edges and textures. This confirms that the CNN architecture itself is a sophisticated handcrafted prior.

However, DIP has notable limitations. Since it requires a full optimization loop for every image, it is significantly slower than pre-trained models. Furthermore, it lacks semantic understanding; it cannot "hallucinate" missing features (like a specific eye) that aren't present elsewhere in the image. The method also relies heavily on early stopping to prevent the network from eventually overfitting to the noise.

Conclusion

Deep Image Prior challenges the assumption that deep learning's power comes solely from big data. It highlights the critical role of architectural design in capturing image statistics and provides a versatile tool for image restoration that requires no training data.

Summary updated

BibTeX
@inproceedings{ulyanov2018deep,
  author = {Dmitry Ulyanov and Andrea Vedaldi and Victor S. Lempitsky},
  title = {{Deep Image Prior}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  doi = {10.1109/cvpr.2018.00984},
}
Figure