Compressing Image-to-Image Translation GANs Using Local Density Structures on Their Learned Manifold

Abstract

Generative Adversarial Networks (GANs) have shown remarkable success in modeling complex data distributions for image-to-image translation. Still, their high computational demands prohibit their deployment in practical scenarios like edge devices. Existing GAN compression methods mainly rely on knowledge distillation or convolutional classifiers' pruning techniques. Thus, they neglect the critical characteristic of GANs: their local density structure over their learned manifold. Accordingly, we approach GAN compression from a new perspective by explicitly encouraging the pruned model to preserve the density structure of the original parameter-heavy model on its learned manifold. We facilitate this objective for the pruned model by partitioning the learned manifold of the original generator into local neighborhoods around its generated samples. Then, we propose a novel pruning objective to regularize the pruned model to preserve the local density structure over each neighborhood, resembling the kernel density estimation method. Also, we develop a collaborative pruning scheme in which the discriminator and generator are pruned by two pruning agents. We design the agents to capture interactions between the generator and discriminator by exchanging their peer's feedback when determining corresponding models' architectures. Thanks to such a design, our pruning method can efficiently find performant sub-networks and can maintain the balance between the generator and discriminator more effectively compared to baselines during pruning, thereby showing more stable pruning dynamics. Our experiments on image translation GAN models, Pix2Pix and CycleGAN, with various benchmark datasets and architectures demonstrate our method's effectiveness.

Cite

Text

Ganjdanesh et al. "Compressing Image-to-Image Translation GANs Using Local Density Structures on Their Learned Manifold." AAAI Conference on Artificial Intelligence, 2024. doi:10.1609/AAAI.V38I11.29100

Markdown

[Ganjdanesh et al. "Compressing Image-to-Image Translation GANs Using Local Density Structures on Their Learned Manifold." AAAI Conference on Artificial Intelligence, 2024.](https://mlanthology.org/aaai/2024/ganjdanesh2024aaai-compressing/) doi:10.1609/AAAI.V38I11.29100

BibTeX

@inproceedings{ganjdanesh2024aaai-compressing,
  title     = {{Compressing Image-to-Image Translation GANs Using Local Density Structures on Their Learned Manifold}},
  author    = {Ganjdanesh, Alireza and Gao, Shangqian and Alipanah, Hirad and Huang, Heng},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year      = {2024},
  pages     = {12118-12126},
  doi       = {10.1609/AAAI.V38I11.29100},
  url       = {https://mlanthology.org/aaai/2024/ganjdanesh2024aaai-compressing/}
}