mlsanityData to 7 Oct 2026

TransGAN: Two Pure Transformers Can Make One Strong GAN, and That Can Scale Up

arXiv 2102.07074 ↗First posted 14 Feb 2021cs.CVcited by 162

Not on the map. Why?

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

Abstract (arXiv)

The recent explosive interest on transformers has suggested their potential to become powerful "universal" models for computer vision tasks, such as classification, detection, and segmentation. While those attempts mainly study the discriminative models, we explore transformers on some more notoriously difficult vision tasks, e.g., generative adversarial networks (GANs). Our goal is to conduct the first pilot study in building a GAN completely free of convolutions, using only pure transformer-based architectures. Our vanilla GAN architecture, dubbed TransGAN, consists of a memory-friendly transformer-based generator that progressively increases feature resolution, and correspondingly a multi-scale discriminator to capture simultaneously semantic contexts and low-level textures. On top of them, we introduce the new module of grid self-attention for alleviating the memory bottleneck further, in order to scale up TransGAN to high-resolution generation. We also develop a unique training recipe including a series of techniques that can mitigate the training instability issues of TransGAN, such as data augmentation, modified normalization, and relative position encoding. Our best architecture achieves highly competitive performance compared to current state-of-the-art GANs using convolutional backbones. Specifically, TransGAN sets new state-of-the-art inception score of 10.43 and FID of 18.28 on STL-10, outperforming StyleGAN-V2. When it comes to higher-resolution (e.g. 256 x 256) generation tasks, such as on CelebA-HQ and LSUN-Church, TransGAN continues to produce diverse visual examples with high fidelity and impressive texture details. In addition, we dive deep into the transformer-based generation models to understand how their behaviors differ from convolutional ones, by visualizing training dynamics. The code is available at https://github.com/VITA-Group/TransGAN.

Key facts. Cited by 162 papers in the map (data through 7 Oct 2026). Builds on 68 of its 87 references that are in the map. First posted on arXiv 14 Feb 2021.

Builds on

68 of 87 references.

References · 68

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  5. 2020End-to-End Object Detection with Transformerscited by 7,384
  6. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
  7. 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 5,986
  8. 2016Layer Normalizationcited by 5,579
  9. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  10. 2016Image-to-Image Translation with Conditional Adversarial Networkscited by 4,510
  11. 2014Deep Learning Face Attributes in the Wildcited by 3,679
  12. 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,580
38 more
  1. 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
  2. 2020Longformer: The Long-Document Transformercited by 3,362
  3. 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,229
  4. 2017Progressive Growing of GANs for Improved Quality, Stability, and Variationcited by 2,967
  5. 2016Improved Techniques for Training GANscited by 2,938
  6. 2018Large Scale GAN Training for High Fidelity Natural Image Synthesiscited by 2,609
  7. 2017Non-local Neural Networkscited by 2,290
  8. 2017Improved Training of Wasserstein GANscited by 2,223
  9. 2015Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networkscited by 2,048
  10. 2016Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Networkcited by 1,898
  11. 2018Spectral Normalization for Generative Adversarial Networkscited by 1,618
  12. 2021Is Space-Time Attention All You Need for Video Understanding?cited by 1,609
  13. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
  14. 2020Point Transformercited by 1,462
  15. 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,368
  16. 2015LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loopcited by 1,350
  17. 2016Instance Normalization: The Missing Ingredient for Fast Stylizationcited by 1,187
  18. 2020Training Generative Adversarial Networks with Limited Datacited by 1,184
  19. 2018Self-Attention with Relative Position Representationscited by 1,112
  20. 2016HyperNetworkscited by 1,003
  21. 2016Least Squares Generative Adversarial Networkscited by 1,000
  22. 2017Revisiting Unreasonable Effectiveness of Data in Deep Learning Eracited by 916
  23. 2020Pre-Trained Image Processing Transformercited by 891
  24. 2018Self-Attention Generative Adversarial Networkscited by 809
  25. 2018Image Transformercited by 770
  26. 2018Which Training Methods for GANs do actually Converge?cited by 672
  27. 2017Wasserstein GANcited by 635
  28. 2018Generative Image Inpainting with Contextual Attentioncited by 578
  29. 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 468
  30. 2019EnlightenGAN: Deep Light Enhancement without Paired Supervisioncited by 466
  31. 2019DeblurGAN-v2: Deblurring (Orders-of-Magnitude) Faster and Bettercited by 361
  32. 2020Differentiable Augmentation for Data-Efficient GAN Trainingcited by 361
  33. 2020Learning Texture Transformer Network for Image Super-Resolutioncited by 346
  34. 2017Toward Multimodal Image-to-Image Translationcited by 295
  35. 2017Are GANs Created Equal? A Large-Scale Studycited by 267
  36. 2017MMD GAN: Towards Deeper Understanding of Moment Matching Networkcited by 251
  37. 2018The relativistic discriminator: a key element missing from standard GANcited by 234
  38. 2015Deep Generative Image Models using a Laplacian Pyramid of Adversarial Networkscited by 214

50 most cited of 68 All 68 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 20; 2022: 59; 2023: 44; 2024: 19; 2025: 14; 2026: 6.

162 papers.

Sort:

