Abstract
Generative Adversarial Networks (GANs) for Image-to-Image (I2I) translation are notoriously resource-heavy, limiting their utility on mobile and edge devices. This paper introduces Manifold Guided GAN Compression (MGGC), a framework designed to prune GANs while preserving the local density structure of the original model's learned manifold. MGGC utilizes a collaborative "buddy system" of pruning agents for the generator and discriminator to maintain adversarial stability. Our method achieves state-of-the-art compression rates—up to 95.6%—while often improving the quality of generated images.
Introduction
Image-to-Image translation tasks, such as sketch-to-photo or seasonal style transfer, are currently dominated by GANs. However, their high computational cost (MACs) makes them difficult to deploy on AIoT devices. Compressing GANs is more challenging than standard classifiers because pruning must respect the delicate Nash Equilibrium between the generator ($G$) and discriminator ($D$). Unbalanced pruning typically leads to training instability or mode collapse. Furthermore, standard pruning often ignores the generative nature of these models, which map complex data distributions onto a learned manifold.
Methodology
MGGC addresses these challenges through two primary innovations:
- Manifold-Guided Regularization: Instead of simple output matching, MGGC forces the pruned model to mimic the local density structure of the teacher model's manifold. The manifold is partitioned into local neighborhoods using a self-supervised encoder (pre-trained via SwAV) to identify nearest neighbors. The pruned model is regularized to maintain the relative density and geometric relationships within these neighborhoods.
- Collaborative Pruning Agents: To stabilize the adversarial game, two neural agents ($gen_G$ and $gen_D$) determine the architectures of $G$ and $D$ simultaneously. These agents exchange feedback, ensuring that neither component becomes disproportionately powerful or weak during the compression process.
Experimental Results
The framework was evaluated on Pix2Pix (Cityscapes, Edges2Shoes) and CycleGAN (Horse2Zebra, Summer2Winter) benchmarks.
- Efficiency and Quality: On Pix2Pix Cityscapes, MGGC reduced MACs by 83.6% while improving mIoU from 42.71 to 44.63. On CycleGAN Horse2Zebra, it achieved a 95.6% compression rate with a superior FID of 55.06 (compared to the previous SOTA of 59.31).
- Training Speed: The pruning process is efficient, requiring only ~10% of the original training epochs for fine-tuning.
Conclusion
MGGC demonstrates that preserving the local geometry of a GAN's learned manifold is key to effective compression. By coupling this with collaborative architectural search, the method achieves significant size reductions without sacrificing performance. Future work may extend this manifold-centric approach to other generative architectures like Diffusion Models, which face similar deployment hurdles.
Summary updated