mlsanityData to 14 Oct 2026

StyleSwin: Transformer-based GAN for High-resolution Image Generation

arXiv 2112.10762 ↗First posted 20 Dec 2021cs.CVcited by 152

Not on the map. Why?

Cited by 39 in Diffusion models, but placed by its own abstract, which didn’t fit.

Abstract (arXiv)

Despite the tantalizing success in a broad of vision tasks, transformers have not yet demonstrated on-par ability as ConvNets in high-resolution image generative modeling. In this paper, we seek to explore using pure transformers to build a generative adversarial network for high-resolution image synthesis. To this end, we believe that local attention is crucial to strike the balance between computational efficiency and modeling capacity. Hence, the proposed generator adopts Swin transformer in a style-based architecture. To achieve a larger receptive field, we propose double attention which simultaneously leverages the context of the local and the shifted windows, leading to improved generation quality. Moreover, we show that offering the knowledge of the absolute position that has been lost in window-based transformers greatly benefits the generation quality. The proposed StyleSwin is scalable to high resolutions, with both the coarse geometry and fine structures benefit from the strong expressivity of transformers. However, blocking artifacts occur during high-resolution synthesis because performing the local attention in a block-wise manner may break the spatial coherency. To solve this, we empirically investigate various solutions, among which we find that employing a wavelet discriminator to examine the spectral discrepancy effectively suppresses the artifacts. Extensive experiments show the superiority over prior transformer-based GANs, especially on high resolutions, e.g., 1024x1024. The StyleSwin, without complex training strategies, excels over StyleGAN on CelebA-HQ 1024, and achieves on-par performance on FFHQ-1024, proving the promise of using transformers for high-resolution image generation. The code and models will be available at https://github.com/microsoft/StyleSwin.

Key facts. Cited by 152 papers in the map (data through 14 Oct 2026). Builds on 61 of its 75 references that are in the map. First posted on arXiv 20 Dec 2021.

Builds on

61 of 75 references.

References · 61

  1. 2017Attention Is All You Needcited by 60,361
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  5. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  6. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  7. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
  8. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
  9. 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 6,013
  10. 2016Layer Normalizationcited by 5,669
  11. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  12. 2016Image-to-Image Translation with Conditional Adversarial Networkscited by 4,527
38 more
  1. 2014Deep Learning Face Attributes in the Wildcited by 3,693
  2. 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,588
  3. 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,253
  4. 2017Progressive Growing of GANs for Improved Quality, Stability, and Variationcited by 2,988
  5. 2018Large Scale GAN Training for High Fidelity Natural Image Synthesiscited by 2,626
  6. 2017Improved Training of Wasserstein GANscited by 2,235
  7. 2020Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional Domainscited by 2,200
  8. 2015Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networkscited by 2,054
  9. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
  10. 2018Spectral Normalization for Generative Adversarial Networkscited by 1,636
  11. 2018Glow: Generative Flow with Invertible 1x1 Convolutionscited by 1,545
  12. 2019Root Mean Square Layer Normalizationcited by 1,480
  13. 2015LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loopcited by 1,355
  14. 2018Demystifying MMD GANscited by 1,293
  15. 2016Instance Normalization: The Missing Ingredient for Fast Stylizationcited by 1,198
  16. 2021Alias-Free Generative Adversarial Networkscited by 1,184
  17. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,101
  18. 2021Transformers in Vision: A Surveycited by 1,013
  19. 2016Least Squares Generative Adversarial Networkscited by 1,001
  20. 2021CvT: Introducing Convolutions to Vision Transformerscited by 947
  21. 2016Pixel Recurrent Neural Networkscited by 816
  22. 2018Self-Attention Generative Adversarial Networkscited by 809
  23. 2018Which Training Methods for GANs do actually Converge?cited by 679
  24. 2021Transformer in Transformercited by 633
  25. 2021CoAtNet: Marrying Convolution and Attention for All Data Sizescited by 569
  26. 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 527
  27. 2020Differentiable Augmentation for Data-Efficient GAN Trainingcited by 363
  28. 2019On the Relationship between Self-Attention and Convolutional Layerscited by 300
  29. 2018The relativistic discriminator: a key element missing from standard GANcited by 238
  30. 2021Scaling Local Self-Attention for Parameter Efficient Visual Backbonescited by 220
  31. 2019Local Relation Networks for Image Recognitioncited by 210
  32. 2020How Much Position Information Do Convolutional Neural Networks Encode?cited by 172
  33. 2019Effectively Unbiased FID and Inception Score and where to find themcited by 165
  34. 2020On Translation Invariance in CNNs: Convolutional Layers can Exploit Absolute Spatial Locationcited by 142
  35. 2020Adversarial Generation of Continuous Imagescited by 135
  36. 2020A U-Net Based Discriminator for Generative Adversarial Networkscited by 128
  37. 2020What makes instance discrimination good for transfer learning?cited by 111
  38. 2021ViTGAN: Training GANs with Vision Transformerscited by 110

50 most cited of 61 All 61 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2021: 1; 2022: 29; 2023: 47; 2024: 43; 2025: 23; 2026: 9.

152 papers.

Sort:

