arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.12679cs.ARcs.LG
收藏

MFAGAN:一种存储高效的设备上超分辨率压缩框架GAN

MFAGAN: A Compression Framework for Memory-Efficient On-Device Super-Resolution GAN

City University of Hong Kong(香港城市大学);Donghua University(东华大学);Tencent Computer System Co., Ltd.(腾讯计算机系统有限公司);The University of Sydney(悉尼大学)

Wenlong Cheng, Mingbo Zhao, Zhiling Ye, Shuhang Gu

摘要:

生成对抗网络(GANs)通过恢复照片级逼真的图像,促进了单图像超分辨率(SR)的显着进步。然而,基于GAN的SR(通常是发电机)的高内存消耗导致性能下降和更多的能量消耗,阻碍了基于GAN的SR部署到资源受限的移动设备。本文提出了一种新的压缩框架\textbf{M}--基于\textbf{GAN}的多尺度\textbf{F}特征\textbf{A}聚集网(MFAGAN),以减少生成器的存储器访问开销。首先,为了克服密集连接的内存爆炸,我们利用内存高效的多尺度特征聚合网络作为生成器。其次,为了更快更稳定的训练,我们的方法引入了PatchGAN训练器。第三,为了平衡student函数和压缩生成器,我们同时提取生成器和函数。最后,我们执行硬件感知神经架构搜索(NAS),为目标手机找到一个专门的SubGenerator。受益于这些改进,建议MFAGAN实现高达\textbf{8.3} $\times$内存节省和\textbf{42.9} $\times$计算减少,只有轻微的视觉质量下降,与ESRGAN相比。实证研究还显示,$\sim$ \textbf{70}在高通骁龙865芯片组上的延迟为毫秒级。

英文摘要:

Generative adversarial networks (GANs) have promoted remarkable advances in single-image super-resolution (SR) by recovering photo-realistic images. However, high memory consumption of GAN-based SR (usually generators) causes performance degradation and more energy consumption, hindering the deployment of GAN-based SR into resource-constricted mobile devices. In this paper, we propose a novel compression framework \textbf{M}ulti-scale \textbf{F}eature \textbf{A}ggregation Net based \textbf{GAN} (MFAGAN) for reducing the memory access cost of the generator. First, to overcome the memory explosion of dense connections, we utilize a memory-efficient multi-scale feature aggregation net as the generator. Second, for faster and more stable training, our method introduces the PatchGAN discriminator. Third, to balance the student discriminator and the compressed generator, we distill both the generator and the discriminator. Finally, we perform a hardware-aware neural architecture search (NAS) to find a specialized SubGenerator for the target mobile phone. Benefiting from these improvements, the proposed MFAGAN achieves up to \textbf{8.3}$\times$ memory saving and \textbf{42.9}$\times$ computation reduction, with only minor visual quality degradation, compared with ESRGAN. Empirical studies also show $\sim$\textbf{70} milliseconds latency on Qualcomm Snapdragon 865 chipset.

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

↑