ITM Web of Conferences

Transformer-based vs. CNN-based GANs: Performance Characteristics and Application Domains

Huaizheng Liang

Key points

From the paper's conclusion
  • Based on the above, Transformer-based GANs have shown certain strengths in specific scenarios and tasks compared with CNN-based GANs, and the areas where these advantages can be applied are also presented.

Abstract

Generative Adversarial Networks (GANs) have been some of the leading models for image generation in recent years. GANs can be classified as Convolutional Neural Network (CNN)-based GANs (SNGAN, StyleGAN2) and Transformer-based GANs (TransGAN, ViTGAN). Although a large number of studies have been conducted on various GAN models recently, few have compared Transformer-based GANs and CNN-based GANs. Rapid comparison experiments are conducted in this paper to evaluate the performance of the four models: SNGAN, StyleGAN2, TransGAN, and ViTGAN, on four evaluation metrics (Fréchet Inception Distance (FID), Inception Score (IS), Precision, and Recall), and publicly available data are used for analysis. In a 1000-step rapid experiment, TransGAN outperformed CNN-based GANs and also had a higher recall (0.3633 vs. 0.3467 for SNGAN) on STL-10. Analysis of the public data shows that ViTGAN has an FID of 4.92 on CIFAR-10 (which is better than StyleGAN2’s 8.32) and TransGAN has an FID of 18.28 on STL-10 (which is better than SNGAN’s 43.75). Based on the above, Transformer-based GANs have shown certain strengths in specific scenarios and tasks compared with CNN-based GANs, and the areas where these advantages can be applied are also presented.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers