{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,10,31]],"date-time":"2025-10-31T14:35:27Z","timestamp":1761921327106,"version":"3.37.0"},"reference-count":45,"publisher":"IOP Publishing","issue":"1","license":[{"start":{"date-parts":[[2025,2,7]],"date-time":"2025-02-07T00:00:00Z","timestamp":1738886400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"},{"start":{"date-parts":[[2025,2,7]],"date-time":"2025-02-07T00:00:00Z","timestamp":1738886400000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/iopscience.iop.org\/info\/page\/text-and-data-mining"}],"funder":[{"DOI":"10.13039\/100000143","name":"Division of Computing and Communication Foundations","doi-asserted-by":"crossref","award":["2235440"],"award-info":[{"award-number":["2235440"]}],"id":[{"id":"10.13039\/100000143","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":["iopscience.iop.org"],"crossmark-restriction":false},"short-container-title":["Neuromorph. Comput. Eng."],"published-print":{"date-parts":[[2025,3,1]]},"abstract":"<jats:title>Abstract<\/jats:title>\n               <jats:p>Spiking neural networks (SNNs) offer rich temporal dynamics and unique capabilities, but their training presents challenges. While backpropagation through time with surrogate gradients is the defacto standard for training SNNs, it scales poorly with long time sequences. Alternative learning rules and algorithms could help further develop models and systems across the spectrum of performance, bio-plausibility, and complexity. However, these alternatives are not consistently implemented with the same, if any, SNN framework, often complicating their comparison and use. To address this, we introduce Slax, a JAX-based library designed to accelerate SNN algorithm design and evaluation. Slax is compatible with the broader JAX and Flax ecosystem and provides optimized implementations of diverse training algorithms, enabling direct performance comparisons. Its toolkit includes methods to visualize and debug algorithms through loss landscapes, gradient similarities, and other metrics of model behavior during training. By streamlining the implementation and evaluation of novel SNN learning algorithms, Slax aims to facilitate research and development in this promising field.<\/jats:p>","DOI":"10.1088\/2634-4386\/ada9a8","type":"journal-article","created":{"date-parts":[[2025,1,17]],"date-time":"2025-01-17T11:39:13Z","timestamp":1737113953000},"page":"014007","update-policy":"https:\/\/doi.org\/10.1088\/crossmark-policy","source":"Crossref","is-referenced-by-count":1,"title":["Slax: a composable JAX library for rapid and flexible prototyping of spiking neural networks"],"prefix":"10.1088","volume":"5","author":[{"ORCID":"https:\/\/orcid.org\/0009-0004-9833-0477","authenticated-orcid":true,"given":"Thomas M","family":"Summe","sequence":"first","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-9201-9678","authenticated-orcid":false,"given":"Siddharth","family":"Joshi","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"266","published-online":{"date-parts":[[2025,2,7]]},"reference":[{"key":"nceada9a8bib1","article-title":"TensorFlow Datasets a collection of ready-to-use datasets"},{"article-title":"TensorFlow: large-scale machine learning on heterogeneous systems","year":"2015","author":"Abadi","key":"nceada9a8bib2"},{"key":"nceada9a8bib3","first-page":"1605","article-title":"Theano: a python framework for fast computation of mathematical expressions","author":"Al-Rfou","year":"2016"},{"year":"2024","author":"Nnx T F","key":"nceada9a8bib4"},{"key":"nceada9a8bib5","doi-asserted-by":"publisher","first-page":"3625","DOI":"10.1038\/s41467-020-17236-y","article-title":"A solution to the learning dilemma for recurrent networks of spiking neurons","volume":"11","author":"Bellec","year":"2020","journal-title":"Nat. Commun."},{"article-title":"Online spatio-temporal learning in deep neural networks","year":"2022","author":"Bohnstingl","key":"nceada9a8bib6"},{"article-title":"Torch: a modular machine learning software library","year":"2002","author":"Collobert","key":"nceada9a8bib7"},{"key":"nceada9a8bib8","doi-asserted-by":"publisher","first-page":"2744","DOI":"10.1109\/TNNLS.2020.3044364","article-title":"The heidelberg spiking data sets for the systematic evaluation of spiking neural networks","volume":"33","author":"Cramer","year":"2020","journal-title":"IEEE Trans. Neural Netw. Learn. Syst."},{"key":"nceada9a8bib9","doi-asserted-by":"crossref","DOI":"10.1109\/JPROC.2023.3308088","article-title":"Training spiking neural networks using lessons from deep learning","author":"Eshraghian","year":"2023"},{"key":"nceada9a8bib10","doi-asserted-by":"publisher","first-page":"eadi1480","DOI":"10.1126\/sciadv.adi1480","article-title":"Spikingjelly: an open-source machine learning infrastructure platform for spike-based intelligence","volume":"9","author":"Fang","year":"2023","journal-title":"Sci. Adv."},{"article-title":"Sharpness-aware minimization for efficiently improving generalization","year":"2020","author":"Foret","key":"nceada9a8bib11"},{"key":"nceada9a8bib12","article-title":"Compiling machine learning programs via high-level tracing","volume":"4","author":"Frostig","year":"2018","journal-title":"Syst. Mach. Learn."},{"key":"nceada9a8bib13","first-page":"pp 652","article-title":"The spinnaker project","volume":"vol 102","author":"Furber","year":"2014"},{"key":"nceada9a8bib14","doi-asserted-by":"publisher","first-page":"350","DOI":"10.3389\/neuro.11.005.2008","article-title":"Brian: a simulator for spiking neural networks in python","volume":"2","author":"Goodman","year":"2008","journal-title":"Front. Neuroinform."},{"article-title":"MLX: efficient and flexible machine learning on apple silicon","year":"2023","author":"Hannun","key":"nceada9a8bib15"},{"key":"nceada9a8bib16","doi-asserted-by":"publisher","first-page":"89","DOI":"10.3389\/fninf.2018.00089","article-title":"Bindsnet: a machine learning-oriented spiking neural networks library in python","volume":"12","author":"Hazan","year":"2018","journal-title":"Front. Neuroinform."},{"article-title":"Spyx: A library for just-in-time compiled optimization of spiking neural networks","year":"2024","author":"Heckel","key":"nceada9a8bib17"},{"article-title":"Flax: a neural network library and ecosystem for JAX","year":"2023","author":"Heek","key":"nceada9a8bib18"},{"article-title":"Haiku: sonnet for JAX","year":"2020","author":"Hennigan","key":"nceada9a8bib19"},{"key":"nceada9a8bib20","doi-asserted-by":"publisher","first-page":"58","DOI":"10.1145\/3467017","article-title":"The hardware lottery","volume":"64","author":"Hooker","year":"2021","journal-title":"Commun. ACM"},{"year":"2024","author":"Perfetto","key":"nceada9a8bib21"},{"key":"nceada9a8bib22","first-page":"pp 675","article-title":"Caffe: convolutional architecture for fast feature embedding","author":"Jia","year":"2014"},{"key":"nceada9a8bib23","first-page":"pp 5189","article-title":"Training recurrent neural networks via forward propagation through time","volume":"vol 139","author":"Kag","year":"2021"},{"key":"nceada9a8bib24","first-page":"pp 36","article-title":"Neural architecture search for spiking neural networks","author":"Kim","year":"2022"},{"article-title":"Spiking neural network (SNN) library benchmarks","year":"2024","author":"Lenz","key":"nceada9a8bib25"},{"key":"nceada9a8bib26","first-page":"p 31","article-title":"Visualizing the loss landscape of neural nets","author":"Li","year":"2018"},{"key":"nceada9a8bib27","doi-asserted-by":"crossref","DOI":"10.1109\/ICONS62911.2024.00044","article-title":"SNNAX: Spiking Neural Networks in JAX TBD","author":"Lohoff","year":"2024"},{"key":"nceada9a8bib28","doi-asserted-by":"publisher","DOI":"10.5281\/zenodo.3773845","article-title":"Rockpool documentaton","author":"Muir","year":"2019"},{"key":"nceada9a8bib29","doi-asserted-by":"crossref","DOI":"10.1109\/NICE61972.2024.10548709","article-title":"jaxsnn: event-driven gradient estimation for analog neuromorphic hardware","author":"M\u00fcller","year":"2024"},{"key":"nceada9a8bib30","doi-asserted-by":"publisher","first-page":"51","DOI":"10.1109\/MSP.2019.2931595","article-title":"Surrogate gradient learning in spiking neural networks: Bringing the power of gradient-based optimization to spiking neural networks","volume":"36","author":"Neftci","year":"2019","journal-title":"IEEE Signal Process. Mag."},{"key":"nceada9a8bib31","doi-asserted-by":"publisher","first-page":"2064","DOI":"10.1038\/s41467-022-29632-7","article-title":"The neural coding framework for learning generative models","volume":"13","author":"Ororbia","year":"2022","journal-title":"Nat. Commun."},{"key":"nceada9a8bib32","first-page":"pp 8024","article-title":"PyTorch: an imperative style, high-performance deep learning library","volume":"vol 32","author":"Paszke","year":"2019"},{"article-title":"Neuromorphic intermediate representation: a unified instruction set for interoperable brain-inspired computing","year":"2023","author":"Pedersen","key":"nceada9a8bib33"},{"key":"nceada9a8bib34","doi-asserted-by":"publisher","DOI":"10.5281\/zenodo.4422025","article-title":"Norse - a deep learning library for spiking neural networks","author":"Pehle","year":"2021"},{"article-title":"Estimating post-synaptic effects for online training of feed-forward snns","year":"2023","author":"Summe","key":"nceada9a8bib35"},{"key":"nceada9a8bib36","doi-asserted-by":"crossref","first-page":"1550","DOI":"10.1109\/5.58337","article-title":"Backpropagation through time: what it does and how to do it","volume":"78","author":"Werbos","year":"1990","journal-title":"Proc. IEEE"},{"key":"nceada9a8bib37","doi-asserted-by":"publisher","first-page":"87","DOI":"10.1080\/09540098908915631","article-title":"Experimental analysis of the real-time recurrent learning algorithm","volume":"1","author":"Williams","year":"1989","journal-title":"Connect. Sci."},{"key":"nceada9a8bib38","doi-asserted-by":"publisher","DOI":"10.1038\/s41598-021-91786-z","article-title":"Event-based backpropagation can compute exact gradients for spiking neural networks","volume":"11","author":"Wunderlich","year":"2021","journal-title":"Sci. Rep."},{"key":"nceada9a8bib39","first-page":"pp 14516","article-title":"Training feedback spiking neural networks by implicit differentiation on the equilibrium state","volume":"vol 34","author":"Xiao","year":"2021"},{"article-title":"Online training through time for spiking neural networks","year":"2022","author":"Xiao","key":"nceada9a8bib40"},{"key":"nceada9a8bib41","doi-asserted-by":"publisher","first-page":"863","DOI":"10.3390\/brainsci12070863","article-title":"Spiking neural networks and their applications: a review","volume":"12","author":"Yamazaki","year":"2022","journal-title":"Brain Sci."},{"article-title":"Neurobench: advancing neuromorphic computing through collaborative, fair and representative benchmarking","year":"2023","author":"Yik","key":"nceada9a8bib42"},{"key":"nceada9a8bib43","doi-asserted-by":"publisher","first-page":"1514","DOI":"10.1162\/neco_a_01086","article-title":"Superspike: supervised learning in multilayer spiking neural networks","volume":"30","author":"Zenke","year":"2018","journal-title":"Neural Comput."},{"key":"nceada9a8bib44","doi-asserted-by":"publisher","first-page":"76","DOI":"10.3389\/fninf.2014.00076","article-title":"Limits to high-speed simulations of spiking neural networks using general-purpose computers","volume":"8","author":"Zenke","year":"2014","journal-title":"Front. Neuroinform."},{"key":"nceada9a8bib45","doi-asserted-by":"publisher","first-page":"899","DOI":"10.1162\/neco_a_01367","article-title":"The remarkable robustness of surrogate gradient learning for instilling complex function in spiking neural networks","volume":"33","author":"Zenke","year":"2021","journal-title":"Neural Comput."}],"container-title":["Neuromorphic Computing and Engineering"],"original-title":[],"link":[{"URL":"https:\/\/iopscience.iop.org\/article\/10.1088\/2634-4386\/ada9a8","content-type":"text\/html","content-version":"am","intended-application":"text-mining"},{"URL":"https:\/\/iopscience.iop.org\/article\/10.1088\/2634-4386\/ada9a8\/pdf","content-type":"application\/pdf","content-version":"am","intended-application":"text-mining"},{"URL":"https:\/\/iopscience.iop.org\/article\/10.1088\/2634-4386\/ada9a8","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/iopscience.iop.org\/article\/10.1088\/2634-4386\/ada9a8\/pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/iopscience.iop.org\/article\/10.1088\/2634-4386\/ada9a8\/pdf","content-type":"application\/pdf","content-version":"am","intended-application":"syndication"},{"URL":"https:\/\/iopscience.iop.org\/article\/10.1088\/2634-4386\/ada9a8\/pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/iopscience.iop.org\/article\/10.1088\/2634-4386\/ada9a8\/pdf","content-type":"application\/pdf","content-version":"am","intended-application":"similarity-checking"},{"URL":"https:\/\/iopscience.iop.org\/article\/10.1088\/2634-4386\/ada9a8\/pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,2,7]],"date-time":"2025-02-07T15:21:33Z","timestamp":1738941693000},"score":1,"resource":{"primary":{"URL":"https:\/\/iopscience.iop.org\/article\/10.1088\/2634-4386\/ada9a8"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,2,7]]},"references-count":45,"journal-issue":{"issue":"1","published-online":{"date-parts":[[2025,2,7]]},"published-print":{"date-parts":[[2025,3,1]]}},"URL":"https:\/\/doi.org\/10.1088\/2634-4386\/ada9a8","relation":{},"ISSN":["2634-4386"],"issn-type":[{"type":"electronic","value":"2634-4386"}],"subject":[],"published":{"date-parts":[[2025,2,7]]},"assertion":[{"value":"Slax: a composable JAX library for rapid and flexible prototyping of spiking neural networks","name":"article_title","label":"Article Title"},{"value":"Neuromorphic Computing and Engineering","name":"journal_title","label":"Journal Title"},{"value":"paper","name":"article_type","label":"Article Type"},{"value":"\u00a9 2025 The Author(s). Published by IOP Publishing Ltd","name":"copyright_information","label":"Copyright Information"},{"value":"2024-09-09","name":"date_received","label":"Date Received","group":{"name":"publication_dates","label":"Publication dates"}},{"value":"2025-01-13","name":"date_accepted","label":"Date Accepted","group":{"name":"publication_dates","label":"Publication dates"}},{"value":"2025-02-07","name":"date_epub","label":"Online publication date","group":{"name":"publication_dates","label":"Publication dates"}}]}}