[Paper Review] HiT-SR: Hierarchical Transformer for Efficient Image Super-Resolution
This paper proposes HiT-SR, a hierarchical transformer framework for efficient image super-resolution that replaces fixed small windows with expanding hierarchical windows to capture multi-scale features and long-range dependencies. By introducing a spatial-channel correlation (SCC) mechanism with linear complexity, HiT-SR achieves state-of-the-art performance with significantly reduced FLOPs and inference time—up to 7× faster—while maintaining high accuracy across multiple benchmarks.
Transformers have exhibited promising performance in computer vision tasks including image super-resolution (SR). However, popular transformer-based SR methods often employ window self-attention with quadratic computational complexity to window sizes, resulting in fixed small windows with limited receptive fields. In this paper, we present a general strategy to convert transformer-based SR networks to hierarchical transformers (HiT-SR), boosting SR performance with multi-scale features while maintaining an efficient design. Specifically, we first replace the commonly used fixed small windows with expanding hierarchical windows to aggregate features at different scales and establish long-range dependencies. Considering the intensive computation required for large windows, we further design a spatial-channel correlation method with linear complexity to window sizes, efficiently gathering spatial and channel information from hierarchical windows. Extensive experiments verify the effectiveness and efficiency of our HiT-SR, and our improved versions of SwinIR-Light, SwinIR-NG, and SRFormer-Light yield state-of-the-art SR results with fewer parameters, FLOPs, and faster speeds ($\sim7 imes$).
Motivation & Objective
- To address the limitation of fixed small window self-attention in transformer-based super-resolution, which restricts receptive fields and hinders multi-scale feature learning.
- To overcome the quadratic computational complexity of window self-attention when scaling window sizes, which limits practical deployment in high-resolution SR.
- To develop a general, efficient, and scalable method to enhance existing transformer-based SR networks without architectural overhaul.
- To enable long-range dependency modeling and multi-scale feature aggregation through hierarchical window expansion and spatial-channel correlation.
Proposed method
- Replaces fixed small windows in standard self-attention with expanding hierarchical windows to progressively increase receptive fields across layers.
- Introduces a spatial-channel correlation (SCC) mechanism that computes feature correlations between queries and values using a dual-branch feature extraction (DFE) layer.
- Employs a linear-complexity correlation mechanism by replacing softmax-based attention with direct correlation matrices, avoiding expensive normalization and enabling large window processing.
- Uses separate multi-head correlation for spatial and channel features: spatial self-correlation (S-SC) with multiple heads to capture diverse spatial patterns, and channel self-correlation (C-SC) with single-head to preserve full channel interaction.
- Designs a dual-branch DFE module that separately extracts spatial and channel features before fusing them, improving feature representation without increasing computational cost.
- Optimizes the attention mechanism by eliminating redundant keys and using only queries and values, reducing computation while maintaining performance.
Experimental results
Research questions
- RQ1Can hierarchical window expansion in transformers improve multi-scale feature learning and long-range dependency modeling in image super-resolution?
- RQ2Does a linear-complexity spatial-channel correlation mechanism outperform standard window self-attention in terms of efficiency and performance for large receptive fields?
- RQ3How does the proposed SCC mechanism compare to conventional query-key-value attention in terms of accuracy and computational cost?
- RQ4Can the HiT-SR framework be applied as a plug-in to existing transformer-based SR models to achieve consistent performance gains with minimal retraining?
- RQ5What is the optimal configuration of correlation heads for spatial and channel self-correlation to balance feature diversity and interaction?
Key findings
- HiT-SR achieves state-of-the-art performance on the Urban100 benchmark, with PSNR of 33.13 dB at ×2, 28.99 dB at ×3, and 26.80 dB at ×4, outperforming prior efficient models.
- The improved SwinIR-Light (HiT-SIR) achieves 39.21 dB PSNR on Urban100 ×2 with only 772K parameters and 209.9G FLOPs, while being ~7× faster than the original.
- The spatial-channel correlation (SCC) mechanism reduces computational complexity from quadratic to linear with respect to window size, enabling window sizes up to 64×64 without performance degradation.
- Ablation studies confirm that using both S-SC and C-SC with multi-head and single-head strategies respectively yields the best performance, outperforming single-modality or suboptimal head configurations.
- Replacing standard QKV attention with QV-only correlation improves efficiency by 10% with minimal accuracy drop, validating the design’s computational advantage.
- The dual-branch DFE module improves feature representation by effectively fusing spatial and channel information, leading to a 0.3 dB PSNR gain over linear or convolutional projections.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.