FSR: A General Frequency-Oriented Framework to Accelerate Image Super-resolution Networks

Jinmin Li, Tao Dai, Mingyan Zhu, Bin Chen, Zhi Wang, Shu-Tao Xia

Abstract

Single Image Super-Resolution (SISR) has seen significant advancements through deep learning, yet state-of-the-art models often suffer from high computational costs and slow inference speeds. This paper introduces FSR (Frequency-Oriented Framework), a "plug-and-play" architecture designed to accelerate existing SR networks. By leveraging the frequency domain, FSR decomposes images into sub-bands and processes them with optimized computational paths. Experimental results demonstrate that FSR can reduce inference time by 50% and computational costs (FLOPs) by 40% across various baseline models while preserving or enhancing image quality.

Introduction

Deep learning has revolutionized Single Image Super-Resolution (SISR), but the "state-of-the-art" comes at a high price. Top-tier models like RCAN or EDSR use hundreds of layers and massive channel counts, making them too slow and power-hungry for mobile devices or real-time applications. Previous attempts to speed these models up, such as ClassSR, tried to classify image patches by "difficulty" (e.g., smooth vs. textured) and send them to different-sized sub-networks. However, these methods often struggle with inference overhead—the time spent classifying the patches can sometimes outweigh the time saved during reconstruction. FSR addresses this by shifting the focus from the spatial domain to the frequency domain.

Methodology

FSR moves the heavy lifting of super-resolution into the frequency domain using a three-part strategy:

  1. Dual Feature Aggregation Module (DFAM): Before the main SR task, this module extracts two types of information. The Transform Attention Block (TABlock) uses frequency-domain attention to capture global spectral patterns, while the Spatial Context Block (SCBlock) captures local spatial details.
  2. Four-Path SR-Module: The framework uses a Discrete Wavelet Transform (DWT) to split the features into four sub-bands: one low-frequency (Approximation) and three high-frequency (Horizontal, Vertical, and Diagonal). Crucially, the authors use smaller, "slimmed-down" versions of standard SR networks for the high-frequency paths, where data is sparser, and a more robust version for the low-frequency path.
  3. Adaptive Weight Strategy: Training a model in the frequency domain is managed via a dynamic loss function that automatically balances the focus between reconstructing frequency details (sharp edges) and spatial pixel accuracy (overall color and structure) as training progresses.
The FSR framework architecture, featuring the Dual Feature Aggregation Module and the Four-Path SR-Module.

Experimental Setup

The authors utilized standard high-resolution benchmarks to prove FSR's versatility:

  • DIV2K: Used for training the models.
  • DIV8K: A challenging 8K resolution dataset used for testing (specifically sub-sets TEST2K, TEST4K, and TEST8K) to highlight computational bottlenecks.
  • Set5, Set14, B100, and Urban100: Used for qualitative analysis and Local Attribution Map (LAM) interpretations.

Key Results and Insights

The framework was tested by applying it to four popular SR baselines: FSRCNN, CARN, SRResNet, and RCAN.

  • Efficiency and Speed: On average, FSR saved 39% of FLOPs across all models and reduced inference time by approximately 50%. For example, on 8K images, FSR-RCAN was vastly faster than the ClassSR-RCAN variant, which suffered from significant classification overhead.
  • Quality Preservation: Surprisingly, FSR often increased the PSNR (a measure of reconstruction quality). For FSRCNN on the TEST2K dataset, PSNR improved by 0.22 dB while using fewer computations.
  • Frequency Redundancy: A key insight is that high-frequency sub-bands (edges and textures) do not require the same massive neural network capacity as the low-frequency base. Reducing channel counts in high-frequency branches cuts FLOPs significantly without losing visual sharpness.
Comparison of inference time vs. FLOPs for various SR models and their FSR-accelerated versions.

Conclusion

FSR provides a robust, general framework for accelerating CNN-based super-resolution models by exploiting frequency-domain redundancies. By utilizing parallel branches instead of sequential classification, it avoids the inference overhead common in patch-based methods. Future work may involve exploring FSR's interaction with Vision Transformer (ViT) based models and optimizing frequency transforms for specific mobile hardware backends.

Summary updated

BibTeX
@inproceedings{li2023fsr,
  author = {Jinmin Li and Tao Dai and Mingyan Zhu and Bin Chen and Zhi Wang and Shu-Tao Xia},
  title = {{FSR: A General Frequency-Oriented Framework to Accelerate Image Super-resolution Networks}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i1.25218},
}
Figure