Teaching a Memristor Neuron to Learn Locally

A Bench in Zürich

Inside a laboratory at ETH Zürich, radio-frequency probes settle onto a chip. Notably, its active switching regions measure only a few hundred nanometers across. A data acquisition card pushes trains of pulses into two input lines. Moreover, each pulse lasts only four tenths of a millisecond. A separate wave generator holds a slow plateau voltage on a third line.

Nothing about the arrangement looks like machine learning. Indeed, there are no graphics cards and no gradient buffers. No weight values arrive over a bus from a distant server. And yet the circuit settles into a physical state that answers XOR correctly, after roughly a hundred pulses.

XOR returns true when exactly one of two inputs is true. Yet no single linear perceptron can separate it. That property made XOR the classic test of whether a network needs a hidden layer. The researchers then change one signal and retrain. Afterward, the same hardware answers AND. Change it once more, and it answers OR.

Put plainly, engineers at ETH Zürich built a circuit that adjusts its own connections while running. In other words, learning happens on the spot rather than on a computer elsewhere. A memristor is a small device whose conductance holds a record of past voltage pulses. In short, conductance means how easily current passes through something.

Nadia Jimenez Olalla, Ashira Long Ching Ip, Michael Baumann, Marco Dober, Juerg Leuthold and Pau Vilimelis Aceituno report the work in Neuromorphic Computing and Engineering. The result matters less for the logic functions than for where learning occurs. It occurs in the physical state of the chip rather than in software before deployment.

Why On-Chip Learning Has Stalled

Consider how memristive neuromorphic systems usually operate today. Research in the field has focused predominantly on inference. That is, inference means using an already trained model to produce a prediction. First, a network gets trained on conventional computers. Engineers then program the resulting synaptic weights onto the memristive elements one by one. The hardware becomes a fast, low-energy substrate for a model born elsewhere.

The backward pass wants a world that stands still

The reason for that split comes down to backpropagation. Backpropagation works backward through a network after an error. Specifically, it calculates how much each connection should change. The backward pass depends on exact weights and activations from the forward pass. That dependence quietly assumes conductances hold perfectly still between the two. However, analog devices do not hold still. When conductances drift, the calculated corrections no longer match the physical devices.

Filamentary devices compound the problem. In particular, they vary from one another and update asymmetrically. A given programming pulse produces different results depending on what came before.

Workarounds that cost circuitry

Researchers have proposed several fixes. Algorithms such as Tiki-Taka and AGAD compensate for asymmetric updates. They first calibrate each device to find its symmetry point. That calibration demands extra peripheral circuitry, with the area and energy cost that follows.

Three-factor learning rules take another route. Instead, they broadcast a non-local error signal out to the synapses. That signal stands in for the backward pass. The approach reintroduces non-locality, so more circuitry computes and routes errors. Neither line of work escapes the core tension. A gradient method written for digital determinism keeps asking analog matter to behave digitally.

A Different Account of How Brains Learn

The authors went looking for an algorithm the hardware already runs. That search led them to energy models. They frame their approach through Target Learning, the modern generalized form of those models. The neuroscience literature also discusses the related heading of prospective configuration.

The principle is compact. An external forcing signal first drives the network to produce the desired answer. The system then adjusts its parameters to minimize that forcing signal. Learning becomes a process of making the external push unnecessary. Crucially, the forcing signal needs no precise information about internal activations. That removes exactly the requirement analog hardware cannot satisfy.

Recent electrophysiology has reported learning-related cortical activity. Those findings sit consistently with the broader idea that externally driven target states shape synaptic change. Comparable schemes have already shown results in non-memristive neuromorphic hardware.

Local updates, supplied targets

One qualification belongs here rather than buried later. To be sure, the weight update is genuinely local to each device. Nothing has to travel backward through the network. Training nonetheless depends on a supplied target signal. In addition, something must generate that signal and route it correctly. Laboratory instruments supply it in the experiments described below. Making the loop autonomous means producing targets on chip. The authors name that as future work rather than settled business.

What Memristors and Synapses Actually Share

The standard comparison stops at an obvious point. Both a memristor and a synapse can change strength. Even so, the authors push further. Data from cortical recordings shows synaptic strength staying flat below a threshold. Strength then rises sharply once accumulated voltage across the cell membrane passes that point. Measurements of Ta2O5 memristors show conductance behaving the same way. Conductance stays flat, crosses a threshold, then climbs in analog fashion until saturation.

