Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
research-article

On the accuracy and computational cost of spiking neuron implementation

Published: 01 February 2020 Publication History

Abstract

Since more than a decade ago, three statements about spiking neuron (SN) implementations have been widely accepted: 1) Hodgkin and Huxley (HH) model is computationally prohibitive, 2) Izhikevich (IZH) artificial neuron is as efficient as Leaky Integrate-and-Fire (LIF) model, and 3) IZH model is more efficient than HH model (Izhikevich, 2004). As suggested by Hodgkin and Huxley (1952), their model operates in two modes: by using the α’s and β’s rate functions directly (HH model) and by storing them into tables (HHT model) for computational cost reduction. Recently, it has been stated that: 1) HHT model (HH using tables) is not prohibitive, 2) IZH model is not efficient, and 3) both HHT and IZH models are comparable in computational cost (Skocik & Long, 2014). That controversy shows that there is no consensus concerning SN simulation capacities. Hence, in this work, we introduce a refined approach, based on the multiobjective optimization theory, describing the SN simulation capacities and ultimately choosing optimal simulation parameters. We have used normalized metrics to define the capacity levels of accuracy, computational cost, and efficiency. Normalized metrics allowed comparisons between SNs at the same level or scale. We conducted tests for balanced, lower, and upper boundary conditions under a regular spiking mode with constant and random current stimuli. We found optimal simulation parameters leading to a balance between computational cost and accuracy. Importantly, and, in general, we found that 1) HH model (without using tables) is the most accurate, computationally inexpensive, and efficient, 2) IZH model is the most expensive and inefficient, 3) both LIF and HHT models are the most inaccurate, 4) HHT model is more expensive and inaccurate than HH model due to α’s and β’s table discretization, and 5) HHT model is not comparable in computational cost to IZH model. These results refute the theory formulated over a decade ago (Izhikevich, 2004) and go more in-depth in the statements formulated by Skocik and Long (2014). Our statements imply that the number of dimensions or FLOPS in the SNs are theoretical but not practical indicators of the true computational cost. The metric we propose for the computational cost is more precise than FLOPS and was found to be invariant to computer architecture. Moreover, we found that the firing frequency used in previous works is a necessary but an insufficient metric to evaluate the simulation accuracy. We also show that our results are consistent with the theory of numerical methods and the theory of SN discontinuity. Discontinuous SNs, such LIF and IZH models, introduce a considerable error every time a spike is generated. In addition, compared to the constant input current, the random input current increases the computational cost and inaccuracy. Besides, we found that the search for optimal simulation parameters is problem-specific. That is important because most of the previous works have intended to find a general and unique optimal simulation. Here, we show that this solution could not exist because it is a multiobjective optimization problem that depends on several factors. This work sets up a renewed thesis concerning the SN simulation that is useful to several related research areas, including the emergent Deep Spiking Neural Networks.

References

