Menu

Learning on the chip

Learning on the chip: why spiking networks are hard to train in place, and the local rules that make it possible

Review · NeuromorphicNovember 23, 2026Senova Systems Research

Most neuromorphic chips run networks that were trained somewhere else and then frozen. A chip that keeps learning after it ships could adapt to a new user, a new room or a worn part. We read the primary papers and code on why ordinary training does not fit on a chip, the local learning rules that do, and what three research chips actually implement.

Why learn on the chip at all

A trained network is usually fixed once it is loaded onto a device. That is fine until the data changes. The ReckOn paper, presented at the 2022 IEEE International Solid-State Circuits Conference (ISSCC), puts the problem in one line: devices that only run inference are limited by changes in their data caused by different users, environments and task requirements. Its answer is a device that keeps adapting where it is deployed.

Sending data back to a server to retrain is the usual fix. It costs a link, time and privacy. Learning on the chip itself avoids all three, if the learning fits inside the chip's memory and power budget. That condition is the hard part, and it is what this piece is about.

Why ordinary training does not fit

Deep networks are trained with backpropagation. For networks that run over time, which spiking networks do, the version used is backpropagation through time (BPTT). The network is unrolled over every time step, the error is computed at the end, and the error is then sent backwards through every step.

That causes two problems on a chip. The first is memory. The ReckOn paper notes that the memory needed by conventional training grows with the temporal depth of the data, which does not fit edge power and area budgets. The Online Training Through Time paper says the same about GPU training: BPTT with surrogate gradients has a large memory cost, while its own method keeps training memory constant however many time steps there are.

The second is timing. The e-prop preprint points out that BPTT needs error signals sent backwards in time, which neuromorphic hardware cannot do efficiently. Weights can only change after the full forward pass, the loss and the backward pass are done. For a recurrent network unrolled in time, that backward pass can run through thousands of layers.

There is also a problem with the spike itself. A spike is all or nothing, so its slope is zero almost everywhere and undefined at the threshold. A tutorial review on surrogate gradient learning describes how the binary and dynamical nature of spiking networks gets in the way of training, and how a smooth stand-in for the missing slope (a surrogate gradient) works around it. Surrogate gradients solve the slope problem. They do not, by themselves, solve the memory or timing problems.

Three families of local rule

A rule is local when each synapse can update itself using only what is available at that synapse, at that moment. Local rules fit on a chip because no history has to be stored and no error has to travel back through the network. There are three broad families.

Two-factor rules use only the activity of the neurons on either side of the synapse. Spike-timing dependent plasticity (STDP) is the classic one: if the input neuron fires just before the output neuron, the connection strengthens; if it fires just after, it weakens. Lava's STDP tutorial implements it on a software model of the learning engine in Intel's Loihi chips. STDP needs no labels, but on its own it has no idea whether the network did the right thing.

Three-factor rules add that missing idea. A review of eligibility traces and three-factor rules describes the mechanism: when the two neurons are active together, the synapse sets a temporary flag called an eligibility trace. The weight only changes if a third signal, such as reward, punishment, surprise or novelty, arrives while the flag is still set. The review covers four experiments that support this on a time scale of seconds in the brain. Lava's three-factor tutorial writes reward-modulated STDP as two equations:

W˙=R⋅EE˙=−Eτe+STDP(pre,post)\begin{aligned} \dot{W} &= R \cdot E \\[4pt] \dot{E} &= -\frac{E}{\tau_e} + \mathrm{STDP}(\text{pre}, \text{post}) \end{aligned}

Symbols

WW
the synaptic weight
EE
the eligibility trace: a fading memory of recent STDP outcomes at this synapse
RR
the reward, the third factor
τe\tau_e
how long the trace lasts

In plain words

The synapse remembers what recently happened at it, and the memory fades. A reward that arrives while the memory is still there turns it into a real weight change. No reward, no change.

