Taming Diffusion Prior for Image Super-Resolution with Domain Shift SDEs

Qinpeng Cui, Yi'xuan Liu, Xinyi Zhang, Qiqi Bao, Qingmin Liao, liwang Amd, Lu Tian, Zicheng Liu, Zhongdao Wang, Emad Barsoum

This NeurIPS 2024 paper presents DoSSR, a novel framework that significantly accelerates diffusion-based image super-resolution (SR) while maintaining the high perceptual quality afforded by large-scale pretrained models.

TL;DR

DoSSR bridges the gap between high-quality "diffusion priors" and high-efficiency "domain shift" methods by initiating the diffusion process from the low-resolution image rather than random noise. By formulating this process as a Domain Shift SDE (DoS-SDE), the authors achieve state-of-the-art real-world super-resolution in just 5 sampling steps, offering a 5–7x speedup over previous prior-based methods.

What Problem Does This Paper Address?

Image Super-Resolution (SR)—the task of reconstructing a high-resolution (HR) image from a low-resolution (LR) one—has seen a massive leap in quality thanks to diffusion models. However, researchers have faced a frustrating trade-off:

  1. The "Prior-Heavy" Approach: Using a massive pretrained model (like Stable Diffusion) as a generative prior produces incredible details but is slow. It typically starts from pure Gaussian noise and requires dozens of iterative steps to "hallucinate" the image back into existence.
  2. The "Train-from-Scratch" Approach: Redefining the diffusion process to start directly from the LR image (e.g., ResShift) is much faster but loses the "common sense" knowledge of the world contained in pretrained models. These models often struggle with complex, real-world degradations.

The authors of DoSSR set out to find the "Goldilocks" zone: a method that leverages the power of pretrained priors but starts from the LR image to save time.

Methods

The core innovation is the Domain Shift Equation. Instead of the standard diffusion path (which only considers noise), the authors model the transition as a gradual shift from the LR domain to the HR domain.

DoSSR backward process illustrating the inference shortcut
  • Mathematical Integration: They combine a linear "domain shift" coefficient with the standard DDPM noise schedule. This ensures the math is compatible with the noise patterns that models like Stable Diffusion were originally trained on, allowing for effective fine-tuning.
  • DoS-SDEs: They extend this discrete shift into a continuous formulation using Stochastic Differential Equations (SDEs). This allows them to derive an exact solution for the reverse-time process.
  • Custom Fast Solvers: Leveraging the SDE solution, they designed specialized 1st, 2nd, and 3rd-order samplers. A key component of these solvers is Domain Shift Guidance (DoSG), a term that explicitly uses the LR image to guide the denoising process, ensuring the output remains faithful to the source.
  • Inference Shortcut: Because the model starts with the LR image, it doesn't need to start at "Time = $T$" (pure noise). It can start at an intermediate step (e.g., $t_1$), drastically reducing the number of steps needed to reach a clean HR image.

Datasets

  • Training: A combination of high-quality SR datasets: DIV2K, DIV8K, Flickr2K, and OST.
  • Evaluation: The model was tested on both synthetic and challenging real-world benchmarks: DIV2K-Val, RealSR, DRealSR, and RealLR200.
  • Pretrained Base: The authors used Stable Diffusion 2.1-base as their generative prior.

Key Insights and Ideas

  • Standing on the Shoulders of Giants: The paper proves that the "prior" is more important than "data volume." In one experiment, DoSSR was fine-tuned on only 10,000 images and outperformed a competitor (ResShift) that was trained from scratch on 1.2 million images.
  • The Starting Point is Everything: By starting from the LR image at an intermediate timestep, the model avoids the "blind hallucination" phase of standard diffusion. It already has the structural "bones" of the image, so it only needs the diffusion process to add the "flesh" (high-frequency textures).
  • Compatibility Matters: Previous shift-based models failed to use pretrained priors because their noise schedules were too different from standard models. DoSSR’s primary breakthrough is a mathematical formulation that satisfies both domain shifting and standard diffusion requirements.

Key Results

DoSSR achieves state-of-the-art performance with only 5 sampling steps, making it 5–7 times faster than previous diffusion-prior methods like SeeSR or DiffBIR.

Performance comparison showing Latency vs. MANIQA and visual results
  • Extreme Efficiency: The latency vs. quality tradeoff is vastly improved. As shown in the performance charts, DoSSR clusters in the top-left (high quality, low latency).
  • Perceptual Quality: On non-reference metrics (which measure how "real" an image looks to humans, such as CLIPIQA and MUSIQ), DoSSR consistently ranks first or second across all benchmarks.
  • Single-Step Capability: Remarkably, the model can produce usable, high-quality results in just a single step (DoSSR-1), a feat previously thought difficult for high-fidelity diffusion SR.

Limitations and Future Work

  • Random Seed Sensitivity: Like most generative models, the output can vary based on the random seed. Occasionally, an "unlucky" seed might produce artifacts in fine details.
  • Initialization: The authors noted that the quality of the result is somewhat dependent on the random noise initialization. They suggest that future research could look into "informed initialization"—finding a way to generate a starting noise pattern based on the LR image itself to further stabilize results.
  • Fidelity vs. Realism: While the model excels at making images look "real" (perceptual quality), it can sometimes deviate from the exact pixel-perfect ground truth (fidelity) in favor of looking more convincing, a common trait among diffusion models.

Summary updated

BibTeX
@inproceedings{cui2024taming,
  author = {Qinpeng Cui and Yi'xuan Liu and Xinyi Zhang and Qiqi Bao and Qingmin Liao and liwang Amd and Lu Tian and Zicheng Liu and Zhongdao Wang and Emad Barsoum},
  title = {{Taming Diffusion Prior for Image Super-Resolution with Domain Shift SDEs}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=u7okTt4ZyE},
}
Figure