mlsanityData to 14 Oct 2026

N-Gram in Swin Transformers for Efficient Lightweight Image Super-Resolution

arXiv 2211.11436 ↗First posted 21 Nov 2022cs.CVcited by 46

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  4. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  5. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  6. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
  7. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  8. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
  9. 2016Densely Connected Convolutional Networkscited by 6,720
  10. 2016Layer Normalizationcited by 5,669
  11. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
  12. 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,375
38 more
  1. 2021SwinIR: Image Restoration Using Swin Transformercited by 1,887
  2. 2021Restormer: Efficient Transformer for High-Resolution Image Restorationcited by 1,627
  3. 2017Enhanced Deep Residual Networks for Single Image Super-Resolutioncited by 1,552
  4. 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,492
  5. 2018Image Super-Resolution Using Very Deep Residual Channel Attention Networkscited by 1,264
  6. 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,228
  7. 2016Real-Time Single Image and Video Super-Resolution Using an Efficient Sub-Pixel Convolutional Neural Networkcited by 1,204
  8. 2016Group Equivariant Convolutional Networkscited by 1,165
  9. 2015Accurate Image Super-Resolution Using Very Deep Convolutional Networkscited by 903
  10. 2020Pre-Trained Image Processing Transformercited by 893
  11. 2021Uformer: A General U-Shaped Transformer for Image Restorationcited by 866
  12. 2022Simple Baselines for Image Restorationcited by 708
  13. 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 527
  14. 2022MaxViT: Multi-Axis Vision Transformercited by 476
  15. 2022Masked Autoencoders for Point Cloud Self-supervised Learningcited by 459
  16. 2019Scene Text Visual Question Answeringcited by 331
  17. 2015Sketch-based Manga Retrieval using Manga109 Datasetcited by 329
  18. 2021Focal Self-attention for Local-Global Interactions in Vision Transformerscited by 288
  19. 2020Single Image Super-Resolution via a Holistic Attention Networkcited by 265
  20. 2018Fast, Accurate, and Lightweight Super-Resolution with Cascading Residual Networkcited by 264
  21. 2017MemNet: A Persistent Memory Network for Image Restorationcited by 244
  22. 2019Lightweight Image Super-Resolution with Information Multi-distillation Networkcited by 227
  23. 2022VRT: A Video Restoration Transformercited by 220
  24. 2016FractalNet: Ultra-Deep Neural Networks without Residualscited by 216
  25. 2022DaViT: Dual Attention Vision Transformerscited by 175
  26. 2022Efficient Long-Range Attention Network for Image Super-resolutioncited by 151
  27. 2020Residual Feature Distillation Network for Lightweight Image Super-Resolutioncited by 122
  28. 2017Unsupervised Learning of Sentence Embeddings using Compositional n-Gram Featurescited by 104
  29. 2021Blind Image Super-Resolution: A Survey and Beyondcited by 93
  30. 2022Accurate Image Restoration with Attention Retractable Transformercited by 85
  31. 2022Swin2SR: SwinV2 Transformer for Compressed Image Super-Resolution and Restorationcited by 73
  32. 2022VSA: Learning Varied-Size Window Attention in Vision Transformerscited by 43
  33. 2021Glance-and-Gaze Vision Transformercited by 42
  34. 2021Reflash Dropout in Image Super-Resolutioncited by 41
  35. 2019ZEN: Pre-training Chinese Text Encoder Enhanced by N-gram Representationscited by 35
  36. 2022Revisiting RCAN: Improved Training for Image Super-Resolutioncited by 32
  37. 2022Fast and Memory-Efficient Network Towards Efficient Image Super-Resolutioncited by 27
  38. 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

Cited by year (2026 to 14 Oct)

Citing papers per year: 2022: 1; 2023: 6; 2024: 18; 2025: 11; 2026: 10.

46 papers.

Sort:

By area:

  1. 2024Transcending the Limit of Local Window: Advanced Super-Resolution Transformer with Adaptive Token Dictionarycited by 64
  2. 2024The Ninth NTIRE 2024 Efficient Super-Resolution Challenge Reportcited by 57
  3. 2024HiT-SR: Hierarchical Transformer for Efficient Image Super-Resolutioncited by 42
  4. 2024Efficient Real-world Image Super-Resolution Via Adaptive Directional Gradient Convolutioncited by 37
  5. 2024CAMixerSR: Only Details Need More "Attention"cited by 30
  6. 2025Progressive Focused Transformer for Single Image Super-Resolutioncited by 25
  7. 2023Swift Parameter-free Attention Network for Efficient Super-Resolutioncited by 24
  8. 2024See More Details: Efficient Image Super-Resolution by Experts Miningcited by 23
  9. 2022Efficient Image Super-Resolution with Feature Interaction Weighted Hybrid Networkcited by 13
  10. 2024Transforming Image Super-Resolution: A ConvFormer-based Efficient Approachcited by 13
  11. 2025Dual-domain Modulation Network for Lightweight Image Super-Resolutioncited by 8
  12. 2024Partial Large Kernel CNNs for Efficient Super-Resolutioncited by 7