Gradient approximations are the third family. They aim for what backpropagation would do, using only local signals. The e-prop preprint shows that the BPTT gradient can be written exactly as a sum over time of two terms per synapse: an eligibility trace that the synapse computes forward in time, and a learning signal that tells the neuron how its spikes affect the error.

dEdθji=∑tLjt ejit\frac{dE}{d\theta_{ji}} = \sum_t L_j^t \, e_{ji}^t

Symbols

EE
the network's error
θji\theta_{ji}
the weight from neuron i to neuron j
ejite_{ji}^t
the eligibility trace at that synapse at time t, computed locally and forward in time
LjtL_j^t
the learning signal reaching neuron j at time t

In plain words

The eligibility trace needs nothing from the future, so it can be computed as data arrives. All the difficulty moves into the learning signal. In the preprint, the ideal learning signal is the full derivative of the error with respect to the neuron's spike, which includes how that spike affects later errors. E-prop uses approximations of it that are available online.

The e-prop preprint is open that this is where the hard work lies: the key problem is producing suitable learning signals online. Online Training Through Time reaches a similar place from the other side. Its authors derive their method from BPTT, track input activity forward in time, and note that the resulting update takes the form of a three-factor Hebbian rule.

What three research chips do

Local rules on paper are one thing. Here is what three research platforms implement, from their own papers and code. All three are research platforms.

On-chip learning in three research platforms, from each platform's paper or code (read 23 November 2026).
PlatformHow learning is built inKind of ruleSource
Intel Loihi and Loihi 2A learning engine that applies rules written as a sum of products of traces, at a set learning epoch. Loihi 2 neurons can be microcoded to compute their own reward traces.Two-factor (STDP) and three-factor (reward-modulated STDP)Lava tutorials and learning_rule.py
BrainScaleS-2An analog neuron and synapse core, with correlation sensing in each synapse, coupled to two digital plasticity processors with vector instructions that read and write the weights.Programmable: rules run as software on the plasticity processorsBrainScaleS-2 system paper
ReckOnA digital spiking recurrent network with a modified e-prop rule. Eligibility traces are stored per neuron, and 8-bit weights are updated stochastically.Gradient approximation (e-prop)ReckOn paper and open HDL

Loihi. Lava's learning API represents rules that follow Loihi's sum-of-products form, with separate expressions for the weight, delay and tag of each synapse, and a learning epoch that sets how often they apply. The three-factor tutorial says reward traces can differ from one output neuron to the next, so a reward can target specific synapses. It also notes that the custom neuron used for these traces could, at the time it was written, only run on the CPU backend.

Lava has since been archived. Its README says Intel will not provide maintenance, bug fixes or new releases, and that a new SDK is being developed for the next Loihi generation. Code written against Lava's learning API has no maintained path forward from Intel. We covered the wider picture in our review of spiking network software.

A separate paper, Online Few-shot Gesture Learning on a Neuromorphic Processor, shows a mixed approach on Loihi. A spiking network is partly trained offline. On the chip, it then learns new gesture classes from a few examples, including gestures streamed live from an event camera. Updates are triggered only when the network makes an error.

BrainScaleS-2. The system paper describes a core with 512 neuron circuits and four synapse arrays of 256 rows by 128 columns. Its analog circuits run about 1000 times faster than the biological time scale they model. Two digital plasticity processors sit beside the analog core. The paper says they have low-latency, parallel access to weights, correlation measurements and membrane voltages while the network runs, so plasticity rules can change the network online. The rules are software on those processors, so the same chip can run many of them.

ReckOn. This chip targets the memory problem head on. Its paper lists three changes to e-prop. It uses plain leaky integrate-and-fire neurons with a longer leak, instead of adaptive neurons whose traces need several time scales in every synapse. It splits each update so the stored trace depends on the input side only, which makes trace storage grow with the number of neurons, not synapses. And it updates 8-bit weights stochastically, so learning needs no wider weight memory than inference.

What ReckOn's paper reports

These are the paper's own measured figures for its chip, made in 28 nm FDSOI CMOS. We have not checked them and quote them to show the scale involved, not as a comparison.

