Coarse-to-Fine Embedded PatchMatch and Multi-Scale Dynamic Aggregation for Reference-Based Super-resolution

Bin Xia, Yapeng Tian, Yucheng Hang, Wenming Yang, Qingmin Liao, Jie Zhou

Abstract

Reference-Based Super-Resolution (RefSR) aims to reconstruct high-resolution images by leveraging textures from a similar high-resolution reference image. Traditional methods suffer from high computational complexity and sensitivity to scale misalignment. We present AMSA (Accelerated Multi-Scale Aggregation), which utilizes a coarse-to-fine embedded PatchMatch algorithm to reduce matching complexity from quadratic to nearly linear. Combined with a multi-scale dynamic aggregation module, AMSA effectively handles scale differences, achieving state-of-the-art performance with significant speedups.

Introduction

Super-resolution (SR) is a fundamental task in computer vision. While single-image super-resolution (SISR) relies on internal image statistics, Reference-Based Super-Resolution (RefSR) utilizes external high-quality textures from a reference image. This approach is analogous to an artist using a high-resolution reference to fill in missing details in a blurry photograph.

Despite its potential, RefSR faces two primary challenges. First, finding correspondences between the low-resolution (LR) input and the high-resolution reference (Ref) image typically involves an exhaustive search, leading to quadratic computational complexity ($O(N^2)$). Second, scale misalignment—where the reference image is at a different zoom level than the input—often causes matching failures in standard convolution-based architectures.

Proposed Methodology

The AMSA framework addresses these limitations through two core innovations.

Coarse-to-Fine Embedded PatchMatch (CFE-PatchMatch)

To overcome the $O(N^2)$ bottleneck, the authors propose CFE-PatchMatch. This algorithm adapts the classic PatchMatch philosophy—random initialization followed by neighbor propagation—into an end-to-end trainable neural network module. By operating in a coarse-to-fine manner (starting at 1/8 scale and progressing to full resolution), the module provides a "warm start" for finer levels, reducing complexity to $O(N \log N)$. This results in a 100x acceleration in the matching phase.

Visual representation of the matching process between low-resolution input and high-resolution reference textures.

Multi-Scale Dynamic Aggregation (MSDA)

To handle scale variations, the MSDA module employs two strategies:

  1. Dynamic Aggregation: Utilizing Deformable Convolutions (DCN), the network aligns features by predicting offsets, correcting for minor geometric misalignments.
  2. Multi-Scale Aggregation: The network processes the reference image at multiple scales simultaneously. A relevance map then guides the fusion process, selecting the most appropriate scale for each local region to ensure optimal texture transfer.

Experimental Results

AMSA was evaluated on the CUFED5 dataset and generalized across Sun80, Urban100, and Manga109.

  • Quantitative Performance: The reconstruction-optimized version, AMSA-rec, surpassed the previous state-of-the-art ($C^2$-Matching) by 0.25 dB on CUFED5.
  • Efficiency: The CFE-PatchMatch module achieved a massive speedup, making high-resolution RefSR practical for real-time or resource-constrained applications.
  • Qualitative Analysis: Visual comparisons show that AMSA excels in reconstructing intricate details, such as text on signs and architectural patterns, which are often blurred by competing methods.

Conclusion

AMSA significantly advances the field of RefSR by making texture transfer both faster and more robust to scale differences. By embedding a coarse-to-fine PatchMatch algorithm into a deep learning framework, the authors achieve a nearly linear matching complexity. Future work includes optimizing GPU implementations for even greater speed and extending these techniques to video super-resolution to ensure temporal consistency.

Summary updated

BibTeX
@inproceedings{xia2022coarse,
  author = {Bin Xia and Yapeng Tian and Yucheng Hang and Wenming Yang and Qingmin Liao and Jie Zhou},
  title = {{Coarse-to-Fine Embedded PatchMatch and Multi-Scale Dynamic Aggregation for Reference-Based Super-resolution}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i3.20180},
}
Figure