Journal of Computer Applications ›› 2023, Vol. 43 ›› Issue (3): 827-834.DOI: 10.11772/j.issn.1001-9081.2022010078

• Advanced computing • Previous Articles    

Workload automatic mapper for spiking neural network based on precise communication modeling

Xia HUA1, Zhenghao ZHU1, Cong XU1, Xihuang ZHANG1(), Zhilei CHAI1,2, Wenjie CHEN3   

  1. 1.School of Artificial Intelligence and Computer Science,Jiangnan University,Wuxi Jiangsu 214122,China
    2.Jiangsu Provincial Engineering Laboratory of Pattern Recognition and Computational Intelligence (Jiangnan University),Wuxi Jiangsu 214122,China
    3.MoE Engineering Research Center for Software/Hardware Co-design Technology and Application (East China Normal University),Shanghai 200062,China
  • Received:2022-01-20 Revised:2022-04-06 Accepted:2022-04-14 Online:2022-05-05 Published:2023-03-10
  • Contact: Xihuang ZHANG
  • About author:HUA Xia, born in 1997, M. S. candidate. His research interests include neuromorphic computing.
    ZHU Zhenghao, born in 1996, M. S. candidate. His research interests include neuromorphic computing.
    XU Cong, born in 1997, M. S. candidate. His research interests include neuromorphic computing.
    CHAI Zhilei, born in 1975, Ph. D., professor. His research interests include computer architecture.
    CHEN Wenjie, born in 1977, Ph. D., associate professor. His research interests include embedded system.
  • Supported by:
    National Natural Science Foundation of China(61972180)

基于精准通信建模的脉冲神经网络工作负载自动映射器

华夏1, 朱铮皓1, 徐聪1, 张曦煌1(), 柴志雷1,2, 陈闻杰3   

  1. 1.江南大学 人工智能与计算机学院, 江苏 无锡 214122
    2.江苏省模式识别与计算智能工程实验室(江南大学), 江苏 无锡 214122
    3.软硬件协同设计技术与应用教育部工程研究中心(华东师范大学), 上海 200062
  • 通讯作者: 张曦煌
  • 作者简介:华夏(1997—),男,江苏无锡人,硕士研究生,CCF会员,主要研究方向:类脑计算
    朱铮皓(1996—),男,江苏无锡人,硕士研究生,主要研究方向:类脑计算
    徐聪(1997—),男,浙江湖州人,硕士研究生,CCF会员,主要研究方向:类脑计算
    柴志雷(1975—),男,山西新绛人,教授,博士,CCF会员,主要研究方向:计算机体系结构
    陈闻杰(1977—),男,浙江金华人,副教授,博士,主要研究方向:嵌入式系统。
  • 基金资助:
    国家自然科学基金资助项目(61972180)

Abstract:

Running a large-scale Spiking Neural Network (SNN) on a distributed computing platform is one of the basic means to improve the level of brain-like computing intelligence. The difficulty lies in how to deploy the SNN to the corresponding number of computing nodes in order to make the overall system run with the best energy efficiency. To solve this problem, on the basis of NEural Simulation Tool-based (NEST-based) Workload Automatic Mapper for SNN (SWAM) proposed by others before, a workload automatic mapper for SNN, named SWAM2, based on precise communication modeling was proposed. In SWAM2, based on the NEST simulator, the communication part of the SNN workload was further accurately modeled; the quantization method of the parameters in the workload model was improved; the maximum network scale prediction method was designed. Experimental results on typical cases of SNN show that, the average prediction errors of SWAM2 were reduced by about 12.62 and 5.15 percentage points respectively compared with those of SWAM in workload communication and computing time prediction. When predicting the optimal mapping of the workload, the average accuracy of SWAM2 reached 97.55%, which was 13.13 percentage points higher than that of SWAM. SWAM2 avoids the process of manual trial and error by automatically predicting the optimal deployment/mapping of SNN workload on computing platform.

Key words: Spiking Neural Network (SNN), workload mapping, distributed computing platform, NEural Simulation Tool (NEST) simulator, calculation energy efficiency

摘要:

在分布式计算平台上运行大规模的脉冲神经网络(SNN)是提升类脑计算智能水平的基本手段之一,它的难点在于如何将SNN部署到对应数量的计算节点上,使整体系统的运行能效最佳。针对以上问题,在基于NEST的SNN工作负载自动映射器(SWAM)的基础上,提出一种基于精准通信建模的SNN工作负载自动映射器(SWAM2)。在SWAM2中,基于NEST仿真器对SNN工作负载的通信部分进行精准建模,并改进工作负载模型中参数的量化方法,设计了最大网络规模预测方法。在SNN典型案例上的实验结果表明,在工作负载通信以及计算时间的预测中,SWAM2的平均预测误差比SWAM分别降低12.62和5.15个百分点;在对工作负载最佳映射的预测中,SWAM2的平均准确率为97.55%,比SWAM高13.13个百分点。SWAM2通过自动预测SNN工作负载在计算平台上的最佳部署/映射,避免了手动反复实验的过程。

关键词: 脉冲神经网络, 工作负载映射, 分布式计算平台, NEST仿真器, 计算能效

CLC Number: