Efficient Difficulty-Aware Dynamic Routing for Diffusion-Based Real-World Image Super-Resolution

Xue Wu, Kang Zhao, Kafeng Wang, Jianfei Chen, Jingwei Xin, Nannan Wang, Xinbo GaoarXiv 2026

TL;DR

DDR-SR introduces a difficulty-aware dynamic routing framework for diffusion-based real-world image super-resolution (Real-ISR). By adaptively allocating images to specialized "expert" networks with different Variational Autoencoder (VAE) compression ratios based on their degradation severity, the method breaks the traditional "one-size-fits-all" paradigm to achieve an optimal balance between reconstruction fidelity and computational efficiency.

What Problem Does This Paper Address?

Real-world image super-resolution (Real-ISR) aims to reconstruct high-resolution (HR) images from low-resolution (LR) inputs suffering from complex, unknown degradations. Recently, Stable Diffusion (SD) models have been widely adopted as powerful generative priors for this task. However, current state-of-the-art methods suffer from two major limitations:

  1. The "One-Size-Fits-All" Paradigm: Existing frameworks process all images identically, regardless of whether an image has mild or severe degradation. This treats simple inputs with excessive compute and under-processes highly challenging ones.
  2. The VAE Information Bottleneck: Standard SD backbones compress images into a latent space using an aggressive 8× downsampling VAE. This irreversible compression discards crucial high-frequency structural details that the subsequent diffusion process struggles to recover, leading to blurry textures or artifacts in complex regions.
Figure 1. Architecture comparison of diffusion-based SR ap- proaches. (a) Controller-based methods employ conditional mech- anisms to guide the diffusion process; (b) Standard diffusion pro- cesses latent representations directly; (c) Our proposed DDR em- ploys difficulty-aware dynamic routing to adaptively select expert networks with varying VAE compression ratios.

Methods

The authors propose Difficulty-aware Dynamic Routing for Super-Resolution (DDR-SR), which consists of three core components:

  • Difficulty Estimator: To quantify an image's restoration difficulty, the authors measure high-frequency energy attenuation. By comparing the high-frequency spectral energy of the degraded image against its ground truth in the Fourier domain during training, they derive a normalized difficulty score $d \in [0, 1]$.
  • VAE-Modulated Expert Networks: Instead of varying the size of the main diffusion UNet, the framework modulates the spatial compression ratio of the VAE. It establishes two expert networks that share the same UNet backbone:
  • Expert-D4: Uses a 4× compression VAE to preserve rich, fine-grained structural details for challenging images.
  • Expert-D8: Uses a standard 8× compression VAE to prioritize computational efficiency for simpler images.
  • Mixed-Training & LoRA Fine-Tuning: To ensure robustness, the experts are trained on mixed subsets (Expert-D4 trains on 80% hard + 20% easy samples; Expert-D8 trains on 80% easy + 20% hard samples). Both networks are efficiently fine-tuned from a pre-trained SD model using Low-Rank Adaptation (LoRA).

At inference time, the difficulty estimator automatically routes images based on a user-defined threshold $\tau$. If $d \ge \tau$, the image goes to Expert-D4; otherwise, it goes to Expert-D8.

Figure 3. Overview of the proposed Difficulty-aware Dynamic Routing (DDR) framework. During training, the dataset is split into “easy” and “hard” subsets using a high-frequency energy–based difficulty estimator. We train two expert models via LoRA: VAE-D4 + diffusion network on 80% hard + 20% easy samples for detail preservation, and VAE-D8 + diffusion network on 80% easy + 20% hard samples for efficiency. The two networks are trained with a combination of a reconstruction loss, an LPIPS loss, and a VSD loss. At inference, users can explicitly control the trade-off between visual fidelity and speed by adjusting the routing ratio between the high-capacity (D4) and low-capacity (D8) experts.

Datasets

  • Training: The models were trained on a combination of the LSDIR dataset and the first 10,000 images from the FFHQ dataset. Synthetic LR-HR pairs were generated using the Real-ESRGAN degradation pipeline.
  • Evaluation: The framework was evaluated across three benchmarks:
  • DIV2K-Val: A synthetic dataset of 3,000 image pairs.
  • RealSR & DRealSR: Two widely accepted real-world super-resolution benchmarks containing real degraded/ground-truth image pairs.

Key Insights and Ideas

  • The Performance Gap is in the Hard Samples: Through a preliminary study, the authors discovered that existing SOTA models perform comparably on "easy" subsets, but their performance diverges drastically on "hard" subsets. This highlights that uniform processing wastes resources on simple images while failing on complex ones.
Figure 2. The PSNR and SSIM performance of three representa- tive SOTA methods (OSEDiff (Wu et al., 2024a), S3Diff(Zhang et al., 2024a), and TVTSR(Yi et al., 2025)) on both easy and hard subsets. Notably, the performance gaps among these methods are consistently smaller on the easy subset than on the hard subset across both metrics.
  • Targeting the VAE Bottleneck: Rather than scaling up the parameter-heavy diffusion UNet to handle difficult images, changing the VAE compression ratio directly addresses the root cause of detail loss (spatial quantization) without inflating the base network's size.
  • User-Controllable Trade-offs: Because the routing is governed by a simple threshold $\tau$, practitioners can dynamically adjust the system at inference time to favor either maximum visual quality or faster processing speeds depending on application constraints.

Key Results

  • State-of-the-Art Performance: DDR-SR achieves the best quantitative results in SSIM, LPIPS, and CLIPIQA across all three test datasets compared to both multi-step and one-step diffusion methods.
  • Computational Efficiency: Expert-D4 achieves a lower computational complexity (1.81 TeraFLOPs) and fewer parameters (1.63B) than competing one-step methods like OSEDiff (2.27T FLOPs / 1.77B parameters), while delivering superior restoration quality.
  • Qualitative Superiority: Visually, DDR-SR significantly outperforms other methods in preserving fine text, sharp edges, and intricate textures (such as human pupils and eyelids) where standard 8× VAE methods generate severe blur or artifacts.
Figure 4. Visual comparisons of different Real-ISR methods. Please zoom in for a better view.

Limitations and Future Work

The authors note that DDR-SR yields slightly inferior results on certain no-reference image quality metrics, specifically MANIQA and NIQE, compared to some multi-step diffusion models (like DiffBIR or SeeSR). This discrepancy occurs because multi-step models have more denoising iterations to generate and hallucinate rich high-frequency details, whereas DDR-SR operates as an efficient one-step generator. Closing this metric gap for single-step generation remains an open direction for future work.

Summary updated

BibTeX
@misc{wu2026efficient,
  author = {Xue Wu and Kang Zhao and Kafeng Wang and Jianfei Chen and Jingwei Xin and Nannan Wang and Xinbo Gao},
  title = {{Efficient Difficulty-Aware Dynamic Routing for Diffusion-Based Real-World Image Super-Resolution}},
  year = {2026},
  eprint = {2607.15711},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.15711},
}
Figure