Introduction
Generative Adversarial Networks (GANs) have revolutionized image synthesis, yet their appetite for massive datasets remains a significant barrier. When training data is limited, GANs frequently succumb to "model collapse" or produce low-fidelity images plagued by artifacts. While network pruning—the removal of redundant weights—offers a path toward efficiency and better generalization, traditional pruning methods are often too rigid for the dynamic nature of adversarial training.
In a typical GAN setup, the importance of a specific weight is not static; a connection that appears negligible at the start of training may become crucial as the generator and discriminator evolve. Standard pruning methods, including the "Lottery Ticket Hypothesis" (LTH), often require expensive iterative cycles that are computationally prohibitive. To address these challenges, we introduce RG-GAN, a novel framework that employs dynamic weight pruning with "regenerative" capabilities to achieve state-of-the-art results with significantly less data.
Methodology: The Power of Regeneration
RG-GAN moves away from permanent pruning by allowing weights to be reintroduced if they regain importance. This is achieved through two primary mechanisms:
1. Recurrent Regeneration (RR)
RG-GAN utilizes a trainable threshold for each layer. Weights falling below this threshold are masked during the forward pass. However, unlike static pruning, gradients are still computed for these masked weights during the backward pass. If the gradient indicates that a weight has become relevant again, it is "reincarnated" and restored to the active network. This allows the model to adapt its architecture on the fly as the adversarial game progresses.
2. Augmented Regeneration (AR)
To prevent the model from diverging or losing the delicate balance between the generator and discriminator, RG-GAN includes a global safety mechanism. If the model's performance—monitored via the Frechet Inception Distance (FID)—begins to degrade, the system triggers a "regrowth" phase. This phase restores all previously pruned connections to their prior dense state, providing a "reset" that allows the network to find a new, more stable equilibrium.
Additionally, a sparsity regularization term is integrated into the objective function, ensuring the model actively seeks an efficient sub-structure rather than remaining unnecessarily dense.
Experimental Evaluation
The effectiveness of RG-GAN was tested across a diverse range of resolutions and data constraints, including standard benchmarks like CIFAR-10 and Tiny-ImageNet, as well as high-resolution synthesis on FFHQ (1024x1024) and specialized few-shot datasets.
Key Results and Insights
RG-GAN consistently outperforms both dense baselines and existing sparse training methods like LTH.
Superior Image Quality and Data Efficiency
On the Tiny-ImageNet benchmark with only 10% of the training data, RG-StyleGAN2 achieved an 18.30% improvement in FID score over the standard StyleGAN2. The regenerative mechanism proved particularly vital for the generator, which requires more architectural flexibility in the early stages of training to keep pace with the discriminator.
The model's performance on few-shot datasets is particularly striking. On the 100-shot Panda dataset, RG-StyleGAN2 reached an FID of 19.9, compared to 34.2 for the base model—a massive leap in fidelity under extreme scarcity.
Computational and Training Efficiency
Unlike LTH-based "GAN tickets," which require multiple full training runs to identify a sparse sub-network, RG-GAN discovers its efficient structure during a single training pass. This results in significant savings in both FLOPs (floating-point operations) and the number of real images (RI) required for convergence. Furthermore, the method is architecture-agnostic, showing consistent gains across ProGAN, StyleGAN2, SNGAN, and FastGAN.
Conclusion and Future Directions
RG-GAN demonstrates that pruning in GANs should not be a one-way street. By giving weights a "second chance" through recurrent and augmented regeneration, the model maintains the equilibrium necessary for high-quality synthesis in data-constrained environments. Future work will focus on developing a more rigorous theoretical understanding of the regeneration dynamics and exploring the application of RG-GAN to multi-modal tasks, such as text-to-image generation.
Summary updated