Efficient Image Super-Resolution Using Pixel Attention

Hengyuan Zhao, Xiangtao Kong, Jingwen He, Yu Qiao, Chao Dong

TL;DR

Researchers have developed PAN (Pixel Attention Network), a lightweight image super-resolution model that achieves state-of-the-art performance with a fraction of the complexity. By replacing traditional pooling-based attention with a novel 3D Pixel Attention (PA) mechanism, the team reduced parameter counts by over 80% compared to standard baselines like SRResNet while maintaining comparable image quality.

What Problem Does This Paper Address?

Single Image Super-Resolution (SISR) aims to reconstruct a high-resolution (HR) image from a single low-resolution (LR) input. While deep learning has pushed the boundaries of image quality, the resulting models are often "heavy"—requiring massive amounts of memory and computation. This makes them impractical for real-time applications on mobile devices or interactive editing tools.

Existing "attention mechanisms" (which help a network focus on the most important parts of an image) often rely on pooling operations. Pooling compresses information into a 1D vector (Channel Attention) or a 2D map (Spatial Attention). The authors argue that for super-resolution—a task where every pixel matters—this compression actually hurts performance.

Methods

The authors introduce three primary innovations to create a "concise and effective" network:

  1. Pixel Attention (PA): Unlike previous methods that use global pooling to create attention weights, PA uses a simple $1 \times 1$ convolution followed by a sigmoid function. This generates a 3D attention map ($C \times H \times W$) with the same dimensions as the input features. This allows the network to apply a unique weight to every single pixel across every channel without losing spatial or spectral detail.
  2. SC-PA Block: This is the basic building block of the network's main branch. It is based on "Self-Calibrated" convolutions but integrated with the PA layer. It uses a two-branch architecture to process features at different scales efficiently.
  3. U-PA Block: Most SR models use heavy "pixel-shuffle" or deconvolution layers for upsampling. PAN uses a U-PA block, which combines simple Nearest-Neighbor (NN) upsampling with PA and standard convolutions. This significantly reduces the parameter count in the reconstruction stage.

Datasets

The model was trained and evaluated using standard industry benchmarks:

  • Training: DIV2K and Flickr2K.
  • Evaluation: Five standard datasets: Set5, Set14, B100, Urban100, and Manga109.
  • Metrics: Peak Signal-to-Noise Ratio (PSNR) and Structural Similarity Index (SSIM) on the Y channel.

Key Insights and Ideas

  • Pooling is a Bottleneck: In low-level vision tasks like SR, "squeezing" features via pooling (as seen in SE-Net or CBAM) removes the very pixel-level information the network needs to reconstruct fine textures.
  • 3D is Better than 1D/2D: By generating a 3D attention matrix, the model achieves a "second-order" feature multiplication that is more expressive than traditional attention schemes but requires fewer additional parameters.
  • Efficiency via Simplicity: The network avoids complex skip-connections or dense blocks in its base form, making it more friendly for hardware acceleration.
  • Niche for Lightweight Models: The authors found that Pixel Attention is most effective in small networks. In massive, redundant networks, the benefits of PA are less pronounced, suggesting it is a specialized tool for edge-computing efficiency.

Key Results

PAN was a top performer in the AIM 2020 Efficient Super-Resolution Challenge, specifically excelling in parameter efficiency:

  • Extreme Compression: PAN uses only 272K parameters. For context, that is roughly 17.9% of the size of SRResNet and 17.1% of the size of CARN.
  • Competitive Quality: Despite being nearly 6x smaller, PAN outperforms CARN across all benchmarks and matches or exceeds SRResNet on datasets like Manga109 and B100.
  • Visual Fidelity: Qualitative results show that PAN reconstructs sharp edges and repetitive patterns (like building windows or textile textures) with fewer artifacts than much larger models.

Limitations and Future Work

  • Scaling Issues: The current architecture faces training difficulties when expanded to very deep configurations (e.g., >50 blocks). To scale up, the authors suggest that additional techniques like dense connections would be necessary.
  • Diminishing Returns: The effectiveness of the PA scheme decreases as the network scale increases, as large-scale networks already possess high redundancy.
  • Future Directions: The authors believe Pixel Attention is a fundamental component that could be applied to other computer vision tasks beyond super-resolution, such as denoising or deblurring.

Summary updated

BibTeX
@inproceedings{zhao2020efficient,
  author = {Hengyuan Zhao and Xiangtao Kong and Jingwen He and Yu Qiao and Chao Dong},
  title = {{Efficient Image Super-Resolution Using Pixel Attention}},
  booktitle = {Workshops @ ECCV},
  year = {2020},
  url = {https://openreview.net/forum?id=xfbQcnyhT-4},
}
Figure