Abstract
Deep Image Prior (DIP) revolutionized unsupervised image restoration by showing that a neural network's architecture itself can act as a powerful prior. However, DIP is notoriously prone to overfitting, requiring manual "early stopping" to prevent the network from eventually memorizing noise. We introduce Deep Spectral Prior (DSP), a framework that shifts optimization from the spatial domain to the frequency domain. By optimizing for amplitude and phase, DSP naturally separates signal from noise. Theoretical analysis via the Neural Tangent Kernel (NTK) confirms that DSP follows a stable optimization trajectory, prioritizing low-frequency signal components and effectively eliminating the need for manual early stopping.
Introduction: The Achilles' Heel of Deep Image Prior
In tasks like denoising, inpainting, and deblurring, Deep Image Prior (DIP) proved that a randomly initialized network could reconstruct images without any training data. By optimizing pixel-level errors, the network captures the "naturalness" of images before it captures noise. However, this process is unstable; if the optimization continues too long, the network overfits to artifacts. Researchers are forced to use ad hoc early stopping—manually terminating the process at the peak of reconstruction quality. Furthermore, DIP lacks explicit control over frequency content, often losing fine details in the pursuit of smoothness.
Methodology: Optimization in the Frequency Domain
DSP addresses these limitations by reformulating the reconstruction problem in the complex frequency (Fourier) domain. Instead of minimizing differences between raw pixels, DSP minimizes the difference between the Fourier transforms of the reconstructed and degraded images.
Key Technical Components
- Frequency-Domain Formulation: The objective function is defined in the spectral domain, allowing the model to learn the underlying frequency distribution of the signal.
- Joint Amplitude and Phase Learning: The model aligns both the "strength" (amplitude) and "structure" (phase) of frequency components, ensuring structural integrity.
- Spectral Mode Separation: Using the Neural Tangent Kernel (NTK) framework, the authors prove that DSP naturally prioritizes low-frequency "signal" modes. High-frequency "noise" modes converge significantly slower, providing an inherent regularization effect.
Solving the Early Stopping Problem
The most significant advantage of DSP is its inherent robustness to overfitting. While the loss values in pixel and Fourier domains are mathematically equivalent via Parseval's theorem, the optimization trajectories differ fundamentally.
As illustrated in the optimization landscape, DIP tends to overshoot the ground truth, eventually descending into noise. In contrast, DSP follows a stable path. Because high-frequency noise is suppressed by the spectral bias of the optimizer, the model reaches a high-quality state and remains stable, removing the need for human intervention to "stop" the process at the right moment.
Experimental Evaluation
The researchers evaluated DSP against standard benchmarks, including the Set12 restoration set and various super-resolution and inpainting tasks.
Key Results
- Superior Denoising: On the "Plane" image, DSP achieved a gain of +1.69 dB over DIP. It consistently outperformed other unsupervised baselines like CBM3D and Noise2Self.
- Detail Preservation: Qualitative analysis shows that DSP excels at retaining fine textures—such as the intricate patterns in the "Barbara" image or the fur in the "Baboon" image—which are often over-smoothed by Total Variation (TV) or DIP methods.
- Super-Resolution Stability: In 4x and 8x upscaling, DSP achieved the highest PSNR among unsupervised methods, even rivaling some supervised models on specific datasets.
- Convergence Stability: Performance remains stable or improves slightly even up to 3000 iterations, whereas DIP's performance typically drops sharply after approximately 1800 iterations due to overfitting.
Conclusion and Future Work
Deep Spectral Prior provides a theoretically grounded solution to the instability of unsupervised image reconstruction. By shifting to the frequency domain, it leverages spectral bias to achieve self-regularization. While the use of Fast Fourier Transforms (FFTs) introduces some computational overhead, the elimination of manual early stopping and the improvement in detail preservation make it a significant advancement. Future research may focus on optimizing the computational efficiency of spectral methods and extending the framework to handle non-Gaussian, real-world sensor noise.
Summary updated