首页> 外文会议>International Symposium on Advanced Parallel Processing Technologies >FixCaffe: Training CNN with Low Precision Arithmetic Operations by Fixed Point Caffe
【24h】

FixCaffe: Training CNN with Low Precision Arithmetic Operations by Fixed Point Caffe

机译:Fixcaffe:通过固定点Caffe具有低精度算术运算的CNN

获取原文

摘要

The convolutional neural networks are widely used in deep learning model because of its advantages in image classification, speech recognition and natural language processing. However, training large-scale networks is very time and resource consuming, because it is both compute-intensive and memory-intensive. In this paper, we proposed to use the fixed point arithmetic to train CNN with popular deep learning framework Caffe. We propose our framework FixCaffe (Fixed Point Caffe), where fixed point matrix multiply function is substitute for part of the original floating point matrix multiply function in Caffe. We analyze the range of the operands during the training process, and choose the proper scaling factor for transform floating point operands to fixed point operands. Training LeNet-S model, obtained by modifying LeNet-5, on the MNIST benchmark, the result shows that after training 1000 iterations, FixCaffe with 8-bit fixed point multiplications only leads to about 0.5% loss in the classification accuracy compared to the single-precision floating point Caffe baseline. Using Xilinx V7 690T to implement the multiplier, the cost of computing resource can save up to 83.3%, and the on-chip storage overhead for the LeNet-S model's parameters can save 75%.
机译:由于其在图像分类,语音识别和自然语言处理中的优点,卷积神经网络广泛用于深度学习模型。然而,培训大规模网络是非常的时间和资源消耗,因为它既是计算密集型和内存密集型的。在本文中,我们建议使用定点算法与流行的深度学习框架Caffe培训CNN。我们提出了我们的框架FixCaffe(固定点Caffe),其中固定点矩阵乘法函数替代Caffe中的原始浮点矩阵乘法函数的一部分。我们在培训过程中分析了操作数的范围,并选择转换浮点操作数的正确缩放因子,以固定点操作数。培训Lenet-S模型通过修改LENET-5,在MNIST基准上获得,结果表明,在训练1000次迭代之后,具有8位固定点乘法的FixCaffe仅导致分类准确性的损耗约为0.5% - 精度浮点Caffe基线。使用Xilinx V7 690t实现乘法器,计算资源的成本可以节省高达83.3%,而Lenet-S模型参数的片上存储开销可以节省75%。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号