Abstract
Transformers have achieved remarkable results in single-image super-resolution (SR). However, the challenge of balancing model performance and complexity has hindered their application in lightweight SR (LSR). To tackle this challenge, we propose an efficient striped window transformer (ESWT). We revisit the normalization layer in the transformer and design a concise and efficient transformer structure to build the ESWT. Furthermore, we introduce a striped window mechanism to model long-term dependencies more efficiently. To fully exploit the potential of the ESWT, we propose a novel flexible window training strategy that can improve the performance of the ESWT without additional cost. Extensive experiments show that ESWT outperforms state-of-the-art LSR transformers and achieves a better trade-off between model performance and complexity.
Introduction
Single-image super-resolution (SR) aims to reconstruct high-resolution images from low-resolution counterparts. While Transformer-based architectures like SwinIR and HAT have set new performance benchmarks by capturing long-range dependencies, their high computational cost—in terms of parameters, FLOPs, and memory—often makes them unsuitable for mobile and edge applications. Lightweight SR (LSR) models must find a delicate balance between performance and efficiency. The Efficient Striped Window Transformer (ESWT) addresses this by introducing a streamlined architecture that optimizes spatial modeling and normalization for resource-constrained environments.
Methodology
The ESWT introduces three primary innovations to achieve high efficiency without sacrificing image quality:
Concise Transformer Structure
In deep models, Layer Normalization (LN) is standard. However, for the "shallow" regime of lightweight SR, the authors found that standard LN can be redundant or even detrimental to generalization. ESWT utilizes a more concise structure by embedding Batch Normalization (BN) directly into the self-attention calculation. This "BN-embedded SA" provides better training stability and generalization for small models, allowing for higher learning rates and improved performance.
Striped Window Mechanism
Standard square windows (e.g., $8 \times 8$) have a spatially restrictive receptive field. ESWT splits feature channels into two branches: one for vertical striped windows and one for horizontal striped windows. This allows the model to capture dependencies across the entire height or width of an image in a single layer, significantly expanding the effective receptive field at a lower computational cost than large square windows. This is particularly effective for structured patterns, such as architectural grids found in the Urban100 dataset.
Flexible Window Training Strategy
To further boost performance without increasing inference cost, the authors propose a multi-stage training process. The model is initially trained with square windows and then progressively adapted to longer stripes (e.g., $12 \times 12 \rightarrow 18 \times 8 \rightarrow 24 \times 6$). This strategy allows the model to learn local features first and then refine its understanding of long-range contextual information, effectively improving the receptive field purely through the training schedule.
Experimental Results
ESWT was trained on the DF2K dataset and evaluated across five standard benchmark datasets: Set5, Set14, BSD100, Urban100, and Manga109.
Performance and Efficiency Trade-offs
ESWT achieves state-of-the-art performance among lightweight transformers. For $\times 4$ upscaling on the Urban100 dataset, ESWT achieved a PSNR of 26.57 dB, surpassing ELAN-light (26.54 dB) and SwinIR (26.47 dB).
As shown in the figure below, ESWT provides a superior trade-off between image quality (SSIM) and hardware efficiency. It uses only 589K parameters and maintains the lowest latency (12.08ms) and memory consumption (37.60M) among compared Transformer-based LSR methods.
Conclusion
The Efficient Striped Window Transformer (ESWT) demonstrates that lightweight SR does not have to compromise on long-range dependency modeling. By rethinking normalization and employing a striped window mechanism alongside a flexible training strategy, ESWT achieves a new state-of-the-art in efficiency and performance. While the removal of LN is specifically beneficial for shallow architectures, the principles of geometric windowing and multi-stage training offer valuable insights for future efficient vision transformer designs.
Summary updated