N-Gram in Swin Transformers for Efficient Lightweight Image Super-Resolution
Not on the map. Why?
Abstract (arXiv)
While some studies have proven that Swin Transformer (Swin) with window self-attention (WSA) is suitable for single image super-resolution (SR), the plain WSA ignores the broad regions when reconstructing high-resolution images due to a limited receptive field. In addition, many deep learning SR methods suffer from intensive computations. To address these problems, we introduce the N-Gram context to the low-level vision with Transformers for the first time. We define N-Gram as neighboring local windows in Swin, which differs from text analysis that views N-Gram as consecutive characters or words. N-Grams interact with each other by sliding-WSA, expanding the regions seen to restore degraded pixels. Using the N-Gram context, we propose NGswin, an efficient SR network with SCDP bottleneck taking multi-scale outputs of the hierarchical encoder. Experimental results show that NGswin achieves competitive performance while maintaining an efficient structure when compared with previous leading methods. Moreover, we also improve other Swin-based SR methods with the N-Gram context, thereby building an enhanced model: SwinIR-NG. Our improved SwinIR-NG outperforms the current best lightweight SR approaches and establishes state-of-the-art results. Codes are available at https://github.com/rami0205/NGramSwin.
Key facts. Cited by 46 papers in the map (data through 14 Oct 2026). Builds on 53 of its 93 references that are in the map. First posted on arXiv 21 Nov 2022.
Builds on
53 of 93 references.
References · 53
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
- 2016Densely Connected Convolutional Networkscited by 6,720
- 2016Layer Normalizationcited by 5,669
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
- 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,375
38 more
- 2021SwinIR: Image Restoration Using Swin Transformercited by 1,887
- 2021Restormer: Efficient Transformer for High-Resolution Image Restorationcited by 1,627
- 2017Enhanced Deep Residual Networks for Single Image Super-Resolutioncited by 1,552
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,492
- 2018Image Super-Resolution Using Very Deep Residual Channel Attention Networkscited by 1,264
- 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,228
- 2016Real-Time Single Image and Video Super-Resolution Using an Efficient Sub-Pixel Convolutional Neural Networkcited by 1,204
- 2016Group Equivariant Convolutional Networkscited by 1,165
- 2015Accurate Image Super-Resolution Using Very Deep Convolutional Networkscited by 903
- 2020Pre-Trained Image Processing Transformercited by 893
- 2021Uformer: A General U-Shaped Transformer for Image Restorationcited by 866
- 2022Simple Baselines for Image Restorationcited by 708
- 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 527
- 2022MaxViT: Multi-Axis Vision Transformercited by 476
- 2022Masked Autoencoders for Point Cloud Self-supervised Learningcited by 459
- 2019Scene Text Visual Question Answeringcited by 331
- 2015Sketch-based Manga Retrieval using Manga109 Datasetcited by 329
- 2021Focal Self-attention for Local-Global Interactions in Vision Transformerscited by 288
- 2020Single Image Super-Resolution via a Holistic Attention Networkcited by 265
- 2018Fast, Accurate, and Lightweight Super-Resolution with Cascading Residual Networkcited by 264
- 2017MemNet: A Persistent Memory Network for Image Restorationcited by 244
- 2019Lightweight Image Super-Resolution with Information Multi-distillation Networkcited by 227
- 2022VRT: A Video Restoration Transformercited by 220
- 2016FractalNet: Ultra-Deep Neural Networks without Residualscited by 216
- 2022DaViT: Dual Attention Vision Transformerscited by 175
- 2022Efficient Long-Range Attention Network for Image Super-resolutioncited by 151
- 2020Residual Feature Distillation Network for Lightweight Image Super-Resolutioncited by 122
- 2017Unsupervised Learning of Sentence Embeddings using Compositional n-Gram Featurescited by 104
- 2021Blind Image Super-Resolution: A Survey and Beyondcited by 93
- 2022Accurate Image Restoration with Attention Retractable Transformercited by 85
- 2022Swin2SR: SwinV2 Transformer for Compressed Image Super-Resolution and Restorationcited by 73
- 2022VSA: Learning Varied-Size Window Attention in Vision Transformerscited by 43
- 2021Glance-and-Gaze Vision Transformercited by 42
- 2021Reflash Dropout in Image Super-Resolutioncited by 41
- 2019ZEN: Pre-training Chinese Text Encoder Enhanced by N-gram Representationscited by 35
- 2022Revisiting RCAN: Improved Training for Image Super-Resolutioncited by 32
- 2022Fast and Memory-Efficient Network Towards Efficient Image Super-Resolutioncited by 27
- 2021ZEN 2.0: Continue Training and Adaption for N-gram Enhanced Text Encoderscited by 22
50 most cited of 53 All 53 (JSON)
Built on by
Citing papers per year: 2022: 1; 2023: 6; 2024: 18; 2025: 11; 2026: 10.
46 papers.
Sort:
By area:
- 2024Transcending the Limit of Local Window: Advanced Super-Resolution Transformer with Adaptive Token Dictionarycited by 64
- 2024The Ninth NTIRE 2024 Efficient Super-Resolution Challenge Reportcited by 57
- 2024HiT-SR: Hierarchical Transformer for Efficient Image Super-Resolutioncited by 42
- 2024Efficient Real-world Image Super-Resolution Via Adaptive Directional Gradient Convolutioncited by 37
- 2024CAMixerSR: Only Details Need More "Attention"cited by 30
- 2025Progressive Focused Transformer for Single Image Super-Resolutioncited by 25
- 2023Swift Parameter-free Attention Network for Efficient Super-Resolutioncited by 24
- 2024See More Details: Efficient Image Super-Resolution by Experts Miningcited by 23
- 2022Efficient Image Super-Resolution with Feature Interaction Weighted Hybrid Networkcited by 13
- 2024Transforming Image Super-Resolution: A ConvFormer-based Efficient Approachcited by 13
- 2025Dual-domain Modulation Network for Lightweight Image Super-Resolutioncited by 8
- 2024Partial Large Kernel CNNs for Efficient Super-Resolutioncited by 7
34 more
- 2023Reciprocal Attention Mixing Transformer for Lightweight Image Restorationcited by 6
- 2025Spiking Meets Attention: Efficient Remote Sensing Image Super-Resolution with Attention Spiking Neural Networkscited by 6
- 2025C2D-ISR: Optimizing Attention-based Image Super-resolution from Continuous to Discrete Scalescited by 6
- 2026Training-Free Model Ensemble for Single-Image Super-Resolution via Strong-Branch Compensationcited by 6
- 2024MAT: Multi-Range Attention Transformer for Efficient Image Super-Resolutioncited by 5
- 2023Efficient Mixed Transformer for Single Image Super-Resolutioncited by 4
- 2025PromptSR: Cascade Prompting for Lightweight Image Super-Resolutioncited by 4
- 2024Event Camera Demosaicing via Swin Transformer and Pixel-focus Losscited by 3
- 2024LIPT: Latency-aware Image Processing Transformercited by 3
- 2025FourierSR: A Fourier Token-based Plugin for Efficient Image Super-Resolutioncited by 3
- 2026ATD: Improved Transformer with Adaptive Token Dictionary for Image Restorationcited by 3
- 2023Exploration of Lightweight Single Image Denoising with Transformers and Truly Fair Trainingcited by 2
- 2023Cross-Spatial Pixel Integration and Cross-Stage Feature Fusion Based Transformer Network for Remote Sensing Image Super-Resolutioncited by 2
- 2024Revisiting N-Gram Models: Their Impact in Modern Neural Networks for Handwritten Text Recognitioncited by 2
- 2024Adaptive Multi-modal Fusion of Spatially Variant Kernel Refinement with Diffusion Model for Blind Image Super-Resolutioncited by 1
- 2024Large coordinate kernel attention network for lightweight image super-resolutioncited by 1
- 2024FFNet: MetaMixer-based Efficient Convolutional Mixer Designcited by 1
- 2024LMLT: Low-to-high Multi-Level Vision Transformer for Image Super-Resolutioncited by 1
- 2024MoCoLSK: Modality Conditioned High-Resolution Downscaling for Land Surface Temperaturecited by 1
- 2025Deep Learning Empowered Super-Resolution: A Comprehensive Survey and Future Prospectscited by 1
- 2025Dual-domain Adaptation Networks for Realistic Image Super-resolutioncited by 1
- 2026From Local Windows to Adaptive Candidates via Individualized Exploratory: Rethinking Attention for Image Super-Resolutioncited by 1
- 2026Rank-Factorized Implicit Neural Bias: Scaling Super-Resolution Transformer with FlashAttentioncited by 1
- 2026EchoSR: Efficient Context Harnessing for Lightweight Image Super-Resolutioncited by 1
- 2023Image Super-Resolution Reconstruction Network based on Enhanced Swin Transformer via Alternating Aggregation of Local-Global Featurescited by 0
- 2024ML-CrAIST: Multi-scale Low-high Frequency Information-based Cross black Attention with Image Super-resolving Transformercited by 0
- 2025Volume Tells: Dual Cycle-Consistent Diffusion for 3D Fluorescence Microscopy De-noising and Super-Resolutioncited by 0
- 2025Variable Rate Image Compression via N-Gram Context based Swin-transformercited by 0
- 2025DeepRFTv2: Kernel-level Learning for Image Deblurringcited by 0
- 2026NGram-MoSE: Efficient Remote Sensing Super-Resolution via N-Gram Context and Mixture-of-Expertscited by 0
- 2026CUST: Clustered Unit-level Similarity Transformer for Lightweight Image Super-Resolutioncited by 0
- 2026SFMformer: A Spatial-Frequency Modulation Transformer for Lightweight Image Super-Resolutioncited by 0
- 2026LaST-SR: Laplace-Inspired Steady-Transient Complex-Frequency Decomposition for Single Image Super-Resolutioncited by 0
- 2026DPAMixerSR: An Efficient Degradation-Pattern-Aware Model for Image Super-Resolutioncited by 0
- 2026DPAMixerSR: An Efficient Degradation-Pattern-Aware Model for Image Super-Resolution26 Sep 2026
- 2026LaST-SR: Laplace-Inspired Steady-Transient Complex-Frequency Decomposition for Single Image Super-Resolution2 Sep 2026
- 2026SFMformer: A Spatial-Frequency Modulation Transformer for Lightweight Image Super-Resolution18 Aug 2026
- 2026CUST: Clustered Unit-level Similarity Transformer for Lightweight Image Super-Resolution13 Jul 2026
- 2026NGram-MoSE: Efficient Remote Sensing Super-Resolution via N-Gram Context and Mixture-of-Experts7 Jun 2026
- 2026EchoSR: Efficient Context Harnessing for Lightweight Image Super-Resolution17 May 2026
- 2026Training-Free Model Ensemble for Single-Image Super-Resolution via Strong-Branch Compensation13 Apr 2026
- 2026Rank-Factorized Implicit Neural Bias: Scaling Super-Resolution Transformer with FlashAttention6 Mar 2026
- 2026ATD: Improved Transformer with Adaptive Token Dictionary for Image Restoration3 Mar 2026
- 2026From Local Windows to Adaptive Candidates via Individualized Exploratory: Rethinking Attention for Image Super-Resolution13 Jan 2026
- 2025DeepRFTv2: Kernel-level Learning for Image Deblurring26 Nov 2025
- 2025Dual-domain Adaptation Networks for Realistic Image Super-resolution21 Nov 2025
34 more
- 2025Variable Rate Image Compression via N-Gram Context based Swin-transformer28 Sep 2025
- 2025Deep Learning Empowered Super-Resolution: A Comprehensive Survey and Future Prospects19 Sep 2025
- 2025PromptSR: Cascade Prompting for Lightweight Image Super-Resolution5 Jul 2025
- 2025Progressive Focused Transformer for Single Image Super-Resolution26 Mar 2025
- 2025C2D-ISR: Optimizing Attention-based Image Super-resolution from Continuous to Discrete Scales17 Mar 2025
- 2025Dual-domain Modulation Network for Lightweight Image Super-Resolution13 Mar 2025
- 2025FourierSR: A Fourier Token-based Plugin for Efficient Image Super-Resolution13 Mar 2025
- 2025Spiking Meets Attention: Efficient Remote Sensing Image Super-Resolution with Attention Spiking Neural Networks6 Mar 2025
- 2025Volume Tells: Dual Cycle-Consistent Diffusion for 3D Fluorescence Microscopy De-noising and Super-Resolution4 Mar 2025
- 2024MAT: Multi-Range Attention Transformer for Efficient Image Super-Resolution26 Nov 2024
- 2024MoCoLSK: Modality Conditioned High-Resolution Downscaling for Land Surface Temperature30 Sep 2024
- 2024LMLT: Low-to-high Multi-Level Vision Transformer for Image Super-Resolution5 Sep 2024
- 2024ML-CrAIST: Multi-scale Low-high Frequency Information-based Cross black Attention with Image Super-resolving Transformer19 Aug 2024
- 2024HiT-SR: Hierarchical Transformer for Efficient Image Super-Resolution8 Jul 2024
- 2024FFNet: MetaMixer-based Efficient Convolutional Mixer Design4 Jun 2024
- 2024Large coordinate kernel attention network for lightweight image super-resolution15 May 2024
- 2024Efficient Real-world Image Super-Resolution Via Adaptive Directional Gradient Convolution11 May 2024
- 2024Revisiting N-Gram Models: Their Impact in Modern Neural Networks for Handwritten Text Recognition30 Apr 2024
- 2024Partial Large Kernel CNNs for Efficient Super-Resolution18 Apr 2024
- 2024The Ninth NTIRE 2024 Efficient Super-Resolution Challenge Report16 Apr 2024
- 2024LIPT: Latency-aware Image Processing Transformer9 Apr 2024
- 2024Event Camera Demosaicing via Swin Transformer and Pixel-focus Loss3 Apr 2024
- 2024Adaptive Multi-modal Fusion of Spatially Variant Kernel Refinement with Diffusion Model for Blind Image Super-Resolution9 Mar 2024
- 2024CAMixerSR: Only Details Need More "Attention"29 Feb 2024
- 2024See More Details: Efficient Image Super-Resolution by Experts Mining5 Feb 2024
- 2024Transcending the Limit of Local Window: Advanced Super-Resolution Transformer with Adaptive Token Dictionary16 Jan 2024
- 2024Transforming Image Super-Resolution: A ConvFormer-based Efficient Approach11 Jan 2024
- 2023Image Super-Resolution Reconstruction Network based on Enhanced Swin Transformer via Alternating Aggregation of Local-Global Features30 Dec 2023
- 2023Swift Parameter-free Attention Network for Efficient Super-Resolution21 Nov 2023
- 2023Cross-Spatial Pixel Integration and Cross-Stage Feature Fusion Based Transformer Network for Remote Sensing Image Super-Resolution6 Jul 2023
- 2023Reciprocal Attention Mixing Transformer for Lightweight Image Restoration19 May 2023
- 2023Efficient Mixed Transformer for Single Image Super-Resolution19 May 2023
- 2023Exploration of Lightweight Single Image Denoising with Transformers and Truly Fair Training4 Apr 2023
- 2022Efficient Image Super-Resolution with Feature Interaction Weighted Hybrid Network29 Dec 2022
- 2024Transcending the Limit of Local Window: Advanced Super-Resolution Transformer with Adaptive Token Dictionarycited by 64
- 2024The Ninth NTIRE 2024 Efficient Super-Resolution Challenge Reportcited by 57
- 2024HiT-SR: Hierarchical Transformer for Efficient Image Super-Resolutioncited by 42
- 2024Efficient Real-world Image Super-Resolution Via Adaptive Directional Gradient Convolutioncited by 37
- 2024CAMixerSR: Only Details Need More "Attention"cited by 30
- 2025Progressive Focused Transformer for Single Image Super-Resolutioncited by 25
- 2023Swift Parameter-free Attention Network for Efficient Super-Resolutioncited by 24
- 2024See More Details: Efficient Image Super-Resolution by Experts Miningcited by 23
- 2022Efficient Image Super-Resolution with Feature Interaction Weighted Hybrid Networkcited by 13
- 2024Transforming Image Super-Resolution: A ConvFormer-based Efficient Approachcited by 13
- 2025Dual-domain Modulation Network for Lightweight Image Super-Resolutioncited by 8
- 2024Partial Large Kernel CNNs for Efficient Super-Resolutioncited by 7
12 most cited of 45 All 45 (JSON)
- 2026DPAMixerSR: An Efficient Degradation-Pattern-Aware Model for Image Super-Resolution26 Sep 2026
- 2026LaST-SR: Laplace-Inspired Steady-Transient Complex-Frequency Decomposition for Single Image Super-Resolution2 Sep 2026
- 2026SFMformer: A Spatial-Frequency Modulation Transformer for Lightweight Image Super-Resolution18 Aug 2026
- 2026CUST: Clustered Unit-level Similarity Transformer for Lightweight Image Super-Resolution13 Jul 2026
- 2026NGram-MoSE: Efficient Remote Sensing Super-Resolution via N-Gram Context and Mixture-of-Experts7 Jun 2026
- 2026EchoSR: Efficient Context Harnessing for Lightweight Image Super-Resolution17 May 2026
- 2026Training-Free Model Ensemble for Single-Image Super-Resolution via Strong-Branch Compensation13 Apr 2026
- 2026Rank-Factorized Implicit Neural Bias: Scaling Super-Resolution Transformer with FlashAttention6 Mar 2026
- 2026ATD: Improved Transformer with Adaptive Token Dictionary for Image Restoration3 Mar 2026
- 2026From Local Windows to Adaptive Candidates via Individualized Exploratory: Rethinking Attention for Image Super-Resolution13 Jan 2026
- 2025DeepRFTv2: Kernel-level Learning for Image Deblurring26 Nov 2025
- 2025Dual-domain Adaptation Networks for Realistic Image Super-resolution21 Nov 2025
12 newest of 45 All 45 (JSON)