Skip to main content
QUICK REVIEW

[Paper Review] Balanced Training for Sparse GANs

Yite Wang, Jing Wu|arXiv (Cornell University)|Feb 28, 2023
Generative Adversarial Networks and Image SynthesisComputer Science6 citations
TL;DR

This paper proposes ADAPT, a balanced dynamic sparse training method for GANs that introduces the balance ratio (BR) to monitor and control the equilibrium between sparse generator and discriminator during training. By dynamically adjusting the discriminator's sparsity in real time based on BR, ADAPT achieves state-of-the-art FID scores (e.g., 10.33 on BigGAN-CIFAR10) while reducing training FLOPs to 34.42% of the dense baseline, enabling efficient and stable sparse GAN training.

ABSTRACT

Over the past few years, there has been growing interest in developing larger and deeper neural networks, including deep generative models like generative adversarial networks (GANs). However, GANs typically come with high computational complexity, leading researchers to explore methods for reducing the training and inference costs. One such approach gaining popularity in supervised learning is dynamic sparse training (DST), which maintains good performance while enjoying excellent training efficiency. Despite its potential benefits, applying DST to GANs presents challenges due to the adversarial nature of the training process. In this paper, we propose a novel metric called the balance ratio (BR) to study the balance between the sparse generator and discriminator. We also introduce a new method called balanced dynamic sparse training (ADAPT), which seeks to control the BR during GAN training to achieve a good trade-off between performance and computational cost. Our proposed method shows promising results on multiple datasets, demonstrating its effectiveness.

Motivation & Objective

  • To address the instability and imbalance in dynamic sparse training of GANs, where the generator and discriminator often become unbalanced during training.
  • To develop a quantitative metric to measure the balance between the sparse generator and discriminator, enabling real-time monitoring and control.
  • To propose a method that dynamically adjusts the discriminator's sparsity during training to maintain optimal balance and improve training efficiency and performance.
  • To achieve a favorable trade-off between FID performance and computational cost in sparse GAN training.

Proposed method

  • Introduce the balance ratio (BR), a novel metric that quantifies the relative strength of the generator and discriminator in sparse GANs.
  • Use BR as a real-time indicator to detect and mitigate training imbalance, especially in cases of mode collapse or overfitting.
  • Propose ADAPT (Balanced Dynamic Sparse Training), which dynamically adjusts the discriminator's sparsity and connection structure during training based on BR feedback.
  • Implement BR computation at regular intervals with negligible computational overhead, assuming it is computed infrequently.
  • Apply ADAPT to both SNGAN and BigGAN architectures on CIFAR-10 and TinyImageNet, with controlled generator and discriminator sparsity levels.
  • Use ablation studies and comparisons with baseline methods (e.g., Static-Balance, SDST, RigL) to validate the effectiveness of BR and ADAPT.

Experimental results

Research questions

  • RQ1How can the balance between the sparse generator and discriminator be quantitatively measured during GAN training?
  • RQ2What causes training failure or collapse in sparse GANs, and can the balance ratio help identify such failure modes?
  • RQ3Can real-time monitoring and adjustment of the discriminator’s sparsity using the balance ratio stabilize sparse GAN training?
  • RQ4Does ADAPT achieve better performance-computation trade-offs than existing sparse training methods in GANs?

Key findings

  • ADAPT achieves state-of-the-art FID scores of 10.33 on BigGAN-CIFAR10 and 14.80 on SNGAN-CIFAR10, outperforming all baselines.
  • On the BigGAN-CIFAR10 dataset, ADAPT (strict) achieves a FID of 10.33 at 34.42% of the dense baseline’s FLOPs, significantly reducing computational cost.
  • ADAPT reduces training FLOPs to 24.23% of the dense baseline on SNGAN-CIFAR10 with 10% generator density, while maintaining competitive FID.
  • The balance ratio (BR) is effective in identifying training instabilities such as mode collapse and overfitting, especially when the discriminator is too strong.
  • ADAPT consistently outperforms static pruning baselines (e.g., Static-Balance, Static-Strong) and dynamic methods (e.g., SDST, RigL) across multiple datasets and sparsity levels.
  • The method demonstrates robustness across different generator and discriminator sparsity settings, with ADAPT (strict) achieving 14.92 FID at 30% generator density on BigGAN-CIFAR10.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.