arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2404.05807cs.NE
收藏

Slax:一个用于快速灵活原型设计脉冲神经网络的可组合 JAX 库

Slax: A Composable JAX Library for Rapid and Flexible Prototyping of Spiking Neural Networks

Thomas M. Summe, Siddharth Joshi

AI总结:

针对 SNN 训练算法重复实现、难以比较的问题,本文提出基于 JAX 且兼容 Flax 的 Slax 库,提供多种算法实现及可视化调试工具以加速原型设计与性能对比。

摘要:

近期脉冲神经网络(SNN)训练算法的进展通常利用其独特动力学。尽管采用替代梯度的时间反向传播(BPTT)在该领域占主导,但丰富的替代方案可使算法处于性能、生物合理性和复杂性图景中的不同位置。目前评估和比较算法是一个繁琐且易出错的过程,需要反复重新实现它们。我们推出 Slax,这是一个基于 JAX 的库,旨在加速 SNN 算法设计,并与更广泛的 JAX 和 Flax 生态系统兼容。Slax 提供多种训练算法的优化实现,支持直接性能比较。其工具包包含通过损失景观、梯度相似性以及训练期间模型行为的其他指标来可视化和调试算法的方法。

英文摘要:

Recent advances to algorithms for training spiking neural networks (SNNs) often leverage their unique dynamics. While backpropagation through time (BPTT) with surrogate gradients dominate the field, a rich landscape of alternatives can situate algorithms across various points in the performance, bio-plausibility, and complexity landscape. Evaluating and comparing algorithms is currently a cumbersome and error-prone process, requiring them to be repeatedly re-implemented. We introduce Slax, a JAX-based library designed to accelerate SNN algorithm design, compatible with the broader JAX and Flax ecosystem. Slax provides optimized implementations of diverse training algorithms, allowing direct performance comparison. Its toolkit includes methods to visualize and debug algorithms through loss landscapes, gradient similarities, and other metrics of model behavior during training.

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

↑