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

用Monte Carlo方法求解神经网络的瞬时Quantization

Instant Quantization of Neural Networks using Monte Carlo Methods

Hasso Plattner Institute(哈索·普拉特纳研究所);NVIDIA(英伟达)

Gonçalo Mordido, Matthijs Van Keirsbilck, Alexander Keller

摘要:

低位宽整数权重和激活对于高效推理非常重要,特别是在低功耗方面。我们提出了蒙特卡罗方法来计算预先训练好的神经网络的权重和激活,而不需要重新训练。通过执行重要性采样,我们从全精度权重和激活中获得量化的低比特宽度整数值。精度、稀疏度和复杂度可以通过执行的采样量轻松配置。我们的方法称为蒙特卡罗量化(MCQ),在时间和空间上都是线性的,与原始的全精度网络相比,所得到的量化稀疏网络显示出最小的精度损失。与之前需要额外训练的量化方法相比,我们的方法在多个基准测试中表现出色或取得了有竞争力的结果。

英文摘要:

Low bit-width integer weights and activations are very important for efficient inference, especially with respect to lower power consumption. We propose Monte Carlo methods to quantize the weights and activations of pre-trained neural networks without any re-training. By performing importance sampling we obtain quantized low bit-width integer values from full-precision weights and activations. The precision, sparsity, and complexity are easily configurable by the amount of sampling performed. Our approach, called Monte Carlo Quantization (MCQ), is linear in both time and space, with the resulting quantized, sparse networks showing minimal accuracy loss when compared to the original full-precision networks. Our method either outperforms or achieves competitive results on multiple benchmarks compared to previous quantization methods that do require additional training.

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

↑