PassionSR: Post-Training Quantization with Adaptive Scale in One-Step Diffusion based Image Super-Resolution

Libo Zhu, Jianze Li, Haotong Qin, Wenbo Li, Yulun Zhang, Yong Guo, Xiaokang Yang

Introduction

Diffusion models have established themselves as the state-of-the-art for image super-resolution (SR) due to their superior generative capabilities. However, their high computational and storage requirements—often exceeding 1.3 billion parameters—hinder deployment on edge devices. While "one-step" diffusion (OSD) models mitigate the iterative denoising bottleneck, they remain resource-intensive. Quantization offers a path to efficiency by reducing bit-widths (e.g., from 32-bit to 8-bit), but OSD models present unique challenges: complex architectures (UNets and VAEs), imbalanced activation distributions with extreme outliers, and training instability during quantization-aware processes.

PassionSR is a novel post-training quantization (PTQ) framework designed to address these challenges. By introducing learnable boundaries and distribution-smoothing transformations, it enables high-quality 8-bit and 6-bit SR. The framework achieves an 81.77% reduction in parameters and a 4x speedup compared to full-precision models, making one-step diffusion models viable for mobile platforms.

Methodology

The PassionSR framework incorporates three primary innovations to optimize OSD models for low-bit deployment:

Model Streamlining

The authors simplify the baseline OSEDiff architecture by removing the CLIPEncoder and replacing it with a constant "empty prompt" embedding. This reduction focuses the quantization efforts on the core components—the UNet and VAE—without compromising reconstruction performance.

Learnable Quantized Parameter Strategy

To handle the sensitive denoising process, PassionSR employs two adaptive techniques:

  1. Learnable Boundary Quantizer (LBQ): Instead of static clipping thresholds, LBQ optimizes the upper and lower quantization boundaries during a brief calibration phase.
  2. Learnable Equivalent Transformation (LET): Inspired by SmoothQuant, LET applies channel-wise scale and shift factors to smooth activation distributions. By suppressing outliers, LET makes the data more amenable to low-bit mapping. These transformations are mathematically folded into the weights during inference, ensuring zero additional computational overhead.

Distributed Quantization Calibration (DQC)

To avoid instability when simultaneously training boundaries and scale factors, DQC decouples the calibration into two distinct stages. This ensures rapid convergence and maintains the visual fidelity of the denoised output.

Experiments and Results

The performance of PassionSR was evaluated on standard benchmarks including DIV2K, RealSR, and DRealSR.

Comparison of PassionSR with existing methods. PassionSR (8-bit) significantly reduces parameters and operations while maintaining visual quality comparable to 32-bit models.

Efficiency and Quality

Compared to the full-precision OSEDiff reference, PassionSR (8-bit) achieves an 81.77% reduction in parameters and a 4x speedup. Quantitatively, the performance drop at 8-bit precision is less than 1% across major metrics such as PSNR and SSIM. Visually, the results are nearly indistinguishable from the 32-bit baseline.

Comparative Analysis

PassionSR demonstrates superior performance over existing low-bit quantization methods like LSQ and Q-Diffusion. While traditional methods often suffer from structural distortions or loss of detail at 6-bit or 8-bit depths, PassionSR maintains high perceptual quality. Notably, the framework identifies the VAE as a primary bottleneck—accounting for over 80% of the computational load in one-step models—and successfully quantizes it to low bit-widths for the first time.

Conclusion

PassionSR bridges the gap between the speed of Post-Training Quantization and the accuracy of Quantization-Aware Training. By effectively managing activation outliers and streamlining the diffusion architecture, it enables efficient, high-fidelity image super-resolution on resource-constrained devices. Future work will explore extending these adaptive strategies to multi-step diffusion models and further narrowing the perceptual gap for sub-6-bit quantization.

Summary updated

BibTeX
@inproceedings{zhu2025passionsr,
  author = {Libo Zhu and Jianze Li and Haotong Qin and Wenbo Li and Yulun Zhang and Yong Guo and Xiaokang Yang},
  title = {{PassionSR: Post-Training Quantization with Adaptive Scale in One-Step Diffusion based Image Super-Resolution}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.01192},
}
Figure