ReckOn, as the paper reports it (ISSCC 2022 preprint). All figures are the authors' measurements, not ours.
WhatThe paper reports
Core area0.45 mm²
Extra memory for learning, compared with the same network used for inference only0.8%
Power while learning, accelerated processing at 0.5 Vunder 150 µW
Power while learning in real time from a live neuromorphic sensor, 0.5 V46 µW
Weight updates skipped by exploiting sparsity (navigation task)78% fewer updates
Accuracy after on-chip training from random weights: 10-class hand gestures (DVS Gesture)87.3%
Accuracy: one keyword against filler words (Spiking Heidelberg Digits)90.7%
Accuracy: synthetic delayed-decision navigation task96.4%

Two things stand out. The learning cost is almost all in the eligibility traces, which the paper says are the only added memory. And every task was learned on the chip from random weights, with no pretraining. The tasks are small, a single keyword or ten gestures, which is a fair picture of where on-chip learning is today.

ReckOn's hardware description is published. The README puts the HDL source under the Solderpad Hardware License v2.1, which wraps the Apache License 2.0 and lets you treat the work as Apache-2.0 instead. The documentation is under CC BY 4.0. This is a summary for engineers, not legal advice.

Open problems

Learning signals. Every gradient-style local rule moves the difficulty into the learning signal. The e-prop preprint names producing good learning signals online as the key problem. Reward-based three-factor rules sidestep it but learn from a much weaker signal.

Memory for long time scales. ReckOn's paper says that e-prop with adaptive neurons, which learns longer dependencies, needs multi-timescale filtering in every synapse and is not suited to a chip. The paper's workaround, a longer leak in plain neurons, is matched to each task.

Software that lasts. Lava, the most complete open toolchain for Loihi's learning engine, is archived, and its three-factor features were partly simulation-only when written. A rule that only runs on one chip's SDK carries that SDK's maintenance risk.

Scale and checking. The published on-chip results are on small tasks. A device that keeps learning after it ships also needs a way to notice when learning makes it worse, and none of the sources we read sets out a general method for that. This is an open engineering question, not a solved one.

What we use, and what we have not done

Our simulation studies train their networks offline, in plain JavaScript with fixed random seeds, and then run them frozen. None of them learns on a chip or online, and none uses the rules or platforms in this piece.

We have not run any of these learning rules, used Lava, or had access to Loihi, BrainScaleS-2 or ReckOn hardware. Every chip figure here is a paper's own. The motion and sensing hardware we study is a natural place to ask whether a device could adapt to its own wear, but we have no results on that and claim none.

Sources

  1. Surrogate Gradient Learning in Spiking Neural Networks (tutorial review, arXiv 1901.09948)
  2. Biologically inspired alternatives to backpropagation through time for learning in recurrent neural nets (e-prop preprint, arXiv 1901.09049)
  3. Eligibility Traces and Plasticity on Behavioral Time Scales: Experimental Support of neoHebbian Three-Factor Learning Rules (review, arXiv 1801.05219)
  4. Online Training Through Time for Spiking Neural Networks (arXiv 2210.04195)
  5. Online Few-shot Gesture Learning on a Neuromorphic Processor (arXiv 2008.01151)
  6. The BrainScaleS-2 accelerated neuromorphic system with hybrid plasticity (arXiv 2201.11063)
  7. ReckOn: a 28nm sub-mm² task-agnostic spiking recurrent neural network processor enabling on-chip learning over second-long timescales (ISSCC 2022 preprint, arXiv 2208.09759)
  8. ReckOn open-source HDL README (University of Zurich)
  9. ReckOn Solderpad Hardware License v2.1 file
  10. Lava README and archive notice (vendor README, Intel)
  11. Lava STDP tutorial (vendor tutorial, Intel)
  12. Lava three-factor learning tutorial (vendor tutorial, Intel)
  13. Lava learning rule source, learning_rule.py (vendor code, Intel)