[1]
Abbott L.F., Decoding neuronal firing and modelling neural networks, Quarterly Reviews of Biophysics 27 (03) (1994) 291–331,.
[2]
Abbott L.F., Nelson S.B., Synaptic plasticity: taming the beast, Nature Neuroscience 3 (S11) (2000) 1178–1183,.
[3]
Bhalla U.S., Bilitch D.H., Bower J.M., Rallpacks: A set of benchmarks for neuronal simulators, Trends in Neurosciences 15 (1992) 453–458,.
[4]
Bohte S.M., The evidence for neural information processing with precise spike-times: A survey, Natural Computing 3 (2) (2004) 195–206,.
[5]
Brette R., Rudolph M., Carnevale T., Hines M., Beeman D., Bower J.M., et al., Simulation of networks of spiking neurons: A review of tools and strategies, Journal of Computational Neuroscience 23 (3) (2007) 349–398,.
[6]
Butcher J.C., Numerical methods for ordinary differential equations, 3rd ed., John Wiley & Sons, Ltd, 2016,.
[7]
Chai T., Draxler R.R., Root mean square error (RMSE) or mean absolute error (MAE)? – Arguments against avoiding RMSE in the literature, Geoscientific Model Development 7 (3) (2014) 1247–1250,.
[8]
Chapra S.C., Canale R.P., Numerical methods for engineers, 6th ed., McGraw-Hill, New York, USA, 2010.
[9]
Coello C.A.C., Veldhuizen D.A.V., Lamont G.B., Evolutionary algorithms for solving multi-objective problems, in: Goldberg D.E., Koza J.R. (Eds.), Genetic and evolutionary computation, 2nd ed., Springer US, 2007,.
[10]
Courbage M., Nekorkin V.I., Vdovin L.V., Chaotic oscillations in a map-based model of neural activity, Chaos. An Interdisciplinary Journal of Nonlinear Science 17 (4) (2007),.
[11]
Dan Y., ming Poo M., Spike timing-dependent plasticity of neural circuits, Neuron 44 (1) (2004) 23–30,.
[12]
Deb K., Multi-objective optimization using evolutionary algorithms, John Wiley & Sons, Inc., New York, NY, USA, 2001.
[13]
Eliasmith C., Stewart T.C., Choo X., Bekolay T., DeWolf T., Tang Y., et al., A large-scale model of the functioning brain, Science 338 (6111) (2012) 1202–1205,.
[14]
Eliasmith C., Trujillo O., The use and abuse of large-scale brain models, Current Opinion in Neurobiology 25 (2014) 1–6,.
[15]
Euler L., Institutionum calculi integralis. Volumen primum, Petropoli: Impenfis Academiae Imperialis Scientiarum, 1768.
[16]
Feldman D.E., The spike-timing dependence of plasticity, Neuron 75 (4) (2012) 556–571,.
[17]
FitzHugh R., Impulses and physiological states in theoretical models of nerve membrane, Biophysical Journal 1 (6) (1961) 445–466,.
[18]
Fojdl J., Brause R.W., The performance of approximating ordinary differential equations by neural nets, in: 2008 20th IEEE international conference on tools with artificial intelligence, IEEE, 2008,.
[19]
Friedrich P., Vella M., Gulyás A.I., Freund T.F., Káli S., A flexible, interactive software tool for fitting the parameters of neuronal models, Frontiers in Neuroinformatics 8 (2014) 63,.
[20]
Furber S., Large-scale neuromorphic computing systems, Journal of Neural Engineering 13 (5) (2016),.
[21]
Gautschi W., Numerical analysis, 2nd ed., Birkhäuser Boston, 2012,.
[22]
Gerstner W., Time structure of the activity in neural network models, Physical Review E. Statistical, Nonlinear, and Soft Matter Physics 51 (1) (1995) 738–758,.
[23]
Gerstner W., Kistler W.M., Spiking neuron models, Cambridge University Press, 2002,.
[24]
Gerstner W., Kistler W.M., Naud R., Paninski L., Neuronal dynamics: From single neurons to networks and models of cognition, Cambridge University Press, Cambridge, United Kingdom, 2014,.
[25]
Gerstner W., Ritz R., van Hemmen J.L., Why spikes? Hebbian learning and retrieval of time-resolved excitation patterns, Biological Cybernetics 69 (5–6) (1993) 503–515,.
[26]
Ghosh-Dastidar S., Adeli H., Spiking neural networks, International Journal of Neural Systems 19 (4) (2009) 295–308,.
[27]
Ghosh-Dastidar S., Adeli H., Third generation neural networks: Spiking neural networks, in: Yu W., Sanchez E.N. (Eds.), Advances in computational intelligence, in: Advances in intelligent and soft computing, Vol. 116, Springer Berlin Heidelberg, 2009, pp. 167–178,.
[28]
Gleeson P., Cantarelli M., Marin B., Quintana A., Earnshaw M., Sadeh S., et al., Open source brain: A collaborative resource for visualizing, analyzing, simulating, and developing standardized models of neurons and circuits, Neuron 103 (3) (2019) 395–411.e5,.
[29]
Griffiths D.F., Higham D.J., Numerical methods for ordinary differential equations: Initial value problems, in: Springer undergraduate mathematics series, Springer-Verlag Berlin Heidelberg, 2010,.
[30]
Grüning, A., & Bohte, S. M. (2014). Spiking neural networks: Principles and challenges. In ESANN 2014 proceedings, European symposium on artificial neural networks, computational intelligence and machine learning. Bruges, Belgium.
[31]
Hackbusch W., The concept of stability in numerical mathematics, Springer series in computational mathematics, Vol. 45, Springer-Verlag Berlin Heidelberg, 2014,.
[32]
Hairer E., Nørsett S.P., Wanner G., Solving ordinary differential equations I: Nonstiff problems, Bank R., Graham R.L., Stoer J., Varga R., Yserentant H. (Eds.), Springer series in computational mathematics, Vol. 8, Springer-Verlag Berlin Heidelberg, 1993,.
[33]
Hansel D., Mato G., Meunier C., Neltner L., On numerical simulations of integrate-and-fire neural networks, Neural Computation 10 (2) (1998) 467–483,.
[34]
Henker S., Partzsch J., Schüffny R., Accuracy evaluation of numerical methods used in state-of-the-art simulators for spiking neural networks, Journal of Computational Neuroscience 32 (2) (2012) 309–326,.
[35]
Hindmarsh J.L., Rose R.M., A model of neuronal bursting using three coupled first order differential equations, Proceedings of the Royal Society of London, Series B 221 (1222) (1984) 87–102,.
[36]
Hines M., Carnevale N.T., Computer simulation methods for neurons, in: Arbib M.A. (Ed.), The handbook of brain theory and neural networks, The MIT Press, Cambridge, Massachusetts, USA, 1995, pp. 226–230.
[37]
Hodgkin A.L., Huxley A.F., A quantitative description of membrane current and its application to conduction and excitation in nerve, Journal of Physiology 117 (4) (1952) 500–544,.
[38]
Hopkins M., Furber S., Accuracy and efficiency in fixed-point neural ODE solvers, Neural Computation 27 (10) (2015) 2148–2182,.
[39]
Indiveri G., Linares-Barranco B., Hamilton T.J., van Schaik A., Etienne-Cummings R., Delbruck T., et al., Neuromorphic silicon neuron circuits, Frontiers in Neuroscience 5 (2011) 73,.
[40]
Izhikevich E.M., Simple model of spiking neurons, IEEE Transactions on Neural Networks 14 (6) (2003) 1569–1572,.
[41]
Izhikevich E.M., Which model to use for cortical spiking neurons?, IEEE Transactions on Neural Networks 15 (5) (2004) 1063–1070,.
[42]
Izhikevich E.M., Dynamical systems in neuroscience: The geometry of excitability and bursting, The MIT Press, Cambridge, Massachusetts, 2007.
[43]
Izhikevich E.M., Edelman G.M., Large-scale model of mammalian thalamocortical systems, Proceedings of the National Academy of Sciences of the United States of America 105 (9) (2008) 3593–3598,.
[44]
Jack J.B., Noble D., Tsien R.W., Electric current flow in excitable cells, Clarendon Press, Oxford, 1975.
[45]
Jolivet R., Kobayashi R., Rauch A., Naud R., Shinomoto S., Gerstner W., A benchmark test for a quantitative assessment of simple neuron models, Journal of Neuroscience Methods 169 (2) (2008) 417–424,.
[46]
Jolivet R., Schürmann F., Berger T.K., Naud R., Gerstner W., Roth A., The quantitative single-neuron modeling competition, Biological Cybernetics 99 (4–5) (2008) 417–426,.
[47]
Kasabov N.K., Time-space, spiking neural networks and brain-inspired artificial intelligence, Springer Berlin Heidelberg, 2019,.
[48]
Kistler W.M., Gerstner W., van Hemmen J.L., Reduction of the Hodgkin-Huxley equations to a single-variable threshold model, Neural Computation 9 (5) (1997) 1015–1045,.
[49]
Knight B.W., Dynamics of encoding in a population of neurons, Journal of General Physiology 59 (6) (1972) 734–766,.
[50]
Kutta W., Beitrag zur näherungsweisen Integration totaler Differentialgleichungen, Zeitschrift für Mathematik und Physik 46 (1901) 435–453.
[51]
Lapicque M.L., Recherches quantitatives sur l’excitation électrique des nerfs traitée comme une polarisation, Journal de Physiologie et de Pathologie Générale 9 (1907) 620–635.
[52]
Lee G., Farhat N.H., The double queue method: A numerical method for integrate-and-fire neuron networks, Neural Networks 14 (6–7) (2001) 921–932,.
[53]
Leng L., Martel R., Breitwieser O., Bytschok I., Senn W., Schemmel J., et al., Spiking neurons with short-term synaptic plasticity form superior generative networks, Scientific Reports 8 (1) (2018),.
[54]
Long L., Gupta A., Biologically-inspired spiking neural networks with hebbian learning for vision processing, 46th AIAA aerospace sciences meeting and exhibit, Vol. 2008–0885, American Institute of Aeronautics and Astronautics, Reno, NV, USA, 2008,.
[55]
Maass W., Networks of spiking neurons: The third generation of neural network models, Neural Networks 10 (9) (1997) 1659–1671,.
[56]
Pulsed neural networks, The MIT Press, Cambridge, MA, USA, 1999.
[57]
MacGregor R.J., Neural and brain modeling, in: Thompson R.F. (Ed.), Neuroscience: A series of monographs and texts, Academic Press, 1987,.
[58]
Markram H., Gerstner W., Sjöström P.J., A history of spike-timing-dependent plasticity, Frontiers in Synaptic Neuroscience 3 (4) (2011) 1–24,.
[59]
Markram H., Muller E., Ramaswamy S., Reimann M.W., Abdellah M., Sanchez C.A., et al., Reconstruction and simulation of neocortical microcircuitry, Cell 163 (2) (2015) 456–492,.
[60]
Mascagni M.V., Sherman A.S., Numerical methods for neuronal modeling, in: Koch C., Segev I. (Eds.), Methods in neural modeling: From ions to networks, 2nd ed., The MIT Press, Cambridge, Massachusetts, 1998, pp. 569–606.
[61]
Masoli S., Rizza M.F., Sgritta M., Geit W.V., Schürmann F., D’Angelo E., Single neuron optimization as a basis for accurate biophysical modeling: The case of cerebellar granule cells, Frontiers in Cellular Neuroscience 11 (2017) 71,.
[62]
Mead C., Analog VLSI and neural systems, Addison-Wesley, 1989.
[63]
Moore J.W., Ramon F., On numerical integration of the Hodgkin and Huxley equations for a membrane action potential, Journal of Theoretical Biology 45 (1) (1974) 249–273,.
[64]
Morris C., Lecar H., Voltage oscillations in the barnacle giant muscle fiber, Biophysical Journal 35 (1) (1981) 193–213,.
[65]
Morrison A., Straube S., Plesser H.E., Diesmann M., Exact subthreshold integration with continuous spike times in discrete-time neural network simulations, Neural Computation 19 (1) (2007) 47–79,.
[66]
Mureşan, R. C., & Ignat, I. (2004). The “Neocortex” neural simulator: A modern design. In 8th IEEE international conference on intelligent engineering systems. Cluj-Napoca, Romania.
[67]
Nagumo J., Arimoto S., Yoshizawa S., An active pulse transmission line simulating nerve axon, Proceedings of the IRE 50 (10) (1962) 2061–2070,.
[68]
Naveros F., Garrido J.A., Carrillo R.R., Ros E., Luque N.R., Event- and time-driven techniques using parallel CPU-GPU co-processing for spiking neural networks, Frontiers in Neuroinformatics 11 (7) (2017),.
[69]
Paugam-Moisy H., Bohte S., Computing with spiking neuron networks, in: Rozenberg G., Bäck T., Kok J.N. (Eds.), Handbook of natural computing, Springer Berlin Heidelberg, 2012, pp. 335–376,.
[70]
Pfeiffer M., Pfeil T., Deep learning with spiking neurons: Opportunities and challenges, Frontiers in Neuroscience 12 (2018),.
[71]
Plonsey R., Barr R.C., Bioelectricity: A quantitative approach, 3rd ed., Springer New York, New York, USA, 2007,.
[72]
Pope D.A., An exponential method of numerical integration of ordinary differential equations, Communications of the ACM 6 (8) (1963) 491–493,.
[73]
Rangan A.V., Cai D., Fast numerical methods for simulating large-scale integrate-and-fire neuronal networks, Journal of Computational Neuroscience 22 (1) (2007) 81–100,.
[74]
Rossant C., Goodman D.F.M., Fontaine B., Platkiewicz J., Magnusson A.K., Brette R., Fitting neuron models to spike trains, Frontiers in Neuroscience 5 (2011) 9,.
[75]
Rossant C., Goodman D.F.M., Platkiewicz J., Brette R., Automatic fitting of spiking neuron models to electrophysiological recordings, Frontiers in Neuroinformatics 4 (2) (2010) 1–10,.
[76]
Rotter S., Diesmann M., Exact digital simulation of time-invariant linear systems with applications to neuronal modeling, Biological Cybernetics 81 (5–6) (1999) 381–402,.
[77]
Rulkov N.F., Regularization of synchronized chaotic bursts, Physical Review Letters 86 (1) (2001) 183–186,.
[78]
Sarangdhar M., Kambhampati C., Spiking neurons: Is coincidence-factor enough for comparing responses with fluctuating membrane voltage?, Proceedings of the world congress on engineering 2008, Vol II, WCE 2008, London, U.K., 2008, pp. 1640–1645.
[79]
Sawaragi Y., Nakayama H., Tanino T., Theory of multiobjective optimization, Mathematics in science and engineering, Vol. 176, Academic Press, 1985.
[80]
Sejnowski T.J., Statistical constraints on synaptic plasticity, Journal of Theoretical Biology 69 (2) (1977) 385–389,.
[81]
Skocik M.J., Long L.N., On the capabilities and computational costs of neuron models, IEEE Transactions on Neural Networks Learning Systems 25 (8) (2014) 1474–1483,.
[82]
Stein R.B., A theoretical analysis of neuronal variability, Biophysical Journal 5 (2) (1965) 173–194,.
[83]
Stewart R.D., Bair W., Spiking neural network simulation: numerical integration with the Parker-Sochacki method, Journal of Computational Neuroscience 27 (1) (2009) 115–133,.
[84]
Tavanaei A., Ghodrati M., Kheradpisheh S.R., Masquelier T., Maida A., Deep learning in spiking neural networks, Neural Networks 111 (2019) 47–63,.
[85]
Taylor B., Methodus incrementorum directa & inversa, Londini, 1715.
[86]
Thakur C.S., Molin J.L., Cauwenberghs G., Indiveri G., Kumar K., Qiao N., et al., Large-scale neuromorphic spiking array processors: A qest to mimic the brain, Frontiers in Neuroscience 12 (2018),.
[87]
Torres J.J., Varona P., Modeling biological neural networks, in: Rozenberg G., Bäck T., Kok J.N. (Eds.), Handbook of natural computing, Springer Berlin Heidelberg, 2012, pp. 533–564,.
[88]
Touboul J., Importance of the cutoff value in the quadratic adaptive integrate-and-fire model, Neural Computation 21 (8) (2009) 2114–2122,.
[89]
Touboul J., On the simulation of nonlinear bidimensional spiking neuron models, Neural Computation 23 (7) (2011) 1704–1742,.
[90]
Valadez-Godínez S., Sossa H., Santiago-Montero R., How the accuracy and computational cost of spiking neuron simulation are affected by the time span and firing rate, Computación y Sistemas 21 (4) (2017) 841–861,.
[91]
Valadez-Godínez S., Sossa H., Santiago-Montero R., The step size impact on the computational cost of spiking neuron simulation, in: Proceedings of the 2017 SAI computing conference (SAI), IEEE, London, UK, 2017, pp. 722–728,.
[92]
Walter F., Röhrbein F., Knoll A., Neuromorphic implementations of neurobiological learning algorithms for spiking neural networks, Neural Networks 72 (2015) 152–167,.
[93]
Willmott C.J., Matsuura K., Advantages of the mean absolute error (MAE) over the root mean square error (RMSE) in assessing average model performance, Climate Research 30 (1) (2005) 79–82,.
[94]
Wilson H.R., Spikes, decisions, and actions: The dynamical foundations of neuroscience, Oxford University Press, New York, 1999.

