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

一种将脉冲神经网络映射到众核神经形态硬件的设计流程

A Design Flow for Mapping Spiking Neural Networks to Many-Core Neuromorphic Hardware

Shihao Song, M. Lakshmi Varshika, Anup Das, Nagarajan Kandasamy

摘要:

众核神经形态硬件的设计变得越来越复杂,因为这些系统被期望执行大型机器学习模型。为了应对设计的复杂性,需要一个可预测的设计流程,以保证实时性能,如延迟和吞吐量,而不显着增加计算核心的缓冲区要求。同步数据流图(SDFG)用于流应用到多处理器系统的可预测映射。我们提出了一个基于SDFG的设计流程映射脉冲神经网络(SNN)的众核神经形态硬件的目标,探索吞吐量和缓冲区大小之间的权衡。所提出的设计流程集成了一种迭代分区方法,基于Kernighan-Lin图分区启发式,创建SNN集群,使得每个集群可以映射到硬件的核心。分区方法最小化集群间尖峰通信,这改善了硬件的共享互连上的延迟。接下来,设计流程使用粒子群优化(PSO)(一种进化算法)的实例将集群映射到核心,探索吞吐量和缓冲区大小的设计空间。从设计流程中保留帕累托最优映射,允许系统设计人员选择满足设计的吞吐量和缓冲区大小要求的帕累托映射。我们使用五个大规模卷积神经网络(CNN)模型评估了设计流程。结果表明,63%的最大吞吐量和10%的缓冲区大小的要求相比,国家的最先进的基于卷积映射解决方案。

英文摘要:

The design of many-core neuromorphic hardware is getting more and more complex as these systems are expected to execute large machine learning models. To deal with the design complexity, a predictable design flow is needed to guarantee real-time performance such as latency and throughput without significantly increasing the buffer requirement of computing cores. Synchronous Data Flow Graphs (SDFGs) are used for predictable mapping of streaming applications to multiprocessor systems. We propose an SDFG-based design flow for mapping spiking neural networks (SNNs) to many-core neuromorphic hardware with the objective of exploring the tradeoff between throughput and buffer size. The proposed design flow integrates an iterative partitioning approach, based on Kernighan-Lin graph partitioning heuristic, creating SNN clusters such that each cluster can be mapped to a core of the hardware. The partitioning approach minimizes the inter-cluster spike communication, which improves latency on the shared interconnect of the hardware. Next, the design flow maps clusters to cores using an instance of the Particle Swarm Optimization (PSO), an evolutionary algorithm, exploring the design space of throughput and buffer size. Pareto optimal mappings are retained from the design flow, allowing system designers to select a Pareto mapping that satisfies throughput and buffer size requirements of the design. We evaluated the design flow using five large-scale convolutional neural network (CNN) models. Results demonstrate 63% higher maximum throughput and 10% lower buffer size requirement compared to state-of-the-art dataflow-based mapping solutions.

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

↑