Both systems respond nonlinearly to the integral of voltage over time. That shared dependence is the substantive claim of the paper. It means a key dynamical feature of the cortical learning model also appears in filamentary oxide devices. The feature in question is a thresholded response to accumulated voltage. As a result, engineers do not have to build it. They have to arrange circuitry so the device can express it.

The Operational Amplifier Does the Teaching

Borrowing the shape of a cortical cell

The arrangement borrows from pyramidal neurons, the workhorse cells of cortex. A pyramidal neuron receives ordinary inputs through basal synapses. Meanwhile, instructional signals arrive separately through an apical compartment. Plasticity at the basal synapses requires both arriving together. That coincidence is how associations get built.

The electronic version uses Ta2O5 memristors sitting in parallel. Their currents sum into the inverting terminal of an operational amplifier. In turn, the learning signal enters at the non-inverting terminal. The amplifier creates a virtual short between its two inputs. Whatever voltage sits on the non-inverting side therefore appears at the inverting side. Every memristor now sees the difference between its input and the learning signal. Coincidence of the two pushes a device over threshold. By contrast, one signal alone does not.

Why the amplifier earns its place

Besides that, two further properties matter. Very high input impedance keeps the learning signal clean, protecting it from conductance changes in the array. Very low output impedance stops downstream voltage changes from propagating backward into the synapses.

Stated without notation, one voltage difference does two jobs. It produces the neuron output and adjusts the memristor conductance. In effect, computation and learning arise from the same electrical event.

Technical detail. The full behavior reduces to a compact transfer function.

S_OUT = S_L + sum over i = 1 to N of  (S_L - S_i) * ( w_i(x) / w_F )

N counts the total input synapses. The term w_i(x) gives the conductance of the i-th memristor, governed by its internal filament state x. The term w_F gives the feedback conductance that sets the gain. The learning signal shifts the reference voltage at the inverting terminal, which is the forward computation. The same signal establishes the programming voltage across each device through the difference term, which is the weight update. The filament state evolves as dx/dt = f(x, S_L – S_i). No backward path, stored activations or error memory appear anywhere.

Watching a Single Association Form

The simplest experiment involves two memristors and one association. The devices use a Ta/Ta2O5/Pt stack. Engineers patterned holes under 100 nm across into the oxide using electron-beam lithography, then etched them. Those holes confine where the filament can form and keep the switching region small.

During training, a train of 0.4 V pulses arrives on the first input. The second input sits at zero. The learning signal holds a plateau at negative 0.4 V. The first device therefore experiences 0.8 V across its terminals. By contrast, the second experiences only 0.4 V. That voltage difference determines which device switches. The first crosses its threshold and moves from low conductance to high conductance. Nonvolatility keeps it there, meaning the state survives with all signals removed. Meanwhile, the second device stays put.

The test phase removes the learning signal and applies identical pulses to both inputs. Consequently, output responds only to the first input. The circuit learned an association and retained it with no external memory.

What the pruning phase reveals

Notably, the authors also folded a pruning phase into training. Specifically, pruning runs the RESET process. A brief voltage of opposite polarity ruptures the filament in any device that switched by accident. As a result, that device returns to the low conductance state.

That step carries information. Unrequested switching happens often enough to warrant scheduled cleanup. The detail says something honest about analog yield that a purely simulated result would have hidden.

Three Neurons, Three Logic Functions

Single perceptrons handle linear separations only. Researchers established that constraint decades ago, with XOR as the standard counterexample. So the authors arranged three of their units into a 2-2-1 network. That means two inputs, a hidden layer of two neurons, and one output neuron.

Measured hardware, not simulation

Precision about what was physically measured matters here. Importantly, the logic results are experimental rather than simulated. Radio-frequency probes contacted the fabricated memristors and tunnel junctions. Commercial operational amplifiers on a breadboard completed the circuit. The researchers measured the network in three equivalent blocks, one per neuron. Each measured output then fed the input of the next block. So the network learned in physical hardware. It operated as a cascade of separately measured stages rather than one monolithic chip. The SPICE work described later covers the MNIST task only.

Getting negative weights from positive devices

Three design questions had to be settled first.

