E-prop on SpiNNaker 2: Exploring online learning in spiking RNNs on neuromorphic hardware

Author:

Rostami Amirhossein,Vogginger Bernhard,Yan Yexin,Mayr Christian G.

Abstract

IntroductionIn recent years, the application of deep learning models at the edge has gained attention. Typically, artificial neural networks (ANNs) are trained on graphics processing units (GPUs) and optimized for efficient execution on edge devices. Training ANNs directly at the edge is the next step with many applications such as the adaptation of models to specific situations like changes in environmental settings or optimization for individuals, e.g., optimization for speakers for speech processing. Also, local training can preserve privacy. Over the last few years, many algorithms have been developed to reduce memory footprint and computation.MethodsA specific challenge to train recurrent neural networks (RNNs) for processing sequential data is the need for the Back Propagation Through Time (BPTT) algorithm to store the network state of all time steps. This limitation is resolved by the biologically-inspired E-prop approach for training Spiking Recurrent Neural Networks (SRNNs). We implement the E-prop algorithm on a prototype of the SpiNNaker 2 neuromorphic system. A parallelization strategy is developed to split and train networks on the ARM cores of SpiNNaker 2 to make efficient use of both memory and compute resources. We trained an SRNN from scratch on SpiNNaker 2 in real-time on the Google Speech Command dataset for keyword spotting.ResultWe achieved an accuracy of 91.12% while requiring only 680 KB of memory for training the network with 25 K weights. Compared to other spiking neural networks with equal or better accuracy, our work is significantly more memory-efficient.DiscussionIn addition, we performed a memory and time profiling of the E-prop algorithm. This is used on the one hand to discuss whether E-prop or BPTT is better suited for training a model at the edge and on the other hand to explore architecture modifications to SpiNNaker 2 to speed up online learning. Finally, energy estimations predict that the SRNN can be trained on SpiNNaker2 with 12 times less energy than using a NVIDIA V100 GPU.

Funder

Electronic Components and Systems for European Leadership

Horizon 2020 Framework Programme

Deutsche Forschungsgemeinschaft

Bundesministerium für Bildung und Forschung

Publisher

Frontiers Media SA

Subject

General Neuroscience

Reference51 articles.

1. “Tensorflow: a system for large-scale machine learning,”;Abadi;12th USENIX Symposium on Operating Systems Design and Implementation,2016

2. “Low precision local learning for hardware-friendly neuromorphic visual recognition,”;Acharya;ICASSP 2022-2022 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP),2022

3. Using social and behavioural science to support COVID-19 pandemic response;Bavel;Nat. Hum. Behav,2020

4. Long short-term memory and learning-to-learn in networks of spiking neurons;Bellec;arXiv:1803.09574 [cs, q-bio,2018

5. A solution to the learning dilemma for recurrent networks of spiking neurons;Bellec;Nat. Commun

Cited by 4 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Hybrid Spiking and Artificial Neural Networks for Radar-Based Gesture Recognition;2023 8th International Conference on Frontiers of Signal Processing (ICFSP);2023-10-23

2. SENECA: building a fully digital neuromorphic processor, design trade-offs and challenges;Frontiers in Neuroscience;2023-06-23

3. Efficient Algorithms for Accelerating Spiking Neural Networks on MAC Array of SpiNNaker 2;2023 IEEE 5th International Conference on Artificial Intelligence Circuits and Systems (AICAS);2023-06-11

4. Critically synchronized brain waves form an effective, robust and flexible basis for human memory and learning;Scientific Reports;2023-03-16

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3