arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.16841cs.NE
收藏

jaxsnn:面向模拟神经形态硬件的事件驱动梯度估计

jaxsnn: Event-driven Gradient Estimation for Analog Neuromorphic Hardware

Eric Müller, Moritz Althaus, Elias Arnold, Philipp Spilger, Christian Pehle, Johannes Schemmel

AI总结:

针对传统机器学习框架难处理脉冲异步数据的问题,提出基于JAX的jaxsnn库,采用灵活数据结构与时间处理方式,保留自动微分与可组合性,支持脉冲神经网络仿真与梯度估计,兼容时间连续型神经形态后端,弥合架构与框架间差距。

摘要:

传统神经形态硬件架构依赖事件驱动计算,其中脉冲等事件的异步传输会触发突触和神经元内部的局部计算。虽然机器学习框架常用于基于梯度的训练,但它们对密集数据结构的侧重为处理脉冲序列这类异步数据带来了挑战,这一问题在典型张量数据结构下尤为突出。在此背景下,我们提出了一个构建于JAX之上的全新库jaxsnn,它有别于传统机器学习框架,在所用数据结构和时间处理方式上具备灵活性,同时保留了自动微分(Autograd)功能与可组合性。我们的库可支持脉冲神经网络仿真与梯度估计,重点在于前向传播过程中与时间连续型神经形态后端(如BrainScaleS-2系统)的兼容性。该方法为脉冲神经网络更高效、灵活的训练开辟了路径,弥合了传统神经形态架构与当代机器学习框架之间的差距。

英文摘要:

Traditional neuromorphic hardware architectures rely on event-driven computation, where the asynchronous transmission of events, such as spikes, triggers local computations within synapses and neurons. While machine learning frameworks are commonly used for gradient-based training, their emphasis on dense data structures poses challenges for processing asynchronous data such as spike trains. This problem is particularly pronounced for typical tensor data structures. In this context, we present a novel library (jaxsnn) built on top of JAX, that departs from conventional machine learning frameworks by providing flexibility in the data structures used and the handling of time, while maintaining Autograd functionality and composability. Our library facilitates the simulation of spiking neural networks and gradient estimation, with a focus on compatibility with time-continuous neuromorphic backends, such as the BrainScaleS-2 system, during the forward pass. This approach opens avenues for more efficient and flexible training of spiking neural networks, bridging the gap between traditional neuromorphic architectures and contemporary machine learning frameworks.

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

↑