arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1802.02271cs.CVcs.LGcs.NE
收藏

通用深度神经网络压缩

Universal Deep Neural Network Compression

SoC R&D, Samsung Semiconductor Inc.(三星半导体公司系统芯片研发部)

Yoojin Choi, Mostafa El-Khamy, Jungwon Lee

摘要:

在本文中,我们研究了通过权重量化和无损信源编码对深度神经网络(DNN)进行有损压缩以实现内存高效部署。鉴于先前的工作解决了DNN权重的非通用标量量化和熵编码,我们首次通过通用矢量量化和通用信源编码引入通用DNN压缩。特别是,我们研究了DNN的通用随机格量化,它在格量化之前通过均匀随机抖动来随机化DNN权重,并且可以在任何源上执行接近最佳的操作,而无需依赖于其概率分布的知识。此外,我们提出了一种微调矢量量化DNN的方法,以恢复量化后的性能损失。我们的实验结果表明,所提出的通用DNN压缩方案分别以$47.1$和$42.5$的压缩比压缩32层ResNet(在CIFAR-10上训练)和AlexNet(在ImageNet上训练)。

英文摘要:

In this paper, we investigate lossy compression of deep neural networks (DNNs) by weight quantization and lossless source coding for memory-efficient deployment. Whereas the previous work addressed non-universal scalar quantization and entropy coding of DNN weights, we for the first time introduce universal DNN compression by universal vector quantization and universal source coding. In particular, we examine universal randomized lattice quantization of DNNs, which randomizes DNN weights by uniform random dithering before lattice quantization and can perform near-optimally on any source without relying on knowledge of its probability distribution. Moreover, we present a method of fine-tuning vector quantized DNNs to recover the performance loss after quantization. Our experimental results show that the proposed universal DNN compression scheme compresses the 32-layer ResNet (trained on CIFAR-10) and the AlexNet (trained on ImageNet) with compression ratios of $47.1$ and $42.5$, respectively.

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

↑