Swift Parameter-free Attention Network for Efficient Super-Resolution

Cheng Wan, Hongyuan Yu, Zhiqi Li, Yihang Chen, Yajun Zou, Yuqing Liu, Xuanwu Yin, Kunlong Zuo

Abstract

This paper introduces the Swift Parameter-free Attention Network (SPAN), a highly efficient architecture designed for Single Image Super-Resolution (SISR). By rethinking the generation of attention maps, the authors developed a mechanism that eliminates the need for additional learnable parameters in the attention module. SPAN achieved first place in both the overall performance and runtime tracks of the NTIRE 2024 Efficient Super-Resolution Challenge, demonstrating a superior trade-off between reconstruction quality and inference speed.

Introduction

Single Image Super-Resolution (SISR) aims to reconstruct high-resolution (HR) images from low-resolution (LR) inputs. While modern deep learning models—particularly those utilizing Transformers or complex attention mechanisms—produce high-quality results, their computational overhead often precludes real-world deployment on mobile and edge devices.

The primary challenge in Efficient Super-Resolution (ESR) is balancing image quality with inference latency. Traditional attention mechanisms require auxiliary layers and parameters to calculate "importance" maps, which increases model complexity. SPAN addresses this by capturing the benefits of attention—focusing on high-contribution features like edges and textures—without the computational tax of traditional learnable modules.

Proposed Method: Swift Parameter-free Attention

The core of the architecture is the Swift Parameter-free Attention Block (SPAB). Unlike standard attention blocks that use a separate branch for importance weighting, SPAN leverages the features already extracted by the convolutional backbone.

Figure 2: The architecture of SPAN and the detailed structure of the Swift Parameter-free Attention Block (SPAB).

Swift Parameter-free Attention Block (SPAB)

  1. Feature Extraction: Each block utilizes three standard convolutional layers to extract local features.
  2. Symmetric Activation: To generate the attention map, features are passed through a symmetric activation function: $\text{Sigmoid}(x) - 0.5$. Unlike standard Sigmoid functions that suppress negative values, this shifted version ensures that both high-magnitude positive and negative values (representing strong edges) contribute to the attention map.
  3. Residual Connections: The block input is added back to the extracted features before multiplication with the attention map. This design prevents the model from over-focusing on high-level features at the expense of basic structural information.
  4. Structural Re-parameterization: During training, the model employs multiple branches to enhance learning capacity. These are collapsed into a single, optimized convolutional layer for inference, further reducing latency.

Experimental Results

The authors evaluated SPAN using standard protocols, training on the DF2K and LSDIR datasets and testing across five classic benchmarks: Set5, Set14, B100, Urban100, and Manga109.

Figure 1: Performance comparison of SPAN against other efficient SR models. SPAN (ours) occupies the top-left region, indicating the best balance of high PSNR and low latency.

Quantitative Performance

SPAN consistently outperformed existing efficient SR champions such as RLFN and IMDN:

  • Latency: On the Set14 benchmark (x4 scale), SPAN achieved a latency of 13.67ms, significantly faster than RLFN’s 16.41ms while maintaining higher PSNR.
  • Parameter Efficiency: The compact version, SPAN-S, utilizes only 426K parameters yet outperforms models like CARN, which requires nearly 1.6 million parameters.
  • NTIRE 2024 Success: The model secured 1st place in the Efficient SR Challenge, validating its real-world dominance in speed and quality.

Key Insights

  • Inherent Attention: The authors demonstrated that features extracted by standard convolutions already contain the necessary information for attention. High-magnitude values naturally correspond to information-rich regions like edges and corners.
  • Symmetry and Information Preservation: Standard activations like ReLU are information-destructive for attention. By shifting the activation to be symmetric around the origin, the model treats strong negative edges as equally important to positive ones.
  • Gradient Amplification: The parameter-free structure naturally amplifies gradients in information-rich regions during training, forcing the model to prioritize complex textures and fine details.

Conclusion

SPAN represents a significant advancement in CNN-based efficient super-resolution. By replacing heavy attention modules with a parameter-free mechanism, it achieves state-of-the-art performance with minimal latency. Future work may explore the generalization of this approach to other low-level vision tasks, such as video deblurring, or its integration into lightweight hybrid Vision Transformer architectures.

Summary updated

BibTeX
@inproceedings{wan2024swift,
  author = {Cheng Wan and Hongyuan Yu and Zhiqi Li and Yihang Chen and Yajun Zou and Yuqing Liu and Xuanwu Yin and Kunlong Zuo},
  title = {{Swift Parameter-free Attention Network for Efficient Super-Resolution}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
  url = {https://openreview.net/forum?id=8R3Ao1jtwh},
}
Figure