Abstract
Blind image super-resolution (SR) aims to recover high-resolution (HR) details from low-resolution (LR) images affected by unknown and complex degradations. Traditional methods often rely on rigid kernel estimation or content-agnostic degradation representations, which can lead to artifacts or loss of fine texture. This paper introduces CDFormer (Content-aware Degradation-driven Transformer), a novel framework that leverages the generative power of diffusion models to predict a compact Content Degradation Prior (CDP). By using diffusion as an estimator rather than a pixel generator, CDFormer achieves state-of-the-art reconstruction accuracy with high efficiency, requiring only four sampling steps and significantly fewer parameters than standard diffusion-based SR methods.
Introduction
Real-world image super-resolution is a "blind" problem because the specific degradation process—comprising blur, downsampling, and noise—is typically unknown. Existing approaches generally fall into two categories: Kernel Prediction (KP), which estimates specific blur kernels, and Degradation Prediction (DP), which learns general corruption representations. While KP struggles with non-standard distortions, DP often lacks content-awareness, resulting in suboptimal reconstructions for diverse image textures.
Recently, Diffusion Models (DMs) have emerged as powerful tools for generating realistic details. However, their application in SR is often hindered by extreme computational costs and the tendency to "hallucinate" details not present in the original scene. CDFormer addresses these challenges by integrating a diffusion-based prior estimator into a Transformer-based reconstruction pipeline.
Methodology
1. Content Degradation Prior (CDP)
At the heart of CDFormer is the CDP, a representation that encodes both the nature of the degradation and the underlying image content. This dual-awareness allows the model to adapt its restoration strategy based on what is being reconstructed (e.g., applying different processing to architectural details versus natural textures).
2. Diffusion as a Prior Estimator
Instead of generating pixels directly, a compact diffusion module ($CDFormer_{diff}$) is trained to estimate the CDP vector. The training follows a two-stage process:
- Stage 1: A "Teacher" encoder learns the optimal CDP by observing both HR and LR image pairs.
- Stage 2: The diffusion module is trained to reconstruct this optimal CDP using only the LR image as input.
Because the diffusion process operates on a compact representation rather than high-dimensional pixel space, it requires only 4 sampling steps, making it vastly faster than traditional generative SR models.
3. Reconstruction Network ($CDFormer_{SR}$)
The estimated CDP is injected into a Transformer-based reconstruction network via Content Degradation Injection Modules (CDIM). These modules guide the network to adjust its features based on the predicted degradation. Furthermore, an Interflow Mechanism combines CNN layers for local texture refinement with Transformer layers for global structural consistency.
Experimental Results
CDFormer was evaluated on standard benchmarks including Set5, Set14, B100, and Urban100, using various Gaussian blur and noise settings.
Quantitative and Qualitative Performance
On the challenging Urban100 dataset (x4 scale), CDFormer achieved a PSNR of 27.21 dB, outperforming the previous state-of-the-art DCLS by 0.71 dB. Visually, CDFormer produces significantly sharper edges and cleaner textures compared to competing methods, which often suffer from over-smoothing or structural distortions.
Efficiency and Scale
Compared to the popular diffusion-based StableSR, CDFormer is approximately 180x faster (0.39s vs. 71s per image) and utilizes 60x fewer parameters (24M vs. 1.4B). This efficiency makes it a practical candidate for real-world applications where computational resources are limited.
Conclusion and Future Work
CDFormer successfully bridges the gap between degradation prediction and generative diffusion models. By focusing diffusion on a compact prior, the model avoids common hallucination issues while maintaining high-quality detail reconstruction. Future work will focus on improving robustness against extreme noise levels and extending the model's capabilities to handle "in-the-wild" images with non-Gaussian, real-world artifacts.
Summary updated