Skip to main content
QUICK REVIEW

[Paper Review] Activating More Pixels in Image Super-Resolution Transformer

Xiangyu Chen, Xintao Wang|arXiv (Cornell University)|May 9, 2022
Advanced Image Processing TechniquesComputer Science55 citations
TL;DR

The paper introduces Hybrid Attention Transformer (HAT) for image SR that activates more input pixels via a combination of channel attention, window-based self-attention, and an overlapping cross-attention module, plus a same-task pre-training strategy, achieving state-of-the-art results.

ABSTRACT

Transformer-based methods have shown impressive performance in low-level vision tasks, such as image super-resolution. However, we find that these networks can only utilize a limited spatial range of input information through attribution analysis. This implies that the potential of Transformer is still not fully exploited in existing networks. In order to activate more input pixels for better reconstruction, we propose a novel Hybrid Attention Transformer (HAT). It combines both channel attention and window-based self-attention schemes, thus making use of their complementary advantages of being able to utilize global statistics and strong local fitting capability. Moreover, to better aggregate the cross-window information, we introduce an overlapping cross-attention module to enhance the interaction between neighboring window features. In the training stage, we additionally adopt a same-task pre-training strategy to exploit the potential of the model for further improvement. Extensive experiments show the effectiveness of the proposed modules, and we further scale up the model to demonstrate that the performance of this task can be greatly improved. Our overall method significantly outperforms the state-of-the-art methods by more than 1dB. Codes and models are available at https://github.com/XPixelGroup/HAT.

Motivation & Objective

  • Motivate expanding the range of input pixels utilized by Transformer-based SR models beyond standard windowed attention.
  • Propose the Hybrid Attention Transformer (HAT) that fuses channel attention with self-attention and adds overlapping cross-attention to improve cross-window interaction.
  • Demonstrate that larger window sizes and cross-window modules enable better reconstruction and texture details.
  • Introduce a same-task pre-training strategy to leverage large-scale data for SR Transformer models.
  • Show that HAT (and its large variant HAT-L) achieves state-of-the-art SR performance across standard benchmarks.

Proposed method

  • Incorporate a channel attention-based convolution block (CAB) into a Swin Transformer block to fuse global information with local self-attention.
  • Use a Parallel CAB and (S/W)MSA pathway with a small scaling factor alpha to mitigate optimization conflicts, followed by an MLP with residual connections.
  • Employ an Overlapping Cross-Attention Block (OCAB) that uses non-overlapping queries with overlapping keys/values across windows to enable direct cross-window information exchange.
  • Adopt a large window size (M=16) for self-attention to expand the range of activated pixels, and use shifted windows to maintain cross-window interactions.
  • Introduce an Overlapping Cross-Attention (OCA) mechanism where Q comes from non-overlapping windows and K/V come from overlapping windows, enabling cross-window attention with a bias term.
  • Propose a same-task pre-training strategy by pre-training on ImageNet for the same SR task and fine-tuning on target DF2K data, with careful learning-rate and training-iteration considerations.

Experimental results

Research questions

  • RQ1Can Transformer SR models be forced to utilize more input pixels during reconstruction, and does expanding the receptive range improve SR quality?
  • RQ2Does combining channel attention with window-based self-attention and adding cross-window attention modules yield measurable SR gains over existing SR Transformers?
  • RQ3What is the impact of larger window sizes and overlapping cross-attention on qualitative texture reconstruction and artifact reduction?
  • RQ4Is same-task large-scale pre-training on ImageNet beneficial for SR Transformers compared to multi-task pre-training?
  • RQ5How do HAT and its large variant HAT-L perform relative to state-of-the-art SR methods on standard benchmarks?

Key findings

  • HAT and its larger variant surpass state-of-the-art SR methods by substantial margins (0.3 dB to 1.2 dB PSNR improvements reported on Urban100 and Manga109, and large gains with pre-training).
  • CAB integration provides a measurable PSNR/SSIM improvement over baselines (e.g., +0.05–0.07 dB in ablations).
  • OCAB and CAB together yield further gains (up to about +0.16 dB PSNR on Urban100).
  • Larger window sizes (16x16) for self-attention improve SR performance, especially on Urban100, indicating activation of more input pixels.
  • Overlapping cross-attention alleviates blocking artifacts and enhances cross-window information exchange.
  • Same-task pre-training on ImageNet provides notable gains for HAT and even larger gains for bigger models like HAT-L, with larger pre-trained models benefiting more.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.