NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

PatchScaler: An Efficient Patch-Independent Diffusion Model for Image Super-Resolution

Yong Liu, Hang Dong, Jinshan Pan, Qingji Dong, Kai Chen, Rongxiang Zhang, Lean Fu, Fei Wang

TL;DR

This paper introduces PatchScaler, a novel diffusion model for image super-resolution that significantly speeds up inference by adaptively adjusting the number of sampling steps per image region. By identifying "difficult" patches that require more processing and "easy" ones that need less, PatchScaler achieves state-of-the-art results with a fraction of the computational cost of previous diffusion-based methods.

What Problem Does This Paper Address?

Image super-resolution (SR) aims to reconstruct a high-resolution (HR) image from a low-resolution (LR) input. While diffusion models have shown remarkable success in generating perceptually pleasing SR images, their iterative nature leads to very slow inference times, making them impractical for many applications. Existing acceleration methods often apply a uniform sampling strategy across the entire image, which is suboptimal. This is because different regions of an image have varying levels of reconstruction difficulty; some areas with simple textures or structures can be well-reconstructed with fewer sampling steps, while complex, texture-rich regions demand more. This paper addresses this inefficiency by proposing a method that dynamically adapts the sampling process based on local image content.

Methods

PatchScaler introduces several key innovations:

  • Patch-adaptive Group Sampling (PGS): This is the core of the acceleration strategy. First, a Global Restoration Module (GRM) generates a coarse HR feature and a "confidence map" indicating reconstruction difficulty. This map is then used to group image patches into categories (e.g., simple, medium, hard) based on their estimated difficulty. Each group is assigned a different "shortcut point" (i.e., the number of sampling steps) along the diffusion trajectory, allowing easy patches to take shorter paths and difficult patches to take longer ones.
  • Patch-wise Diffusion Transformer (Patch-DiT): This acts as the backbone for refining details. It's a modified Vision Transformer designed for patch-level processing, which is well-suited for SR tasks.
  • Texture Prompt: To further enhance the reconstruction of fine details and address potential misalignment issues common in text-to-image models, PatchScaler incorporates a "texture prompt." This prompt retrieves high-quality texture priors from a Reference Texture Memory (RTM) – a curated database of texture patches and their semantic representations – to guide the Patch-DiT. This is an improvement over traditional text prompts, which might not capture the specific local texture nuances needed for SR.

Datasets

  • Training: LSDIR [26] and HQ-50K [58] datasets were used for training.
  • Evaluation:
    • Synthetic: LSDIR-Test (generated from LSDIR) and RealSR [6].
  • Real-world: RealSR [6] and a newly curated dataset called RealSet110, which aims to provide a more diverse set of real-world degradation scenarios.

Key Insights and Ideas

  • Uniform sampling is inefficient: The paper's central insight is that treating all image regions equally in diffusion-based SR is wasteful. Adapting sampling steps based on local complexity is crucial for efficiency.
  • Confidence map as a difficulty indicator: The GRM's confidence map effectively predicts which image regions will be harder to reconstruct, enabling intelligent grouping and adaptive sampling.
  • Texture priors are powerful for SR: The texture prompt mechanism demonstrates that leveraging specific, retrieved texture information can significantly improve the fidelity and realism of reconstructed details, outperforming generic text prompts.
  • Patch-based processing is key: The architecture is designed around processing image patches, allowing for fine-grained control over the diffusion process and enabling the adaptive sampling strategy.

Key Results

  • Significant Speedup: PatchScaler achieves a dramatic reduction in inference time. For a 512x512 to 2048x2048 SR task, it runs at 0.23x the speed of ResShift [63] and is significantly faster than other diffusion-based methods.
  • State-of-the-Art Performance: Despite the speedup, PatchScaler maintains or improves upon the performance of existing methods, particularly in perceptual quality metrics like ManIQA, CLIPIQA, and MUSIQ. For example, on the RealSet110 dataset, it shows a +0.0204 improvement in CLIPIQA over the second-best method.
  • Qualitative Improvements: Visual comparisons show that PatchScaler produces sharper details and more realistic textures compared to other diffusion models, which can sometimes exhibit blurriness or artifacts.
  • Ablation Studies: The paper demonstrates the effectiveness of each component, showing that the GRM is crucial for estimating difficulty, and the texture prompt significantly boosts performance over text prompts.

Limitations and Future Work

  • Real-time inference challenge: While significantly faster, real-time inference for diffusion models remains a challenge due to their inherent complexity and large number of parameters.
  • Future Directions: The authors plan to explore integration with sampling distillation techniques and optimize deployment for even greater efficiency. They also suggest that the PGS strategy is a plug-and-play component that can be extended to other architectures and tasks.

Summary updated

BibTeX
@inproceedings{liu2025patchscaler,
  author = {Yong Liu and Hang Dong and Jinshan Pan and Qingji Dong and Kai Chen and Rongxiang Zhang and Lean Fu and Fei Wang},
  title = {{PatchScaler: An Efficient Patch-Independent Diffusion Model for Image Super-Resolution}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure