Spatially-Adaptive Feature Modulation for Efficient Image Super-Resolution

Long Sun, Jiangxin Dong, Jinhui Tang, Jinshan Pan

Introduction

Single Image Super-Resolution (SISR) aims to reconstruct high-resolution (HR) images from low-resolution (LR) inputs. While deep learning has significantly advanced the state-of-the-art, high-performance models often rely on massive parameter counts and heavy computational loads, making them unsuitable for edge devices. Existing efficient models typically fall into two categories: CNN-based models, which are fast but limited by local receptive fields, and Vision Transformers (ViTs), which capture long-range dependencies but suffer from high memory consumption.

To address this, the authors propose the Spatially-Adaptive Feature Modulation Network (SAFMN). SAFMN is designed to achieve the global modeling capabilities of Transformers with the efficiency of lightweight CNNs, utilizing a novel multi-scale feature modulation mechanism.

Methods: Spatially-Adaptive Feature Modulation

The core of SAFMN is the Spatially-Adaptive Feature Modulation (SAFM) block, which replaces the computationally expensive self-attention found in ViTs.

Overview of the SAFMN architecture and its core components: the Spatially-Adaptive Feature Modulation (SAFM) block and Convolutional Channel Mixer (CCM).

The SAFM Block

Instead of computing a global attention matrix, SAFM employs a feature pyramid approach. Input features are split into four branches. One branch maintains the original resolution, while the others are downsampled by factors of 2x, 4x, and 8x. By processing these downsampled features with depth-wise convolutions, the network can capture long-range context efficiently—a 3x3 convolution at 1/8th scale effectively covers a large portion of the original input. These multi-scale features are upsampled and concatenated to form a spatially-adaptive modulation map, which is then multiplied by the input features.

Convolutional Channel Mixer (CCM)

Following the SAFM block, a CCM (based on Fused-MBConv) handles channel mixing. It uses a 3x3 convolution to encode local context and expand the channel dimension, followed by a 1x1 convolution to project the features back. LayerNorm is integrated throughout the architecture to stabilize training and prevent gradient explosions during the modulation step.

Results and Discussion

SAFMN was evaluated on standard benchmarks including Set5, Set14, B100, Urban100, and Manga109. The model demonstrates a superior balance between reconstruction quality and computational cost.

Performance comparison of SAFMN against other efficient SR models. SAFMN (red star) achieves high PSNR with significantly fewer FLOPs and parameters (indicated by circle size).

Efficiency and Performance

As shown in the trade-off analysis, SAFMN occupies the top-left corner of the PSNR vs. FLOPs plot, indicating superior efficiency. For $\times2$ SR, SAFMN utilizes only 228K parameters—roughly 3x fewer than IMDN—while maintaining competitive PSNR. Furthermore, SAFMN significantly reduces activation counts (29%–71% lower than competitors), leading to a massive reduction in GPU memory consumption. For instance, in $\times4$ SR, SAFMN requires only 65MB of GPU memory, compared to over 1.8GB for similar models like LAPAR-A.

Qualitative Analysis

Visually, SAFMN excels at reconstructing repetitive structures and fine details, particularly in the Urban100 dataset. While some heavier models might achieve slightly higher PSNR due to luminance differences, SAFMN often provides superior perceptual quality by effectively handling aliasing and preserving sharp edges. This is attributed to the spatially-adaptive nature of the modulation, which allows the network to dynamically select relevant information at each pixel location.

Conclusion

SAFMN demonstrates that expensive self-attention is not a prerequisite for capturing long-range dependencies in super-resolution. By leveraging multi-scale feature modulation, the proposed architecture achieves state-of-the-art efficiency with minimal memory overhead. Future work will focus on optimizing meta-operations like channel splitting and investigating alternatives to LayerNorm to further enhance real-world inference speed.

Summary updated

BibTeX
@inproceedings{sun2023spatially,
  author = {Long Sun and Jiangxin Dong and Jinhui Tang and Jinshan Pan},
  title = {{Spatially-Adaptive Feature Modulation for Efficient Image Super-Resolution}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
}
Figure