-
Notifications
You must be signed in to change notification settings - Fork 372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add warning about synaptic plasticity mechanisms and precise spike timing #2137
Merged
heplesser
merged 2 commits into
nest:master
from
clinssen:synaptic-plasticity-precise-spikes-warn
Sep 3, 2021
Merged
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,50 +39,84 @@ | |
namespace nest | ||
{ | ||
|
||
/* BeginDocumentation | ||
Name: jonke_synapse - Synapse type for spike-timing dependent | ||
plasticity with additional additive factors. | ||
Description: | ||
jonke_synapse is a connector to create synapses with spike time | ||
dependent plasticity. Unlike stdp_synapse, we use the update equations: | ||
\Delta w = \lambda * w_{max} * (K_+(w) * F_+(t) - beta) if t - t_j^(k) > 0 | ||
\Delta w = \lambda * w_{max} * (-alpha * K_-(w) * F_-(t) - beta) else | ||
where | ||
K_+(w) = exp(\nu_+ w) | ||
K_-(w) = exp(\nu_- w) | ||
and | ||
F_+(t) = exp((t - t_j^(k))/tau_+) | ||
F_-(t) = exp((t - t_j^(k))/tau_-) | ||
This makes it possible to implement update rules which approximate the | ||
rule of [1], e.g. the rules given in [2] and [3]. | ||
Parameters: | ||
lambda double - Step size | ||
Wmax double - Maximum allowed weight, note that this scales each | ||
weight update | ||
alpha double - Determine shape of depression term | ||
mu_plus double - Set weight dependency of facilitating update | ||
mu_minus double - Set weight dependency of depressing update | ||
tau_plus double - Time constant of STDP window, potentiation in ms | ||
beta double - Set negative offset for both updates | ||
(tau_minus is defined in the postsynaptic neuron.) | ||
Transmits: SpikeEvent | ||
References: | ||
[1] Nessler, Bernhard, et al. "Bayesian computation emerges in generic | ||
cortical microcircuits through spike-timing-dependent plasticity." PLoS | ||
computational biology 9.4 (2013): e1003037. | ||
[2] Legenstein, Robert, et al. "Assembly pointers for variable binding in | ||
networks of spiking neurons." arXiv preprint arXiv:1611.03698 (2016). | ||
[3] Jonke, Zeno, et al. "Feedback inhibition shapes emergent computational | ||
properties of cortical microcircuit motifs." arXiv preprint | ||
arXiv:1705.07614 (2017). | ||
Adapted from stdp_synapse: | ||
FirstVersion: March 2006 | ||
Author: Moritz Helias, Abigail Morrison | ||
Adapted by: Philipp Weidel | ||
Author: Michael Mueller | ||
Adapted by: Loïc Jeanningros ([email protected]) | ||
SeeAlso: synapsedict, stdp_synapse | ||
*/ | ||
/* BeginUserDocs: synapse, spike-timing-dependent plasticity | ||
|
||
Short description | ||
+++++++++++++++++ | ||
|
||
Synapse type for spike-timing dependent plasticity with additional additive factors. | ||
|
||
Description | ||
+++++++++++ | ||
|
||
jonke_synapse is a connector to create synapses with spike time | ||
dependent plasticity. Unlike stdp_synapse, we use the update equations: | ||
|
||
.. math:: | ||
|
||
\Delta w &= \lambda * w_{max} * (K_+(w) * F_+(t) - \beta) & \quad if t - t_j^(k) > 0 | ||
\Delta w &= \lambda * w_{max} * (-alpha * K_-(w) * F_-(t) - \beta) & \quad else | ||
|
||
where | ||
|
||
.. math:: | ||
|
||
K_+(w) &= \exp(\nu_+ w) | ||
K_-(w) &= \exp(\nu_- w) | ||
|
||
and | ||
|
||
.. math:: | ||
|
||
F_+(t) &= \exp((t - t_j^(k))/\tau_+) | ||
F_-(t) &= \exp((t - t_j^(k))/\tau_-) | ||
|
||
This makes it possible to implement update rules which approximate the | ||
rule of [1]_, e.g. the rules given in [2]_ and [3]_. | ||
|
||
.. warning:: | ||
|
||
This synaptic plasticity rule does not take :doc:`precise spike timing <simulations_with_precise_spike_times>` into account. When calculating the weight update, the precise spike time part of the timestamp is ignored. | ||
|
||
Parameters | ||
++++++++++ | ||
|
||
========== ======== ====================================================== | ||
lambda double Step size | ||
Wmax double Maximum allowed weight, note that this scales each | ||
weight update | ||
alpha double Determine shape of depression term | ||
mu_plus double Set weight dependency of facilitating update | ||
mu_minus double Set weight dependency of depressing update | ||
tau_plus double Time constant of STDP window, potentiation in ms | ||
beta double Set negative offset for both updates | ||
========== ======== ====================================================== | ||
|
||
(tau_minus is defined in the postsynaptic neuron.) | ||
|
||
Transmits | ||
+++++++++ | ||
|
||
SpikeEvent | ||
|
||
References | ||
++++++++++ | ||
|
||
.. [1] Nessler, Bernhard, et al. "Bayesian computation emerges in generic | ||
cortical microcircuits through spike-timing-dependent plasticity." PLoS | ||
computational biology 9.4 (2013): e1003037. | ||
.. [2] Legenstein, Robert, et al. "Assembly pointers for variable binding in | ||
networks of spiking neurons." arXiv preprint arXiv:1611.03698 (2016). | ||
.. [3] Jonke, Zeno, et al. "Feedback inhibition shapes emergent computational | ||
properties of cortical microcircuit motifs." arXiv preprint | ||
arXiv:1705.07614 (2017). | ||
|
||
See also | ||
++++++++ | ||
|
||
synapsedict, stdp_synapse | ||
|
||
EndUserDocs */ | ||
|
||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.