Spiking neural networks · HTM · Predictive coding
Neural circuits, written in PyTorch.
neuroSush is an open-source library for simulating spiking neurons, plastic synapses, HTM / Thousand Brains columns and predictive coding. Every model is tested against its equations.
v0.8.0 · MIT · Python ≥ 3.10 · torch ≥ 2.1live
Synapses
Synapses that learn from spike timing.
Dense, sparse and delayed synapse groups, with STDP, triplet STDP, inhibitory STDP and dopamine-modulated reward learning.
▲ schematic
Populations
From one cell to a population.
Neuron groups with LIF, ELIF, AdEx, Izhikevich and Hodgkin–Huxley dynamics, dendritic compartments, axonal delays, k-winners-take-all and homeostasis.
▲ schematic
HTM / Thousand Brains
Sparse codes, columns that vote.
Spatial pooler, temporal memory with active dendrites, and Thousand Brains columns that settle on one object by lateral voting, alongside the spiking models.
▲ schematic
Predictive coding
Predictions down, errors up.
Hierarchical predictive coding in which each level predicts the one below and learns from the residual. Tests check the update equations, not biological equivalence.
▲ schematic
Space and memory
Grid cells and relational memory.
neuroSush v0.8.0 includes experimental TEM models and the spatial toolkit. The Atlas features live teaching plate T01 (position imposed). Results and reproducibility are detailed in the Results report ↗ and Research story ↗.
Grid-cell emergence is not shown; structure is imposed. No live trained-model demo yet.
▲ schematic