SinSR
A one-step diffusion super-resolution network distilled from a multi-step teacher and run in latent space.
Diffusion and generative · 2,076 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 118.6M
- Operations
- 2,076
- Framework
- PyTorch
- Recurrent
- No
- Published
- CVPR 2024
- Cited by
- 194 (as of 29 October 2026)
- Authors
- Yufei Wang, Wenhan Yang, Xinyuan Chen and others
- Source
- GitHub: wyf0912/SinSR
- License
- CC-BY-NC-SA-4.0
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m20431
- Graph hash
- 24944fff42d98434b648eeab9ee5ff6285c24ecdc09b17b075a6627dea0d75d5
- Skeleton hash
- 87fb611f4840c759ac165f75381cd5e0e2553ef2f48c0928cb0b4be44feab68d
- Architecture hash
- da7dc4000bc999dcc0fb168f2b7d3aa903def4ff213b8e641571f48bff8356a7
- Diagram SHA-256
- 09c37fe004165bf2c628542f1d04e39b8bf01682e03b50f5bcf094975fa0a107
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
SinSR is a diffusion-based image super-resolution (SR) model that produces its result in a single inference step. The paper's motivation is that the practical use of diffusion SR is hindered by the number of inference steps it needs. Methods that start from the degraded image shorten the chain but, the paper says, still need a relatively lengthy generation path, for example 15 iterations.
SinSR is a student distilled from a teacher diffusion model, ResShift. The authors show that ResShift, whose inference process is originally stochastic, can be converted to a deterministic model without retraining. That deterministic mapping from input noise to output image is then distilled into a student model that performs SR within only one inference step. A consistency-preserving loss brings the ground-truth image into the distillation, so that the student's performance is not solely bound by the teacher.
As in the teacher, the diffusion is conducted in the latent space, and the student follows the same backbone design and is initialized from the pre-trained teacher. It was fine-tuned for 30K iterations, where the teacher was trained from scratch for 500K. The paper reports that reducing the inference steps from 15 to 1 gives up to a ×10 speedup in inference.
Key idea. SinSR derives a deterministic sampling process from a diffusion-based super-resolution teacher and distills it into a student that performs super-resolution in one inference step, with a consistency-preserving loss.
- SinSR
- single-step super-resolution
- image super-resolution
- diffusion super-resolution
- one-step diffusion
- distillation
- consistency-preserving loss
- deterministic sampling
- real-world super-resolution
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{wang2023sinsrdiffusionbasedimagesuperresolution,
title={SinSR: Diffusion-Based Image Super-Resolution in a Single Step},
author={Yufei Wang and Wenhan Yang and Xinyuan Chen and Yaohui Wang and Lanqing Guo and Lap-Pui Chau and Ziwei Liu and Yu Qiao and Alex C. Kot and Bihan Wen},
year={2023},
eprint={2311.14760},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2311.14760},
}