Lune

CVPR2021Top-tier venue

Content-Aware GAN Compression

Yuchen Liu, Zhixin Shu, Yijun Li, Zhe Lin, Federico Perazzi, Sun-Yuan Kung

Abstract

Generative adversarial networks (GANs), e.g., Style-GAN2, play a vital role in various image generation and synthesis tasks, yet their notoriously high computational cost hinders their efficient deployment on edge devices. Directly applying generic compression approaches yields poor results on GANs, which motivates a number of recent GAN compression works. While prior works mainly accelerate conditional GANs, e.g., pix2pix and Cycle-GAN, compressing state-of-the-art unconditional GANs has rarely been explored and is more challenging. In this paper, we propose novel approaches for unconditional GAN compression. We first introduce effective channel pruning and knowledge distillation schemes specialized for unconditional GANs. We then propose a novel content-aware method to guide the processes of both pruning and distillation. With content-awareness, we can effectively prune channels that are unimportant to the contents of interest, e.g., human faces, and focus our distillation on these regions, which significantly enhances the distillation quality. On StyleGAN2 and SN-GAN, we achieve a substantial improvement over the state-of-the-art compression method. Notably, we reduce the FLOPs of StyleGAN2 by 11× with visually negligible image quality loss compared to the fullsize model. More interestingly, when applied to various image manipulation tasks, our compressed model forms a smoother and better disentangled latent manifold, making it more effective for image editing.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

13 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Wavelet Knowledge Distillation: Towards Efficient Image-to-Image Translation cites Distilling Portable Generative Adversarial Networks for Image Translation
  • MI-GAN: A Simple Baseline for Image Inpainting on Mobile Devices cites Wavelet Knowledge Distillation: Towards Efficient Image-to-Image Translation
  • MI-GAN: A Simple Baseline for Image Inpainting on Mobile Devices cites Distilling Portable Generative Adversarial Networks for Image Translation
  • Efficient Spatially Sparse Inference for Conditional GANs and Diffusion Models cites Image2StyleGAN: How to Embed Images Into the StyleGAN Latent Space?
  • Efficient Spatially Sparse Inference for Conditional GANs and Diffusion Models cites Co-Evolutionary Compression for Unpaired Image Translation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers13

  1. Generating Videos with Dynamics-aware Implicit Generative Adversarial NetworksSihyun Yu, Jihoon Tack, Sangwoo Mo, Hyunsu Kim et al.ICLR 2022 · 227 citations
  2. Wavelet Knowledge Distillation: Towards Efficient Image-to-Image TranslationLinfeng Zhang, Xin Chen, Xiaobing Tu, Pengfei Wan et al.CVPR 2022 · 105 citations
  3. Efficient Spatially Sparse Inference for Conditional GANs and Diffusion ModelsMuyang Li, Ji Lin, Chenlin Meng, Stefano Ermon et al.NeurIPS 2022 · 66 citations
  4. MI-GAN: A Simple Baseline for Image Inpainting on Mobile DevicesAndranik Sargsyan, Shant Navasardyan, Xingqian Xu, Humphrey ShiICCV 2023 · 40 citations
  5. Can We Find Strong Lottery Tickets in Generative Models?Sangyeop Yeo, Yoojin Jang, Jy-yong Sohn, Dongyoon Han et al.AAAI 2023 · 8 citations

Builds on8

  1. Image2StyleGAN: How to Embed Images Into the StyleGAN Latent Space?Rameen Abdal, Yipeng Qin, Peter WonkaICCV 2019 · 1,195 citations
  2. GANSpace: Discovering Interpretable GAN ControlsErik Härkönen, Aaron Hertzmann, Jaakko Lehtinen, Sylvain ParisNeurIPS 2020 · 1,049 citations
  3. Co-Evolutionary Compression for Unpaired Image TranslationHan Shu, Yunhe Wang, Xu Jia, Kai Han et al.ICCV 2019 · 93 citations
  4. Distilling Portable Generative Adversarial Networks for Image TranslationHanting Chen, Yunhe Wang, Han Shu, Changyuan Wen et al.AAAI 2020 · 89 citations
  5. Few Sample Knowledge Distillation for Efficient Network CompressionTianhong Li, Jianguo Li, Zhuang Liu, Changshui ZhangCVPR 2020

Related papers

  1. Diversity-Aware Channel Pruning for StyleGAN CompressionJiwoo Chung, Sangeek Hyun, Sang-Heon Shim, Jae-Pil HeoCVPR 2024
  2. Self-Supervised Generative Adversarial CompressionChong Yu, Jeff PoolNeurIPS 2020 · 15 citations
  3. Compressing Image-to-Image Translation GANs Using Local Density Structures on Their Learned ManifoldAlireza Ganjdanesh, Shangqian Gao, Hirad Alipanah, Heng HuangAAAI 2024 · 11 citations
  4. AutoGAN-Distiller: Searching to Compress Generative Adversarial NetworksYonggan Fu, Wuyang Chen, Haotao Wang, Haoran Li et al.ICML 2020 · 91 citations
  5. GAN Compression: Efficient Architectures for Interactive Conditional GANsMuyang Li, Ji Lin, Yaoyao Ding, Zhijian Liu et al.CVPR 2020
Dusk over the sea between two cliffs drawn in fine vertical lines