arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1902.00159cs.LGstat.ML
收藏

使用知识蒸馏压缩GANs

Compressing GANs using Knowledge Distillation

University of Maryland(马里兰大学);Johns Hopkins University(约翰斯·霍普金斯大学);Johns Hopkins University Applied Physics Laboratory(约翰斯·霍普金斯大学应用物理实验室)

Angeline Aguinaldo, Ping-Yeh Chiang, Alex Gain, Ameya Patil, Kolten Pearson, Soheil Feizi

摘要:

生成对抗网络(GANs)已用于多个机器学习任务,如域转移、超分辨率和合成数据生成。最先进的GANs通常使用数千万个参数,这使得它们在低SWAP(尺寸,重量和功耗)硬件中的应用(如移动设备)以及具有实时的功能的应用中部署起来非常昂贵。还没有发现减少GANs中使用的参数数量的工作。因此,我们提出了一种使用知识蒸馏技术来压缩GANs的方法,其中较小的“学生”GAN学习模仿较大的“教师”GAN。我们表明,在MNIST、CIFAR-10和Celeb-A数据集上使用的蒸馏方法可以分别以1669:1、58:1和87:1的比例压缩教师GANs,同时保持生成图像的质量。从我们的实验中,我们观察到一个定性的限制GAN的压缩。此外,我们观察到,在固定参数预算的情况下,压缩的GANs优于使用标准训练方法训练的GANs。我们推测,这部分是由于过度参数化的GANs的优化景观,它允许使用交替的梯度下降进行有效的训练。因此,训练过参数化的GAN,然后是我们提出的压缩方案,提供了具有少量参数的高质量生成模型。

英文摘要:

Generative Adversarial Networks (GANs) have been used in several machine learning tasks such as domain transfer, super resolution, and synthetic data generation. State-of-the-art GANs often use tens of millions of parameters, making them expensive to deploy for applications in low SWAP (size, weight, and power) hardware, such as mobile devices, and for applications with real time capabilities. There has been no work found to reduce the number of parameters used in GANs. Therefore, we propose a method to compress GANs using knowledge distillation techniques, in which a smaller "student" GAN learns to mimic a larger "teacher" GAN. We show that the distillation methods used on MNIST, CIFAR-10, and Celeb-A datasets can compress teacher GANs at ratios of 1669:1, 58:1, and 87:1, respectively, while retaining the quality of the generated image. From our experiments, we observe a qualitative limit for GAN's compression. Moreover, we observe that, with a fixed parameter budget, compressed GANs outperform GANs trained using standard training methods. We conjecture that this is partially owing to the optimization landscape of over-parameterized GANs which allows efficient training using alternating gradient descent. Thus, training an over-parameterized GAN followed by our proposed compression scheme provides a high quality generative model with a small number of parameters.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