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

具有可学习正则化的稀疏低精度神经网络学习

Learning Sparse Low-Precision Neural Networks With Learnable Regularization

Samsung Semiconductor Inc.(三星半导体有限公司)

Yoojin Choi, Mostafa El-Khamy, Jungwon Lee

摘要:

我们考虑学习由低精度权重和激活组成的深度神经网络(DNN),以有效推断定点运算。在训练低精度网络时,使用高精度权重执行向后传递中的梯度下降,而在向前传递中使用量化的低精度权重和激活来计算用于训练的损失函数。因此,梯度下降变得次优,并且精度损失随之而来。为了减少前向和后向通道中的失配,我们利用均方量化误差(MSQE)正则化。特别是,我们建议使用一个可学习的正则化系数与MSQE正则化器,以加强高精度权重的收敛到它们的量化值。我们还研究了部分L2正则化如何以类似的方式用于权重修剪。最后,结合权重修剪、量化和熵编码,建立了低精度DNN压缩流水线。在我们的实验中,所提出的方法在ImageNet分类上产生了低精度的MobileNet和ShuffleNet模型,最先进的压缩比分别为7.13和6.79。此外,我们研究了我们的图像超分辨率网络的方法,以产生8位低精度模型,性能损失可以忽略不计。

英文摘要:

We consider learning deep neural networks (DNNs) that consist of low-precision weights and activations for efficient inference of fixed-point operations. In training low-precision networks, gradient descent in the backward pass is performed with high-precision weights while quantized low-precision weights and activations are used in the forward pass to calculate the loss function for training. Thus, the gradient descent becomes suboptimal, and accuracy loss follows. In order to reduce the mismatch in the forward and backward passes, we utilize mean squared quantization error (MSQE) regularization. In particular, we propose using a learnable regularization coefficient with the MSQE regularizer to reinforce the convergence of high-precision weights to their quantized values. We also investigate how partial L2 regularization can be employed for weight pruning in a similar manner. Finally, combining weight pruning, quantization, and entropy coding, we establish a low-precision DNN compression pipeline. In our experiments, the proposed method yields low-precision MobileNet and ShuffleNet models on ImageNet classification with the state-of-the-art compression ratios of 7.13 and 6.79, respectively. Moreover, we examine our method for image super resolution networks to produce 8-bit low-precision models at negligible performance loss.

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

↑