Exploiting deep learning accelerators for neuromorphic workloads

P. Sun, Alexander Titterton, Anjlee Gopiani, Tim Santos, Arindam Basu, Wei Lu, Jason Eshraghian
{"title":"Exploiting deep learning accelerators for neuromorphic workloads","authors":"P. Sun, Alexander Titterton, Anjlee Gopiani, Tim Santos, Arindam Basu, Wei Lu, Jason Eshraghian","doi":"10.1088/2634-4386/ad2373","DOIUrl":null,"url":null,"abstract":"\n Spiking neural networks (SNNs) have achieved orders of magnitude improvement in terms of energy consumption and latency when performing inference with deep learning workloads. Error backpropagation is presently regarded as the most effective method for training SNNs, but in a twist of irony, when training on modern graphics processing units (GPUs) this becomes more expensive than non-spiking networks. The emergence of Graphcore's Intelligence Processing Units (IPUs) balances the parallelized nature of deep learning workloads with the sequential, reusable, and sparsified nature of operations prevalent when training SNNs. IPUs adopt multi-instruction multi-data (MIMD) parallelism by running individual processing threads on smaller data blocks, which is a natural fit for the sequential, non-vectorized steps required to solve spiking neuron dynamical state equations. We present an IPU-optimized release of our custom SNN Python package, snnTorch, which exploits fine-grained parallelism by utilizing low-level, pre-compiled custom operations to accelerate irregular and sparse data access patterns that are characteristic of training SNN workloads. We provide a rigorous performance assessment across a suite of commonly used spiking neuron models, and propose methods to further reduce training run-time via half-precision training. By amortizing the cost of sequential processing into vectorizable population codes, we ultimately demonstrate the potential for integrating domain-specific accelerators with the next generation of neural networks.","PeriodicalId":496616,"journal":{"name":"Neuromorphic computing and engineering","volume":"14 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-01-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Neuromorphic computing and engineering","FirstCategoryId":"0","ListUrlMain":"https://doi.org/10.1088/2634-4386/ad2373","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Spiking neural networks (SNNs) have achieved orders of magnitude improvement in terms of energy consumption and latency when performing inference with deep learning workloads. Error backpropagation is presently regarded as the most effective method for training SNNs, but in a twist of irony, when training on modern graphics processing units (GPUs) this becomes more expensive than non-spiking networks. The emergence of Graphcore's Intelligence Processing Units (IPUs) balances the parallelized nature of deep learning workloads with the sequential, reusable, and sparsified nature of operations prevalent when training SNNs. IPUs adopt multi-instruction multi-data (MIMD) parallelism by running individual processing threads on smaller data blocks, which is a natural fit for the sequential, non-vectorized steps required to solve spiking neuron dynamical state equations. We present an IPU-optimized release of our custom SNN Python package, snnTorch, which exploits fine-grained parallelism by utilizing low-level, pre-compiled custom operations to accelerate irregular and sparse data access patterns that are characteristic of training SNN workloads. We provide a rigorous performance assessment across a suite of commonly used spiking neuron models, and propose methods to further reduce training run-time via half-precision training. By amortizing the cost of sequential processing into vectorizable population codes, we ultimately demonstrate the potential for integrating domain-specific accelerators with the next generation of neural networks.
为神经形态工作负载开发深度学习加速器
尖峰神经网络(SNN)在使用深度学习工作负载进行推理时,能耗和延迟都得到了数量级的改善。误差反向传播目前被认为是训练 SNN 的最有效方法,但具有讽刺意味的是,在现代图形处理器(GPU)上进行训练时,这种方法比非尖峰网络更加昂贵。Graphcore 的智能处理单元(IPU)的出现平衡了深度学习工作负载的并行化特性与训练 SNNs 时普遍存在的操作的顺序性、可重用性和稀疏性。IPU 采用多指令多数据(MIMD)并行技术,在较小的数据块上运行单个处理线程,这自然适合解决尖峰神经元动态状态方程所需的顺序、非矢量化步骤。我们介绍了经过 IPU 优化的定制 SNN Python 软件包 snnTorch,该软件包利用预编译的低级定制操作来加速不规则和稀疏的数据访问模式,这正是训练 SNN 工作负载的特点,从而利用了细粒度并行性。我们对一套常用的尖峰神经元模型进行了严格的性能评估,并提出了通过半精度训练进一步缩短训练运行时间的方法。通过将顺序处理的成本分摊到可矢量化的群体代码中,我们最终展示了将特定领域加速器与下一代神经网络集成的潜力。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书