[Paper Review] Learning Efficient GANs using Differentiable Masks and co-Attention Distillation.
This paper proposes DMAD, a novel GAN compression method using differentiable masks for architecture search and co-attention distillation to stabilize training in lightweight GANs. It reduces CycleGAN's MACs by 13x and Pix2Pix's by 4x while preserving performance close to full models.
Generative Adversarial Networks (GANs) have been widely-used in image translation, but their high computational and storage costs impede the deployment on mobile devices. Prevalent methods for CNN compression cannot be directly applied to GANs due to the complicated generator architecture and the unstable adversarial training. To solve these, in this paper, we introduce a novel GAN compression method, termed DMAD, by proposing a Differentiable Mask and a co-Attention Distillation. The former searches for a light-weight generator architecture in a training-adaptive manner. To overcome channel inconsistency when pruning the residual connections, an adaptive cross-block group sparsity is further incorporated. The latter simultaneously distills informative attention maps from both the generator and discriminator of a pre-trained model to the searched generator, effectively stabilizing the adversarial training of our light-weight model. Experiments show that DMAD can reduce the Multiply Accumulate Operations (MACs) of CycleGAN by 13x and that of Pix2Pix by 4x while retaining a comparable performance against the full model. Code is available at this https URL.
Motivation & Objective
- To address the high computational and storage costs of GANs that hinder mobile deployment.
- To overcome the limitations of CNN compression methods on GANs due to complex generator architectures and unstable adversarial training.
- To enable training-adaptive, channel-consistent architecture search in GAN generators through adaptive cross-block group sparsity.
- To stabilize the adversarial training of compressed GANs by distilling attention maps from both generator and discriminator of a pre-trained model.
Proposed method
- Introduces a differentiable mask to search for a lightweight generator architecture during training in an end-to-end, adaptive manner.
- Applies adaptive cross-block group sparsity to maintain channel consistency when pruning residual connections in the generator.
- Proposes co-attention distillation to transfer informative attention maps from both the pre-trained generator and discriminator to the compressed generator.
- Uses the distilled attention maps to stabilize the adversarial training process of the lightweight model.
- Combines architecture search with knowledge distillation to achieve high compression with minimal performance drop.
Experimental results
Research questions
- RQ1Can differentiable masking enable effective, training-adaptive architecture search in GAN generators?
- RQ2How can channel inconsistency during pruning of residual connections be mitigated in compressed GANs?
- RQ3Can co-attention distillation from both generator and discriminator improve training stability in lightweight GANs?
- RQ4To what extent can MACs be reduced in CycleGAN and Pix2Pix while preserving performance?
Key findings
- DMAD reduces the Multiply Accumulate Operations (MACs) of CycleGAN by 13x while maintaining comparable performance to the full model.
- The method reduces MACs of Pix2Pix by 4x with minimal degradation in performance relative to the original model.
- The use of co-attention distillation significantly stabilizes the adversarial training of the compressed generator.
- Adaptive cross-block group sparsity effectively maintains channel consistency during pruning of residual connections.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.