Deep Random Projector: Accelerated Deep Image Prior

Taihui Li, Hengkang Wang, Zhong Zhuang, Ju Sun

Deep Image Prior (DIP) has emerged as a powerful paradigm for unsupervised image restoration, leveraging the inherent structural bias of convolutional neural networks. Despite its success, DIP suffers from two primary drawbacks: extreme computational latency and a tendency to overfit to noise, requiring careful early stopping. This paper introduces the Deep Random Projector (DRP), a framework that significantly accelerates the DIP process. By freezing randomly initialized network weights and optimizing only the input seed, DRP achieves competitive restoration results in seconds. The approach is further enhanced by utilizing shallower architectures and explicit Total Variation (TV) regularization, providing a fast, stable, and training-free solution for image denoising, super-resolution, and inpainting.

Introduction

The Deep Image Prior (DIP) framework demonstrated that a network's architecture alone can serve as a prior for natural images. Unlike traditional deep learning methods that require massive datasets, DIP optimizes a randomly initialized network to reconstruct a single degraded image. However, this process is notoriously slow, often requiring thousands of iterations. Furthermore, because the network is overparameterized, it eventually fits the noise in the degraded image, leading to a "U-shaped" performance curve where PSNR peaks and then declines, necessitating manual early stopping.

The DRP Approach

To address these issues, the authors propose three fundamental changes to the DIP pipeline:

  1. Optimizing the Seed, Not the Weights: In standard DIP, the input seed $z$ is fixed while the weights $\theta$ are optimized. DRP reverses this, freezing random weights and optimizing $z$. This shift addresses the vanishing/exploding gradient problem common in deep networks.
  2. Reducing Network Depth: The authors demonstrate that the deep architectures typically used in DIP are computationally expensive and not strictly necessary for the structural prior. DRP employs shallower "backbone" networks to reduce per-iteration time.
  3. Explicit Regularization: To compensate for the reduced implicit regularization of shallower, frozen-weight networks, DRP incorporates Total Variation (TV) regularization into the loss function. This encourages piecewise smoothness and helps preserve edges while suppressing noise.
Gradient norm behavior across different layers during optimization, showing the stability achieved by optimizing the input seed.

Analysis of Convergence

A key advantage of optimizing the input seed is the resulting gradient homogeneity. As shown in the gradient norm analysis, the gradients remain more consistent across iterations compared to weight optimization. This stability allows for faster convergence and more predictable optimization dynamics. Spectral analysis further reveals that DRP recovers both low and high-frequency information much faster than standard DIP, which typically struggles with high-frequency details in early iterations.

Key Results

The DRP-DIP framework was evaluated across standard benchmarks for denoising, super-resolution, and inpainting. The results highlight a dramatic improvement in both speed and stability.

Visual and quantitative comparison of DRP-DIP vs. standard DIP over optimization time. DRP-DIP reaches peak PSNR almost instantly and remains stable.

As illustrated in the comparison above, DRP-DIP can produce a recognizable image "skeleton" in as little as one second, whereas standard DIP remains largely indistinguishable from noise at that stage. Quantitatively, DRP-DIP reaches its peak PSNR significantly faster and, crucially, maintains that performance level without the rapid degradation seen in standard DIP. This eliminates the need for precise early stopping, making the method much more practical for real-world applications. In specific tasks like inpainting with only 10% observed pixels, DRP-DIP reaches a PSNR of ~33 dB in just one second.

Conclusion

Deep Random Projector offers a compelling solution to the efficiency and stability problems of Deep Image Prior. By rethinking the optimization target and network complexity, DRP-DIP provides a "zero-data" restoration method that operates at speeds comparable to pre-trained models while maintaining the flexibility of an unsupervised prior. Future work may extend this approach to more complex inverse problems like blind deconvolution with unknown kernels.

Summary updated

BibTeX
@inproceedings{li2023deep,
  author = {Taihui Li and Hengkang Wang and Zhong Zhuang and Ju Sun},
  title = {{Deep Random Projector: Accelerated Deep Image Prior}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  doi = {10.1109/cvpr52729.2023.01743},
}
Figure