Types of neurons

In the following section, we introduce the different types of neuron models implemented in NEST, describe their dynamics and technical details. A generic description of the numerical update algorithm can be found here: Neuron update algorithms.

Spiking neurons

Geometry

../_images/point_neurons_nn.svg

Point neurons

The most common type of neuron model in NEST. Point neurons are simplified models of biological neurons that represent the neuron as a single point where all inputs are processed, without considering the complex neuronal morphology (such as dendrites and axons).

../_images/mc_neurons_nn.svg

Multi-compartment neurons

Neurons are subdivided into multiple compartments that can represent different parts of the neuronal morphology, like soma, basal and apical dendrites. Inputs can be received in all compartments and are mediated across compartments via electric coupling.

For more information see our project NEST-NEAT, a Python library for the study, simulation and simplification of morphological neuron models.

Multi-compartment neurons

Spiking mechanism

Spiking neuron models process synaptic inputs and generate discrete output events, which are called action potentials or spikes. The mechanisms by which these spikes are generated can be classified with the following distinctions.

Hard threshold

../_images/integrate_and_fire_nn.svg

When the membrane potential reaches a certain threshold, the neuron deterministically “fires” an action potential. Neuron models with hard threshold do not contain intrinsic dynamics that produce the upswing of a spike. Some of the neurons in this class do not reset the membrane potential after a spike. Note that the threshold itself can be dynamic (see Adaptation section below).

Hard threshold

Soft threshold

../_images/hodgkinhuxley_nn.svg

Neurons with a soft threshold model aspects of the voltage dependent conductances that underlie the biophysics of spike generation. Models either produce dynamics, which mimic the upswing of a spike or the whole spike wave form. Some models in this class contain a hard threshold that triggers an instantaneous reset of the membrane potential. This threshold is needed to finish the action potential and to avoid an unbounded growth of the membrane potential. The action-potential initiation is not affected by this and governed by continuous dynamics.

Soft threshold

Stochastic

Input mechanism

NEST supports various input mechanisms to neuron models. The majority of mechanisms are related to chemical synapses that couple neurons with a delay, but there are also electrical synapses, which couple neurons instantaneously.

Electrical

Gap junctions are direct electrical connections between neurons. The respective membrane potentials are instantaneously coupled to each other.

Chemical

Chemical synapses couple neurons in a delayed fashion, because of the conversion of electrical and chemical signals at the synapse. This process is captured by two major classes of models in NEST that either model synaptic inputs as currents or conductances.

Current-based (CUBA) models

../_images/current_based_nn.svg

Model post-synaptic responses to incoming spikes as changes in current. The response of the post-synaptic neuron is independent of the neuronal state. In NEST, current-based neuron models are labeled by psc (post-synaptic currents).

Current-based neuron models

Conductance-based (COBA) models

../_images/conductance_based_nn.svg

Model post-synaptic responses to incoming spikes as changes in conductances. The response of the post-synaptic neuron depends on the neuronal state. These models capture more realistic synaptic behavior, as they account for the varying impact of synaptic inputs depending on the membrane potential, which can change over time. In NEST, conductance-based neuron models are labeled by cond.

Conductance-based neuron models

Post-synaptic input responses

Synaptic inputs can be modeled using different kernels to represent how the current or conductance changes over time after a synaptic event. The type of post-synaptic input (exp, delta, alpha, beta) are indicated at the end of the neuron model name (e.g., iaf_psc_delta)

Delta
../_images/delta_nn.svg
Exp
../_images/exp_nn.svg
Alpha
../_images/alpha2.svg
Beta
../_images/beta2.svg

Adaptation mechanism

../_images/adaptive_threshold_nn.svg

Unlike a fixed threshold, an adaptive threshold increases temporarily following each spike and gradually returns to its baseline value over time. This mechanism models phenomena such as spike-frequency adaptation, where a neuron’s responsiveness decreases with sustained high-frequency input. A different mechanism to implement similar adaptation behavior is via a spike-triggered hyperpolarizing adaptation current.

Models with adaptation

Auxilliary neurons

../_images/parrot_neurons_nn.svg

NEST provides a number of auxilliary neuron models that can be used for specific purposes such as repeating or ignoring particular incoming spike patterns. Use cases for such functionality include testing or benchmarking simulator performance, or the creation of shared spiking input patterns to neurons.

Auxillary neurons

ignore-and-fire – Used for benchmarking

parrot_neuron – Neuron that repeats incoming spikes

parrot_neuron_ps – Neuron that repeats incoming spikes - precise spike timing version

Precise spike timing

../_images/precise_nn.svg

By default, the dynamics of neuronal models are evaluated on a fixed time grid that can be specified before simulation.

Precise neuron models instead calculate precise rather than grid-constrained spike times. These models are more computationally heavy, but provide better resolution to spike times than a grid-constrained model. Spiking neuron networks are often chaotic systems such that an infinitesimal shift in spike time might lead to changes in the overall network dynamics. In NEST, we label models with precise spike times with ps.

See our guide on precise spike timing.

Models with precise spike times


Rate neurons

../_images/rate_neurons_nn.svg

Rate neurons can approximate biologically realistic neurons but they are also used in artificial neuronal networks (also known as recurrent neural networks RNNs).

Most rate neurons in NEST are implemented as templates based on the non-linearity and noise type.

Type of non-linearity

You can specify the type of non-linearity, which in NEST are provided as C++ templates.

The following non-linearity types are available:

Where is Non-linearity applied?

The boolean parameter linear_summation determines whether the input from different presynaptic neurons is first summed linearly and then transformed by a nonlinearity (True), or if the input from individual presynaptic neurons is first nonlinearly transformed and then summed up (False). Default is True.

You can set this parameter in the parameter dictionary of the rate neuron.

Noise application

Input noise

../_images/input_noise_nn.svg

Output noise

../_images/output_noise_nn.svg

opn: Noise is applied to the output rate

Use rate neurons in your simulation

The rate models are instantiated from the templates. To use a rate neuron, the naming convention is <non-linearity>_rate_<noise_type>

For example:

nest.Create("gauss_rate_opn")

If using the rate_transformer_node (see below), you can use the following syntax rate_transformer_<non-linearity>

Example:

nest.Create("rate_transformer_tanh")

Mean field theory

../_images/siegert_neuron_nn.svg

Rate models can also be used as mean-field descriptions for the population-rate dynamics of spiking networks.

Rate transformer

If you want to transform rates in a non-linear manner, but do not want any neuronal dynamics processing these rates, then you can use the rate transformer node.

The rate_transformer_node applies a non-linearity to a sum of incoming rates, transforming them before passing on to other nodes.




Multi-state neurons

../_images/multistate_nn.svg

Neurons with two or three discrete states. These are the simplest neuron models with threshold activation. Binary neurons have On / Off behavior used in theoretical neuroscience and disease theory.

Multi-state neurons



Astrocytes

../_images/astrocyte_nn.svg

NEST offers an astrocyte model for interactions with neurons, including TripartiteConnect to support the creation of a pre-synaptic, a post-synaptic and a third-factor population.

Astrocyte models