ParaGAN: A Cloud Training Framework for Generative Adversarial Networks

Ziji Shi, Fuzhao Xue, Jialin Li, Yang YouASSYST @ ISCA 2023

Abstract

Generative Adversarial Network (GAN) has shown tremendous success in synthesizing realistic photos and videos in recent years. However, training GAN to convergence is still a challenging task that requires significant computing power and is subject to training instability. To address these challenges, we propose ParaGAN, a cloud training framework for GAN optimized from both system and numerical perspectives. To achieve this, ParaGAN implements a congestion-aware pipeline for latency hiding, hardware-aware layout transformation for improved accelerator utilization, and an asynchronous update scheme to optimize system performance. Additionally, from a numerical perspective, we introduce an asymmetric optimization policy to stabilize training. Our preliminary experiments show that ParaGAN reduces the training time of BigGAN from 15 days to just 14 hours on 1024 TPUs, achieving 91\% scaling efficiency. Moreover, we demonstrate that ParaGAN enables the generation of unprecedented high-resolution ($1024\times1024$) images on BigGAN.
BibTeX
@inproceedings{shi2023paragan,
  author = {Ziji Shi and Fuzhao Xue and Jialin Li and Yang You},
  title = {{ParaGAN: A Cloud Training Framework for Generative Adversarial Networks}},
  booktitle = {ASSYST @ ISCA},
  year = {2023},
  url = {https://openreview.net/forum?id=gb6VM_pTd5E},
}
Figure