Neuron Model

This document details the spiking neuron model used in Axon, which implements the STICK computation framework. STICK uses temporal coding, precise spike timing, and synaptic diversity for symbolic and deterministic computation.

STICK: Spike Time Interval Computational Kernel, A Framework for General Purpose Computation using Neurons, Precise Timing, Delays, and Synchrony.


Overview

Axon simulates event-driven, integrate-and-fire neurons with:

  • Millisecond-precision spike timing
  • Multiple synapse types with distinct temporal effects
  • Explicit gating to modulate temporal dynamics

The base classes are:

  • AbstractNeuron: defines core membrane equations
  • ExplicitNeuron: tracks spike times and enables connectivity
  • Synapse: defines delayed, typed connections between neurons

Neuron Dynamics

Axon simulates event-driven non-leaky integrate-and-fire neurons.

The membrane potentail (V) evolves following the differential equations:

\[ \tau_m \frac{dV}{dt} = g_e + \text{gate} \cdot g_f \] \[ \frac{dg_e}{dt} = 0 \] \[ \tau_f \frac{dg_f}{dt} = -g_f \]

Each neuron has 4 internal state variables:

VariableDescription
VMembrane potential
geConstant input
gfExponential input
gateBinary gate controlling gf

Each neuron also has 4 internal parameters:

ParameterDescription
VtMembrane potential threshold
VresetMembrane potential set after a reset
tmTimescale of the evolution of the membrane potential
tfTimescale of the evolution of gf

When the membrane potential surpasess a threshold, V > Vt, the neuron emits a spike and resets:

if V > Vt:
    spike → 1
    V → Vreset
    ge → 0
    gf → 0
    gate → 0

Neuron Model Animation

This animation demonstrates the evolution of an individual neuron under different synaptic inputs (V, ge, gf, gate):

Neuron

Synapse TypeBehavior
VInstantaneous jump in membrane potential V, potentially emitting spike
geSlow, steady increase in V over time
gf + gateFast, nonlinear voltage rise due to exponential dynamics
gateControls whether gf affects the neuron at all

Event-by-event explanation of the animation

Time (ms)TypeValueDescription
t = 10V3.0Instantaneous pushes of V, membrane potential
t = 25ge6.0Applies constant integration current: slow, linear voltage increase
t = 40gf16.0Adds fast-decaying input, gated via gate = 1 at same time
t = 40gate1.0Enables gf affecting neuron dynamics
t = 85spike-Neuron emits a spike and resets its state

Synapse Types

The neuron model has 4 synapse types. Each of them affects one of the 4 internal state variables of the neuron receiving the synapse. Synapses have a certain weight (w):

Synapse TypeEffectExplanation
VV += wImmediate change in membrane potential
gege += wAdds to the constant input
gfgf += wAdds to the exponential input
gategate += wToggles gate flag (w = ±1) to activate gf

Besides it’s weight w, wach synapse also includes a delay, controlling the the time taken by a spike travelling through the synapse to arrive to the following neuron and affecting it’s internal state:

synapse
  | weight
  | delay

Numerical Parameters

By default, Axon uses the following numeric values for the neuron parameters

ParameterNumeric value (mV, ms)Meaning
Vt10.0Spiking threshold
Vreset0.0Voltage after reset
tm100.0Membrane integration constant
tf20.0Fast synaptic decay constant

Units are milliseconds for time values and millivolts for membrane potential values.

Benefits of This Model

This neuron model is designed for interval-coded values. Time intervals between spikes directly encode numeric values.

The neuron model has dynamic behaviours that eenable symbolic operations such as memory, arithmetic, and differential equation solving. The dynamics of this neuron model forms a Turing-complete computation framework (for in depth information, refer to the STICK paper).

This neuron model has the following characteristics:

  • Compact: Minimal neurons required for functional blocks
  • Precise: Accurate sub-millisecond spike-based encoding
  • Composable: Modular design supports hierarchical circuits
  • Hardware-Compatible: Ported to digital integrate-and-fire cores