Concepts#
This page explains the device-physics intuition behind ELEANOR’s neuron models for readers coming from the ML side. If you already work on ferroelectric devices, you can skip and jump straight to Neuron models.
The ferroelectric LIF neuron#
A conventional leaky integrate-and-fire (LIF) neuron tracks a single state, the membrane potential \(V\), which decays exponentially toward zero and integrates synaptic input until it crosses a threshold and emits a spike.
A ferroelectric LIF (FeLIF) neuron extends this with a second state variable, the polarization \(P\) of a ferroelectric capacitor. The polarization is a non-volatile state that stores charge and feeds back into the membrane dynamics through a polarization current \(I_P\). The effect is that the neuron has internal memory beyond a single time constant.
Todo
Add the FeLIF equations and a state diagram figure here.
Neuron types in ELEANOR#
ELEANOR has three increasingly device-grounded neuron variants:
FeLIF (eleanor.jax.models.FeLIFCell,
eleanor.torch.models.FeLIF)
The compact form. A handful of dimensionless parameters (\(\tau_p\), \(\tau_m\), \(P_s\), \(\alpha\), \(\beta\), …) describe a ferroelectric LIF in normalized units. This is the right starting point for ML training.
Heracles (eleanor.jax.models.HeraclesCell,
eleanor.torch.models.Heracles)
A physics-grounded model whose parameters correspond to actual device quantities, i.e. depletion width, ferroelectric thickness, dielectric permittivity, switching current. Due to the complexity of the model, is slower than FeLIF on training and simulation, but lets you sweep physical device parameters during training.
Bruno (eleanor.jax.models.BrunoCell,
eleanor.torch.models.Bruno)
Is a tradeoff between physical-grounded model like Heracles and ML training oriented. Used in the Bruno: backpropagation running undersampled for novel device optimisation paper. See Citation.
Todo
Add per-model parameter tables sourced from the dataclasses.
Variability#
Analogue devices have two kinds of stochasticity:
Device-to-device (D2D) — fabrication variations that are fixed for a given device. In ELEANOR this is
D2DVar, resampled when you change devices, not every time step.Cycle-to-cycle (C2C) — fresh noise on every operation. Modeled by
C2CVar.
The Variability guide shows how to attach these to a model and how to scan over variability levels during training.
Surrogate gradients#
The spike function (Heaviside) is non-differentiable, so ELEANOR uses
surrogate gradients during backpropagation. Both backends default to a
tanh-based surrogate; the JAX backend also supports the SuperSpike
surrogate. See eleanor.jax._surrogate and eleanor.torch._surrogate.