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

Learning Texture Transformer Network for Image Super-Resolution

Fuzhi Yang, Huan Yang, Jianlong Fu, Hongtao Lu, Baining Guo

Introduction

Image super-resolution (SR) is a fundamental task in computer vision aimed at reconstructing high-resolution (HR) details from degraded low-resolution (LR) images. Reference-based SR (RefSR) has emerged as a promising direction, utilizing an additional HR "reference" image to provide realistic textures. However, existing RefSR methods often struggle with accurate texture matching and transfer, particularly when faced with significant viewpoint changes or when relying on features optimized for classification (e.g., VGG) rather than generation.

Visual comparison of TTSR against SOTA methods, demonstrating its ability to accurately transfer textures from a reference image despite viewpoint differences.

To address these challenges, this paper introduces the Texture Transformer Network (TTSR). TTSR formulates the RefSR task within a transformer framework, enabling more precise search and transfer of relevant textures from reference images to LR inputs.

Methodology

The core of the proposed architecture is the Texture Transformer, which utilizes a novel attention mechanism designed specifically for image generation.

Learnable Texture Extractor (LTE)

Unlike previous methods that use frozen, pre-trained classification networks, TTSR employs a Learnable Texture Extractor. This CNN-based module is updated end-to-end during training, ensuring that the extracted features are optimized for capturing the fine-grained, transferable textures necessary for high-quality image synthesis.

Transformer Formulation

In the TTSR framework, features from the LR image serve as the Query (Q), while features from the reference image (and its downsampled/upsampled version) serve as the Key (K) and Value (V). This allows the network to find correspondences between the LR input and the HR reference in a shared embedding space.

Architecture of the Texture Transformer module, featuring the Learnable Texture Extractor (LTE) and the Hard/Soft Attention mechanisms.

Hard and Soft Attention

To avoid the blurry averaging effect common in standard transformers, TTSR implements a Hard-Attention mechanism. For each patch in the LR image, the model identifies the single most similar patch in the reference image and transfers its specific HR texture. To ensure robustness, a Soft-Attention map is calculated based on Query-Key similarity, acting as a confidence score to fuse high-quality matches while suppressing irrelevant textures.

Cross-Scale Feature Integration (CSFI)

The architecture stacks these transformers across multiple resolution scales (1x, 2x, and 4x). The CSFI module facilitates the exchange of features across these scales, enriching the representation and improving the overall reconstruction quality.

Experiments and Results

The authors evaluated TTSR on several benchmark datasets, including CUFED5, Sun80, Urban100, and Manga109.

Quantitative and Qualitative Performance

TTSR achieved state-of-the-art (SOTA) results. On the CUFED5 dataset, a reconstruction-optimized version (TTSR-rec) reached a PSNR of 27.09, significantly outperforming the previous SOTA (SRNTT-rec at 26.24). Qualitatively, the full TTSR model produces sharper, more realistic details than competing methods, successfully borrowing textures even under varying perspectives.

User Study and Efficiency

A large-scale user study involving 2,520 votes revealed that human evaluators preferred TTSR's output over 90% of the time compared to other SOTA methods like RCAN, RSRGAN, and CrossNet. Furthermore, TTSR is highly efficient, containing only 6.4M parameters and processing images in approximately 0.096 seconds, making it both smaller and faster than many existing alternatives.

Conclusion

The Texture Transformer Network represents a significant advancement in reference-based super-resolution. By integrating a learnable texture extractor with a specialized transformer architecture, TTSR effectively bridges the gap between texture matching and image generation. Its superior performance and efficiency suggest broad applicability in various image synthesis tasks beyond super-resolution.

Summary updated

BibTeX
@inproceedings{yang2020learning,
  author = {Fuzhi Yang and Huan Yang and Jianlong Fu and Hongtao Lu and Baining Guo},
  title = {{Learning Texture Transformer Network for Image Super-Resolution}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  doi = {10.1109/cvpr42600.2020.00583},
}
Figure