You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# stdp_dopamine_synapse is a connection to create synapses with
8
8
# dopamine-modulated spike-timing dependent plasticity (used as a
9
9
# benchmark model in [1]_, based on [2]_). The dopaminergic signal is a
10
10
# low-pass filtered version of the spike rate of a user-specific pool
11
11
# of neurons. The spikes emitted by the pool of dopamine neurons are
12
12
# delivered to the synapse via the assigned volume transmitter. The
13
13
# dopaminergic dynamics is calculated in the synapse itself.
14
-
#
14
+
#
15
+
# Note that in this particular STDP synapse model, the weight is not allowed to be negative. In case an inhibitory STDP synapse needs to be modeled, this model (with weight >= 0 at all times) can be connected to a postsynaptic neuron at its appropriate (inhibitory) input port. The sign of the postsynaptic response is thus handled in the postsynaptic neuron. In principle, an STDP synapse model can be defined that allows for negative weights, but in this case, care should be taken to prevent the sign of the weight from changing during learning, as a biological synapse cannot simply switch from one type to another, say, from glutamatergic to GABAergic.
16
+
#
17
+
#
15
18
# References
16
19
# ++++++++++
17
20
#
@@ -28,7 +31,7 @@
28
31
# +++++++++++++++++++
29
32
#
30
33
# This file is part of NEST.
31
-
#
34
+
#
32
35
# Copyright (C) 2004 The NEST Initiative
33
36
#
34
37
# NEST is free software: you can redistribute it and/or modify
@@ -47,7 +50,7 @@
47
50
#
48
51
model neuromodulated_stdp_synapse:
49
52
state:
50
-
w real = 1.
53
+
w real = 1. [[w >= 0]]
51
54
n real = 0. # Neuromodulator concentration
52
55
c real = 0. # Eligibility trace
53
56
pre_tr real = 0.
@@ -60,8 +63,8 @@ model neuromodulated_stdp_synapse:
60
63
tau_c ms = 1000 ms # Time constant of eligibility trace
61
64
tau_n ms = 200 ms # Time constant of dopaminergic trace
A_plus real = 1. # Multiplier applied to weight changes caused by pre-before-post spike pairings. If b (dopamine baseline concentration) is zero, then A_plus is simply the multiplier for facilitation (as in the stdp_synapse model). If b is not zero, then A_plus will be the multiplier for facilitation only if n - b is positive, where n is the instantenous dopamine concentration in the volume transmitter. If n - b is negative, A_plus will be the multiplier for depression.
66
69
A_minus real = 1.5 # Multiplier applied to weight changes caused by post-before-pre spike pairings. If b (dopamine baseline concentration) is zero, then A_minus is simply the multiplier for depression (as in the stdp_synapse model). If b is not zero, then A_minus will be the multiplier for depression only if n - b is positive, where n is the instantenous dopamine concentration in the volume transmitter. If n - b is negative, A_minus will be the multiplier for facilitation.
# Phenomenological models of synaptic plasticity based on spike timing", Biological Cybernetics 98 (2008). "Examples of nearest neighbor spike pairing schemes for a pre-synaptic neuron j and a postsynaptic neuron i. In each case, the dark gray indicate which pairings contribute toward depression of a synapse, and light gray indicate which pairings contribute toward potentiation. **(a)** Symmetric interpretation: each presynaptic spike is paired with the last postsynaptic spike, and each postsynaptic spike is paired with the last presynaptic spike (Morrison et al. 2007). **(b)** Presynaptic centered interpretation: each presynaptic spike is paired with the last postsynaptic spike and the next postsynaptic spike (Izhikevich and Desai 2003; Burkitt et al. 2004: Model II). **(c)** Reduced symmetric interpretation: as in **(b)** but only for immediate pairings (Burkitt et al. 2004: Model IV, also implemented in hardware by Schemmel et al. 2006)
40
-
#
41
-
#
40
+
#
41
+
# Note that in this particular STDP synapse model, the weight is not allowed to be negative. In case an inhibitory STDP synapse needs to be modeled, this model (with weight >= 0 at all times) can be connected to a postsynaptic neuron at its appropriate (inhibitory) input port. The sign of the postsynaptic response is thus handled in the postsynaptic neuron. In principle, an STDP synapse model can be defined that allows for negative weights, but in this case, care should be taken to prevent the sign of the weight from changing during learning, as a biological synapse cannot simply switch from one type to another, say, from glutamatergic to GABAergic.
42
+
#
43
+
#
42
44
# References
43
45
# ++++++++++
44
-
#
46
+
#
45
47
# .. [1] Izhikevich E. M., Desai N. S. (2003) Relating STDP to BCM,
46
48
# Neural Comput. 15, 1511--1523
47
-
#
49
+
#
48
50
# .. [2] Morrison A., Diesmann M., and Gerstner W. (2008) Phenomenological
49
51
# models of synaptic plasticity based on spike timing,
50
52
# Biol. Cybern. 98, 459--478
@@ -54,7 +56,7 @@
54
56
# +++++++++++++++++++
55
57
#
56
58
# This file is part of NEST.
57
-
#
59
+
#
58
60
# Copyright (C) 2004 The NEST Initiative
59
61
#
60
62
# NEST is free software: you can redistribute it and/or modify
@@ -73,7 +75,7 @@
73
75
#
74
76
model stdp_nn_pre_centered_synapse:
75
77
state:
76
-
w real = 1 # Synaptic weight
78
+
w real = 1 [[w >= 0]] # Synaptic weight
77
79
pre_trace real = 0.
78
80
post_trace real = 0.
79
81
@@ -85,8 +87,8 @@ model stdp_nn_pre_centered_synapse:
# Phenomenological models of synaptic plasticity based on spike timing", Biological Cybernetics 98 (2008). "Examples of nearest neighbor spike pairing schemes for a pre-synaptic neuron j and a postsynaptic neuron i. In each case, the dark gray indicate which pairings contribute toward depression of a synapse, and light gray indicate which pairings contribute toward potentiation. **(a)** Symmetric interpretation: each presynaptic spike is paired with the last postsynaptic spike, and each postsynaptic spike is paired with the last presynaptic spike (Morrison et al. 2007). **(b)** Presynaptic centered interpretation: each presynaptic spike is paired with the last postsynaptic spike and the next postsynaptic spike (Izhikevich and Desai 2003; Burkitt et al. 2004: Model II). **(c)** Reduced symmetric interpretation: as in **(b)** but only for immediate pairings (Burkitt et al. 2004: Model IV, also implemented in hardware by Schemmel et al. 2006)
36
-
#
36
+
#
37
+
# Note that in this particular STDP synapse model, the weight is not allowed to be negative. In case an inhibitory STDP synapse needs to be modeled, this model (with weight >= 0 at all times) can be connected to a postsynaptic neuron at its appropriate (inhibitory) input port. The sign of the postsynaptic response is thus handled in the postsynaptic neuron. In principle, an STDP synapse model can be defined that allows for negative weights, but in this case, care should be taken to prevent the sign of the weight from changing during learning, as a biological synapse cannot simply switch from one type to another, say, from glutamatergic to GABAergic.
38
+
#
39
+
#
37
40
# References
38
41
# ++++++++++
39
-
#
42
+
#
40
43
# .. [1] Morrison A., Diesmann M., and Gerstner W. (2008) Phenomenological
41
44
# models of synaptic plasticity based on spike timing,
42
45
# Biol. Cybern. 98, 459--478
@@ -46,7 +49,7 @@
46
49
# +++++++++++++++++++
47
50
#
48
51
# This file is part of NEST.
49
-
#
52
+
#
50
53
# Copyright (C) 2004 The NEST Initiative
51
54
#
52
55
# NEST is free software: you can redistribute it and/or modify
@@ -65,7 +68,7 @@
65
68
#
66
69
model stdp_nn_restr_symm_synapse:
67
70
state:
68
-
w real = 1. # Synaptic weight
71
+
w real = 1. [[w >= 0]] # Synaptic weight
69
72
pre_trace real = 0.
70
73
post_trace real = 0.
71
74
pre_handled boolean = True
@@ -78,8 +81,8 @@ model stdp_nn_restr_symm_synapse:
# Phenomenological models of synaptic plasticity based on spike timing", Biological Cybernetics 98 (2008). "Examples of nearest neighbor spike pairing schemes for a pre-synaptic neuron j and a postsynaptic neuron i. In each case, the dark gray indicate which pairings contribute toward depression of a synapse, and light gray indicate which pairings contribute toward potentiation. **(a)** Symmetric interpretation: each presynaptic spike is paired with the last postsynaptic spike, and each postsynaptic spike is paired with the last presynaptic spike (Morrison et al. 2007). **(b)** Presynaptic centered interpretation: each presynaptic spike is paired with the last postsynaptic spike and the next postsynaptic spike (Izhikevich and Desai 2003; Burkitt et al. 2004: Model II). **(c)** Reduced symmetric interpretation: as in **(b)** but only for immediate pairings (Burkitt et al. 2004: Model IV, also implemented in hardware by Schemmel et al. 2006)
38
-
#
38
+
#
39
+
# Note that in this particular STDP synapse model, the weight is not allowed to be negative. In case an inhibitory STDP synapse needs to be modeled, this model (with weight >= 0 at all times) can be connected to a postsynaptic neuron at its appropriate (inhibitory) input port. The sign of the postsynaptic response is thus handled in the postsynaptic neuron. In principle, an STDP synapse model can be defined that allows for negative weights, but in this case, care should be taken to prevent the sign of the weight from changing during learning, as a biological synapse cannot simply switch from one type to another, say, from glutamatergic to GABAergic.
40
+
#
41
+
#
39
42
# References
40
43
# ++++++++++
41
-
#
44
+
#
42
45
# .. [1] Morrison A., Aertsen A., Diesmann M. (2007) Spike-timing dependent
43
46
# plasticity in balanced random networks, Neural Comput. 19:1437--1467
44
-
#
47
+
#
45
48
# .. [2] Morrison A., Diesmann M., and Gerstner W. (2008) Phenomenological
46
49
# models of synaptic plasticity based on spike timing,
47
50
# Biol. Cybern. 98, 459--478
@@ -51,7 +54,7 @@
51
54
# +++++++++++++++++++
52
55
#
53
56
# This file is part of NEST.
54
-
#
57
+
#
55
58
# Copyright (C) 2004 The NEST Initiative
56
59
#
57
60
# NEST is free software: you can redistribute it and/or modify
0 commit comments