BitSplit-Net:具有逐位激活函数的多位深度神经网络
BitSplit-Net: Multi-bit Deep Neural Network with Bitwise Activation Function
摘要:
深度神经网络(DNN)的显著计算成本和存储器需求使得难以在资源受限的环境中利用DNN。二进制神经网络(BNN),它使用二进制权重和二进制激活,已经获得了它的硬件友好的特性和最小的资源需求的兴趣。然而,BNN通常遭受精度下降。在本文中,我们介绍了“BitSplit-Net”,一个神经网络,它保持了BNN的硬件友好的特性,同时通过使用多位精度来提高精度。在BitSplit-Net中,多位激活的每个位在网络末端合并之前独立地在整个网络中传播。因此,BitSplit-Net的每个位路径类似于BNN,并且在我们的方案中保留了BNN的硬件友好特性,例如逐位二进制激活函数。我们证明,与传统的低比特精度(<= 4比特)的多比特网络相比,LeNet-5,VGG-9,AlexNet和ResNet-18的BitSplit版本可以以更低的计算成本进行训练,以具有相似的分类精度。我们进一步评估了BitSplit-Net在GPU上的自定义CUDA内核,显示BitSplit-Net可以实现更好的硬件性能相比,传统的多位网络。
英文摘要:
Significant computational cost and memory requirements for deep neural networks (DNNs) make it difficult to utilize DNNs in resource-constrained environments. Binary neural network (BNN), which uses binary weights and binary activations, has been gaining interests for its hardware-friendly characteristics and minimal resource requirement. However, BNN usually suffers from accuracy degradation. In this paper, we introduce "BitSplit-Net", a neural network which maintains the hardware-friendly characteristics of BNN while improving accuracy by using multi-bit precision. In BitSplit-Net, each bit of multi-bit activations propagates independently throughout the network before being merged at the end of the network. Thus, each bit path of the BitSplit-Net resembles BNN and hardware friendly features of BNN, such as bitwise binary activation function, are preserved in our scheme. We demonstrate that the BitSplit version of LeNet-5, VGG-9, AlexNet, and ResNet-18 can be trained to have similar classification accuracy at a lower computational cost compared to conventional multi-bit networks with low bit precision (<= 4-bit). We further evaluate BitSplit-Net on GPU with custom CUDA kernel, showing that BitSplit-Net can achieve better hardware performance in comparison to conventional multi-bit networks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。