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

小批量序列化:具有层间数据重用的CNN训练

Mini-batch Serialization: CNN Training with Inter-layer Data Reuse

The University of Texas at Austin(德克萨斯大学奥斯汀分校);University of Michigan(密歇根大学);Duke University(杜克大学)

Sangkug Lym, Armand Behroozi, Wei Wen, Ge Li, Yongkee Kwon, Mattan Erez

摘要:

训练卷积神经网络(CNN)需要密集的计算和高内存带宽。我们发现,今天的带宽是过度供应的,因为CNN训练中的大多数内存访问可以通过重新安排计算来消除,以更好地利用片上缓冲区,并避免由每层大内存占用造成的流量。我们引入MBS CNN训练方法,该方法通过跨层组部分串行化迷你批处理来显著减少内存流量。这优化了片内缓冲器内的重用,并平衡了层内和层间重用。我们还介绍了WaveCore CNN训练加速器,该加速器可以在MBS方法中有效地训练CNN,并具有高功能单元利用率。与传统的训练机制和加速器相比,WaveCore和MBS相结合,将DRAM流量减少了75%,性能提高了53%,并为现代深度CNN训练节省了26%的系统能源。

英文摘要:

Training convolutional neural networks (CNNs) requires intense computations and high memory bandwidth. We find that bandwidth today is over-provisioned because most memory accesses in CNN training can be eliminated by rearranging computation to better utilize on-chip buffers and avoid traffic resulting from large per-layer memory footprints. We introduce the MBS CNN training approach that significantly reduces memory traffic by partially serializing mini-batch processing across groups of layers. This optimizes reuse within on-chip buffers and balances both intra-layer and inter-layer reuse. We also introduce the WaveCore CNN training accelerator that effectively trains CNNs in the MBS approach with high functional-unit utilization. Combined, WaveCore and MBS reduce DRAM traffic by 75%, improve performance by 53%, and save 26% system energy for modern deep CNN training compared to conventional training mechanisms and accelerators.

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

↑