Synaptic weights need negative values. Yet memristive conductance is inherently positive. The solution splits every synapse into two columns, one potentiating and one inhibiting. The input drives the potentiating column. Conversely, a mathematically inverted copy drives the inhibiting column. Both currents arrive together at the virtual short. What the neuron sees is the difference between two strictly positive conductances. That difference carries either sign. No individual device ever holds a negative value. Signed arithmetic emerges from topology rather than device physics.

A threshold nobody designed

Nonlinearity comes from a metal-insulator-metal tunnel junction at the amplifier output. A thinner 2 nm Ta2O5 layer forms it. Its response splits across two transport regimes.

Technical detail. Direct tunneling dominates at low bias. The authors capture it with a third-order Taylor expansion.

I = G0*V + alpha*V^2 + gamma*V^3

G0 accounts for zero bias conductance. Alpha accounts for asymmetry in the metal-insulator-metal stack. Gamma accounts for the primary nonlinearity. Transport crosses over into Fowler-Nordheim tunneling at higher bias.

I_FN  proportional to  V^2 * exp( -B / V )

That crossover yields a sharp turn on. Background noise gets suppressed while salient signal components pass through. Together with a parasitic series resistance, the two regimes behave like a threshold activation function.

A software activation such as ReLU is a shape a designer selects. By contrast, this one was never selected. It falls out of electron transport through a few nanometers of oxide. The authors note that two antiparallel diodes with different thresholds would serve much the same purpose. That matters to anyone building a version from commercial parts.

Gain comes from the feedback resistor, offsetting signal loss along resistive paths.

One circuit, three functions

With input sequences held identical, the computed function depends entirely on the training signal. A mild negative bias produces AND. Similarly, a strong negative bias produces OR. Alternating positive and negative bias produces XOR, since it induces switching in devices of both polarities. One physical circuit yields three logic functions, selected by training rather than rewiring. A downstream comparator would clean up small residual spikes at the output.

Scaling Toward Something Harder

Logic gates are a proof of principle rather than a workload. The authors ran physics-based SPICE simulations in LTSpice to test real data. Custom device models fitted to measured hardware drove those simulations. The approach captures analog transient behavior rather than idealized math.

Five neurons watching sixty-four lines

They compressed MNIST digits to eight by eight pixels. Next, flattening produced 64 element vectors. Pixel intensity mapped onto pulse amplitude, and black pixels produced no input at all.

Each digit class received a completely independent pyramidal neuron circuit. Paired potentiating and inhibiting columns appeared again. A five-class problem therefore meant five parallel neurons watching the same 64 input lines. Subsequently, training used 100 samples per digit. During every presentation, the learning signal went strictly to the neuron representing the correct class. Remaining class neurons received no forcing signal whatsoever. That routing keeps supervision local to one column rather than broadcast across the array. It parallels how apical dendrites of specific cortical populations get driven during biological credit assignment. Testing used 30 samples per digit. Average accuracy came in at 68.7 percent.

Reading that number honestly

The authors are direct about what the figure means. The classifier is single-layer. Furthermore, the training set is small. Images are heavily compressed. The learning signal is a simple binary vector. Output calibration still happened in software, though the paper sketches a small additional neuron for that job. Their stated goal was hardware viability rather than benchmark performance. Viewed as a feasibility result, 68.7 percent is an informative early number.

Reading the Circuit Against Edge Hardware Budgets

The behaviors described above map onto numbers edge silicon designers already argue about.

Standby draw

Filaments hold their state with no applied signal. The synaptic elements therefore need no refresh energy to retain what they learned. Total standby power for a real node would still depend on the surrounding circuitry. Even so, the arithmetic changes at the root. A sensor waking once per minute spends most of its life asleep. Static leakage from SRAM weight storage tends to dominate the annual budget in that regime.

The cost of an update

A conventional edge accelerator updates a weight in three steps. It reads the value, computes a delta in a controller, then writes it back. Altogether, all three steps burn energy and clock cycles. Here the update arrives as a byproduct of the forward pass. The architecture avoids a separate read, compute and write cycle. The electrical event that participates in computation also changes the device state. That extends to training the argument in-memory computing already made for inference.

Peripheral overhead

Three-factor schemes and calibration algorithms both need circuitry to compute and route error signals. Moreover, that circuitry scales with synapse count. This design needs one amplifier, one feedback resistor and one tunnel junction per neuron. Analog periphery therefore scales with neuron count instead. Favorable as that sounds, amplifier area and quiescent current govern the cost as networks grow. That ratio deserves attention in whatever the authors publish next.

