Abstract: The "deep image prior" proposed by Ulyanov et al. is an intriguing property of neural nets: a convolutional encoder-decoder network can be used as a prior for natural images. The network architecture implicitly introduces a bias; If we train the model to map white noise to a corrupted image, this bias guides the model to fit the true image before fitting the corrupted regions. This paper explores why the deep image prior helps in denoising natural images. We present a novel method to analyze trajectories generated by the deep image prior optimization and demonstrate: (i) convolution layers of the an encoder-decoder decouple the frequency components of the image, learning each at different rates (ii) the model fits lower frequencies first, making early stopping behave as a low pass filter. The experiments study an extension of Cheng et al which showed that at initialization, the deep image prior is equivalent to a stationary Gaussian process.
Introduction
In 2018, the "Deep Image Prior" (DIP) paper demonstrated that a standard convolutional network architecture itself acts as a prior for natural images. By optimizing a CNN to map random noise to a single corrupted image, the network reconstructs the clean version of the image before fitting the noise. While this was a breakthrough for unsupervised image restoration, the underlying mechanism remained a "black box." This research aims to demystify how the architecture enforces a preference for natural structures over noise by analyzing optimization trajectories through frequency analysis.
Methods
The authors investigate spectral bias using three primary approaches:
- Trajectory Analysis: Tracking how DIP output changes over time, specifically observing which image components stabilize first across different optimization runs.
- 1D Signal Experiments: Isolating frequency effects using simple 1D signals composed of low-frequency and high-frequency sine waves. This allows for a direct comparison between convolutional layers (DIP-Conv) and fully connected layers (DIP-Linear).
- Architectural Ablation: Varying network depth, width, and upsampling methods (nearest neighbor vs. bilinear) to measure their impact on the learning rates of different frequencies.
Key Insights: The Mechanism of Spectral Bias
The critical finding of this work is that convolutional layers decouple frequencies, learning them at disparate rates. In a CNN, the error for low frequencies drops sharply and stabilizes early, while high frequencies are learned much more slowly. In contrast, fully connected networks learn all frequencies at roughly the same rate, providing no inherent denoising benefit.
As shown in the spectral analysis above, the "energy" of the image fills in from the center (low frequencies) outward to the edges (high frequencies) as iterations progress. This confirms that early stopping is not merely a heuristic but the defining mechanism of the prior, allowing the low-frequency signal to converge while high-frequency noise remains unlearned. Furthermore, the choice of upsampling matters; bilinear upsampling introduces a stronger spectral bias than nearest-neighbor methods.
Experimental Results
Quantitative tests confirm that without frequency decoupling, the image prior disappears. In head-to-head denoising benchmarks, standard DIP (PSNR 27.47) significantly outperformed linear versions (PSNR ~19-20).
In 1D experiments, the convergence gap is stark: a low-frequency component ($k=5$) converged in approximately 45 iterations, whereas the high-frequency component ($k=50$) required 151 iterations. The authors further validated this theory by creating "failure cases" where low-frequency noise was added to high-frequency signals. In these instances, DIP fit the noise first, proving the network is biased specifically toward frequency rather than an abstract concept of "naturalness."
Limitations and Future Work
While this research explains why early stopping works, it does not provide a universal method for determining the optimal stopping point when the ground truth is unknown. Future work should explore the spectral biases of modern architectures beyond standard CNNs, such as Transformers or Dilated Convolutions, and address the complexities of non-stationary statistics in real-world images that simple sine-wave analysis may overlook.
Summary updated