arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2006.12274cs.DCcs.LG
收藏

基于片上网络互连的卷积神经网络到众核平台的数据流感知映射

Dataflow Aware Mapping of Convolutional Neural Networks Onto Many-Core Platforms With Network-on-Chip Interconnect

RWTH Aachen University(亚琛工业大学)

Andreas Bytyn, René Ahlsdorf, Rainer Leupers, Gerd Ascheid

摘要:

机器智能,特别是使用卷积神经网络(CNN),在过去几年中已经成为一个大的研究领域。提出了越来越复杂的硬件加速器,其利用例如计算中的稀疏性并利用降低精度的算术来按比例缩小能耗。然而,未来的平台需要的不仅仅是能源效率:可扩展性正在成为一个越来越重要的因素。物理实现所需的努力随着加速器的大小而增加,使得更难以满足目标约束。使用由多个同构核组成的众核平台可以减轻上述关于物理实现的限制,但代价是增加了低映射工作。虽然CNN中的卷积是确定性的,因此可以离线优化,但找到一个最小化运行时间和片外存储器访问的合适方案的问题是一项具有挑战性的任务,如果涉及互连系统,则会变得更加复杂。这项工作提出了一种自动映射策略,从单核级别开始,具有不同的优化目标,用于最小的运行时间和最小的片外内存访问。然后,该策略扩展到一个合适的众核映射方案,并使用可扩展的系统级仿真与片上网络互连进行评估。设计空间探索是通过将著名的CNN AlexNet和VGG-16映射到不同核心数量和每个核心计算能力的平台来执行的,以便研究权衡。我们的映射策略和系统设置从单核级别扩展到128个核心,从而显示了所选方法的局限性。

英文摘要:

Machine intelligence, especially using convolutional neural networks (CNNs), has become a large area of research over the past years. Increasingly sophisticated hardware accelerators are proposed that exploit e.g. the sparsity in computations and make use of reduced precision arithmetic to scale down the energy consumption. However, future platforms require more than just energy efficiency: Scalability is becoming an increasingly important factor. The required effort for physical implementation grows with the size of the accelerator making it more difficult to meet target constraints. Using many-core platforms consisting of several homogeneous cores can alleviate the aforementioned limitations with regard to physical implementation at the expense of an increased dataflow mapping effort. While the dataflow in CNNs is deterministic and can therefore be optimized offline, the problem of finding a suitable scheme that minimizes both runtime and off-chip memory accesses is a challenging task which becomes even more complex if an interconnect system is involved. This work presents an automated mapping strategy starting at the single-core level with different optimization targets for minimal runtime and minimal off-chip memory accesses. The strategy is then extended towards a suitable many-core mapping scheme and evaluated using a scalable system-level simulation with a network-on-chip interconnect. Design space exploration is performed by mapping the well-known CNNs AlexNet and VGG-16 to platforms of different core counts and computational power per core in order to investigate the trade-offs. Our mapping strategy and system setup is scaled starting from the single core level up to 128 cores, thereby showing the limits of the selected approach.

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

↑