Abstract
Modeling statistics of image priors is useful for image super-resolution, but little attention has been paid from the massive works of deep learning-based methods. In this work, we propose a Bayesian image restoration framework, where natural image statistics are modeled with the combination of smoothness and sparsity priors. Concretely, first we consider an ideal image as the sum of a smoothness component and a sparsity residual, and model real image degradation including blurring, downscaling, and noise corruption. Then, we develop a variational Bayesian approach to infer their posteriors. Finally, we implement the variational approach for single image super-resolution (SISR) using deep neural networks, and propose an unsupervised training strategy. The experiments on three image restoration tasks, i.e., ideal SISR, realistic SISR, and real-world SISR, demonstrate that our method has superior model generalizability against varying noise levels and degradation kernels and is effective in unsupervised SISR. The code and resulting models are released via https://zmiclab.github.io/projects.html.
Introduction
Single Image Super-Resolution (SISR) remains a fundamental challenge in computer vision. As an ill-posed problem, a single low-resolution (LR) observation can correspond to an infinite set of high-resolution (HR) candidates. While deep learning has significantly advanced the state-of-the-art in SISR performance, many existing models operate as "black boxes" that lack explicit statistical grounding. This often leads to two critical issues: poor generalization to real-world degradations (such as sensor noise or complex blur kernels) and a heavy reliance on large, paired HR/LR datasets that are difficult to acquire in specialized domains like medical or satellite imaging.
To address these limitations, we introduce BayeSR, a Bayesian image restoration framework. By re-integrating classical statistical priors—specifically smoothness and sparsity—into a deep learning architecture, BayeSR creates a physically aware restoration process that is robust to noise and capable of unsupervised learning.
The BayeSR Framework
Image Decomposition and Degradation
The core of BayeSR lies in its explicit modeling of the image formation and degradation process. We represent an ideal high-resolution image $u$ as the sum of two distinct components: a smoothness component $x$ and a sparsity residual $z$. The smoothness component captures the general shapes and gradients, while the sparsity residual accounts for sharp edges and fine textures.
The observed low-resolution image $y$ is then modeled as: $$y = A(x + z) + n$$ where $A$ represents the degradation operator (encompassing blurring and downscaling) and $n$ denotes spatially-variant Gaussian noise.
This decomposition allows the model to treat different image characteristics separately, mimicking the way human perception distinguishes between broad structures and fine details.
Variational Bayesian Inference
Rather than training a network to produce a single deterministic output, BayeSR employs Variational Inference (VI) to estimate the posterior distributions of the image components. By predicting the mean and variance for $x$, $z$, and $n$, the model provides a measure of uncertainty for its reconstructions.
The implementation utilizes Deep Neural Networks (DNNs), such as ResNet or UNet architectures, to parameterize these distributions. The probabilistic graphical model (PGM) defines the dependencies between hyperparameters and the latent variables, which are then mapped to the BayeSR architecture for inference.
Unsupervised Training Strategy
A key advantage of the BayeSR framework is its ability to learn without paired HR/LR data. We propose a hybrid training strategy:
- Generative Learning (GL): Minimizes a variational loss derived from the modeled priors.
- Discriminative Learning (DL): A self-supervised component that uses the LR image itself as a reference.
- Generative Adversarial Learning (GAL): Employs a discriminator to ensure that restored image patches maintain realistic textures.
Experimental Evaluation
We evaluated BayeSR across standard benchmarks (Set5, Set14, BSDS100, Urban100) and real-world datasets (DPED-iPhone).
Robustness and Generalization
One of the most significant findings is BayeSR's resilience to noise. In tests on the BSDS68 dataset, standard "black-box" models saw their performance drop sharply as noise levels increased. In contrast, BayeSR maintained stable PSNR and SSIM scores, demonstrating that explicit statistical modeling acts as a powerful regularizer.
Unsupervised Performance
In "Ideal SISR" tasks, unsupervised BayeSR outperformed other leading unsupervised methods like ZSSR and MZSR. When applied to real-world data from the DPED-iPhone dataset, BayeSR produced restorations with fewer artifacts and higher local similarity than supervised models that were not specifically tuned for the target sensor's noise characteristics.
Conclusion
BayeSR demonstrates that combining deep learning with classical Bayesian statistics can overcome the generalization hurdles of traditional SISR models. By modeling image components as distributions, it offers a robust, interpretable, and unsupervised path forward for image restoration. Future work will focus on jointly inferring the blur kernel $A$ to better handle complex motion blur and exploring more sophisticated priors for complex image structures.
Summary updated