Abstract
Single Image Super-Resolution (SISR) requires a delicate balance between reconstruction quality and computational efficiency. While Convolutional Neural Networks (CNNs) are efficient at local feature extraction, they often miss global context. Conversely, Vision Transformers (ViTs) capture long-range dependencies but at a high computational cost. This paper introduces DLGSANet, a lightweight architecture that integrates Multi-Head Dynamic Local Self-Attention (MHDLSA) and Sparse Global Self-Attention (SparseGSA). DLGSANet achieves state-of-the-art results on standard benchmarks, particularly on complex structural datasets like Urban100, while maintaining a significantly smaller parameter footprint than traditional heavyweights.
Introduction
The primary challenge in SISR is reconstructing high-resolution (HR) images from low-resolution (LR) inputs without excessive memory or processing overhead. Traditional CNN-based methods are limited by their local receptive fields, failing to capture the global structures necessary for high-quality reconstruction. While window-based Transformers like SwinIR attempt to address this, they often introduce boundary artifacts and struggle with irrelevant information within windows.
DLGSANet addresses these limitations by hybridizing dynamic local convolutions with a sparse global attention mechanism. This approach allows the model to adaptively focus on relevant local details and significant global patterns, optimizing both performance and efficiency.
Methods
The DLGSANet architecture is built upon three innovative components designed to maximize feature extraction efficiency.
Multi-Head Dynamic Local Self-Attention (MHDLSA)
Unlike static window-based attention, MHDLSA utilizes a fully convolutional approach to generate dynamic weights. These weights are content-adaptive, allowing the network to extract local features more flexibly across the entire image without the constraints of fixed boundaries.
Sparse Global Self-Attention (SparseGSA)
Standard global attention mechanisms often suffer from noise because they calculate similarities between all tokens, many of which are irrelevant. SparseGSA introduces a ReLU-based sparsity mechanism that filters out low-similarity values. By forcing the model to focus only on the most informative global features, SparseGSA improves reconstruction sharpness and reduces computational noise.
Hybrid Dynamic-Transformer Block (HDTB)
The HDTB serves as the fundamental building block, integrating MHDLSA and SparseGSA to learn local textures and global patterns concurrently. These blocks are further organized into Residual Hybrid Dynamic-Transformer Groups (RHDTGs) to facilitate stable training of deep networks.
Experiments and Results
The model was trained on the DIV2K dataset and evaluated across five standard benchmarks: Set5, Set14, B100, Urban100, and Manga109.
Performance and Efficiency
DLGSANet demonstrates a superior trade-off between accuracy (PSNR) and complexity. As shown in the comparison below, it significantly outperforms established models like EDSR and RCAN while using a fraction of the parameters.
On the Urban100 dataset (x4 scale), DLGSANet (~4.7M parameters) achieves a 0.62dB PSNR improvement over EDSR while requiring 10x fewer parameters and FLOPs. It also maintains a competitive edge over other lightweight models like SwinIR-light and ELAN-light.
Qualitative Analysis
Visual evaluations reveal that DLGSANet is particularly effective at recovering fine, repetitive structures—such as building grids and stripes—where other models often produce aliasing or blurring. The combination of dynamic local kernels and sparse global attention allows for cleaner edge reconstruction and better preservation of structural integrity.
Conclusion
DLGSANet represents a significant step forward in lightweight SISR. By leveraging sparsity in global attention and dynamic weights in local convolution, it overcomes the traditional limitations of both CNNs and Transformers. While future work may explore its performance under real-world degradation or in video sequences, DLGSANet currently provides a highly efficient and effective solution for high-quality image reconstruction.
Summary updated