Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
freem
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Openai/69371729-f090-8004-b69b-aa9f25ca0b40
(section)
Add languages
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== 6 — Putting it together: a compact algorithm === Parameters: η\etaη (Hebb rate), λ\lambdaλ (decay), ρ\rhoρ (trace smoothing), cgrowc_{\text{grow}}cgrow, cprunec_{\text{prune}}cprune, θsmall\theta_{\text{small}}θsmall, KmaxK_{\max}Kmax. For each time step with input x(t)\mathbf{x}(t)x(t) and resulting postsyn y(t)\mathbf{y}(t)y(t): # Update local correlation traces: cij←(1−ρ)cij+ρ xj yi.c_{ij} \leftarrow (1-\rho)c_{ij} + \rho\, x_j\, y_i.cij←(1−ρ)cij+ρxjyi. # Weight update (Hebbian + decay): wij←wij+η xj yi−λ wij.w_{ij} \leftarrow w_{ij} + \eta\, x_j\, y_i - \lambda\, w_{ij}.wij←wij+ηxjyi−λwij. (Or use Oja: wij←wij+η(xjyi−yi2wij)w_{ij} \leftarrow w_{ij} + \eta(x_j y_i - y_i^2 w_{ij})wij←wij+η(xjyi−yi2wij).) # Prune if: - ∣wij∣<θsmall|w_{ij}| < \theta_{\text{small}}∣wij∣<θsmall and cij<cprunec_{ij} < c_{\text{prune}}cij<cprune (for some time), then set wij=0w_{ij}=0wij=0 and mark as absent. # Grow if: - wij=0w_{ij}=0wij=0 and cij>cgrowc_{ij} > c_{\text{grow}}cij>cgrow and total connections <Kmax<K_{\max}<Kmax, then create connection with wij←γ cijw_{ij} \leftarrow \gamma\, c_{ij}wij←γcij (small γ\gammaγ). - If KmaxK_{\max}Kmax reached, optionally replace weakest existing connection if the candidate's cijc_{ij}cij is larger. This is fully local: each synapse needs only its cijc_{ij}cij, wijw_{ij}wij, and maybe a small timer.
Summary:
Please note that all contributions to freem are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 (see
Freem:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)