LMR: A Large-Scale Multi-Reference Dataset for Reference-based Super-Resolution

Lin Zhang, Xin Li, Dongliang He, Fu Li, Errui Ding, Zhaoxiang Zhang

Abstract

Reference-based Super-Resolution (RefSR) leverages high-resolution reference images to restore fine textures in low-resolution inputs. However, existing RefSR research is hindered by small-scale datasets and models limited to single-reference inputs. We present LMR, the first large-scale multi-reference dataset containing over 112,000 image groups. Alongside this dataset, we propose MRefSR, a novel architecture that utilizes a Multi-Reference Attention Module (MAM) and a Spatial Aware Filtering Module (SAFM) to intelligently fuse features from an arbitrary number of references. Our method achieves a significant 1.15 dB PSNR improvement over state-of-the-art methods while maintaining high memory efficiency.

Introduction

Super-resolution (SR) has traditionally evolved from Single Image Super-Resolution (SISR), which relies solely on the input image, to Reference-based Super-Resolution (RefSR). RefSR uses a separate high-quality reference image with similar content to "borrow" details. While real-world scenarios often provide multiple references (e.g., several photos of a landmark), existing models are typically trained on single-reference datasets like CUFED5. This creates a training-testing mismatch and limits the model's ability to synthesize information from diverse viewpoints.

The LMR Dataset

To address the data bottleneck, we introduced the LMR (Large-scale Multi-Reference) dataset. It is 10x larger than previous standards, featuring 112,142 groups of images. Each group consists of one target high-resolution (HR) image and five reference images categorized by similarity levels (High, Medium, and Low).

The LMR dataset provides multiple reference images with varying degrees of similarity to the target, enabling the model to learn robust feature fusion.

LMR was constructed using the MegaDepth dataset, leveraging 3D reconstructions of landmarks to identify overlapping viewpoints. This provides a rich source of natural, high-quality references at a resolution (300x300 patches) that far exceeds previous benchmarks.

MRefSR Architecture

The proposed MRefSR model introduces two key innovations to handle multiple references efficiently:

  1. Multi-Reference Attention Module (MAM): Instead of memory-intensive image stitching, MAM uses a pixel-wise attention mechanism. It treats the LR input as a "query" to find and prioritize the most relevant textures across all available reference "keys" and "values."
  2. Spatial Aware Filtering Module (SAFM): This module acts as a gating mechanism to ensure that the fused features are contextually and spatially aligned with the target image, filtering out irrelevant or noisy information from the references.

Experimental Results

MRefSR demonstrates substantial improvements in both quantitative metrics and qualitative visual quality. On the LMR benchmark, it achieved a PSNR of 31.81 dB, outperforming the previous state-of-the-art, $C^2$-Matching, by 1.15 dB.

Qualitative comparison showing MRefSR (Ours) successfully recovering fine details from multiple references, significantly outperforming the state-of-the-art C2-Matching.

Beyond accuracy, MRefSR is highly efficient. By using attention-based fusion rather than stitching, it reduces GPU memory consumption from 21.98 GB to just 3.42 GB for multi-reference tasks. Furthermore, models trained on LMR show superior generalization, outperforming CUFED5-trained models even when tested on the CUFED5 dataset itself.

Conclusion

The introduction of the LMR dataset and the MRefSR model marks a major step toward practical, high-fidelity super-resolution. By moving from single-reference to multi-reference learning, we enable AI to better utilize the wealth of visual information available in the real world. Future work will focus on integrating automated reference retrieval systems to find similar images from the web in real-time.

Summary updated

BibTeX
@inproceedings{zhang2023lmr,
  author = {Lin Zhang and Xin Li and Dongliang He and Fu Li and Errui Ding and Zhaoxiang Zhang},
  title = {{LMR: A Large-Scale Multi-Reference Dataset for Reference-based Super-Resolution}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
  url = {https://openreview.net/forum?id=LrhPx3igVh},
}
Figure