TL;DR
This paper introduces a novel in-memory computing (IMC) spike detection system for brain-machine interfaces (BMIs) that dramatically reduces power consumption and data rates. By processing neural spike detection directly within memory using a specialized eDRAM-SRAM bitcell, they achieve ultra-low power (23.9 nW/channel) and high accuracy (96.06%) for 1024 channels, paving the way for more advanced and implantable neural devices.
What Problem Does This Paper Address?
Next-generation brain-machine interfaces (BMIs) aim to record from an ever-increasing number of neurons to achieve more robust neural decoding for applications like prosthetic control or communication. However, this scaling leads to a massive increase in data rates. Traditional approaches involve digitizing raw neural signals, which requires complex analog wiring and consumes significant power, especially for buffering and processing. Event-based frontends (EBFs) offer a solution by compressing data by only transmitting "events" when neural activity changes significantly. While EBFs reduce data rates, they can generate false events (noise) that can interfere with neural decoding. Spike detection (SPD) is crucial to filter out these false events and further reduce data, but conventional digital SPD methods are power-hungry due to frequent memory access and large buffer requirements, making them unsuitable for implantable devices with strict power budgets. This paper addresses the need for a low-power, high-channel-count SPD solution that is compatible with EBFs.
Methods
The core innovation lies in an event-based spike detection (Ev-SPD) algorithm and its implementation using a novel 10-transistor eDRAM-SRAM hybrid random-access memory (HRAM) in-memory computing (IMC) bitcell.
The Ev-SPD algorithm is designed to work directly with the asynchronous events from EBFs, avoiding the need to reconstruct the full neural signal. It uses a simplified energy detection approach (similar to a variant of the Nonlinear Energy Operator, NEO) that leverages the delta-modulated events. This algorithm accumulates event energy over short time windows in an eDRAM, then thresholds this accumulated value into a binary signal. This binary signal is then summed over a sliding window and compared against a second threshold to make the final spike detection decision. This two-stage thresholding helps mitigate false positives.
The HRAM IMC bitcell is the hardware implementation of this algorithm. It combines a 3-transistor, 1-capacitor eDRAM for accumulating event energy (representing the "EvNEOshort" signal) and a 6-transistor SRAM for thresholding and storing the binary output. This design allows for event processing and thresholding to occur directly within the memory bitcell, drastically reducing data movement and associated power consumption. The bitcells are organized into an array, with 8 bitcells per channel forming a circular buffer to store recent detection results for the sliding window operation.
Datasets
The authors evaluated their proposed IMC SPD macro using two datasets:
- Synthetic Dataset: This dataset, previously introduced in [34], is widely used for spike detection and sorting algorithm evaluation. It consists of recorded spike waveforms generated by a Poisson process, with varying noise levels (from 0.05 to 0.2 relative to peak amplitude). The dataset provides ground truth spike timestamps, allowing for precise quantitative evaluation of detection accuracy.
- Neuropixel Dataset: This dataset comprises neural signals recorded from the visual cortex of a mouse using Neuropixel probes [37]. It features 384 channels of neural data sampled at 30 kHz. Unlike the synthetic dataset, this dataset does not have pre-labeled spike times. The authors used an absolute thresholding method to derive ground truth spike times for comparison.
Key Insights and Ideas
- In-Memory Spike Detection is Key: The most significant insight is that performing spike detection directly within the memory bitcell, rather than moving data to a separate processing unit, is crucial for achieving ultra-low power consumption in high-channel-count BMI systems.
- eDRAM-SRAM Hybrid for Event Processing: The novel 10-T HRAM bitcell effectively combines the energy accumulation capabilities of eDRAM with the reliable thresholding and storage of SRAM, creating a specialized unit for event-based neural signal processing.
- Ev-SPD Algorithm's Efficiency: The proposed Ev-SPD algorithm is a clever adaptation of traditional spike detection methods to work directly with sparse, asynchronous events from EBFs, avoiding the computationally expensive step of signal reconstruction.
- Scalability for High-Density BMIs: The architecture is designed for massive scalability, demonstrated by the 1024-channel implementation, making it suitable for the future trend of increasing neural recording sites.
- Compatibility with Event-Based Frontends: The system is explicitly designed to be compatible with compressive EBFs, addressing a critical bottleneck in current BMI systems.
Key Results
- Ultra-Low Power Consumption: The fabricated 1024-channel IMC SPD macro achieved an impressive 23.9 nW per channel for spike detection energy efficiency.
- High Area Efficiency: The macro boasts an area efficiency of 375 µm² per channel.
- High Detection Accuracy:
- On the synthetic dataset, the macro achieved a high spike detection accuracy of 96.06%.
- On the Neuropixel recordings, it demonstrated 95.08% similarity to ground truth spike times and a 0.05 firing pattern Mean Absolute Error (MAE).
- Robustness: The algorithm showed robustness to variations in the delta modulation threshold (±20%) and noise levels.
- Significant Reduction in Memory Access: Compared to conventional digital SPD, the IMC approach significantly reduces memory array size and avoids frequent memory access.
Limitations and Future Work
- Calibration for High-Noise Environments: While the system performs well, the authors note that for very high-noise environments, a channel-wise calibration scheme for the in-cell PMOS bias voltage (VBP) could further improve performance. They estimate a small area overhead for this calibration.
- System-Level Integration: The current chip includes a PISO (Parallel-In-Serial-Out) module for readout, which contributes significantly to power consumption during testing. For fully integrated on-chip systems, replacing this with a digital comparator cycling through ripple counter values and comparing them to a global threshold would reduce power.
- In-Pixel Integration: The authors suggest that integrating the HRAM spike detector directly within the event-based frontend pixels could further compress the AER event rate to the neuron firing rate, reducing communication overhead.
- Adaptive Thresholds: The current design does not feature channel-wise self-adaptive thresholds, which could be a future area of development.
Summary updated