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

DFSynthesizer:基于数据流的脉冲神经网络到神经形态硬件的综合

DFSynthesizer: Dataflow-based Synthesis of Spiking Neural Networks to Neuromorphic Hardware

Shihao Song, Harry Chong, Adarsha Balaji, Anup Das, James Shackleford, Nagarajan Kandasamy

摘要:

脉冲神经网络(SNN)是一种新兴的计算模型,它采用事件驱动的激活和生物启发的学习算法。基于SNN的机器学习程序通常在基于瓦片的神经形态硬件平台上执行,其中每个瓦片由称为交叉杆的计算单元组成,其映射程序的神经元和突触。然而,在现成的神经形态硬件上合成这样的程序是具有挑战性的。这是因为硬件的固有资源和延迟限制,其影响模型性能,例如,精度和硬件性能,例如,吞吐量我们提出了DFSynthesizer,一个端到端的框架,用于将基于SNN的机器学习程序合成到神经形态硬件。拟议的框架分四个步骤运作。首先,它分析了机器学习程序,并使用代表性数据生成SNN工作负载。其次,它划分SNN工作负载并生成适合目标神经形态硬件的交叉条的集群。第三,它利用同步数据流图(SDFG)的丰富语义来表示集群SNN程序,允许在关键硬件约束(如交叉杆的数量、每个交叉杆的尺寸、瓦片上的缓冲空间和瓦片通信带宽)方面进行性能分析。最后,采用一种新的调度算法在硬件的交叉开关上执行集群,保证了硬件性能。我们用10个常用的机器学习程序来评估DFSynthesizer。我们的研究结果表明,DFSynthesizer提供了更严格的性能保证相比,目前的映射方法。

英文摘要:

Spiking Neural Networks (SNN) are an emerging computation model, which uses event-driven activation and bio-inspired learning algorithms. SNN-based machine-learning programs are typically executed on tile- based neuromorphic hardware platforms, where each tile consists of a computation unit called crossbar, which maps neurons and synapses of the program. However, synthesizing such programs on an off-the-shelf neuromorphic hardware is challenging. This is because of the inherent resource and latency limitations of the hardware, which impact both model performance, e.g., accuracy, and hardware performance, e.g., throughput. We propose DFSynthesizer, an end-to-end framework for synthesizing SNN-based machine learning programs to neuromorphic hardware. The proposed framework works in four steps. First, it analyzes a machine-learning program and generates SNN workload using representative data. Second, it partitions the SNN workload and generates clusters that fit on crossbars of the target neuromorphic hardware. Third, it exploits the rich semantics of Synchronous Dataflow Graph (SDFG) to represent a clustered SNN program, allowing for performance analysis in terms of key hardware constraints such as number of crossbars, dimension of each crossbar, buffer space on tiles, and tile communication bandwidth. Finally, it uses a novel scheduling algorithm to execute clusters on crossbars of the hardware, guaranteeing hardware performance. We evaluate DFSynthesizer with 10 commonly used machine-learning programs. Our results demonstrate that DFSynthesizer provides much tighter performance guarantee compared to current mapping approaches.

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

↑