Speed and precision

Pulses lasting 0.4 ms are slow by any silicon standard. Tantalum oxide devices of this family have switched on picosecond timescales in earlier work. The pace here likely reflects the benchtop setup rather than a material ceiling. Learning throughput nonetheless remains an open number.

Precision needs a careful frame. The paper reports no bit-equivalent precision measurement. Any comparison therefore stays architectural rather than measured. Threshold switching and binary learning signals place this work nearer to heavily quantized edge models than to floating point pipelines. The authors note that memristive elements do support analog tunability. Eventually, later designs could exploit that. Read as an architectural comparison, the positioning is less deflating than it sounds. Keyword spotting, anomaly detection and gesture classification already ship at low precision today.

Where This Could Land

Everything that follows is conditional. What exists today is a three neuron circuit that learned logic on a bench. Alongside it sits a simulated single-layer classifier scoring 68.7 percent on five compressed digit classes. External instruments drive both with millisecond pulses. Three things would have to hold. The approach must scale to multiple hidden layers. Target signals must be generated on chip. Variability must hold up across a wafer.

Given those conditions, systems that learn in place matter most where a round trip to a data center is expensive or impossible.

Sensing in places nobody visits

Consider environmental and agricultural monitoring. Soil chemistry, humidity and background acoustics differ from field to field. Those conditions also shift across seasons. A model trained on aggregate data degrades locally over time. A node that adapts to its own microclimate stays accurate with no site visit. Similar reasoning covers pipeline monitoring, bridge sensors and wildlife recorders in places with poor connectivity.

Devices worn on the body

Medical hardware forms a second category. Hearing aids, prosthetic controllers and neural interfaces share one situation. Every wearer differs, and every wearer changes. At present, calibration happens in clinics. Hardware that adjusts continuously to one person’s signals would reduce those visits. Sensitive recordings would also stay on the device. Whether such a system fits the microwatt envelope remains unmeasured, since the paper reports no system-level power figures.

Systems nobody can reach

Space and defense platforms form a third. Satellites and deep space probes cannot easily receive retrained models. Furthermore, radiation degrades components in ways ground testing does not fully anticipate. Communication latency rules out closed loop cloud training. Onboard adaptation to sensor drift has obvious value there.

Machines with individual signatures

Industrial predictive maintenance rounds out the list. Every motor, pump and compressor develops its own vibration and thermal signature. As a result, a fleet wide model tends to flag the wrong machines. Per unit learning at the sensor fits the problem naturally. Nonvolatile devices mean a power cycle does not erase what was learned.

What Would Still Have To Go Right

Plenty separates this circuit from any of those products. The network needs multiple hidden layers and many inputs per neuron. Growth raises questions about generating and routing learning signals at scale. The authors point toward analog circuitry for producing target signals, citing prior work on deep feedback control. They flag the combination as future work. Device yield and variability at wafer scale remain open. Accuracy also sits far below software baselines, as a five-class subset of compressed digits would suggest.

Still, the contribution stands on its own terms. As far as the authors are aware, this is the first native on-chip implementation of Target Learning using memristors. It runs on local, hardware friendly rules. No algorithm has to be coerced into supporting analog matter.

The broader point runs deeper than any single measurement. Neuromorphic engineering has spent years copying the brain’s architecture. Meanwhile, its learning process stayed behind on a server. A circuit that changes itself, in place, under nothing but voltage, closes part of that gap.

Reference

Jimenez Olalla, N., Long Ching Ip, A., Baumann, M., Dober, M., Leuthold, J., and Vilimelis Aceituno, P. (2026). Biologically inspired memristive neuron capable of on-chip learning. Neuromorphic Computing and Engineering, accepted manuscript. Institute of Electromagnetic Fields, ETH Zürich, and Institute of Neuroinformatics, ETH Zürich and University of Zürich. DOI 10.1088/2634-4386/ae9640. Published open access under CC BY 4.0.

Related Articles

Responses

Your email address will not be published. Required fields are marked *

PHP Code Snippets Powered By : XYZScripts.com
★

Track This Company

Create a free account to add companies to your watchlist and get notified when patents, funding, or key developments change.