arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1811.09862cs.LGcs.CVstat.ML
收藏

周期函数作为神经网络的Quantization正则化器

On Periodic Functions as Regularizers for Quantization of Neural Networks

Facebook(脸书)

Maxim Naumov, Utku Diril, Jongsoo Park, Benjamin Ray, Jedrzej Jablonski, Andrew Tulloch

摘要:

深度学习模型已成功应用于计算机视觉等诸多领域。我们提出了一个非正统的算法进行量化的模型参数。与基于阈值的流行量化方案相比,我们使用了一种基于周期函数的新技术,如连续三角正弦或余弦以及非连续帽函数。我们将这些函数应用于各个分量,并将模型参数的和作为正则化器添加到训练过程中的模型损失中。这些函数的频率和幅度超参数可以在训练期间调整。正则化将权重推到可以编码为整数的离散点中。我们表明,使用这种技术,得到的量化模型在CIFAR-10和ImageNet数据集上表现出与原始模型相同的准确性。

英文摘要:

Deep learning models have been successfully used in computer vision and many other fields. We propose an unorthodox algorithm for performing quantization of the model parameters. In contrast with popular quantization schemes based on thresholds, we use a novel technique based on periodic functions, such as continuous trigonometric sine or cosine as well as non-continuous hat functions. We apply these functions component-wise and add the sum over the model parameters as a regularizer to the model loss during training. The frequency and amplitude hyper-parameters of these functions can be adjusted during training. The regularization pushes the weights into discrete points that can be encoded as integers. We show that using this technique the resulting quantized models exhibit the same accuracy as the original ones on CIFAR-10 and ImageNet datasets.

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

↑