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

用Posit数系统训练深度神经网络

Training Deep Neural Networks Using Posit Number System

Nanjing University(南京大学)

Jinming Lu, Siyuan Lu, Zhisheng Wang, Chao Fang, Jun Lin, Zhongfeng Wang, Li Du

摘要:

随着深度神经网络(DNN)模型规模的增加,高存储空间需求和计算复杂性已成为高效实现DNN的障碍。为了解决这个问题,使用精度降低的表示进行DNN训练和推理吸引了许多研究人员的兴趣。本文首先提出了一种使用浮点数算法训练DNN的方法,这是一种类型3通用数(Unum)格式,类似于浮点数(FP),但精度降低。采用预热训练策略和逐层缩放因子来稳定训练并拟合DNN参数的动态范围。使用所提出的训练方法,我们在ImageNet图像分类任务中首次成功训练了DNN模型,并且没有准确性损失。然后,还提出了一种高效的硬件架构的乘法和累加运算,它可以实现显着提高能源效率比传统的浮点实现。所提出的设计有助于未来的低功耗DNN训练加速器。

英文摘要:

With the increasing size of Deep Neural Network (DNN) models, the high memory space requirements and computational complexity have become an obstacle for efficient DNN implementations. To ease this problem, using reduced-precision representations for DNN training and inference has attracted many interests from researchers. This paper first proposes a methodology for training DNNs with the posit arithmetic, a type- 3 universal number (Unum) format that is similar to the floating point(FP) but has reduced precision. A warm-up training strategy and layer-wise scaling factors are adopted to stabilize training and fit the dynamic range of DNN parameters. With the proposed training methodology, we demonstrate the first successful training of DNN models on ImageNet image classification task in 16 bits posit with no accuracy loss. Then, an efficient hardware architecture for the posit multiply-and-accumulate operation is also proposed, which can achieve significant improvement in energy efficiency than traditional floating-point implementations. The proposed design is helpful for future low-power DNN training accelerators.

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

↑