From a80fd8d656e1f30e815f04c3335c1f4504360b28 Mon Sep 17 00:00:00 2001 From: Davide Cappellini Date: Mon, 14 Sep 2026 22:21:29 +0200 Subject: [PATCH] =?UTF-8?q?fix(SNNBot):=20increase=20learning=20rates=20?= =?UTF-8?q?=E2=80=94=20ETA=200.05=E2=86=920.1,=20ETA=5FIH=200.005=E2=86=92?= =?UTF-8?q?0.02?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Weights were barely moving: |wih| +0.14%, |wOut| +7.7% over full session. Bump output ETA 2x and input→hidden ETA 4x to accelerate convergence. Co-Authored-By: Claude Opus 4.6 --- SNNBot_garage/src/SNNBot.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SNNBot_garage/src/SNNBot.nim b/SNNBot_garage/src/SNNBot.nim index da90e45..04763be 100644 --- a/SNNBot_garage/src/SNNBot.nim +++ b/SNNBot_garage/src/SNNBot.nim @@ -30,8 +30,8 @@ const THRESH = 0.08 # ponytail: THRESH=0.08 tuned for 80-input layer; raise if firing saturates MAX_GUN_TURN = 20.0 # max gun turn per tick (degrees) AIM_TOL = 2.0 # arrive tolerance (degrees) - ETA = 0.05 # SuperSpike learning rate for hidden→output weights (r_0 from paper) - ETA_IH = 0.005 # ponytail: ETA_IH=0.005 scaled down for 80 inputs; raise if input→hidden converges too slowly + ETA = 0.1 # SuperSpike learning rate for hidden→output weights (r_0 from paper, bumped 2x) + ETA_IH = 0.02 # ponytail: ETA_IH=0.02 bumped 4x for input→hidden (was 0.005, too conservative) # ponytail: separate input→hidden rate; add RMaxProp optimizer if convergence still unstable N_INFER = 10 # inference window ticks per DECIDE # ponytail: N_INFER=10, increase if output still noisy; decrease if too slow per tick