arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1902.01917cs.LGstat.ML
收藏

相同,相同但不同-通过权重分解恢复神经网络Quantization错误

Same, Same But Different - Recovering Neural Network Quantization Error Through Weight Factorization

Hailo Technologies(海洛科技)

Eldad Meller, Alexander Finkelstein, Uri Almog, Mark Grobman

摘要:

由于需要在嵌入式设备上高效实现深度神经网络,神经网络的量化已成为常见做法。在本文中,我们利用了大多数网络中经常被忽视的自由度-对于给定的层,单个输出通道可以通过任何因子进行缩放,前提是下一层的相应权重被逆缩放。因此,一个给定的网络有许多因子分解,这些因子分解改变了网络的权重,而不改变其功能。我们提出了一个概念上简单,易于实现的方法,使用此属性,并表明适当的因式分解显着降低量化所造成的退化。我们在各种各样的网络上表现出改进,并为MobileNets实现了最先进的降级结果。虽然我们的重点是量化,但这种类型的因式分解也适用于其他领域,如网络修剪,神经网络正则化和网络可解释性。

英文摘要:

Quantization of neural networks has become common practice, driven by the need for efficient implementations of deep neural networks on embedded devices. In this paper, we exploit an oft-overlooked degree of freedom in most networks - for a given layer, individual output channels can be scaled by any factor provided that the corresponding weights of the next layer are inversely scaled. Therefore, a given network has many factorizations which change the weights of the network without changing its function. We present a conceptually simple and easy to implement method that uses this property and show that proper factorizations significantly decrease the degradation caused by quantization. We show improvement on a wide variety of networks and achieve state-of-the-art degradation results for MobileNets. While our focus is on quantization, this type of factorization is applicable to other domains such as network-pruning, neural nets regularization and network interpretability.

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

↑