Abstract
The so-called Deep Image Prior approach is an unsupervised deep learning methodology which has gained great interest in recent years due to its effectiveness in tackling imaging problems. However, a well known drawback of Deep Image Prior is the need for a proper early stopping technique to prevent undesired corruptions in the reconstructed images. Determining the optimal number of iterations depends on both the specific application and the features of the images being processed. As a consequence, several numerical trials are typically required to decide when to stop the Deep Image Prior procedure, resulting in significant computational costs and time requirements. This paper aims to introduce two early stopping techniques for Deep Image Prior, based on different approaches and different perspectives. The first one relies on the Neural Architecture Search strategy by generating hyperparameters configurations for the neural network employed in Deep Image Prior, configurations that shall be able to provide clean images comparable to those obtained by the standard configuration, optimally stopped, but with significantly fewer iterations. The second proposed early stopping strategy is based on a modified version of the BRISQUE metric, a no-reference image quality measure, and it aims to track the behaviour of the PSNR curve, obtained by applying Deep Image Prior, without knowing the ground truth image. While the NAS-based early stopping technique is particularly suited in those situations where the computational time is limited, this latter one is also relevant when a larger number of iterations is allowed. Several numerical experiments on different denoising applications show a promising performance of Deep Image Prior combined with the suggested early stopping procedures.
Introduction
Deep Image Prior (DIP) has revolutionized unsupervised image restoration by demonstrating that the structure of a neural network—specifically a U-Net—can act as a powerful prior without any pre-training. By optimizing a randomly initialized network to reconstruct a single degraded image, the network naturally captures structural components before overfitting to noise.
However, DIP faces a significant challenge known as "semi-convergence." During optimization, reconstruction quality initially increases but eventually declines as the network begins to "learn" the noise. In practice, determining the optimal stopping point is difficult because the ground-truth clean image is unavailable. This paper proposes two novel strategies to address this: a Neural Architecture Search (NAS) approach and a customized no-reference image quality metric.
Methodology
NAS-based Early Stopping
The first strategy shifts the focus from finding a stopping point to designing an architecture that converges quickly and remains stable. The authors employ Neural Architecture Search (NAS) to explore a hyperparameter search space including the number of filters, stages, and learning rates.
By training a performance predictor (using Random Forest and Support Vector Regression) on a small subset of configurations, the system can identify network setups that reach high-quality results within a fixed, low number of iterations (e.g., 1,000). This effectively bypasses the need for complex real-time stopping logic by ensuring the optimal quality zone is reached predictably and early.
Customized BRISQUE Stopping
The second strategy utilizes a modified version of the Blind/Referenceless Image Spatial Quality Evaluator (BRISQUE). While standard BRISQUE measures "naturalness," it often fails to track the specific optimization dynamics of DIP. The authors retrained BRISQUE to predict the PSNR of a reconstructed image based on 36 statistical features. By monitoring this predicted PSNR and employing a "patience" parameter, the algorithm can automatically terminate the optimization once the predicted quality plateaus or begins to degrade.
Experimental Results
The proposed methods were evaluated on two distinct datasets: the NASA Dataset (100 Hubble telescope images with Poisson noise) and the BSDS500 dataset (natural images with Cauchy noise).
Key Findings
- NAS Performance: On the NASA dataset, NAS-optimized configurations achieved a PSNR of 33.47 in just 1,000 iterations, significantly outperforming the standard DIP setup which reached only 30.84 in the same timeframe.
- Stopping Accuracy: The customized BRISQUE metric successfully stopped optimization near the peak of the real PSNR curve. In tests, it achieved an average PSNR of ~27.5, remarkably close to the theoretical maximum of ~28.2 achievable with ground-truth knowledge.
- Architecture as a Stabilizer: A key insight is that the network's architecture itself acts as a stabilizer. Specific hyperparameters, such as the number of filters in skip connections, play a crucial role in how reconstruction quality evolves over time.
Conclusion
These strategies show great promise for making DIP practical. The NAS approach contributes to "Green AI" by reducing computational iterations from 10,000+ to just 1,000, significantly lowering the energy footprint. Future work will focus on generalizing these methods to more complex inverse problems like deblurring and inpainting.
Summary updated