arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2006.09049cs.CVcs.LG
收藏

多精度策略强制训练(MuPPET):用于CNN量化定点训练的精度切换策略

Multi-Precision Policy Enforced Training (MuPPET): A precision-switching strategy for quantised fixed-point training of CNNs

Imperial College London(帝国理工学院);Samsung AI Center(三星人工智能中心)

Aditya Rajagopal, Diederik Adriaan Vink, Stylianos I. Venieris, Christos-Savvas Bouganis

摘要:

大规模卷积神经网络(CNN)的训练时间非常长,从几小时到几周不等,限制了深度学习从业者的生产力和实验。随着网络规模和复杂性的增长,可以通过低精度的数据表示和计算来减少训练时间。然而,在这样做时,由于梯度消失的问题,最终的精度受到影响。现有的最先进的方法通过混合精度方法来解决这个问题,该方法利用两个不同的精度级别,FP 32(32位浮点)和FP 16/FP 8(16-/8位浮点),利用最近GPU架构对FP 16运算的硬件支持来获得性能增益。这项工作通过采用多级优化方法来推动量化训练的边界,该方法利用了包括低精度定点表示在内的多种精度。新的训练策略,MuPPET,结合使用多个数字表示制度连同精度切换机制,决定在运行时间之间的转换点精度制度。总体而言,所提出的策略量身定制的训练过程中的目标硬件架构的硬件级能力,并产生的训练时间和能源效率的改进相比,国家的最先进的方法。将MuPPET应用于AlexNet、ResNet 18和GoogLeNet在ImageNet(ILSVRC 12)上的训练,并以NVIDIA Turing GPU为目标,MuPPET实现了与标准全精度训练相同的精度,训练时间加速高达1.84 $\times$,整个网络的平均加速为1.58 $\times$。

英文摘要:

Large-scale convolutional neural networks (CNNs) suffer from very long training times, spanning from hours to weeks, limiting the productivity and experimentation of deep learning practitioners. As networks grow in size and complexity, training time can be reduced through low-precision data representations and computations. However, in doing so the final accuracy suffers due to the problem of vanishing gradients. Existing state-of-the-art methods combat this issue by means of a mixed-precision approach utilising two different precision levels, FP32 (32-bit floating-point) and FP16/FP8 (16-/8-bit floating-point), leveraging the hardware support of recent GPU architectures for FP16 operations to obtain performance gains. This work pushes the boundary of quantised training by employing a multilevel optimisation approach that utilises multiple precisions including low-precision fixed-point representations. The novel training strategy, MuPPET, combines the use of multiple number representation regimes together with a precision-switching mechanism that decides at run time the transition point between precision regimes. Overall, the proposed strategy tailors the training process to the hardware-level capabilities of the target hardware architecture and yields improvements in training time and energy efficiency compared to state-of-the-art approaches. Applying MuPPET on the training of AlexNet, ResNet18 and GoogLeNet on ImageNet (ILSVRC12) and targeting an NVIDIA Turing GPU, MuPPET achieves the same accuracy as standard full-precision training with training-time speedup of up to 1.84$\times$ and an average speedup of 1.58$\times$ across the networks.

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

↑