Can a Microchip Learn to Stop a Seizure?

Somewhere in a lab in Seville, Spain, a small circuit board no larger than a thumbnail is doing something extraordinary. It is watching a simulated brain have a seizure, and then, on its own, it learns which signals precede seizure spread and triggers a predefined inhibitory feedback pathway. No human specifies which channels should be linked. Instead, a predefined learning rule lets correlations emerge from the data, and the chip discovers the relevant patterns on its own. That capacity for adaptation, with synaptic weights stored directly in hardware and learning updates managed by an external FPGA controller, sits at the very heart of what neuromorphic computing has been striving toward for decades.

A Chip That Learns Like the Brain

This is the work of an international collaboration of engineers and neuroscientists led by Iván Díez-de-los-Ríos and Bernabé Linares-Barranco at the Instituto de Microelectrónica de Sevilla, working alongside colleagues at Politecnico di Milano, Tampere University in Finland, and Silicon Austria Labs. Their paper published in Neuromorphic Computing and Engineering, describes a neuromorphic hardware system built around memristors. These are a special type of electronic component that can remember how much current has passed through them. A memristor strengthens or weakens its conductance depending on how often it is used. It behaves much like a muscle that refines its motion through practice, where the more a particular pathway is exercised, the more fluid and responsive the connection becomes. The memristive devices themselves exhibit variability and analog drift, properties the authors factor into their design rather than attempting to eliminate entirely.

Epilepsy affects roughly 50 million people worldwide. For many, medications work well enough. But for a stubborn fraction, drugs fail, and surgeons sometimes cannot remove the offending brain tissue without risking serious damage. For these patients, the idea of an implanted device that could detect a seizure as it begins and deliver a precisely timed electrical pulse to stop it has been a long sought goal in neurology.

Several research groups have built seizure detection systems before. Most of them, however, rely on machine learning models trained offline, meaning the algorithm is locked in place once it is deployed. The brain, on the other hand, is anything but static. Neural activity drifts over hours, days, and months. An algorithm frozen in time will inevitably fall behind.

What makes this new system different is that the learning rule runs continuously during operation. At its core sits a 4 by 4 grid of memristive devices, each one a tiny resistor whose conductance shifts depending on the electrical signals passing through it. These devices serve as artificial synapses in a spiking neural network, used here in a binary high and low resistance mode. In this computing architecture, information travels as brief electrical pulses rather than continuous streams of data, far closer to how actual neurons communicate.

The investigators paired this memristive crossbar with custom analog circuits fabricated in a 180 nanometer CMOS (complementary metal-oxide-semiconductor) process. One key element is a circuit block called the field-potential-to-spike converter, or FP2SPK. Brain signals recorded by electrodes look like slow, wavy analog traces. The FP2SPK circuit watches these waves and, whenever the voltage swings above or below a tunable threshold, fires a crisp digital spike. The number of spikes it produces is proportional to the area under each swing, so a large, sustained voltage excursion produces a dense burst of spikes while background noise produces almost nothing. This conversion matters because it allows the chip to process brain data using the same timing based logic that neurons use, translating messy biological signals into a language the hardware natively understands.

Testing a Virtual Seizure

These spikes flow into the memristive crossbar, where each connection between an input and an output neuron carries a weight encoded in the conductance of a physical memristor. A spike timing dependent plasticity algorithm, or STDP, runs continuously on an FPGA controller. In this prototype, the spike-timing learning rule is computed by that FPGA, meaning a fully implantable version would require integrating plasticity control directly on the same chip. Every time a post-synaptic neuron fires, the controller checks which input was most active in the preceding milliseconds and strengthens that connection while weakening others. Over time, the network learns which pairs of brain regions tend to fire together just before seizure activity begins to propagate.

To test the concept without putting anything near a living brain, the researchers built a computational model of the hippocampal loop, a circuit in the brain’s temporal lobe that is often the source of epileptic activity. This type of population level neural modeling has become a well established tool in computational neuroscience, allowing engineers to translate hardware prototypes into biologically relevant contexts before animal or human trials begin. The model itself, based on the work of neuroscientist Fabrice Wendling, consists of four interconnected populations of virtual neurons, each containing excitatory pyramidal cells and inhibitory interneurons. By gradually reducing the strength of inhibition in one population, the model transitions from normal background activity to full ictal (seizure related) behavior that spreads from one population to the next.

