arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1907.06835cs.LGcs.CVstat.ML
收藏

基于平滑变权假设的深度神经网络层间权值预测和Quantization

An Inter-Layer Weight Prediction and Quantization for Deep Neural Networks based on a Smoothly Varying Weight Hypothesis

Kyung Hee University(庆熙大学)

Kang-Ho Lee, JoonHyun Jeong, Sung-Ho Bae

摘要:

由于资源受限的环境,网络压缩已成为深入神经网络研究的重要组成部分。本文提出了一种新的压缩方法,\textit{Inter-Layer Weight Prediction}(ILWP)和量化方法,该方法基于传统视频编码方案中的帧间预测方法,在所有卷积层的权重之间进行预测残差。此外,我们发现了一种现象\textit{Smoothly Varying Weight Hypothesis}(SVWH),即相邻卷积层中的权重在形状和值上具有很强的相似性,即,重量倾向于随着层平滑地变化。基于SVWH,我们提出了第二种ILWP和量化方法,该方法将相邻卷积层中权重之间的预测残差进行量化。由于预测的权重残差倾向于遵循具有非常低方差的拉普拉斯分布,因此可以更有效地应用权重量化,从而产生更多的零权重并提高权重压缩比。此外,我们提出了一个新的\textit{inter-layer loss}消除非纹理位,这使我们能够更有效地存储只有纹理位。也就是说,所提出的损失正则化权重,使得相邻两层之间的并置权重具有相同的值。最后,我们提出了一个ILWP与层间损失和量化方法。综合实验结果表明,该方法在相同的精度水平下,与以往基于量化的深度神经网络压缩方法相比,具有更高的权重压缩率。

英文摘要:

Due to a resource-constrained environment, network compression has become an important part of deep neural networks research. In this paper, we propose a new compression method, \textit{Inter-Layer Weight Prediction} (ILWP) and quantization method which quantize the predicted residuals between the weights in all convolution layers based on an inter-frame prediction method in conventional video coding schemes. Furthermore, we found a phenomenon \textit{Smoothly Varying Weight Hypothesis} (SVWH) which is that the weights in adjacent convolution layers share strong similarity in shapes and values, i.e., the weights tend to vary smoothly along with the layers. Based on SVWH, we propose a second ILWP and quantization method which quantize the predicted residuals between the weights in adjacent convolution layers. Since the predicted weight residuals tend to follow Laplace distributions with very low variance, the weight quantization can more effectively be applied, thus producing more zero weights and enhancing the weight compression ratio. In addition, we propose a new \textit{inter-layer loss} for eliminating non-texture bits, which enabled us to more effectively store only texture bits. That is, the proposed loss regularizes the weights such that the collocated weights between the adjacent two layers have the same values. Finally, we propose an ILWP with an inter-layer loss and quantization method. Our comprehensive experiments show that the proposed method achieves a much higher weight compression rate at the same accuracy level compared with the previous quantization-based compression methods in deep neural networks.

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

↑