RASR: Retrieval-Augmented Super Resolution for Practical Reference-based Image Restoration

Jiaqi Yan, Shuning Xu, Xiangyu Chen, Dell Zhang, Jiantao Zhou, Jie Tang, Gangshan Wu, Jie Liu

TL;DR

Researchers have introduced Retrieval-Augmented Super Resolution (RASR), a new paradigm that makes Reference-based Super Resolution (RefSR) actually practical. By combining a semantic search engine with a diffusion-based generator, their model—RASRNet—automatically finds relevant high-resolution images from a database to reconstruct realistic textures, outperforming standard single-image methods without requiring manual human intervention.

What Problem Does This Paper Address?

Single Image Super Resolution (SISR) is "ill-posed"—there are many high-resolution (HR) images that could correspond to one blurry low-resolution (LR) input. Consequently, standard models often "hallucinate" smooth or generic textures that look fake.

Reference-based Super Resolution (RefSR) solves this by giving the model a "cheat sheet": a high-quality reference image of a similar object. However, existing RefSR models assume a human has already perfectly paired the blurry input with a high-quality reference. In the real world, you don't have a perfectly paired "clean" version of the photo you just took. This paper bridges the gap between academic theory and real-world use by automating the search for that reference image.

Methods

The authors propose a framework called RASRNet, which consists of two main components:

  1. RIRR (Real-world Image Reference Retriever): This is the "search engine." It uses a vision encoder (DINOv2) to convert the blurry input image into a mathematical embedding. It then searches a pre-curated database for the most semantically similar high-resolution image using cosine similarity.
  2. RefDSR (Reference Diffusion Super Resolution): This is the "artist." It is a diffusion-based generator built on a pretrained SISR backbone. It uses a ControlNet architecture to inject features from the retrieved reference image into the reconstruction process.

Key Technical Innovation: Unlike standard ControlNets that inject features everywhere, RefDSR only injects reference features into the first three decoder blocks. This ensures the model uses the reference for structural and semantic guidance early on, while relying on text-based prompts to refine fine details and style in the final stages.

Datasets

The authors introduced a new benchmark:

  • RASR-Flickr30: The first dataset designed specifically for retrieval-augmented SR. It contains 30 animal species with high-quality images. Unlike older datasets with fixed pairs, it provides "galleries" for each category, allowing for open-world retrieval testing.

They also utilized:

  • LSDIR: A large-scale dataset for general image restoration training.
  • WR-SR: Used for evaluating the generator's performance when a reference is already provided.

Key Insights and Ideas

  • Semantic > Texture for Retrieval: When an image is heavily degraded (blurry/noisy), traditional texture-based matching fails. The authors found that semantic similarity (understanding that "this is a puffin") is a much more robust way to find useful references than trying to match pixel patterns.
  • Strategic Feature Injection: Injecting reference data too late in the neural network can lead to "ghosting" or artifacts. By focusing the reference influence on the early decoding stages, the model better captures the "essence" of the object without being forced to copy the reference image pixel-for-pixel.
  • Hybrid Prompting: During inference, the model performs best when it combines text prompts derived from both the blurry input and the clean retrieved reference. This "double-check" helps the diffusion model stay grounded in reality.

Key Results

RASRNet was tested against state-of-the-art GAN and Diffusion-based models (like OSEDiff and SeeSR):

  • Quantitative: On the RASR-Flickr30 test set, RASRNet achieved a +0.38 dB improvement in PSNR and a significant reduction in perceptual error (-0.0131 LPIPS) compared to the OSEDiff baseline.
  • Qualitative: Visual results show much sharper and more realistic textures. For example, in images of birds, RASRNet successfully reconstructed intricate eye details and feather patterns that SISR models simply smoothed over.
  • Efficiency: The retrieval process adds minimal overhead. Searching a database of ~85,000 images takes only about 0.15 seconds on a modern GPU.

Limitations and Future Work

While RASRNet excels at natural textures (like animal fur), the authors note it still struggles with:

  • Fine Text: Restoring legible scene text remains a challenge.
  • Subtle Semantics: Very specific, small-scale semantic details can sometimes be misinterpreted if the retrieved reference isn't a "perfect" match.

Future work will likely focus on improving the fusion mechanism to handle more diverse categories beyond animals and refining the model's ability to handle text-heavy environments.

Summary updated

BibTeX
@inproceedings{yan2026rasr,
  author = {Jiaqi Yan and Shuning Xu and Xiangyu Chen and Dell Zhang and Jiantao Zhou and Jie Tang and Gangshan Wu and Jie Liu},
  title = {{RASR: Retrieval-Augmented Super Resolution for Practical Reference-based Image Restoration}},
  booktitle = {ISCAS},
  year = {2026},
  doi = {10.1109/iscas66217.2026.11562865},
}

Loading related content...

Figure