{"id":130,"date":"2026-11-16T14:11:22","date_gmt":"2026-11-16T14:11:22","guid":{"rendered":"https:\/\/evoxia.online\/?p=130"},"modified":"2026-11-16T14:11:22","modified_gmt":"2026-11-16T14:11:22","slug":"spiking-neural-networks-and-neuromorphic-computing-computing-with-pulses-instead-of-numbers","status":"publish","type":"post","link":"https:\/\/evoxia.online\/?p=130","title":{"rendered":"Spiking Neural Networks and Neuromorphic Computing: Computing With Pulses Instead of Numbers"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>A Neuron That Talks in Pulses<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The artificial neuron in a standard deep network is a strange object if you compare it to the cell that inspired it. It takes a weighted sum of real numbers, passes the sum through a smooth function, and hands a real number to the next layer. It has no sense of time. Every unit produces an output on every forward pass, whether or not anything interesting happened.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A biological neuron behaves differently. It accumulates electrical charge from its inputs, and when the voltage across its membrane crosses a threshold it fires a brief pulse, an action potential, then resets. Between pulses it is mostly quiet. The information it carries lives in when those pulses occur and how often, not in a continuous output value. Hodgkin and Huxley described the mechanism in detail in 1952 from recordings of the squid giant axon, work that earned them a share of the 1963 Nobel Prize in Physiology or Medicine.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Spiking neural networks (SNNs) take this behavior seriously. Their units communicate with discrete events in time. Neuromorphic computing is the hardware side of the same idea: chips designed so that computation and energy use happen only when a spike arrives.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Leaky Integrate-and-Fire<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The most common model in practice is far simpler than Hodgkin and Huxley&#8217;s four coupled equations. It goes back to Louis Lapicque, who in 1907 modeled a nerve membrane as a capacitor in parallel with a resistor. The leaky integrate-and-fire (LIF) neuron keeps one state variable, its membrane potential. Incoming spikes push the potential up by an amount set by the synaptic weight. Between inputs the potential decays back toward rest, which is the leak. If it crosses the threshold, the neuron emits a spike and the potential drops to a reset value.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That is the whole model. The leak gives the neuron a short memory: two input spikes that arrive close together can push it over threshold, while the same two spikes spread far apart may not. So the unit is sensitive to timing in a way a ReLU never is.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Rates, Timing and the Third Generation<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">How should a number become a train of spikes? The simplest answer is rate coding. A pixel with intensity 0.8 fires often, a pixel with intensity 0.1 fires rarely, and the network reads the rate over a time window. Rate coding works, but it is wasteful, because representing a value precisely requires many spikes and a long window.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The alternative is temporal coding, where the timing of a spike carries the information. A neuron that fires first in response to a stimulus might signal a strong input, and the rest of the network can react before the slower neurons have fired at all. Wolfgang Maass argued for the theoretical value of this in a 1997 paper in <em>Neural Networks<\/em>, \u00abNetworks of spiking neurons: The third generation of neural network models\u00bb. He placed spiking networks after threshold gates (the first generation) and sigmoidal units (the second) and showed that a single spiking neuron can compute a specific function that a sigmoidal network needs hundreds of hidden units to compute. The label stuck. The practical advantage took much longer to show up.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>The Gradient Problem<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Backpropagation needs derivatives, and a spike has none worth using. The output of a spiking neuron as a function of its membrane potential is a step: zero below the threshold, one at it. Its derivative of a step is zero almost everywhere and undefined at the jump. Plug that into the chain rule and every gradient vanishes. For years the missing gradient was the main reason SNNs trailed ordinary deep networks.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The fix that took hold is the surrogate gradient. In the forward pass the network spikes exactly as it should, with a hard threshold. In the backward pass the step function is replaced by a smooth stand-in, such as the derivative of a fast sigmoid, centered on the threshold. Emre Neftci, Hesham Mostafa and Friedemann Zenke laid this out as a tutorial in <em>IEEE Signal Processing Magazine<\/em> in 2019, under the title \u00abSurrogate Gradient Learning in Spiking Neural Networks\u00bb. Because an SNN unrolled over time looks a lot like a recurrent network, the same backpropagation through time machinery that trains LSTMs can then train it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The trick is mathematically impure. The gradient being followed belongs to a slightly different network than the one being run. It works well anyway, and most current SNN libraries are built around it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Learning From Spike Timing<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Neuroscience offers its own learning rule, and it needs no gradient at all. Spike-timing-dependent plasticity (STDP) strengthens a synapse when the input neuron fires shortly before the output neuron, and weakens it when the order is reversed. The rule is local. Each synapse only needs to know the timing of the two neurons it connects, which makes it attractive for hardware where shipping a global error signal around the chip is expensive.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Peter Diehl and Matthew Cook showed in 2015 how far a mostly biological recipe could go. Their network, published in <em>Frontiers in Computational Neuroscience<\/em>, combined STDP with lateral inhibition and adaptive thresholds, learned from MNIST digits without using labels during training, and reached 95% accuracy with 6,400 excitatory neurons. For an unsupervised rule that is respectable. It is also far below what a small convolutional network trained with backpropagation achieves on the same data, and that gap has kept STDP more popular in neuroscience than in applied machine learning.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Converting a Trained Network<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A third route skips spike-based training altogether. Train an ordinary network with ReLU activations, then map it onto spiking neurons so that each neuron&#8217;s firing rate approximates the original activation. Bram Rueckauer and colleagues pushed this approach to large models in a 2017 paper in <em>Frontiers in Neuroscience<\/em>, adding spiking equivalents for max pooling, softmax, batch normalization and Inception modules, and converting VGG-16 and Inception-v3 for ImageNet.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Conversion produces accurate networks, but it inherits the cost of rate coding. To approximate a real-valued activation closely, a neuron must fire many times, so the converted network has to run for many timesteps before its output settles. A network that needs hundreds of steps to answer has spent much of the energy that spikes were supposed to save.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Chips Built Around Events<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">SNNs on a GPU are mostly a simulation. The GPU still processes dense tensors at every timestep. The energy argument only becomes real on hardware that does nothing when nothing spikes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">IBM&#8217;s TrueNorth, reported by Paul Merolla and colleagues in <em>Science<\/em> in 2014, packed one million programmable spiking neurons and 256 million synapses into 4,096 cores on a 5.4 billion transistor chip. Running a real-time object detection demo on 400 by 240 pixel video at 30 frames per second, it drew 63 milliwatts. Intel&#8217;s Loihi, described by Mike Davies and colleagues in <em>IEEE Micro<\/em> in 2018, had 128 neuromorphic cores, about 130,000 neurons, and a learning engine in each core so that synaptic weights could change on the chip. In 2024 Intel assembled 1,152 of its second-generation Loihi 2 chips into Hala Point, a research system with up to 1.15 billion neurons and a maximum power draw of 2,600 watts.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A different philosophy came from the University of Manchester. SpiNNaker, led by Steve Furber, uses large numbers of small conventional processor cores connected by a network built for sending millions of tiny messages at once. Its million-core machine was switched on in November 2018 and was designed to simulate biological neurons in real time, more a tool for brain research than a machine learning accelerator.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Case: A Camera That Reports Only Changes<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The best match for spiking hardware turned out to be a sensor that also speaks in events. In 2008 Patrick Lichtsteiner, Christoph Posch and Tobi Delbruck published a 128 by 128 pixel vision sensor in the <em>IEEE Journal of Solid-State Circuits<\/em>. It has no frames. Each pixel works independently and emits an event only when the log intensity it sees changes by more than a threshold. A static scene produces almost no output. A moving edge produces a stream of events with latency as low as 15 microseconds, across a dynamic range above 120 dB, while the chip consumes 23 milliwatts.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Feeding this data into a conventional network means first collecting events into fake frames, which throws away the timing the sensor worked to capture. An SNN can consume the event stream directly, and its sparse activity mirrors the sparse input. Gesture recognition, high-speed tracking and drone control with event cameras are among the applications where neuromorphic systems look strongest, because the data arrives in the shape the hardware expects.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>The Benchmark Problem<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The honest record is mixed, and some of the clearest evidence comes from the chip makers themselves. In a 2021 survey in <em>Proceedings of the IEEE<\/em>, Davies and coauthors reviewed results from the research community using Loihi. Their summary was that conventional feedforward deep networks showed modest benefit, if any, on the chip. The large gains in latency and energy appeared in networks that used what spiking hardware is good at: recurrence, precise timing, local plasticity, randomness and sparse activity, on problems such as constrained optimization, sparse regression and graph search.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Comparisons are also hard to make fairly. Energy per inference depends on how many timesteps the network runs, how sparse its activity is on real inputs, and whether the cost of memory access and sensor interfacing is counted. A spiking network that matches a GPU&#8217;s accuracy but needs a long time window to do it may lose on both latency and energy.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>One Last Idea<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Most attempts to make deep learning cheaper start from the existing model and shrink it: fewer bits, fewer weights, smaller layers. Spiking networks start from the opposite assumption, that a computation should cost nothing when the input is not changing. That assumption fits a world full of cameras watching empty hallways and microphones listening to silence far better than it fits a benchmark of static photographs. The question for neuromorphic computing may be less whether spikes can beat dense networks on ImageNet, and more whether we have been measuring efficiency on the wrong kind of data.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">By: Max Johnson B.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A Neuron That Talks in Pulses The artificial neuron in a standard deep network is a strange object if you compare it to the cell that inspired it. It takes a weighted sum of real numbers, passes the sum through a smooth function, and hands a real number to the next layer. It has no [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-130","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/evoxia.online\/index.php?rest_route=\/wp\/v2\/posts\/130","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/evoxia.online\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/evoxia.online\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/evoxia.online\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/evoxia.online\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=130"}],"version-history":[{"count":0,"href":"https:\/\/evoxia.online\/index.php?rest_route=\/wp\/v2\/posts\/130\/revisions"}],"wp:attachment":[{"href":"https:\/\/evoxia.online\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=130"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/evoxia.online\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=130"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/evoxia.online\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}