Research SuperSpike learning rule for SNNBot gun aiming #156
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
Can the SuperSpike learning rule (Zenke & Ganguli, arXiv:1705.11146) replace R-STDP in SNNBot's 36→12→2 SNN for angle regression? Specifically:
Context: Current R-STDP converges too slowly and gets stuck in local minima (~92° or ~103° error). The network occasionally finds near-perfect aim but can't lock it in because R-STDP lacks directional gradient information.
Related to wayfinder map #147.
Resolution
SuperSpike (Zenke & Ganguli 2018) is the right fit. Key findings:
Learning rule:
Δw_ij = r × ∫ e_i(s) · σ'(U_i(s)) · (ε * S_j)(s) dsσ'(U) = (1 + |β(U − ϑ)|)^{−2}(fast sigmoid derivative, peaks at threshold)e_i(t) = α * (Ŝ_i − S_i)(t)Hyperparameters: τ_mem=10ms, τ_syn=5ms, τ_ref=5ms, r_0∈{0.1–10}×10⁻³, β=1mV⁻¹, weight bounds ±0.1
For our topology (36→12→2): Convert desired angle to Poisson target spike trains on sin/cos output neurons. Random feedback weights from output error to hidden layer. Each synapse updates locally.
Full research:
SNNBot_garage/research/superspike.mdon branchresearch/superspike