014 — Eval-Δt transport across encoder modes

Abstract

Second of three Δt-stability notebooks. Asks: “Can a network trained at one Δt\Delta t run accurately at a different Δt\Delta t at inference? And which spike-resampling mode preserves the input statistics?”

Reads the checkpoints produced by nb013; no retraining.

Methods

For each of nb013’s 5 models×2 train regimes=105 \text{ models} \times 2 \text{ train regimes} = 10 trained networks, sweep the evaluation Δt\Delta t over a per-regime grid (fine train-Δt\Delta t → broad grid, coarse train-Δt\Delta t → sparser grid of integer divisors). At each eval-Δt\Delta t, encode the test inputs three different ways:

  • upsample. Zero-pad the reference spike stream to a finer eval-Δt\Delta t. Eval-Δt\Delta t \leq train-Δt\Delta t only.
  • downsample. Sum-pool the reference stream to a coarser eval-Δt\Delta t. Eval-Δt\Delta t \geq train-Δt\Delta t only.
  • resample. Generate a fresh Poisson stream at the target eval-Δt\Delta t. Works in both directions.

Measure test accuracy and mean hidden firing rate at each (model, train-Δt\Delta t, encoder mode, eval-Δt\Delta t).

Results

Accuracy vs evaluation Δt

Figure 1. Accuracy vs eval-Δt — the money plot
Test accuracy vs eval-Δt, panels by training regime, curves by model and encoder mode.

Test accuracy vs eval-Δt\Delta t, one panel per training regime, curves coloured by model and styled by encoder mode. The headline: cuba (with (1β)/Δt(1-\beta)/\Delta t drive scaling) holds accuracy flat across eval-Δt\Delta t regardless of train-Δt\Delta t; the snnTorch family sags as eval-Δt\Delta t departs from train-Δt\Delta t, and the sag-point follows train-Δt\Delta t.

Hidden firing rate vs evaluation Δt

Figure 2. Hidden firing rate vs eval-Δt
Mean hidden firing rate (Hz) vs eval-Δt, panels by training regime, curves by model and encoder mode.

Mean hidden firing rate vs eval-Δt\Delta t. The count-preserving modes (upsample / downsample) keep the input spike count constant across eval-Δt\Delta t but the cuba scaling compensates whereas the snnTorch models do not.

Discussion

TODO: discussion paragraph — write what the results above mean for the project.