Real-world image super-resolution is particularly challenging for diffusion models because real degradations are complex, heterogeneous, and rarely modeled explicitly. We propose a degradation-aware and structure-preserving diffusion framework for real-world SR. Specifically, we introduce Degradation-aware Token Injection, which encodes lightweight degradation statistics from low-resolution inputs and fuses them with semantic conditioning features, enabling explicit degradation-aware restoration. We further propose Spatially Asymmetric Noise Injection, which modulates diffusion noise with local edge strength to better preserve structural regions during training. Both modules are lightweight add-ons to the adopted diffusion SR framework, requiring only minor modifications to the conditioning pipeline. Experiments on DIV2K and RealSR show that our method delivers competitive no-reference perceptual quality and visually more realistic restoration results than recent baselines, while maintaining a favorable perception--distortion trade-off. Ablations confirm the effectiveness of each module and their complementary gains when combined. The code and model are publicly available at https://github.com/jiyang0315/DASP-SR.git.
Figures & tables
Figure 2: Overview of the proposed framework. The DTI module extracts a six-dimensional degradation descriptor from the LR input and injects it as an additional token into the image cross-attention branch of ControlNet and UNet. The SANI module spatially modulates training noise according to an edge-strength map, reducing perturbation in structure-rich regions.
Datasets
Methods
Metrics
PSNR ↑
SSIM ↑
LPIPS ↓
NIQE ↓
NRQM ↑
PI ↓
CLIP-IQA ↑
MUSIQ ↑
DIV2K
Real-ESRGAN [ 30 ]
26.65
0.758
0.18
3.591
6.296
3.722
0.565
64.661
SeeSR [ 35 ]
26.457
0.728
0.172
3.5
6.54
3.566
0.679
68.709
StableSR [ 29 ]
25.86
0.77
0.216
4.813
5.258
4.804
0.551
59.106
ResShift [ 39 ]
27.176
0.767
0.135
5.127
6.366
4.371
0.675
64.95
PASD [ 36 ]
26.536
0.725
0.185
3.381
6.385
3.566
0.602
66.623
Table 1: Quantitative comparison on DIV2K and RealSR ( ×4 SR). ↑ indicates higher is better and ↓ indicates lower is better. Best results are shown in bold .
Figure 3: Visual results of different methods on two typical real-world examples from the RealSR dataset.
Method
Params (M)
Δ Params
Time (s/img)
Δ Time (s)
Baseline
2249.91
–
16.58
–
+ DTI
2250.13
+0.01%
16.67
+0.10
+ SANI
2249.91
+0.00%
16.58
+0.00
+ DTI + SANI
2250.13
+0.01%
16.67
+0.10
Table 2: Overhead analysis of the proposed modules. SANI is only used during training and introduces no extra inference cost.
Datasets
DTI
SANI
PSNR ↑
SSIM ↑
LPIPS ↓
NIQE ↓
NRQM ↑
PI ↓
CLIP-IQA ↑
MUSIQ ↑
DIV2K
✗
✗
25.862
0.717
0.196
3.604
6.464
3.641
0.676
68.449
✓
✗
23.677
0.644
0.280
3.267
6.624
3.373
0.730
69.355
✗
✓
25.066
0.697
0.199
3.302
6.681
3.357
0.691
69.203
✓
✓
22.762
0.620
0.274
2.825
6.813
3.033
0.714
69.615
RealSR
✗
✗
25.017
0.726
0.242
4.278
6.449
3.992
0.684
68.236
✓
✗
23.530
0.671
0.299
4.336
6.430
3.990
0.681
67.498
Table 3: Ablation study on the proposed components across DIV2K and RealSR datasets. DTI: Degradation-aware Token Injection. SANI: Spatially Asymmetric Noise Injection. ↑ indicates higher is better and ↓ indicates lower is better.
Figure 4: Representative failure case of the proposed method.
Recent real-world image super-resolution (SR) methods often adapt text-to-image (T2I) backbones with ControlNet-style branches or spatial conditioning tokens, which increases memory and computes with resolution and often constrains training to a fixed scale. We propose Fill2SR, which repurposes a masked-inpainting Diffusion Transformer for SR without extra spatial branches. Our Inpainting-Interface Evidence Adapter (IIEA) writes the low-quality (LQ) observation into the native masked-image slot under a full-image mask, turning inpainting into a reverse-degradation conditional rectified flow trained with LoRA-only tuning. We further introduce RCDT, an offline pipeline that distills degradation descriptors from unpaired real images and transfers them onto clean targets using frozen open-source models. Fill2SR supports mixed-resolution training up to QHD and yields stable performance across 512/1024/2048 outputs. On synthetic benchmarks, our base model with IIEA achieves the best LPIPS on DIV2K and LSDIR; adding RCDT trades a small LPIPS drop for consistently stronger no-reference quality on RealLQ250 and RealPhoto60. Fill2SR remains memory-predictable, running 15362 inference on a single 32GB GPU and extending to multi-megapixel outputs via tiled restoration.
Xingfu Yi, Xiaoxue Yu
Independent Researcher, Hangzhou, China · Zhejiang University, Hangzhou, China
Despite recent advances, single-image super-resolution (SR) remains challenging, especially in real-world scenarios with complex degradations. Diffusion-based SR methods, particularly those built on Stable Diffusion, leverage strong generative priors but commonly rely on text conditioning derived from semantic captioning. Such textual descriptions provide only high-level semantics and lack the spatially aligned visual information required for faithful restoration, leading to a representation gap between abstract semantics and spatially aligned visual details. To address this limitation, we propose GramSR, a one-step diffusion-based SR framework that replaces text conditioning with dense visual features extracted from the low-resolution input using a pre-trained DINOv3 encoder. GramSR adopts a three-stage LoRA architecture, where pixel-level, semantic-level, and texture-level LoRA modules are trained sequentially. The pixel-level module focuses on degradation removal using ℓ2 loss, the semantic-level module enhances perceptual details via LPIPS and CSD losses, and the texture-level module enforces feature correlation consistency through a Gram matrix loss computed from DINOv3 features. At inference, independent guidance scales enable flexible control over degradation removal, semantic enhancement, and texture preservation. Extensive experiments on standard SR benchmarks demonstrate that GramSR consistently outperforms existing one-step diffusion-based methods, achieving superior structural fidelity and texture realism. The code for this work is available at: https://github.com/aimagelab/GramSR.
Real-world image super-resolution (Real-ISR) requires balancing structural fidelity to degraded observations with realistic detail synthesis. However, existing generative Real-ISR methods often rely on entangled conditioning mechanisms, leading to structural drift or semantically inconsistent details. To address this issue, we propose Visual In-Context Restoration (VICR), a Diffusion Transformer (DiT)-based framework that formulates Real-ISR as image completion. Specifically, we introduce a decoupled visual prior injection mechanism that derives local and global cues from the low-quality (LQ) image: local cues help recover image structures and support high-frequency detail synthesis, while global cues guide overall generation and promote semantic consistency. For ambiguous regions under severe degradation, VICR employs an inference-time agent to refine semantic prompts using visual evidence from the LQ input while keeping model parameters fixed. Experiments show that VICR achieves state-of-the-art performance across multiple Real-ISR benchmarks with only 127M trainable parameters.
Qichang Zhang, Hailong Wang, Baiang Li +4
Faculty of Science and Technology, University of Macau · 2Nullmax · 3Hefei University of Technology +1