Image Reconstruction via Deep Image Prior Subspaces

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

Introduction

Deep Image Prior (DIP) has emerged as a powerful unsupervised technique for image reconstruction, leveraging the inherent structure of convolutional neural networks (CNNs) as a regularizing prior. Unlike supervised methods, DIP learns to reconstruct a single image from scratch without requiring large-scale training datasets. However, DIP suffers from two significant drawbacks: a tendency to overfit noise (requiring precise "early stopping") and high computational costs due to optimizing millions of parameters for every image.

This paper introduces a method to stabilize and accelerate DIP by restricting optimization to a sparse, low-dimensional subspace of the neural network's parameters. This approach effectively eliminates the need for manual early stopping and enables the use of efficient second-order optimization methods.

Methodology

The proposed workflow constrains the optimization process through three key steps:

  1. Subspace Identification: The authors use a pre-training phase on synthetic data to observe parameter trajectories during reconstruction. Singular Value Decomposition (SVD) is then applied to these trajectories to identify the principal subspace of influential parameter directions.
  2. Sparsification: To minimize memory usage, "leverage scoring" identifies the most critical parameters within the basis vectors. Non-essential parameters are discarded, resulting in a sparse linear subspace.
  3. Subspace Optimization: Instead of the full parameter set, the model optimizes a small number of coefficients ($c$) representing the position within this subspace. This reduction in dimensionality allows for the application of powerful second-order methods like Natural Gradient Descent (NGD) and L-BFGS, which are typically too expensive for standard CNNs.
Figure 1: Performance trade-offs regarding subspace dimension, sparsity, and convergence speed across different optimization methods.

Experimental Results

The researchers evaluated "Sub-DIP" across several domains, including CartoonSet (2D avatars), $\mu$CT Walnut scans, clinical Mayo Clinic CT images, and the Set5 natural image benchmark.

Stability and Convergence

A core advantage of the subspace method is its inherent regularization. By limiting the network's degrees of freedom, it cannot fit high-frequency noise. In CT reconstruction tasks, Sub-DIP reached a high Peak Signal-to-Noise Ratio (PSNR) and remained stable, whereas vanilla DIP and E-DIP often saw PSNR "crashes" of up to 3 dB as they began fitting noise. This stability allows the training loss itself to serve as a reliable stopping criterion.

Speed and Fidelity

As shown in the performance benchmarks, second-order subspace methods (L-BFGS and NGD) converged significantly faster than standard first-order methods. On the CartoonSet benchmark, these methods reached optimal quality in under 50 seconds, compared to nearly 200 seconds for Adam-based optimization. Crucially, this speed does not come at the cost of fidelity; Sub-DIP reconstructions match the "oracle" performance of vanilla DIP without the risk of overshooting.

Figure 2: Visual comparison of reconstruction quality. Sub-DIP NGD maintains high PSNR at convergence (33.76 dB), whereas E-DIP degrades significantly (32.55 dB) without early stopping.

Discussion and Limitations

While Sub-DIP offers a robust solution to the overfitting problem, it introduces a trade-off in flexibility. In extremely low-noise environments, the restricted subspace might prevent the model from capturing the finest high-frequency details accessible to a full-parameter model. Additionally, the quality of the reconstruction is dependent on the relevance of the pre-training data used to define the subspace. Future work may explore more generalized pre-training strategies to expand the method's applicability to diverse natural image sets.

Summary updated

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