arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1905.10759cs.CVcs.LG
收藏

HadaNets:用于神经网络的灵活Quantization策略

HadaNets: Flexible Quantization Strategies for Neural Networks

Birla Institute of Technology and Science, Pilani(贝拉理工学院(皮拉尼))

Yash Akhauri

摘要:

无人机上的机载处理元件目前不足以进行深度神经网络的训练和推理。这在很大程度上是由于在这样的网络中的存储器访问的能量消耗。HadaNets通过将全精度张量与Hadamard乘积形式的二进制张量配对,引入了一种灵活的从头训练张量量化方案。与更广泛的降低精度的神经网络模型不同,我们保留了训练时间参数计数,因此在没有训练时间记忆损失的情况下性能优于XNOR网络。这种训练例程在半监督在线学习任务中可以看到很大的效用。我们的方法在模型压缩方面也具有优势,因为我们在不使用任何其他压缩技术的情况下,将ResNet-18的模型大小减少了7.43倍。我们还展示了一个'阿达玛二进制矩阵乘法'内核,它提供了一个10倍的性能提高全精度矩阵乘法与类似的优化内核。

英文摘要:

On-board processing elements on UAVs are currently inadequate for training and inference of Deep Neural Networks. This is largely due to the energy consumption of memory accesses in such a network. HadaNets introduce a flexible train-from-scratch tensor quantization scheme by pairing a full precision tensor to a binary tensor in the form of a Hadamard product. Unlike wider reduced precision neural network models, we preserve the train-time parameter count, thus out-performing XNOR-Nets without a train-time memory penalty. Such training routines could see great utility in semi-supervised online learning tasks. Our method also offers advantages in model compression, as we reduce the model size of ResNet-18 by 7.43 times with respect to a full precision model without utilizing any other compression techniques. We also demonstrate a 'Hadamard Binary Matrix Multiply' kernel, which delivers a 10-fold increase in performance over full precision matrix multiplication with a similarly optimized kernel.

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

↑