NEST (software)
| |
| |
Original author(s) | Markus Diesmann, Marc-Oliver Gewaltig, Abigail Morrison, Hans Ekkehard Plesser |
---|---|
Developer(s) | The NEST Initiative |
Initial release | August 1, 2004 |
Stable release | 2.6.0 / December 24, 2014 |
Development status | Active |
Written in | C++, Python, Cython |
Operating system | cross-platform |
Available in | English |
Type | Computational Neuroscience |
License | GPLv2+ |
Website | www.nest-initiative.org |
NEST is a simulation software for spiking neural network models, including large-scale neuronal networks. NEST was initially developed by Markus Diesmann and Marc-Oliver Gewaltig and is now developed and maintained by the NEST Initiative.
Modeling philosophy
A NEST simulation tries to follow the logic of an electrophysiological experiment that takes place inside a computer with the difference, that the neural system to be investigated must be defined by the experimenter.
The neural system is defined by a possibly large number of neurons and their connections. In a NEST network, different neuron and synapse models can coexist. Any two neurons can have multiple connections with different properties. Thus, the connectivity can in general not be described by a weight or connectivity matrix but rather as an adjacency list.
To manipulate or observe the network dynamics, the experimenter can define so-called devices which represent the various instruments (for measuring and stimulation) found in an experiment. These devices write their data either to memory or to file.
NEST is extensible and new models for neurons, synapses, and devices can be added.
Example
The following example simulates spiking activity in a sparse random network with recurrent excitation and inhibition[1]
The figure shows the spiking activity of 50 neurons as a raster plot. Time increases along the horizontal axis, neuron id increases along the vertical axis. Each dot corresponds to a spike of the respective neuron at a given time. The lower part of the figure shows a histogram with the mean firing-rate of the neurons.
import nest import nest.raster_plot J_ex = 0.1 # excitatory weight J_in = -0.5 # inhibitory weight p_rate = 20000. # external Poisson rate neuron_params= {"C_m": 1.0, "tau_m": 20.0, "t_ref": 2.0, "E_L": 0.0, "V_reset": 0.0, "V_m": 0.0, "V_th": 20.0} # Set parameters of neurons and devices nest.SetDefaults("iaf_psc_delta", neuron_params) nest.SetDefaults("poisson_generator",{"rate": p_rate}) nest.SetDefaults("spike_detector",{"withtime": True, "withgid": True}) # Create neurons and devices nodes_ex=nest.Create("iaf_psc_delta", 10000) nodes_in=nest.Create("iaf_psc_delta", 2500) noise=nest.Create("poisson_generator") espikes=nest.Create("spike_detector") # Configure synapse models nest.CopyModel("static_synapse_hom_wd","excitatory",{"weight":J_ex, "delay":1.5}) nest.CopyModel("static_synapse_hom_wd","inhibitory",{"weight":J_in, "delay":1.5}) # Connect the random net and instrument it with the devices nest.DivergentConnect(noise,nodes_ex,model="excitatory") nest.DivergentConnect(noise,nodes_in,model="excitatory") nest.ConvergentConnect(range(1,51),espikes,model="excitatory") nest.RandomConvergentConnect(nodes_ex, nodes_ex+nodes_in, 1000,model="excitatory") nest.RandomConvergentConnect(nodes_in, nodes_ex+nodes_in, 250,model="inhibitory") # Simulate for 100. ms nest.Simulate(100.) # Plot results nest.raster_plot.from_device(espikes, hist=True) nest.raster_plot.show()
Features
NEST is a simulator for spiking neural network models that focus on the dynamics, size, and structure of neural systems, rather than on the exact geometry of individual neurons.[2]
Examples of such models are:
- Models of information processing e.g. in the visual or auditory cortex of mammals.[3][4]
- Models of network activity dynamics, e.g. in laminar cortical networks or balanced random networks.[5]
- Models of spike synchronization in large networks.[6]
- Models of learning and plasticity.[7]
Neuron models
- Integrate-and-fire models with different types of synaptic currents or potentials
- Integrate-and-fire models with conductance based synapses
- Single compartment Hodgkin–Huxley models
- Adaptive Exponential Integrate and Fire neuron (AdEx)
- MAT2 neuron model
Network models
- Random neural network
- Topological networks
- Data-driven network models
Synapse models
- Static synapses with homogeneous or heterogeneous weight and delay.
- Spike-timing-dependent plasticity
- Short-term plasticity (Tsodyks & Markram synapses)
- Neuromodulated synapses, using Dopamine.
Device models
- Spike detector
- Multimeter for potentials, currents, etc.
- AC, DC, and step current generators
- Noise generators (Poisson, Gauss, Gamma)
- Spike generators for replay of spikes
Accuracy
- NEST aims at high accuracy and precision of its simulations[8]
- Each neuron model has its appropriate solver and many models have unit tests.
- If possible, exact integration[9] is used.
- By default, spikes fall onto the grid, defined by the simulation time-step. Some models support spike-exchange in continuous time.[10]
Parallel and distributed simulation
- Support for multi-threaded simulation, using OpenMP or POSIX Threads.
- Support for hybrid multi-threaded and distributed simulation.
- Parallelization is handled semi-automatically by NEST's simulation kernel.
- Supra-linear to linear scaling for up to 10000 cores.[11]
Interoperability
- Interface to the Multi Simulator Coordinator, developed by the INCF.[12]
- Interface to the simulator independent simulation language PyNN.
History
NEST development was started in 1993 by Markus Diesmann and Marc-Oliver Gewaltig at the Ruhr University Bochum, Bochum, Germany and the Weizmann Institute of Science in Rehovot, Israel. At this time, the simulator was called SYNOD and simulations were defined in a stack based simulation language, called SLI.[13]
In 2001, the software changed its name from SYNOD to NEST. Until 2004, NEST was exclusively developed and used by the founding members of the NEST Initiative. The first public release appeared in summer 2004. Since then, NEST was released regularly, about once or twice per year.
Since 2007, NEST supports hybrid parallelism, using POSIX threads and MPI.[11]
In 2008, the stack-based simulation language SLI was superseded by a modern Python interface, however, the old simulation language is still used internally.[14] At the same time, the simulator independent specification language PyNN was developed with support for NEST.[15] In 2012, the NEST Initiative changed the license from the proprietary NEST License to GNU GPL V2 or later.
User interfaces
- NEST primary user interface is PyNEST, a Python package that controls the NEST simulation kernel. PyNEST aims at easy usability and seamless interaction with Python and its libraries.
- PyNN is a simulator independent language for neural simulations, which supports NEST as well as BRIAN, NEURON, as well as neuromorphic hardware.
- NEST also maintains its own simulation language interpreter (SLI), which understands a simple Stack-oriented programming language that is influenced by PostScript.[16]
See also
- Brian (software)
- Neuron (software)
- GENESIS (software)
- Computational Neuroscience
External links
References
- ↑ Brunel, N. (2000). Dynamics of sparsely connected networks of excitatory and inhibitory spiking neurons. Journal of computational neuroscience, 8(3), 183–208.
- ↑ Brette R, Rudolph M, Carnevale T, Hines M, Beeman D, Bower JM, Diesmann M, Morrison A, Goodman PH, Harris FC Jr, Zirpe M, Natschläger T, Pecevski D, Ermentrout B, Djurfeldt M, Lansner A, Rochel O, Vieville T, Muller E, Davison AP, El Boustani S, Destexhe A (2007) Simulation of networks of spiking neurons: a review of tools and strategies J Comput Neurosci 23(3):349-98
- ↑ Akam, T., & Kullmann, D. M. (2010). Oscillations and filtering networks support flexible routing of information. Neuron, 67(2), 308–20. doi:10.1016/j.neuron.2010.06.019
- ↑ Kremkow, J., Perrinet, L. U., Masson, G. S., & Aertsen, A. (2010). Functional consequences of correlated excitatory and inhibitory conductances in cortical networks. Journal of computational neuroscience, 28(3), 579–94. doi:10.1007/s10827-010-0240-9
- ↑ Marre, O., Yger, P., Davison, A. P., & Frégnac, Y. (2009). Reliable recall of spontaneous activity patterns in cortical networks. The Journal of neuroscience : the official journal of the Society for Neuroscience, 29(46), 14596–606. doi:10.1523/JNEUROSCI.0753-09.2009
- ↑ Gollo, L. L., Mirasso, C., & Villa, A. E. P. (2010). Dynamic control for synchronization of separated cortical areas through thalamic relay. NeuroImage, 52(3), 947–55. doi:10.1016/j.neuroimage.2009.11.058
- ↑ Potjans, W., Morrison, A., & Diesmann, M. (2009). A spiking neural network model of an actor-critic learning agent. Neural computation, 21(2), 301–39. doi:10.1162/neco.2008.08-07-593
- ↑ Henker, S., Partzsch, J., & Schemmel, J. (2011). Accuracy evaluation of numerical methods used in state-of-the-art simulators for spiking neural networks. Journal of computational neuroscience.
- ↑ Rotter S, Diesmann M (1999) Exact Digital Simulation of Time-Invariant Linear Systems with Applications to Neuronal Modeling Biological Cybernetics 81:381-402
- ↑ Morrison A, Straube S, Plesser HE, Diesmann M (2007) Exact subthreshold integration with continuous spike times in discrete-time neural network simulations Neural Comput 19(1):47-79
- ↑ 11.0 11.1 Plesser HE, Eppler JM, Morrison A, Diesmann M, Gewaltig MO (2007) Efficient parallel simulation of large-scale neuronal networks on clusters of multiprocessor computers In: Proc. of Euro-Par Parallel Processing 2007, Springer LNCS 4641:672-681
- ↑ Mikael Djurfeldt, Johannes Hjorth, Jochen M. Eppler, Niraj Dudani, Moritz Helias, Tobias C. Potjans, Upinder S. Bhalla, Markus Diesmann, Jeanette Hellgren Kotaleski and Örjan Ekeberg (2010) Run-Time Interoperability Between Neuronal Network Simulators Based on the MUSIC Framework Neuroinformatics 8(1):43-60, DOI 10.1007/s12021-010-9064-z
- ↑ Video documentary on NEST by the German Bernstein Network
- ↑ Eppler, J. M., Helias, M., Diesmann, M., Muller, E., & Gewaltig, M.-O. (2008). PyNEST: a convenient interface to the NEST simulator. Frontiers in Neuroinformatics, 2(January), 1–12. doi:10.3389/neuro.11.012.2008
- ↑ A. Davison, D. Brüderle, J. Eppler, J. Kremkow, E. Muller, D. Pecevski, L. Perrinet and P. Yger, PyNN: a common interface for neuronal network simulators, Front. Neuroinf. 2:11, 2009
- ↑ see NEST (Neural Simulation Tool) on Scholarpedia