首页> 外文期刊>ACM SIGPLAN Notices: A Monthly Publication of the Special Interest Group on Programming Languages >Bridging the Gap Between Neural Networks and Neuromorphic Hardware with A Neural Network Compiler
【24h】

Bridging the Gap Between Neural Networks and Neuromorphic Hardware with A Neural Network Compiler

机译:用神经网络编译器弥合神经网络与神经胸壁硬件之间的差距

获取原文
获取原文并翻译 | 示例
           

摘要

Different from developing neural networks (NNs) for general-purpose processors, the development for NN chips usually faces with some hardware-specific restrictions, such as limited precision of network signals and parameters, constrained computation scale, and limited types of non-linear functions. This paper proposes a general methodology to address the challenges. We decouple the NN applications from the target hardware by introducing a compiler that can transform an existing trained, unrestricted NN into an equivalent network that meets the given hardware's constraints. We propose multiple techniques to make the transformation adaptable to different kinds of NN chips, and reliable for restrict hardware constraints. We have built such a software tool that supports both spiking neural networks (SNNs) and traditional artificial neural networks (ANNs). We have demonstrated its effectiveness with a fabricated neuromorphic chip and a processing-in-memory (PIM) design. Tests show that the inference error caused by this solution is insignificant and the transformation time is much shorter than the retraining time. Also, we have studied the parameter-sensitivity evaluations to explore the tradeoffs between network error and resource utilization for different transformation strategies, which could provide insights for co-design optimization of neuromorphic hardware and software.
机译:不同于开发通用处理器的神经网络(NNS),NN芯片的开发通常面临一些硬件特定的限制,例如网络信号和参数的有限精度,约束计算刻度和有限类型的非线性函数类型。本文提出了一种解决挑战的一般方法。我们通过引入可以将现有训练的编译器进行转换为符合给定硬件约束的等效网络的编译器将NN应用程序从目标硬件中解耦到目标硬件中。我们提出了多种技术,使改变适用于不同种类的NN芯片,可靠地限制硬件限制。我们已经建立了一种支持尖峰神经网络(SNN)和传统人工神经网络(ANNS)的软件工具。我们已经证明了其具有制造的神经形态芯片和加工记忆(PIM)设计的有效性。测试表明,由该解决方案引起的推理误差是微不足道的,变换时间远远短于再磨隆时间。此外,我们已经研究了参数灵敏度评估,以探讨不同转换策略的网络误差和资源利用之间的权衡,可以为神经形态硬件和软件的共同设计优化提供见解。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号