The group ran this model on a separate microcontroller and fed its four output channels into the neuromorphic chip. After repeated seizure episodes, the network converged to a stable pattern of strengthened connections. The memristors settled into a state where each post-synaptic neuron retained strong connections only to the two input channels that were most correlated during seizure onset. When the network detected a seizure building, the combined output of the post-synaptic neurons triggered a leaky integrate and fire neuron. That neuron fed back into the computational model, boosting an inhibition parameter and suppressing the seizure inside the simulation, not by stimulating living neurons, but by restoring the balance between excitation and inhibition in the virtual tissue.

The collaboration ran this closed loop experiment first in a software emulator and then on the actual hardware, with real memristors and analog neuron circuits. Both versions successfully interrupted seizures multiple times over recordings lasting hundreds of seconds.

From Circuit to Clinic

After proving the chip could learn in a simulated network, the next question was how such a system might perform under real world constraints.

From a practical standpoint, the numbers are compelling. The entire analog processing chain, including the FP2SPK converters, pulse extenders, memristive crossbar, and post-synaptic neurons, consumes an estimated 6.9 nanowatts while actively responding to neural signals. The reported active power places the system among the lowest power seizure detection designs in the published literature. The full circuit occupies just 0.074 square millimeters of silicon. Both traits, tiny area and near negligible energy use, are crucial for any device that might one day be placed inside human tissue. In a comparison table included in the paper, the authors show that their system is among the smallest and most frugal while being one of the only designs that offers real time operation, the ability to distinguish between seizure and non-seizure states, and continuous on-chip learning, all at once.

There are, of course, many steps between a proof of concept on a lab bench and an implant inside a human skull. The authors are candid about this. The hippocampal model, while well validated against real EEG recordings, is still a simplification. It captures population level dynamics but cannot account for the full complexity of individual neurons, glial cells, or the mechanical and chemical environment of living tissue. The hardware itself is spread across multiple circuit boards and an FPGA, all of which would need to be consolidated onto a single chip before any implantation could be considered.

Biocompatibility presents another set of questions. Any device placed inside the brain must be encased in materials that will not provoke an immune response or corrode over time. The electrodes must maintain stable contact with neural tissue even as the brain shifts and swells with each heartbeat. Power must come from somewhere, likely through wireless inductive coupling or energy harvested from the body’s own thermal gradients, since running a wire through the skull is not a viable long term solution. Solving these problems will require sustained cooperation between material scientists, clinicians, and the engineers building the circuits, an effort that demands collaboration across disciplines.

Still, the researchers did take a first step toward clinical relevance by feeding real intracranial EEG recordings from epilepsy patients into their FP2SPK circuit. The spike trains it produced showed similar qualitative behavior to those generated from simulated data, suggesting the front end hardware can handle the messiness of actual brain signals.

Why It Matters

The broader significance of this work lies in its proof that a hardware based, continuously learning system can detect and respond to seizures in real time using only nanowatts of power. Most existing approaches either learn offline and then deploy a fixed model, or rely on software classifiers running on processors that consume far more energy. By storing synaptic weights directly in memristive devices and processing spikes locally in analog circuits, the design reduces the need for separate memory access during inference, cutting one of the persistent costs that burdens conventional computing architectures.

The principles behind adaptive neuromorphic implants extend well beyond epilepsy. Research groups in Europe, the United States, and Asia are exploring similar learning circuits for suppressing Parkinson’s tremors, enabling closed loop cortical stimulation after stroke, and even adjusting to sleep or mood related neural rhythms. Each application shares the same fundamental need: hardware that can watch, learn, and adapt without draining its power source or falling out of step with a changing brain.

For the millions of people living with drug resistant epilepsy, the same thumbnail sized chip that today watches a simulated brain in a Seville laboratory could one day sit quietly beside actual neurons, not merely monitoring them but partnering with them. If future versions reach implantation, they could offer patients a quiet companion that learns as their brains change. And if these learning implants do progress to clinical trials, they will raise new questions not only about safety but also about how adaptive machines interact with living minds.


All experimental results, system diagrams, and performance measurements discussed here are drawn from “Neuromorphic hardware based on memristive nanodevices for seizure detection and recovery” by Iván Díez-de-los-Ríos, Javad Farsani, Saverio Ricci, Davide Bridarolli, Luis Camuñas-Mesa, Narayan Subramaniyam, Jarno Tanskanen, Jari Hyttinen, Daniele Ielmini, Teresa Serrano-Gotarredona, and Bernabé Linares-Barranco (Neuromorphic Computing and Engineering, 2026, DOI: 10.1088/2634-4386/ae3b6c). My goal has been to explain their technical contributions and situate them within the broader landscape of neuromorphic engineering and biomedical signal processing.

Related Articles

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.