Cited By

View all
  • (2022)GPU4SNN: GPU-Based Acceleration for Spiking Neural Network SimulationsParallel Processing and Applied Mathematics10.1007/978-3-031-30442-2_30(399-413)Online publication date: 11-Sep-2022

Index Terms

  1. On the accuracy and computational cost of spiking neuron implementation
          Index terms have been assigned to the content through auto-classification.

          Recommendations

          Comments

          Information & Contributors

          Information

          Published In

          cover image Neural Networks
          Neural Networks  Volume 122, Issue C
          Feb 2020
          436 pages

          Publisher

          Elsevier Science Ltd.

          United Kingdom

          Publication History

          Published: 01 February 2020

          Author Tags

          1. Spiking neuron
          2. Accuracy
          3. Computational cost
          4. Numerical method
          5. Simulation
          6. Time step

          Qualifiers

          • Research-article

          Contributors

          Other Metrics

          Bibliometrics & Citations

          Bibliometrics

          Article Metrics

          • Downloads (Last 12 months)0
          • Downloads (Last 6 weeks)0
          Reflects downloads up to 20 Jan 2025

          Other Metrics

          Citations

          Cited By

          View all
          • (2022)GPU4SNN: GPU-Based Acceleration for Spiking Neural Network SimulationsParallel Processing and Applied Mathematics10.1007/978-3-031-30442-2_30(399-413)Online publication date: 11-Sep-2022

          View Options

          View options

          Media

          Figures

          Other

          Tables

          Share

          Share

          Share this Publication link

          Share on social media