DGL-GAN: Discriminator-Guided GAN Compression

Yuesong Tian,Li Shen,Xiang Tian,Dacheng Tao,Zhifeng Li,Wei Liu,Yaowu Chen
DOI: https://doi.org/10.1007/s00371-024-03682-y
IF: 2.835
2024-01-01
The Visual Computer
Abstract:Generative adversarial networks (GANs) with high computation costs, e.g., BigGAN and StyleGAN2, have achieved remarkable results in synthesizing high-resolution images from random noise. Reducing the computation cost of GANs while keeping generating photo-realistic images is a challenging field. In this work, we propose a novel yet simple Discriminator-Guided Learning approach for compressing vanilla GAN, dubbed DGL-GAN. Motivated by the phenomenon that the teacher discriminator may contain some meaningful information about both real images and fake images, we merely transfer the knowledge from the teacher discriminator via the adversarial interaction between the teacher discriminator and the student generator. We apply DGL-GAN to compress the two most representative large-scale vanilla GANs, i.e., StyleGAN2 and BigGAN. Experiments show that DGL-GAN achieves state-of-the-art results on both StyleGAN2 and BigGAN. Moreover, DGL-GAN is also effective in boosting the performance of original uncompressed GANs. Original uncompressed StyleGAN2 boosted with DGL-GAN achieves FID 2.65 on FFHQ, which achieves a new state-of-the-art performance. Code and models are available at https://github.com/yuesongtian/DGL-GAN
What problem does this paper attempt to address?