34 more
  1. 2023Reciprocal Attention Mixing Transformer for Lightweight Image Restorationcited by 6
  2. 2025Spiking Meets Attention: Efficient Remote Sensing Image Super-Resolution with Attention Spiking Neural Networkscited by 6
  3. 2025C2D-ISR: Optimizing Attention-based Image Super-resolution from Continuous to Discrete Scalescited by 6
  4. 2026Training-Free Model Ensemble for Single-Image Super-Resolution via Strong-Branch Compensationcited by 6
  5. 2024MAT: Multi-Range Attention Transformer for Efficient Image Super-Resolutioncited by 5
  6. 2023Efficient Mixed Transformer for Single Image Super-Resolutioncited by 4
  7. 2025PromptSR: Cascade Prompting for Lightweight Image Super-Resolutioncited by 4
  8. 2024Event Camera Demosaicing via Swin Transformer and Pixel-focus Losscited by 3
  9. 2024LIPT: Latency-aware Image Processing Transformercited by 3
  10. 2025FourierSR: A Fourier Token-based Plugin for Efficient Image Super-Resolutioncited by 3
  11. 2026ATD: Improved Transformer with Adaptive Token Dictionary for Image Restorationcited by 3
  12. 2023Exploration of Lightweight Single Image Denoising with Transformers and Truly Fair Trainingcited by 2
  13. 2023Cross-Spatial Pixel Integration and Cross-Stage Feature Fusion Based Transformer Network for Remote Sensing Image Super-Resolutioncited by 2
  14. 2024Revisiting N-Gram Models: Their Impact in Modern Neural Networks for Handwritten Text Recognitioncited by 2
  15. 2024Adaptive Multi-modal Fusion of Spatially Variant Kernel Refinement with Diffusion Model for Blind Image Super-Resolutioncited by 1
  16. 2024Large coordinate kernel attention network for lightweight image super-resolutioncited by 1
  17. 2024FFNet: MetaMixer-based Efficient Convolutional Mixer Designcited by 1
  18. 2024LMLT: Low-to-high Multi-Level Vision Transformer for Image Super-Resolutioncited by 1
  19. 2024MoCoLSK: Modality Conditioned High-Resolution Downscaling for Land Surface Temperaturecited by 1
  20. 2025Deep Learning Empowered Super-Resolution: A Comprehensive Survey and Future Prospectscited by 1
  21. 2025Dual-domain Adaptation Networks for Realistic Image Super-resolutioncited by 1
  22. 2026From Local Windows to Adaptive Candidates via Individualized Exploratory: Rethinking Attention for Image Super-Resolutioncited by 1
  23. 2026Rank-Factorized Implicit Neural Bias: Scaling Super-Resolution Transformer with FlashAttentioncited by 1
  24. 2026EchoSR: Efficient Context Harnessing for Lightweight Image Super-Resolutioncited by 1
  25. 2023Image Super-Resolution Reconstruction Network based on Enhanced Swin Transformer via Alternating Aggregation of Local-Global Featurescited by 0
  26. 2024ML-CrAIST: Multi-scale Low-high Frequency Information-based Cross black Attention with Image Super-resolving Transformercited by 0
  27. 2025Volume Tells: Dual Cycle-Consistent Diffusion for 3D Fluorescence Microscopy De-noising and Super-Resolutioncited by 0
  28. 2025Variable Rate Image Compression via N-Gram Context based Swin-transformercited by 0
  29. 2025DeepRFTv2: Kernel-level Learning for Image Deblurringcited by 0
  30. 2026NGram-MoSE: Efficient Remote Sensing Super-Resolution via N-Gram Context and Mixture-of-Expertscited by 0
  31. 2026CUST: Clustered Unit-level Similarity Transformer for Lightweight Image Super-Resolutioncited by 0
  32. 2026SFMformer: A Spatial-Frequency Modulation Transformer for Lightweight Image Super-Resolutioncited by 0
  33. 2026LaST-SR: Laplace-Inspired Steady-Transient Complex-Frequency Decomposition for Single Image Super-Resolutioncited by 0
  34. 2026DPAMixerSR: An Efficient Degradation-Pattern-Aware Model for Image Super-Resolutioncited by 0