Fast and Painless Image Reconstruction in Deep Image Prior Subspaces

Riccardo Barbano, Javier Antorán, Johannes Leuschner, José Miguel Hernández-Lobato, Zeljko Kereta, Bangti Jin

Abstract

Deep learning has been widely used for solving image reconstruction tasks but its deployability has been held back due to the shortage of high-quality training data. Unsupervised learning methods, such as the deep image prior (DIP), naturally fill this gap, but bring a host of new issues: the susceptibility to overfitting due to a lack of robust early stopping strategies and unstable convergence. We present a novel approach to tackle these issues by restricting DIP optimisation to a sparse linear subspace of its parameters, employing a synergy of dimensionality reduction techniques and second order optimisation methods. The low-dimensionality of the subspace reduces DIP's tendency to fit noise and allows the use of stable second order optimisation methods, e.g., natural gradient descent or L-BFGS. Experiments across both image restoration and tomographic tasks of different geometry and ill-posedness show that second order optimisation within a low-dimensional subspace is favourable in terms of optimisation stability to reconstruction fidelity trade-off.

Introduction

Image reconstruction—the process of converting raw sensor data into clear imagery—is a fundamentally "ill-posed" inverse problem. While supervised deep learning has shown remarkable success in this area, its practical application is often limited by the requirement for massive, high-quality paired training datasets, which are rarely available in clinical or industrial settings.

The Deep Image Prior (DIP) emerged as a powerful alternative, demonstrating that the architectural structure of a convolutional neural network (CNN) acts as an inherent regularizer. DIP allows for reconstruction without a training set by optimizing a network to match specific measurements. However, DIP suffers from two critical drawbacks:

  1. Overfitting: Without an "oracle" for early stopping, the network eventually fits the noise in the measurements, degrading image quality.
  2. Computational Cost: The need to re-optimize a full network for every new image is time-intensive, often taking hours.

The Sub-DIP Framework

To address these challenges, we introduce Sub-DIP, a method that restricts optimization to a sparse, low-dimensional parameter subspace. The workflow consists of three primary stages:

  1. Subspace Identification: Through a "synthetic pre-training" phase on simple geometric shapes, we track parameter trajectories and use Singular Value Decomposition (SVD) to identify the principal directions of learning.
  2. Sparsification: To maintain a low memory footprint, we employ top-k leverage scoring to sparsify basis vectors, allowing the method to scale to large networks.
  3. Second-Order Optimization: By reducing the optimization space from millions of parameters to a few thousand, we enable the use of sophisticated second-order optimizers like Natural Gradient Descent (NGD) and L-BFGS. These methods leverage the curvature of the loss surface to achieve faster, more stable convergence.
Visual comparison of reconstruction stability. While standard and enhanced DIP (E-DIP) degrade if not stopped early, Sub-DIP NGD maintains high fidelity even at the final iteration.

Key Insights: Subspaces as Regularizers

By confining the network to a low-dimensional subspace, we effectively create a physical barrier against overfitting. The subspace "locks out" the high-frequency degrees of freedom that the network typically uses to fit noise. This leads to a significant stability improvement: while standard DIP quality peaks and then crashes, Sub-DIP reaches a high-quality plateau and remains stable, mitigating the need for precise early stopping.

Experimental Results

We evaluated Sub-DIP across diverse datasets, including synthetic CartoonSet images, industrial $\mu$CT Walnut scans, and clinical Mayo Clinic CT data.

Quantitative comparison of reconstruction speed and quality. Sub-DIP methods (NGD and L-BFGS) achieve high PSNR significantly faster than standard DIP.
  • Speedup: On CartoonSet tasks, second-order subspace methods (L-BFGS and NGD) converged in under 50 seconds, a dramatic improvement over the several minutes required for standard DIP.
  • Robustness: In Walnut CT reconstructions, standard DIP and its variants suffered a 2-3 dB drop in PSNR due to late-stage overfitting. Sub-DIP methods maintained stable PSNR throughout the process.
  • Fidelity: On clinical data, Sub-DIP NGD reached 37 dB in approximately 200 seconds. While full-parameter DIP can occasionally reach higher peaks with perfect stopping, Sub-DIP offers a far more reliable and deployable trade-off.

Conclusion

Sub-DIP transforms the "painful" optimization of Deep Image Priors into a fast, stable, and robust process. While the method requires a representative pre-training phase to define the subspace and may trade off some flexibility in extremely fine-detailed images, it provides a practical path forward for unsupervised image reconstruction in high-stakes domains like medical imaging. Future work will explore adaptive subspace selection to further enhance flexibility without sacrificing stability.

Summary updated

BibTeX
@article{barbano2024fast,
  author = {Riccardo Barbano and Javier Antorán and Johannes Leuschner and José Miguel Hernández-Lobato and Zeljko Kereta and Bangti Jin},
  title = {{Fast and Painless Image Reconstruction in Deep Image Prior Subspaces}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2024},
}
Figure