HYPIR
One-step image restoration model made by adversarially fine-tuning Stable Diffusion 2.1 with LoRA.
Diffusion and generative · 3,683 operations Structure only
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
- 1.5B
- Operations
- 3,683
- Framework
- PyTorch
- Recurrent
- No
- Published
- ACM Transactions on Graphics (arXiv 2025)
- Cited by
- 15 (as of 29 October 2026)
- Authors
- Xinqi Lin, Fanghua Yu, Jinfan Hu and others
- Source
- GitHub: XPixelGroup/HYPIR
- Checked
- Structure only: shapes and data types are hypotheses, not measurements.
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
- m17290
- Graph hash
- 81fe4aef5de2e6762a51718a50c441f6c422b26d1c39a63f40293be04ab07552
- Skeleton hash
- 9545ca118d1f04b2fe36d617861547c563c2dbc9bfde94c167830229ef125f1d
- Architecture hash
- 575b2f964af0a00f33df294fe6ae63d23416cd33eb40b4648f597a92769077ee
- Diagram SHA-256
- 1f6317db42799d201a790cdd3bf58d4437ed5227b23b48bad4fb3c15eec4c20b
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
What it is
HYPIR is an image restoration model: it maps a degraded photo back toward a natural image, aiming to remove the degradation, generate realistic detail and stay consistent with the input pixel by pixel. Its recipe is short: start from a pre-trained diffusion model and fine-tune it with adversarial (GAN) training, with no diffusion loss, iterative sampling or extra adapters. Restoration then takes a single forward pass, which the paper reports gives faster convergence and inference than diffusion-based methods.
The paper argues that starting from a diffusion model places the initial restoration model very close to the natural image distribution, which improves numerical stability, avoids mode collapse and speeds up adversarial training. Only the U-Net in the middle is fine-tuned, through LoRA, while the encoder and decoder stay fixed. The discriminator starts from a pretrained ConvNeXt. Because it inherits the diffusion model's controls, HYPIR supports text-guided restoration and adjustable texture richness.
This model is HYPIR-SD2, the open-source version based on Stable Diffusion 2.1. Its inference command applies the released LoRA weights at rank 256 on top of stabilityai/stable-diffusion-2-1-base. The paper's own training setup lists a LoRA rank of 64.
Key idea. HYPIR initializes an image restoration model from a pre-trained diffusion model and then fine-tunes it with adversarial training instead of a diffusion loss.
- HYPIR
- HYPIR-SD2
- Harnessing Diffusion-Yielded Score Priors
- image restoration
- image super-resolution
- image upscaling
- one-step restoration
- adversarial fine-tuning
- LoRA
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{lin2025harnessingdiffusionyieldedscorepriors,
title={Harnessing Diffusion-Yielded Score Priors for Image Restoration},
author={Xinqi Lin and Fanghua Yu and Jinfan Hu and Zhiyuan You and Wu Shi and Jimmy S. Ren and Jinjin Gu and Chao Dong},
year={2025},
eprint={2507.20590},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2507.20590},
}