Frontiers in NeuroinformaticsNeurosciencePeer-reviewed journal article
A scalable implementation of the recursive least-squares algorithm for training spiking neural networks
Benjamin J. ArthuriD, Christopher M. KimiD, Susu CheniD, Stephan PreibischiD, Ran DarshaniD
Abstract
Training spiking recurrent neural networks on neuronal recordings or behavioral tasks has become a popular way to study computations performed by the nervous system. As the size and complexity of neural recordings increase, there is a need for efficient algorithms that can train models in a short period of time using minimal resources. We present optimized CPU and GPU implementations of the recursive least-squares algorithm in spiking neural networks. The GPU implementation can train networks of one million neurons, with 100 million plastic synapses and a billion static synapses, about 1000 times faster than an unoptimized reference CPU implementation. We demonstrate the codes utility by training a network, in less than an hour, to reproduce the activity of > 66, 000 recorded neurons of a mouse performing a decision-making task. The fast implementation enables a more interactive in-silico study of the dynamics and connectivity underlying multi-area computations. It also admits the possibility to train models as in-vivo experiments are being conducted, thus closing the loop between modeling and experiments.
- Citations
- 10
- FWCI
- 1.50
- Field percentile
- top 20%
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Learning recurrent dynamics in spiking networks
Christopher M. Kim, Carson C. Chow·eLifePeer-reviewed·Sep 20, 2018
- FORCE trained spiking networks do not benefit from faster learning while parameter matched rate networks do
Thomas Robert Newton, Wilten Nicola·PLoS Computational BiologyPeer-reviewed·Jul 21, 2025
- Accurate and efficient time-domain classification with adaptive spiking recurrent neural networks
Bojian Yin, Federico Corradi, Sander M. Bohté·Nature Machine IntelligencePeer-reviewed·Oct 14, 2021
- Efficient learning and intrinsic noise filtering in recurrent spiking neural networks trained with e-prop
Davide Noè, Hideaki Yamamoto, … Shigeo Sato·bioRxiv·May 25, 2025
- A Spiking Neural Network with Continuous Local Learning for Robust Online Brain Machine Interface
E. A. Taeckens, S. Shah·bioRxiv·Aug 16, 2023
- Simple Framework for Constructing Functional Spiking Recurrent Neural Networks
Robert Kim, Yinghao Li, Terrence J. Sejnowski A B·Proceedings of the National Academy of SciencesPeer-reviewed·Oct 21, 2019