Abstract
When images are statistically described by a generative model we can use this information to develop optimum techniques for various image restoration problems as inpainting, super-resolution, image coloring, generative model inversion, etc. With the help of the generative model it is possible to formulate, in a natural way, these restoration problems as Statistical estimation problems. Our approach, by combining maximum a-posteriori probability with maximum likelihood estimation, is capable of restoring images that are distorted by transformations even when the latter contain unknown parameters. The resulting optimization is completely defined with no parameters requiring tuning. This must be compared with the current state of the art which requires exact knowledge of the transformations and contains regularizer terms with weights that must be properly defined. Finally, we must mention that we extend our method to accommodate mixtures of multiple images where each image is described by its own generative model and we are able of successfully separating each participating image from a single mixture.
Introduction
Image restoration tasks—such as deblurring, inpainting, and super-resolution—traditionally rely on two components: a prior representing "natural" image statistics and a forward model describing the distortion process. While modern deep learning approaches often utilize Generative Adversarial Networks (GANs) as priors, they frequently encounter two significant hurdles. First, they often require manual tuning of a regularizer weight ($\lambda$) to balance the prior against observed data. Second, they typically assume perfect knowledge of the transformation parameters (e.g., the exact blur kernel), which is rarely available in real-world scenarios. This research proposes a "plug-and-play" framework that handles unknown transformation parameters without manual hyperparameter tuning.
Methodology
The proposed framework shifts away from ad-hoc cost functions toward rigorous Statistical Estimation Theory. By formulating restoration as a Maximum A-Posteriori (MAP) estimation problem, the transformation parameters and the restored image can be estimated simultaneously.
Key methodological innovations include:
- Log-Likelihood Optimization: Unlike standard squared-error approaches, this derivation leads to a cost function involving the logarithm of the error distance.
- Parameter-Free Tuning: The "weight" of the regularizer is mathematically determined by the data's dimensionality, eliminating the need for manual $\lambda$ adjustment.
- Analytic Solutions: For linear tasks like colorization, the Orthogonality Principle is employed to find analytic solutions for unknown parameters, streamlining the optimization process.
Experimental Results
The method was evaluated using the CelebA face dataset and the Caltech Birds (CUB-200-2011) dataset, with Wasserstein GANs (WGANs) serving as generative priors.
Quantitative Performance
As shown in the quantitative analysis, the proposed method achieves competitive results even when transformation parameters are unknown. For deblurring, the method reached a PSNR of 25.49 dB with unknown coefficients, closely trailing the 26.74 dB achieved by state-of-the-art methods that required exact kernel knowledge.
Qualitative Restoration and Discovery
The framework does not merely restore images; it "discovers" the nature of the distortion. In colorization tasks, the model can identify which specific color channel (R, G, or B) it was provided while reconstructing the full RGB image. Furthermore, the method demonstrates the ability to separate two distinct images (e.g., a face and a bird) from a single blended mixture by utilizing class-specific generative models.
Discussion and Limitations
While the statistical approach eliminates manual tuning, it introduces other challenges. The optimization process is computationally intensive, often requiring 200,000 to 400,000 iterations. Additionally, the restoration quality is inherently capped by the fidelity of the underlying GAN; the model cannot restore details that the generative prior is incapable of producing. Future work may involve extending the current Gaussian noise assumptions to more complex distributions, such as Student’s t-distributions.
Summary updated