Use What Helps, Ignore What Doesn't: Utility-Aware One-Step Diffusion for Reference-Based Super-Resolution
Jiang et al. in Generative models
Can a super-resolver use a reference without trusting every one?
Use What Helps, Ignore What Doesn't: Utility-Aware One-Step Diffusion for Reference-Based Super-Resolution
Reference-based super-resolution has a retrieval problem
A high-quality reference can restore missing detail, but retrieved images range from relevant to unrelated. Prior methods often gain little from useful references; diffusion-based ones can be harmed by irrelevant ones.
URefSR trains a one-step restorer to benefit more from relevant references and leave tested distractors near its no-reference quality.
Measure whether the reference actually helps
Utility is the fraction of no-reference error removed: positive means help, negative means harm, and near-zero means no net measured quality gain.
- d(Gθ(y,R),x)
- Output error with the reference
- d(Gθ(y,∅),x)
- Same model's no-reference error
The reference sweep exposes collapse

CUFED5 utility spans irrelevant references, L5 (least) to L1 (most), and ground truth. Prior methods gain little or can be harmed; URefSR rises with relevance, ignores distractors, and recovers the logo with relevant references.
A frozen model picks the training reference
- 1
Start with candidates
Each target has eight retrieved candidates; Stage 1 samples one at random, without relevance labels.
- 2
Rank by loss gap
Freeze Stage 1; rank candidates by average null-minus-reference denoising loss over eight shared noises. A larger gap means the reference lowered training error more.
- 3
Train on the winner
Stage 2 continues from Stage 1 using each target's winner; it drops the reference with probability 0.15.
- 4
One-pass inference
At test time, one pass needs neither the scorer nor classifier-free guidance.
How one-step URefSR reads the reference
- 1
Start from the LQ image
It starts from an encoded, upsampled low-quality image with added noise, not pure noise.
- 2
Let the tokens interact
Encoded reference tokens join image tokens in a diffusion transformer's joint attention, learning soft correspondences without explicit matching.
- 3
Update once, then decode
One rectified-flow update predicts the restored latent for decoding; a learned null token can replace all reference tokens.
URefSR gains more from the CUFED5 L1 reference
CUFED5, real-world ×4, L1 reference, n=126; AdaRefSR is the strongest prior in the paper's all-baselines comparison.
A quality-efficiency trade-off

CUFED5 L1, 512², batch 1, RTX A5000. LPIPS vs log-throughput; marker area = peak memory. URefSR: lowest LPIPS; faster than AdaRefSR, half its memory; timing protocols differ (bf16/30 vs fp16/20 runs, different call coverage).
The gain comes from selection, not the backbone
On CUFED5, same backbone and schedule: three-seed means for the L1 reference are 0.164 LPIPS utility (uniform) and 0.236 (DINOv2 top-1).
Changing only Stage 2's choice yields 0.326 L1 LPIPS utility, 0.2082 LPIPS, and -0.001 reported utility for irrelevant references (three-seed mean).
Utility selection picks the most similar DINOv2 candidate for only 42% of targets.
What these results do not establish
Natural degradations
Most tests use synthetic ×4 degradations; naturally degraded photos, especially distribution shifts, remain unvalidated.
Loss-gap surrogate
At one operating point, the scorer uses an LQ-shifted input/target; its loss gap ranks candidates but is not an unbiased log-likelihood-ratio estimate.
Oracle is not alignment
In a CUFED5 test, left-right-mirrored ground truth retained 97% of oracle LPIPS utility; this oracle score does not prove pixelwise matching.
Why it matters
- URefSR leads on most metrics across four benchmarks; on CUFED5 L1, its LPIPS utility is 0.33 versus AdaRefSR's 0.21.
- Rank each target's retrieved candidates by a frozen Stage-1 model's null-minus-reference loss gap; train on the top one without relevance labels.
- Will it help on naturally degraded photos, especially beyond the synthetic ×4 conditions tested here?
11 slides, 3 min
9 hours ago