Introduction
Image Super-Resolution (SR) is the process of recovering a high-resolution (HR) image from its low-resolution (LR) counterpart. While Single Image SR (SISR) has seen significant progress, it often struggles to reconstruct fine details that are fundamentally lost during downsampling, leading to blurry outputs. Reference-based Image Super-Resolution (RefSR) addresses this by utilizing an additional high-resolution "Reference" (Ref) image of a similar scene to provide missing textures.
However, RefSR faces two primary challenges: effective alignment between LR and Ref images under varying viewpoints or scales, and the development of feature representations optimized for texture transfer rather than general classification. This paper introduces the Texture Transformer Network (TTSR), a novel architecture that treats texture recovery as a joint learning task across different scales using a transformer-based "search-and-transfer" mechanism.
The Texture Transformer Architecture
TTSR leverages the attention mechanism of transformers to find correspondences between the LR target and the HR reference. In this framework, the LR image serves as the Query (Q), the Ref image as the Key (K), and the high-resolution textures from the Ref image as the Values (V).
The architecture is composed of four specialized modules:
- Learnable Texture Extractor (LTE): Unlike previous methods that use fixed VGG features, LTE is a trainable CNN. It learns to extract features specifically for texture matching, ensuring the model is optimized for the SR task.
- Relevance Embedding (RE): This module computes the similarity between patches in the LR and Ref images, creating a dense correspondence map.
- Hard-Attention Module (HA): To maintain sharpness, HA selects the single most relevant HR texture patch for transfer. This avoids the blurring effect often caused by soft-attention (weighted averaging) in image synthesis.
- Soft-Attention Module (SA): SA generates a confidence map to weight the transferred textures, allowing the model to rely on its own features when the reference information is less reliable.
To further enhance performance, Cross-Scale Feature Integration (CSFI) stacks these transformers to fuse details across 1x, 2x, and 4x resolutions, ensuring consistency across scales.
Experimental Results
The model was evaluated on the CUFED5 dataset, as well as Sun80, Urban100, and Manga109 for generalization. TTSR-rec (the accuracy-optimized variant) achieved a PSNR of 27.09 dB on CUFED5, significantly surpassing the previous state-of-the-art, SRNTT (26.24 dB).
Beyond quantitative metrics, visual results demonstrate that TTSR recovers significantly sharper edges and more realistic fine details, such as architectural textures and fabric patterns. In a blind user study, over 90% of participants preferred TTSR's results over competing methods like RCAN or RSRGAN, noting higher clarity and fewer artifacts.
Conclusion
TTSR represents a significant step forward for RefSR by successfully adapting the transformer architecture for vision tasks. By replacing rigid alignment with a flexible attention-based search and making the feature extraction process learnable, the model achieves superior texture recovery. Future work may explore reducing the computational cost of patch-based matching or extending this search-and-transfer logic to other domains like image inpainting.
Summary updated