SNNAX -- JAX中的脉冲神经网络
SNNAX -- Spiking Neural Networks in JAX
AI总结:
提出基于JAX的SNN模拟与训练框架SNNAX,兼具PyTorch的直观性与JAX的执行速度,支持灵活自动微分与即时编译,并通过多基准测试验证了其性能与易用性。
摘要:
脉冲神经网络(SNNs)模拟器是构建生物启发模型和神经形态硬件架构原型并预测其性能的重要工具。对于此类工具,易用性和灵活性至关重要,但模拟速度同样关键,特别是考虑到模拟SNN固有的复杂性。在此,我们提出SNNAX,一个基于JAX的框架,用于以类似PyTorch的直观性和类似JAX的执行速度来模拟和训练此类模型。SNNAX模型易于扩展和定制,以适应所需的模型规格和目标神经形态硬件。此外,SNNAX为优化SNN的训练和部署提供关键特性,如灵活的自动微分和即时编译。我们评估并将SNNAX与其他常用于编程SNN的机器学习(ML)框架进行比较。我们提供在SNNAX中模拟SNN的关键性能指标、最佳实践、文档化示例,并实现了文献中使用的多个基准测试。
英文摘要:
Spiking Neural Networks (SNNs) simulators are essential tools to prototype biologically inspired models and neuromorphic hardware architectures and predict their performance. For such a tool, ease of use and flexibility are critical, but so is simulation speed especially given the complexity inherent to simulating SNN. Here, we present SNNAX, a JAX-based framework for simulating and training such models with PyTorch-like intuitiveness and JAX-like execution speed. SNNAX models are easily extended and customized to fit the desired model specifications and target neuromorphic hardware. Additionally, SNNAX offers key features for optimizing the training and deployment of SNNs such as flexible automatic differentiation and just-in-time compilation. We evaluate and compare SNNAX to other commonly used machine learning (ML) frameworks used for programming SNNs. We provide key performance metrics, best practices, documented examples for simulating SNNs in SNNAX, and implement several benchmarks used in the literature.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。