By area:

  1. 2022Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flowcited by 3,550
  2. 2023Consistency Modelscited by 1,778
  3. 2023One-step Diffusion with Distribution Matching Distillationcited by 978
  4. 2021Uformer: A General U-Shaped Transformer for Image Restorationcited by 864
  5. 2022AdaptFormer: Adapting Vision Transformers for Scalable Visual Recognitioncited by 714
  6. 2022MaxViT: Multi-Axis Vision Transformercited by 476
  7. 2023Photorealistic Video Generation with Diffusion Modelscited by 304
  8. 2023Diff-Instruct: A Universal Approach for Transferring Knowledge From Pre-trained Diffusion Modelscited by 232
  9. 2021Score-Based Generative Modeling with Critically-Damped Langevin Diffusioncited by 230
  10. 2023Retinexformer: One-stage Retinex-based Transformer for Low-light Image Enhancementcited by 228
  11. 2021StyTr2: Image Style Transfer with Transformerscited by 186
  12. 2022Masked Discrimination for Self-Supervised Learning on Point Cloudscited by 155
38 more
  1. 2022Improving Sample Quality of Diffusion Models Using Self-Attention Guidancecited by 151
  2. 2022Anti-Oversmoothing in Deep Vision Transformers via the Fourier Domain Analysis: From Theory to Practicecited by 136
  3. 2022Multimodal Token Fusion for Vision Transformerscited by 132
  4. 2021A Survey of Visual Transformerscited by 117
  5. 2021Beyond Self-attention: External Attention using Two Linear Layers for Visual Taskscited by 109
  6. 2022M3ViT: Mixture-of-Experts Vision Transformer for Efficient Multi-task Learning with Model-Accelerator Co-designcited by 97
  7. 2021Soft Truncation: A Universal Training Technique of Score-based Diffusion Model for High Precision Score Estimationcited by 95
  8. 2023DiffFit: Unlocking Transferability of Large Diffusion Models via Simple Parameter-Efficient Fine-Tuningcited by 82
  9. 2022Unified Visual Transformer Compressioncited by 79
  10. 2023Structure-Aware Sparse-View X-ray 3D Reconstructioncited by 70
  11. 2022When Adversarial Training Meets Vision Transformers: Recipes from Training to Architecturecited by 64
  12. 2022MogaNet: Multi-order Gated Aggregation Networkcited by 59
  13. 2022Your ViT is Secretly a Hybrid Discriminative-Generative Diffusion Modelcited by 58
  14. 2021Countering Malicious DeepFakes: Survey, Battleground, and Horizoncited by 56
  15. 2022A Transformer-Based Feature Segmentation and Region Alignment Method For UAV-View Geo-Localizationcited by 55
  16. 2021Multimodal Image Synthesis and Editing: The Generative AI Eracited by 52
  17. 2023Large-Vocabulary 3D Diffusion Model with Transformercited by 48
  18. 2022Implicit Warping for Animation with Image Setscited by 45
  19. 2022Maximum Likelihood Training of Implicit Nonlinear Diffusion Modelscited by 42
  20. 2022TTS-GAN: A Transformer-based Time-Series Generative Adversarial Networkcited by 41
  21. 2022One Model to Synthesize Them All: Multi-contrast Multi-scale Transformer for Missing Data Imputationcited by 40
  22. 2022StudioGAN: A Taxonomy and Benchmark of GANs for Image Synthesiscited by 38
  23. 2023TabMT: Generating tabular data with masked transformerscited by 36
  24. 2023ReMasker: Imputing Tabular Data with Masked Autoencodingcited by 35
  25. 2022Masked Jigsaw Puzzle: A Versatile Position Embedding for Vision Transformerscited by 33
  26. 2023Efficient-VQGAN: Towards High-Resolution Image Generation with Efficient Vision Transformerscited by 33
  27. 2022HiFuse: Hierarchical Multi-Scale Feature Fusion Network for Medical Image Classificationcited by 30
  28. 2022Bridging the Gap Between Vision Transformers and Convolutional Neural Networks on Small Datasetscited by 28
  29. 2022EATFormer: Improving Vision Transformer Inspired by Evolutionary Algorithmcited by 27
  30. 2022Learning Model Predictive Controllers with Real-Time Attention for Real-World Navigationcited by 27
  31. 2023Ultra-High-Resolution Detector Simulation with Intra-Event Aware GAN and Self-Supervised Relational Reasoningcited by 25
  32. 2023AI-Generated Content (AIGC) for Various Data Modalities: A Surveycited by 25
  33. 2022RFormer: Transformer-based Generative Adversarial Network for Real Fundus Image Restoration on A New Clinical Benchmarkcited by 24
  34. 2021Improving GAN Equilibrium by Raising Spatial Awarenesscited by 22
  35. 2022TTS-CGAN: A Transformer Time-Series Conditional GAN for Biosignal Data Augmentationcited by 20
  36. 2022Improving GANs with A Dynamic Discriminatorcited by 20
  37. 2024Deep Generative Models for Offline Policy Learning: Tutorial, Survey, and Perspectives on Future Directionscited by 20
  38. 2021Improving Visual Quality of Image Synthesis by A Token-based Generator with Transformerscited by 19

50 most cited of 162 All 162 (JSON)