arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1803.04783cs.DCcs.AR
收藏

一种可扩展的近内存架构,用于在大型内存数据集上训练深度神经网络

A Scalable Near-Memory Architecture for Training Deep Neural Networks on Large In-Memory Datasets

Fabian Schuiki, Michael Schaffner, Frank K. Gürkaynak, Luca Benini

摘要:

大多数对深度神经网络的近记忆硬件加速器的研究主要集中在推理上,而到目前为止,加速训练的潜力受到的关注相对较少。基于对最先进的基于梯度的训练方法中的关键计算模式的深入分析,我们提出了一种名为NTX的高效近记忆加速引擎,可用于大规模训练最先进的深度卷积神经网络。我们的主要贡献是:(i)RISC-V内核和NTX协处理器的松散耦合,与先前公布的结果相比,将卸载开销减少了7倍;(ii)用于快速高精度卷积和梯度传播的优化的IEEE 754兼容数据路径;(iii)利用嵌入到混合存储器立方体的逻辑基础裸片上的剩余区域中的NTX来评估近存储器计算;以及(iv)对数据中心场景中的HMC的网格的缩放分析。我们证明了NTX的能效比当代GPU提高了2.7倍,硅面积减少了4.4倍,计算性能为1.2 Tflop/s,用于训练具有全浮点精度的大型最先进网络。在数据中心规模,NTX网格实现了95%以上的并行和能源效率,同时与基于GPU的系统相比,节省了2.1倍的能源或提高了3.1倍的性能。

英文摘要:

Most investigations into near-memory hardware accelerators for deep neural networks have primarily focused on inference, while the potential of accelerating training has received relatively little attention so far. Based on an in-depth analysis of the key computational patterns in state-of-the-art gradient-based training methods, we propose an efficient near-memory acceleration engine called NTX that can be used to train state-of-the-art deep convolutional neural networks at scale. Our main contributions are: (i) a loose coupling of RISC-V cores and NTX co-processors reducing offloading overhead by 7x over previously published results; (ii) an optimized IEEE754 compliant data path for fast high-precision convolutions and gradient propagation; (iii) evaluation of near-memory computing with NTX embedded into residual area on the Logic Base die of a Hybrid Memory Cube; and (iv) a scaling analysis to meshes of HMCs in a data center scenario. We demonstrate a 2.7x energy efficiency improvement of NTX over contemporary GPUs at 4.4x less silicon area, and a compute performance of 1.2 Tflop/s for training large state-of-the-art networks with full floating-point precision. At the data center scale, a mesh of NTX achieves above 95% parallel and energy efficiency, while providing 2.1x energy savings or 3.1x performance improvement over a GPU-based system.

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

↑