Skip to content
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

Neurons with firing adaptation #845

Closed
jlubo opened this issue Mar 27, 2024 · 2 comments · Fixed by #846
Closed

Neurons with firing adaptation #845

jlubo opened this issue Mar 27, 2024 · 2 comments · Fixed by #846
Labels
1-feature New feature request

Comments

@jlubo
Copy link
Contributor

jlubo commented Mar 27, 2024

So far, neurons with firing adaptation have not yet been added to the Lava library (although according neurons have been implemented in Lava-DL, see the links below). But such neurons are needed for applications that require sophisticated neuron-intrinsic plasticity as well for realistic neuroscience models.

@jlubo jlubo added the 1-feature New feature request label Mar 27, 2024
@github-actions github-actions bot added the 0-needs-review For all new issues label Mar 27, 2024
@jlubo
Copy link
Contributor Author

jlubo commented Mar 27, 2024

One possible such model is given by a Leaky Integrate-and-Fire neuron with adaptive threshold and adaptive refractoriness (which I'd therefore call ATRLIF neuron).

The dynamics of the model are described by the following formulation, originating from Lava-DL (see here and here):

  • Current: $i[t] = (1-\delta_i) \cdot i[t-1] + x[t]$

  • Voltage: $v[t] = (1-\delta_v) \cdot v[t-1] + i[t] + \mathrm{bias}$

  • Threshold: $\theta[t] = (1-\delta_{\theta}),(\theta[t-1] - \theta_0) + \theta_0$

  • Refractory state: $r[t] = (1-\delta_r),r[t-1]$

  • Spike event: $s[t] = (x[t] - r[t]) \geq \theta[t]$

  • Refractory post-spike event: $r[t] = r[t] + 2,\theta[t]$

  • Threshold post-spike event: $\theta[t] = \theta[t] + \theta_{\text{step}}$

With the following parameters (cf. the PR here):

  • $\delta_i$: Decay constant for current $i$.

  • $\delta_v$: Decay constant for voltage $v$.

  • $\delta_\theta$: Decay constant for threshold $\theta$.

  • $\delta_r$: Decay constant for refractory state $r$.

  • $\theta_0$: Initial/baseline value of threshold $\theta$.

  • $\theta_\text{step}$: Increase of threshold theta upon the occurrence of a spike.

  • $\mathrm{bias}$: Neuron's bias.

@jlubo jlubo mentioned this issue Mar 27, 2024
16 tasks
@PhilippPlank
Copy link
Contributor

Thanks for adding this. I will take a look at the PR.

@PhilippPlank PhilippPlank linked a pull request Apr 24, 2024 that will close this issue
16 tasks
@PhilippPlank PhilippPlank removed the 0-needs-review For all new issues label Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1-feature New feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants