TL;DR
When you ask a reference-based super-resolution (RefSR) model to sharpen a blurry photo using a second, high-quality reference image, you'd hope it uses helpful details and ignores irrelevant clutter. Instead, existing models suffer from reference collapse: they barely benefit from relevant references and actively hallucinate or degrade when given irrelevant ones. URefSR fixes this with a clever two-stage, expectation–maximization-inspired training trick that teaches a one-step diffusion model to judge reference usefulness on its own—achieving state-of-the-art quality while running 1.4× faster than prior diffusion baselines.
What Problem Does This Paper Address?
Single-image super-resolution is fundamentally ill-posed: a blurry low-quality (LQ) patch could correspond to many different sharp high-quality (HQ) realities. Reference-based super-resolution (RefSR) solves this by giving the model an auxiliary HQ reference image—say, another photo from the same event—to borrow missing textures from.
In the real world, however, references retrieved from the web or photo albums are messy. Some match the scene, while others are look-alikes or complete distractors. To measure how well models handle this, the authors define reference utility: the relative error reduction a reference provides compared to the model's own output without any reference.
Testing existing matching-based and diffusion-based RefSR models across a spectrum of references—from pure noise to the ground truth itself—reveals reference collapse. Models rely on their own generative priors rather than the reference, gaining almost nothing from relevant images (even the ground truth!) while suffering severe quality drops when fed irrelevant noise. Standard fixes like classifier-free guidance don't help, because scaling the reference condition amplifies the harm from bad references right alongside the help from good ones.
Methods
The authors' key insight is that reference collapse is learned during training: when models are trained on retrieved image pools full of look-alikes, they learn to ignore the reference to minimize their average loss.
To break this habit without needing manual "relevant vs. irrelevant" labels, they introduce utility-aware training, motivated by a single step of Expectation–Maximization (EM):
- Stage 1 (Explore & Score): Train the model normally by pairing each target image with a uniformly sampled candidate reference (and occasionally dropping the reference to keep the no-reference branch sharp). Then, freeze a copy of this model as a scorer.
- Rank by Loss Gap: For every training target, the frozen scorer evaluates its candidate references and ranks them by their loss gap—how much each candidate lowers the model's denoising loss compared to having no reference at all.
- Stage 2 (Hard Selection): Continue training from Stage 1, but always feed each target its highest-scoring candidate reference.
The architecture itself, URefSR, is a one-step diffusion transformer built on SD3.5-medium's MM-DiT (fine-tuned with LoRA) and paired with the tiny TAESD3 autoencoder for speed. Instead of bolting on heavy extra modules like ReferenceNet or ControlNet, URefSR simply appends the reference image tokens directly to the image tokens in the transformer's joint attention.
Datasets
- Training & Retrieval Pool: Built from Creative-Commons event albums in YFCC100M (10,954 training targets and 65,722 crops). Each target retrieves its top $M=8$ most similar crops using DINOv2 cosine similarity, and real-world $\times 4$ degradations are synthesized online using the second-order Real-ESRGAN pipeline.
- Evaluation Benchmarks: Tested on four standard RefSR datasets: CUFED5 ($n=126$, which includes five graded reference levels from L5 to L1), WR-SR ($n=80$, web-retrieved references), Bird ($n=66$), and Face ($n=162$).
Key Insights and Ideas
- Global similarity isn't enough: URefSR's utility-based scorer picks the top DINOv2-similar candidate only 42% of the time, proving that visual similarity doesn't always equal restoration usefulness.
- Self-selection beats gating: Rather than relying on an external correlation gate (like AdaRefSR) that can still leak noise, letting the model's own denoising loss decide what's useful during training naturally teaches it to fall back to its no-reference prior when given junk.
- Simpler is better: Hard selection (always picking the single best-scoring candidate) outperformed softer, weighted-loss variants while requiring zero extra hyperparameters.
Key Results
- Target Utility Achieved: On CUFED5, URefSR's utility stays within $\pm 0.03$ of zero across all seven irrelevant reference types (whereas AdaRefSR drops to $-0.22$ in LPIPS). On relevant references, URefSR's LPIPS utility climbs monotonically to 0.33 at L1 (vs. 0.21 for AdaRefSR) and 0.677 when given the ground truth (vs. 0.27).
- State-of-the-Art Quality: On CUFED5 (L1), URefSR achieves the best SSIM (0.5928), LPIPS (0.2082 vs. 0.2894 for AdaRefSR), FID (84.50 vs. 127.89), NIQE (3.3900), and CLIPIQA (0.5657). It also leads AdaRefSR on 6/7 metrics on WR-SR, 4/7 on Bird, and 5/7 on Face, with the best LPIPS and FID across all baselines.
- Efficiency: URefSR processes 512×512 images at 3.93 img/s on an RTX A5000—1.4× faster than AdaRefSR (2.80 img/s)—while using half the memory (6.10 GiB vs. 12.00 GiB) and a third fewer parameters (2.32B vs. 3.64B).
Limitations and Future Work
The authors note that their evaluation relies primarily on synthetic degradations. How reliably URefSR handles naturally degraded photographs—especially those with out-of-distribution artifacts—remains an open question for future validation.
Summary updated