Implement SuperSpike learning rule in SNNBot #158
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Question
Replace the R-STDP weight update rule in
SNNBot_garage/src/SNNBot.nimwith SuperSpike (Zenke & Ganguli 2018). The network topology (36→12→2), population coding, sin/cos output decoding, and state machine (DECIDE→WAITING→EVALUATE) stay unchanged — only the learning algorithm changes.Acceptance criteria
Δw = η × pre_trace × surrogate_derivative × error_signalσ'(U) = (1 + |β(U − ϑ)|)^{−2}cd SNNBot_garage && nimble testResearch
SNNBot_garage/research/superspike.mdon branchresearch/superspikeRelated: #147
Resolution
SuperSpike implemented and learning confirmed. Gun visibly tracks enemy and error decreases over time.
Key fixes during implementation:
Commit:
dbae449