By area:

  1. 2023NExT-GPT: Any-to-Any Multimodal LLMcited by 615
  2. 2022All are Worth Words: A ViT Backbone for Diffusion Modelscited by 502
  3. 2022Paint by Example: Exemplar-based Image Editing with Diffusion Modelscited by 489
  4. 2022Rodin: A Generative Model for Sculpting 3D Digital Avatars Using Diffusioncited by 309
  5. 2023Photorealistic Video Generation with Diffusion Modelscited by 306
  6. 2024LocalMamba: Visual State Space Model with Windowed Selective Scancited by 236
  7. 2023Retinexformer: One-stage Retinex-based Transformer for Low-light Image Enhancementcited by 231
  8. 2023Exposing flaws of generative model evaluation metrics and their unfair treatment of diffusion modelscited by 205
  9. 2022Pretraining is All You Need for Image-to-Image Translationcited by 160
  10. 2022Improving Sample Quality of Diffusion Models Using Self-Attention Guidancecited by 154
  11. 2024Scalable High-Resolution Pixel-Space Image Synthesis with Hourglass Diffusion Transformerscited by 118
  12. 2022Wavelet Diffusion Models are fast and scalable Image Generatorscited by 117
38 more
  1. 2023Diffusion Models for Image Restoration and Enhancement: A Comprehensive Surveycited by 109
  2. 2023DiffiT: Diffusion Vision Transformers for Image Generationcited by 106
  3. 2023Relay Diffusion: Unifying diffusion process across resolutions for image synthesiscited by 79
  4. 2023Structure-Aware Sparse-View X-ray 3D Reconstructioncited by 72
  5. 2022MetaPortrait: Identity-Preserving Talking Head Generation with Fast Personalized Adaptationcited by 69
  6. 2022Unifying Diffusion Models' Latent Space, with Applications to CycleDiffusion and Guidancecited by 67
  7. 2022Dilated Neighborhood Attention Transformercited by 64
  8. 2024Pretraining Codomain Attention Neural Operators for Solving Multiphysics PDEscited by 59
  9. 2024Boosting Diffusion Models with Moving Average Sampling in Frequency Domaincited by 55
  10. 2021Multimodal Image Synthesis and Editing: The Generative AI Eracited by 52
  11. 2025Is Artificial Intelligence Generated Image Detection a Solved Problem?cited by 51
  12. 2024Community Forensics: Using Thousands of Generators to Train Fake Image Detectorscited by 50
  13. 2024GaussianCube: A Structured and Explicit Radiance Representation for 3D Generative Modelingcited by 45
  14. 2024Towards Semantic Equivalence of Tokenization in Multimodal LLMcited by 45
  15. 2023Generative Modeling through the Semi-dual Formulation of Unbalanced Optimal Transportcited by 41
  16. 2022StudioGAN: A Taxonomy and Benchmark of GANs for Image Synthesiscited by 38
  17. 2023PTW: Pivotal Tuning Watermarking for Pre-Trained Image Generatorscited by 37
  18. 2023ReMasker: Imputing Tabular Data with Masked Autoencodingcited by 37
  19. 2023HQG-Net: Unpaired Medical Image Enhancement with High-Quality Guidancecited by 36
  20. 2024RodinHD: High-Fidelity 3D Avatar Generation with Diffusion Modelscited by 36
  21. 2024FreeEdit: Mask-free Reference-based Image Editing with Multi-modal Instructioncited by 36
  22. 2022State-of-the-Art in the Architecture, Methods and Applications of StyleGANcited by 34
  23. 2022Self-Supervised Masked Convolutional Transformer Block for Anomaly Detectioncited by 34
  24. 2022Expediting Large-Scale Vision Transformer for Dense Prediction without Fine-tuningcited by 33
  25. 2022Masked Lip-Sync Prediction by Audio-Visual Contextual Exploitation in Transformerscited by 33
  26. 2023Efficient-VQGAN: Towards High-Resolution Image Generation with Efficient Vision Transformerscited by 33
  27. 2025Gaussian Variation Field Diffusion for High-fidelity Video-to-4D Synthesiscited by 33
  28. 2024Graph Transformers: A Surveycited by 32
  29. 2024Blind Image Restoration via Fast Diffusion Inversioncited by 30
  30. 2022Learning Model Predictive Controllers with Real-Time Attention for Real-World Navigationcited by 29
  31. 2023Materialistic: Selecting Similar Materials in Imagescited by 26
  32. 2023Cousins Of The Vendi Score: A Family Of Similarity-Based Diversity Metrics For Science And Machine Learningcited by 24
  33. 2024Scalable Wasserstein Gradient Flow for Generative Modeling through Unbalanced Optimal Transportcited by 23
  34. 20223DFaceShop: Explicitly Controllable 3D-Aware Portrait Generationcited by 22
  35. 2024Beyond Deepfake Images: Detecting AI-Generated Videoscited by 22
  36. 2022Recent Advances in Vision Transformer: A Survey and Outlook of Recent Workcited by 21
  37. 2023∞-Diff: Infinite Resolution Diffusion with Subsampled Mollified Statescited by 21
  38. 2022Learning Attention Propagation for Compositional Zero-Shot Learningcited by 20

50 most cited of 152 All 152 (JSON)