Spike Pocket
Spike Pocket trains a leaky-integrate-and-fire neural classifier with straight-through surrogate gradients and Poisson rate coding. A conventional dense network with exactly the same weights and biases is the matched control.
Evaluation includes clean accuracy, Gaussian-noise accuracy, hidden spike rate, and a synaptic-activity proxy. Spike activity is not presented as measured hardware power; actual energy depends on a neuromorphic deployment target.
Verified local result
Both models contain exactly 4,810 parameters. The LIF network reached 98.15% clean accuracy versus 97.41% for the dense control; both reached 90.74% under Gaussian noise at standard deviation 0.20. Hidden neurons fired on 41.40% of evaluated timestep opportunities.
uv run python projects/spike-pocket/train.py
uv run pytest tests/test_spike_pocket.py
Hosted showcase
This free static Space preserves the complete original Gradio source, trained artifacts, evaluation files, and local launch requirements. Hugging Face now requires PRO for CPU-backed Gradio hosting, so the public landing page is static while the checked-in app.py remains the authoritative runnable demo.