New Compression Method Enables Conditional GANs on Edge Devices

Synced
SyncedReview
Published in
4 min readMar 24, 2020

A research team from MIT, Adobe Research, and Shanghai Jiao Tong University have introduced a novel method for reducing the cost and size of Conditional GAN generators.

Generative Adversarial Networks (GAN) excel at synthesizing photorealistic images. Conditional GANS, or cGANs, provide more controllable image synthesis and enable many computer vision and graphics applications, for example motion transfer of a dance video to a different person, creating VR facial animations for remote social interaction, etc.

The problem is, cGANs are notoriously computationally intensive, and this prevents them from being deployed on edge devices like mobile phones, tablets or VR headsets with insufficient hardware resources, memory or power.

GAN Compression, the general-purpose compression method the team presents in their paper, has proven effective across different supervision settings (paired and unpaired), model architectures, and learning methods (e.g. pix2pix, GauGAN, CycleGAN). Experiments have demonstrated that without losing image quality, the method reduces CycleGAN computation by more than 20 times and GauGAN computation by about 9 times.

Song Han, an MIT EECS assistant professor whose research focuses on efficient deep learning computing, led the team proposing the new compression framework for reducing inference time and model size of cGAN generators.

The researchers deployed their compressed pix2pix model on a mobile device (Jetson Nano). In a demonstration on the MIT HAN Lab YouTube channel the team compares their model with the original-sized pix2pix on an interactive edges2shoes application.

Quantitative evaluation of GAN Compression: The method can compress SOTA conditional GANs by 9 to 21 times in MACs and 5 to 33 times in model size, with only minor performance degradation.

The researchers identify two factors that make compressing conditional generative models for interactive applications difficult: the unstable training dynamic of GANs by nature, and the large architectural differences between their recognition and the generative models.

To address these challenges the researchers first applied knowledge distillation to transfer knowledge from the intermediate representations of the original teacher generator to corresponding layers of its compressed student generator. They also noted that creating pseudo pairs using the teacher model’s output was helpful for unpaired training.

The team used neural architecture search (NAS) to automatically find an efficient network with significantly fewer computation costs and parameters, then decoupled the model training from architecture search by training a “once-for-all network” that contains all possible channel number configurations.

GAN Compression framework

Researchers applied their framework to unpaired image-to-image translation model CycleGAN; Pix2pix, a conditional-GAN based paired image to-image translation model; and the SOTA paired image-to-image model GauGAN. It was able to compress successfully across model architectures, learning algorithms and supervision settings (paired or unpaired), while preserving image quality.

The authors say future work will include reducing the latency of models and finding efficient architectures for generative video models.

The paper GAN Compression: Efficient Architectures for Interactive Conditional GANs is on arXiv.

Journalist: Yuan Yuan | Editor: Michael Sarazen

To highlight the contributions of women in the AI industry, Synced introduces the Women in AI special project this month and invites female researchers from the field to share their recent research works and the stories behind the idea. Join our conversation by clicking here.

Thinking of contributing to Synced Review? Synced’s new column Share My Research welcomes scholars to share their own research breakthroughs with global AI enthusiasts.

We know you don’t want to miss any story. Subscribe to our popular Synced Global AI Weekly to get weekly AI updates.

Need a comprehensive review of the past, present and future of modern AI research development? Trends of AI Technology Development Report is out!

2018 Fortune Global 500 Public Company AI Adaptivity Report is out!
Purchase a Kindle-formatted report on Amazon.
Apply for Insight Partner Program to get a complimentary full PDF report.

--

--

Synced
SyncedReview

AI Technology & Industry Review — syncedreview.com | Newsletter: http://bit.ly/2IYL6Y2 | Share My Research http://bit.ly/2TrUPMI | Twitter: @Synced_Global