Revisiting Discriminator in GAN Compression: A Generator-discriminator Cooperative Compression Scheme

Shaojie Li, Jie Wu, Xuefeng Xiao, Fei Chao, Xudong Mao +1 more
10/27/2021
cs.CV

Official code: SJLeo/GCC (34 stars, Python, last commit 2021-12-04).

Abstract

Recently, a series of algorithms have been explored for GAN compression, which aims to reduce tremendous computational overhead and memory usages when deploying GANs on resource-constrained edge devices. However, most of the existing GAN compression work only focuses on how to compress the generator, while fails to take the discriminator into account.

Show full abstract

In this work, we revisit the role of discriminator in GAN compression and design a novel generator-discriminator cooperative compression scheme for GAN compression, termed GCC. Within GCC, a selective activation discriminator automatically selects and activates convolutional channels according to a local capacity constraint and a global coordination constraint, which help maintain the Nash equilibrium with the lightweight generator during the adversarial training and avoid mode collapse. The original generator and discriminator are also optimized from scratch, to play as a teacher model to progressively refine the pruned generator and the selective activation discriminator. A novel online collaborative distillation scheme is designed to take full advantage of the intermediate feature of the teacher generator and discriminator to further boost the performance of the lightweight generator. Extensive experiments on various GAN-based generation tasks demonstrate the effectiveness and generalization of GCC. Among them, GCC contributes to reducing 80% computational costs while maintains comparable performance in image translation tasks. Our code and models are available at https://github.com/SJLeo/GCC.

View on arXivView PDF

Code Implementations(1)

SJLeo/GCCOfficial100%

Pytorch implementation of our paper accepted by NeurIPS 2021 -- Revisiting Discriminator in GAN Compression: A Generator-discriminator Cooperative Compression Scheme

346Python, ShellOct 26, 20214 years ago

Similar Papers

Cite this paper

@article{li2021revisiting,
  title  = {Revisiting Discriminator in GAN Compression: A Generator-discriminator Cooperative Compression Scheme},
  author = {Shaojie Li and Jie Wu and Xuefeng Xiao and Fei Chao and Xudong Mao and Rongrong Ji},
  year   = {2021},
  eprint = {2110.14439},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.14439}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.14439.svg)](https://codeofpaper.com/paper/2110.14439)

Discussion