NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Robust Reference-Based Super-Resolution via C2-Matching

Yuming Jiang, Kelvin C. K. Chan, Xintao Wang, Chen Change Loy, Ziwei Liu

Introduction

Reference-based Super-Resolution (Ref-SR) aims to upscale a low-resolution (LR) image by leveraging high-frequency details from a related high-resolution (HR) reference image. While Single Image Super-Resolution (SISR) relies solely on internal priors, Ref-SR can "borrow" textures from external sources, such as different photos of the same landmark. However, existing methods often struggle when the reference image differs significantly in scale, rotation, or viewpoint from the input.

Challenges in Ref-SR

Two primary obstacles hinder effective Ref-SR:

  1. The Transformation Gap: Reference images are rarely perfectly aligned. Differences in camera angle and zoom create geometric discrepancies that standard matching algorithms fail to resolve.
  2. The Resolution Gap: Matching a blurry LR pixel to a sharp HR pixel is inherently difficult. Downsampling the reference image to match the LR input's resolution often destroys the fine-grained textures the model is intended to extract.

The $C^2$-Matching Framework

To address these gaps, the authors propose $C^2$-Matching (Cross-transformation and Cross-resolution matching). This framework introduces three key innovations:

Contrastive Correspondence Network

To handle geometric transformations, the model employs contrastive learning. By training on images subjected to random homography transformations using a triplet margin loss, the network learns feature descriptors that are invariant to scale and rotation.

Teacher-Student Correlation Distillation

Visualizing the matching process between LR input and HR reference. Source, p. 1 To bridge the resolution gap, the authors use knowledge distillation. A "Teacher" network matches two HR images (an easier task), while a "Student" network matches LR to HR. The student is trained to mimic the teacher's correlation volume, effectively learning to identify correspondences despite the blurriness of the input.

Visualizing the matching process between LR input and HR reference.

Dynamic Aggregation Module

Instead of rigid patch-based copying, a modified Deformable Convolution (DCN) is used to dynamically gather features from the reference image based on the learned correspondences, reducing artifacts like ghosting.

Experimental Results

The $C^2$-Matching framework was evaluated on standard benchmarks like CUFED5 and a new, more diverse dataset called Webly-Referenced SR (WR-SR).

Quantitative and Qualitative Performance

Comparison of super-resolution results showing improved clarity and detail. Source, p. 1 Quantitatively, the model achieved a significant improvement of over 1dB in PSNR on the CUFED5 dataset compared to previous state-of-the-art methods like SRNTT. Qualitatively, the model excels at recovering semantic details, such as legible text on signs, where other methods produce unreadable artifacts.

Comparison of super-resolution results showing improved clarity and detail.

Robustness and User Preference

In stress tests involving large rotations, the model maintained a low Average End-to-point Error (AEE). Furthermore, a user study revealed that over 80% of participants preferred $C^2$-Matching results over other leading methods like ESRGAN or TTSR.

Conclusion

$C^2$-Matching represents a significant step forward in Ref-SR by explicitly modeling the transformation and resolution gaps. By combining contrastive learning with teacher-student distillation, the framework achieves robust, high-quality super-resolution even with imperfect reference images. Future work may explore handling multiple noisy references in web-crawled scenarios.

Summary updated

BibTeX
@inproceedings{jiang2021robust,
  author = {Yuming Jiang and Kelvin C. K. Chan and Xintao Wang and Chen Change Loy and Ziwei Liu},
  title = {{Robust Reference-Based Super-Resolution via C2-Matching}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr46437.2021.00214},
}
Figure