Research Article

A comparative study between WGAN-GP and WGAN-CP for image generation

Jiajun Gao*
The Grainger College of Engineering, University of Illinois Urbana Champaign, Champaign, Illinois, 61820, United States of America

* Corresponding author: [email protected]

Abstract

Image generation allows the creation of visual content in a convenient manner. It is critical for enhancing digital experiences, from video games to virtual reality, enabling more engaging and immersive experiences. In current technologies, Generative Adversarial Networks (GANs) have achieved significant success but face challenges like training instability and mode collapse. By utilizing the Wasserstein distance, Wasserstein GAN (WGAN) enhances conventional GANs; however, its weight clipping method may not be ideal. In this study, WGAN with gradient penalty (WGAN-GP) and WGAN with weight clipping (WGAN-CP) are compared, which aims to enhance stability by better enforcing the Lipschitz constraint. For comparison, these approaches are validated using Fashion Modified National Institute of Standards and Technology (MNIST) and Canadian Institute for Advanced Research (CIFAR)-10 datasets. Experimental results show WGAN-GP produces higher quality images and more stable training than WGAN-CP. However, WGAN-GP also requires longer training times and computational burden. The findings highlight a trade-off between training efficiency and output quality, guiding the choice of technique based on specific application needs.

Keywords: Generative adversarial networks; Image generation; Weight clipping; Gradient penalty
Published: September 27, 2024
DOI: 10.54254/2755-2721/83/2024GLG0059
Volume: ACE Vol.83
pp. 15-19
Download PDF

References

  1. Goodfellow, I., Pouget-Abadie, J., Mirza, M., Xu, B., et, al. (2014). Generative adversarial nets. Advances in neural information processing systems, 27, 1-9.
  2. Zhou, T., Li, Q., Lu, H., Cheng, Q., & Zhang, X. (2023). GAN review: Models and medical image fusion applications. Information Fusion, 91, 134-148.
  3. Durgadevi, M. (2021). Generative Adversarial Network (GAN): A general review on different variants of GAN and applications. International Conference on Communication and Electronics Systems, 1-8.
  4. Li, C. T., Zhang, J., & Farnia, F. (2024). On Convergence in Wasserstein Distance and f-divergence Minimization Problems. In International Conference on Artificial Intelligence and Statistics, 2062-2070.
  5. Martin A., Soumith C., Léon B. (2017). Wasserstein GAN. ArXiv preprint, 1701.07875
  6. Massart, E. (2022). Improving weight clipping in Wasserstein GANs. International Conference on Pattern Recognition, 2286-2292.
  7. Wang, D., Liu, Y., Fang, L., Shang, F., Liu, Y., & Liu, H. (2022). Balanced gradient penalty improves deep long-tailed learning. ACM International Conference on Multimedia, 5093-5101.
  8. Gulrajani, I., Ahmed, F., Arjovsky, M., Dumoulin, V., & Courville, A. C. (2017). Improved training of wasserstein gans. Advances in neural information processing systems, 30, 1-9.
  9. Xiao, H., Rasul, K., & Vollgraf, R. (2017). Fashion-mnist: a novel image dataset for benchmarking machine learning algorithms. arXiv preprint arXiv:1708.07747.
  10. The CIFAR-10 dataset. URL: https://www.cs.toronto.edu/~kriz/cifar.html. Last Accessed: 2024/08/16