Neuromorphic Chips Learn to Remember: Spiking Neural Networks Tackle Complex Sequential Memory

In a neuromorphic laboratory at ZHAW Wädenswil, researchers connected an Oheo Gulch single-chip Loihi 2 board to their development system via Ethernet. After configuring the static IP and verifying the nxCore runtime, they loaded a spiking LSTM model and began testing it on spoken digit recordings. The network processed acoustic data through cascading layers of artificial neurons, each responding with discrete electrical pulses. This experimental setup represented years of work translating one of AI’s most effective sequential models into a form compatible with event-driven hardware.
The Evolution of Spike-Based Computing
Neuromorphic computing has matured considerably in recent years. Processor designs like Intel’s Loihi 2 now offer programmable neuron models, development frameworks such as snnTorch provide accessible training environments, and industry interest in edge AI has intensified the search for low-power approaches. Alongside platforms like BrainScaleS, SpiNNaker, IBM’s TrueNorth, and BrainChip’s Akida, Loihi 2 represents part of a growing ecosystem where spike-based computation moves from laboratory curiosity to practical tool. Within this context, converting established architectures into spiking forms has shifted from theoretical exercise to practical necessity. The LSTM network, renowned for its ability to capture temporal dependencies across extended sequences, represents an ideal candidate for this translation effort.
Established deep learning models excel at recognizing patterns but consume considerable energy, often requiring hundreds of watts to operate. Meanwhile, the human brain performs similar operations using roughly 20 watts while maintaining memories across both short and long timescales. This difference has motivated researchers to explore neuromorphic computing, which employs event-driven communication mechanisms observed in neural systems.
Adapting LSTMs for Spiking Hardware
Aurora Gruber’s master’s thesis at Politecnico di Torino handles this technical difficulty by converting the Long Short-Term Memory network into a spiking form executable on Intel’s Loihi 2 processor. LSTMs have proven exceptionally capable at handling sequential data, from language translation to speech recognition, by maintaining information in both immediate and extended memory units. The architecture uses specialized gates to control information flow, deciding what to retain and what to discard at each step.
What distinguishes this work is its implementation of gated memory mechanisms through spiking populations. Basic recurrent architectures apply uniform feedback dynamics, while LSTMs introduce separate timescales through gated control. The forget gate controls information decay, the input gate regulates new signal admission, and the output gate modulates what gets transmitted forward. Translating these control mechanisms into spike-based computation preserves this multi-timescale behavior while enabling event-driven execution. This represents, to our knowledge, one of the first hardware-validated spiking LSTM implementations with structured memory management, distinct from simpler recurrent spiking networks.
Converting this complex system into spiking neurons required fundamental restructuring. Rather than continuous mathematical operations, the research group expressed each computational element as populations of artificial neurons communicating through discrete electrical pulses. Each gate in the original LSTM became a dedicated group of spiking units, with membrane potentials serving as the primary information carriers rather than conventional activation functions.
Loihi 2 provided the hardware foundation for this work. Compared to earlier neuromorphic processors, it offers 128 neuron cores with embedded learning engines, programmable microcode for custom neuron behaviors, and fully asynchronous spike-based messaging. The chip operates with integer arithmetic throughout, using fixed bit widths for synaptic weights and neuron states. These characteristics influenced every design decision in the translation process, from choosing which computational elements could share resources to determining how precisely parameters needed representation.
The conversion process revealed subtle but key differences between software simulation and physical hardware. In the snnTorch framework used for training, all layers update simultaneously at each time step. Loihi 2, however, processes data through a pipeline where information flows continuously through the network.
This created timing mismatches between when hidden states were computed and when they became available as recurrent input. The solution involved implementing an alternating execution pattern. Even and odd layers updated on staggered schedules, ensuring the LSTM neuron population had sufficient time to process its inputs before feeding results back to the gates in the next time step. Such architectural adaptations highlight the practical complexities of moving from simulation to silicon.
Quantization and Precision Tradeoffs
Quantization presented another substantial technical difficulty. The snnTorch environment uses floating-point arithmetic with virtually unlimited precision, while Loihi 2 operates entirely with integers constrained by fixed bit widths. Weights, thresholds, and decay factors all required careful scaling to fit within hardware bounds without losing essential information.
The research team developed a semi-quantized training strategy. This approach discretized membrane potentials during learning while keeping weights in floating-point format. By exposing the network to reduced numerical resolution during training, it adapted to the impediments it would face during deployment. Membrane discretization matters particularly because the LSTM’s internal state computations depend on precise accumulation of gated signals. Rounding errors in these intermediate values can cascade through time, whereas weight quantization affects only the magnitude of synaptic contributions. This method serves as a bridge between high-precision learning and low-precision execution, reducing the adaptation gap that often causes performance degradation when models transfer to hardware.
When fully quantized parameters were transferred to Loihi 2, accuracy decreased modestly compared to software simulation. The gap ranged from two to five percentage points depending on the model. This difference arose from hardware-level effects not captured during software evaluation, including potential integer overflows in fixed-point arithmetic and subtle interactions in spike accumulation dynamics. These effects appear manageable but remain an active area for refinement.
These steps determine whether neuromorphic systems produce consistent results once deployed outside simulation environments, directly affecting their reliability relative to digital accelerators.
Performance and Benchmarking Insights
Testing on the Spiking Heidelberg Digits dataset exhibited the architecture’s capabilities. This benchmark consists of spoken digits converted into spike trains through a model of the cochlea, creating 700 input channels that capture temporal and spectral dynamics. The sequences span one to two seconds with recordings in both English and German, including speakers absent from the training data.
Without any preprocessing or temporal compression, the network achieved 91.92% accuracy in software simulation and 85.34% when deployed on Loihi 2 hardware. This gap appears consistent with expected hardware constraints. The results place the architecture among the most accurate hardware-validated spiking models reported for SHD. While several other approaches report higher accuracy in simulation, few recurrent architectures have been confirmed on physical spiking processors with comparable performance.
Hardware profiling revealed how network organization affects computational performance. The team explored different strategies for distributing neurons across Loihi 2’s cores, showing that proper partitioning could reduce runtime from 52 milliseconds to approximately 27 milliseconds. This reduction came from balancing synaptic memory reads and dendritic updates across available cores. Beyond this point, adding more cores provided diminishing returns.
Communication overhead began dominating execution time. Inter-core spike routing latency and potential buffer saturation at network-on-chip routers likely contribute to this plateau. The analysis identified synaptic memory reads and dendritic updates as the primary performance bottlenecks, with both metrics correlating strongly with model size rather than accuracy.
The relationship between network capacity and performance proved complex. Larger models generally ran slower but did not guarantee higher accuracy. Some compact architectures achieved competitive results with substantially lower computational costs. The smallest successful model reached high accuracy while executing faster than much larger networks, indicating multiple viable design points depending on application requirements.
Comparing the spiking LSTM against other neuromorphic implementations revealed inherent tradeoffs. A recurrent spiking network tested on the same hardware achieved latencies between 2.3 and 2.5 milliseconds, roughly ten times faster than the LSTM’s 28 milliseconds. However, the simpler architecture consisted of only two layers with standard leaky integrate-and-fire neurons. The LSTM deployed eight interconnected layers using custom neuron models to implement sophisticated gating mechanisms. The accuracy difference favored the LSTM by several percentage points, exemplifying the classic tension between computational complexity and response speed.
Practical Applications and Reproducibility Considerations
The work establishes a complete pipeline for moving from software-trained spiking networks to functional neuromorphic hardware. The group developed custom neuron models in Loihi 2’s microcode, designed quantization schemes that preserved learned behaviors, and implemented execution strategies compatible with hardware timing constraints. Each step introduced potential sources of error or performance degradation that required systematic investigation and resolution.
The reliance on custom microcode carries implications for portability. The neuron models implementing LSTM gates were designed specifically for Loihi 2’s instruction set and memory architecture. Adapting this approach to other neuromorphic platforms would require reimplementing these components according to each platform’s primitives. The quantization strategy and alternating execution pattern, however, represent more general solutions applicable to similar fixed-point, pipelined neuromorphic systems.
The broader implications extend beyond digit recognition. Sequential data appears throughout robotics, autonomous systems, and sensor networks where energy budgets remain severely constrained. Loihi-class processors are designed for sub-watt operation, suggesting potential suitability for sophisticated temporal processing in battery-powered devices. Consider autonomous drones navigating by audio cues, wearable biomedical sensors tracking heart rhythms in real time, or environmental monitors identifying animal calls in remote habitats. The ability to deploy complex recurrent architectures on such hardware opens new possibilities for intelligent systems operating far from data centers and power outlets. However, these applications remain speculative until measured energy consumption is reported for complete workloads.
Subsequent research could refine this translation process further, potentially closing the remaining gap between software and hardware accuracy. The current architecture retains room for optimization in neuron design, reset mechanisms, and gate interactions. Additionally, exploring the balance between dendritic updates and synaptic reads might yield faster, more resource-conscious implementations suitable for real-time edge applications. It turned out that different partitioning strategies affect specific workload characteristics in measurable ways, potentially providing design guidelines for practitioners deploying similar networks.
This research confirms that established neural network architectures can successfully transition to neuromorphic substrates while maintaining functional capabilities. The process requires careful attention to hardware constraints, execution dynamics, and numerical precision, but the resulting systems combine the temporal processing abilities of recurrent networks with the low energy use of spike-based computation.
As neuromorphic processors continue evolving and software tools mature, computational approaches once considered distinct are beginning to merge. Researchers are discovering that principles from neuroscience and engineering optimizations often converge toward similar solutions. Observing a neuromorphic chip recognize spoken patterns reveals not just technical progress but a step toward understanding how memory, whether natural or engineered, encodes time and experience.
Based on the master’s thesis “Spiking LSTM on Loihi 2: A Neuromorphic Reinterpretation of Recurrent Networks” by Aurora Gruber, Politecnico di Torino, December 2025.
