Skip to main content
QUICK REVIEW

[Paper Review] MaxSR: Image Super-Resolution Using Improved MaxViT

Bin-Cheng Yang, Gangshan Wu|arXiv (Cornell University)|Jul 14, 2023
Advanced Image Processing TechniquesComputer Science5 citations
TL;DR

MaxSR proposes a novel image super-resolution model based on an improved MaxViT architecture, introducing adaptive block and grid attention mechanisms to efficiently model global self-similarity in low-resolution images. The method achieves state-of-the-art performance on both classical and lightweight super-resolution benchmarks, outperforming prior methods while maintaining computational efficiency without requiring relative position embeddings.

ABSTRACT

While transformer models have been demonstrated to be effective for natural language processing tasks and high-level vision tasks, only a few attempts have been made to use powerful transformer models for single image super-resolution. Because transformer models have powerful representation capacity and the in-built self-attention mechanisms in transformer models help to leverage self-similarity prior in input low-resolution image to improve performance for single image super-resolution, we present a single image super-resolution model based on recent hybrid vision transformer of MaxViT, named as MaxSR. MaxSR consists of four parts, a shallow feature extraction block, multiple cascaded adaptive MaxViT blocks to extract deep hierarchical features and model global self-similarity from low-level features efficiently, a hierarchical feature fusion block, and finally a reconstruction block. The key component of MaxSR, i.e., adaptive MaxViT block, is based on MaxViT block which mixes MBConv with squeeze-and-excitation, block attention and grid attention. In order to achieve better global modelling of self-similarity in input low-resolution image, we improve block attention and grid attention in MaxViT block to adaptive block attention and adaptive grid attention which do self-attention inside each window across all grids and each grid across all windows respectively in the most efficient way. We instantiate proposed model for classical single image super-resolution (MaxSR) and lightweight single image super-resolution (MaxSR-light). Experiments show that our MaxSR and MaxSR-light establish new state-of-the-art performance efficiently.

Motivation & Objective

  • To address the challenge of efficiently leveraging the powerful representation and self-similarity modeling capacity of transformer architectures in single image super-resolution (SISR).
  • To overcome the quadratic computational complexity of standard self-attention in high-resolution feature maps by designing an adaptive attention mechanism that maintains global modeling capability with sub-quadratic complexity.
  • To improve performance in SISR by enhancing the block and grid attention mechanisms in MaxViT to enable dynamic, efficient integration of information across windows and grids.
  • To develop both a high-performance MaxSR and a lightweight variant (MaxSR-light) that achieve state-of-the-art results across multiple benchmark datasets.

Proposed method

  • The model architecture consists of a shallow feature extraction block, multiple cascaded adaptive MaxViT blocks, a hierarchical feature fusion block, and a reconstruction block using pixel shuffle and convolution layers.
  • The core innovation is the adaptive MaxViT block, which replaces fixed-size block and grid attention in MaxViT with adaptive versions that dynamically integrate information across all windows per grid and all grids per window.
  • Adaptive block attention computes self-attention within each window across all grids, while adaptive grid attention computes self-attention within each grid across all windows, enabling efficient global feature modeling.
  • The adaptive attention mechanisms are designed to achieve optimal sub-quadratic complexity with respect to spatial feature map size, balancing long-range dependency modeling and computational efficiency.
  • The model is trained with a large patch size of 128×128 to distinguish adaptive from fixed-attention mechanisms during training, with batch size adjusted to 8 to maintain data throughput.
  • Two variants are introduced: MaxSR for classical SISR and MaxSR-light for lightweight SISR, both achieving state-of-the-art performance on standard benchmarks.

Experimental results

Research questions

  • RQ1Can adaptive self-attention mechanisms in vision transformers improve global feature modeling for single image super-resolution while maintaining computational efficiency?
  • RQ2How does the proposed adaptive MaxViT block compare to the original fixed-attention MaxViT block in terms of performance and efficiency on SISR tasks?
  • RQ3To what extent can the improved attention mechanisms enhance self-similarity modeling in low-resolution images to improve reconstruction quality?
  • RQ4Can the proposed MaxSR and MaxSR-light models achieve state-of-the-art performance on standard SISR benchmarks without relying on relative position embeddings?

Key findings

  • MaxSR achieves new state-of-the-art performance on all five benchmark datasets for classical image super-resolution, outperforming methods such as EDSR, RCAN, RRDB, SwinIR, and IPT.
  • MaxSR-light establishes new state-of-the-art results on lightweight SISR benchmarks, surpassing models like DRRN, CARN, IMDN, and SwinIR-light.
  • The ablation study confirms that the adaptive MaxViT block significantly improves performance over the fixed-attention version, with BP-MaxSR outperforming BP-Fix-SA-Tr-Fix-SA-Te across all datasets.
  • Using adaptive attention only at inference time (BP-Fix-SA-Tr-Ada-SA-Te) improves performance over the fixed-attention baseline, demonstrating the benefit of adaptiveness.
  • Adding relative position embedding (BP-MaxSR-RPE) further boosts performance, but the main MaxSR model achieves SOTA without it, prioritizing efficiency.
  • Visual comparisons on Set14 and Urban100 show MaxSR produces sharper edges, richer textures, and fewer artifacts or blurring effects than competing methods.

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.