1
|
Weiss DA, Borsa AM, Pala A, Sederberg AJ, Stanley GB. A machine learning approach for real-time cortical state estimation. J Neural Eng 2024; 21:016016. [PMID: 38232377 PMCID: PMC10868597 DOI: 10.1088/1741-2552/ad1f7b] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Grants] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 06/20/2023] [Accepted: 01/17/2024] [Indexed: 01/19/2024]
Abstract
Objective.Cortical function is under constant modulation by internally-driven, latent variables that regulate excitability, collectively known as 'cortical state'. Despite a vast literature in this area, the estimation of cortical state remains relatively ad hoc, and not amenable to real-time implementation. Here, we implement robust, data-driven, and fast algorithms that address several technical challenges for online cortical state estimation.Approach. We use unsupervised Gaussian mixture models to identify discrete, emergent clusters in spontaneous local field potential signals in cortex. We then extend our approach to a temporally-informed hidden semi-Markov model (HSMM) with Gaussian observations to better model and infer cortical state transitions. Finally, we implement our HSMM cortical state inference algorithms in a real-time system, evaluating their performance in emulation experiments.Main results. Unsupervised clustering approaches reveal emergent state-like structure in spontaneous electrophysiological data that recapitulate arousal-related cortical states as indexed by behavioral indicators. HSMMs enable cortical state inferences in a real-time context by modeling the temporal dynamics of cortical state switching. Using HSMMs provides robustness to state estimates arising from noisy, sequential electrophysiological data.Significance. To our knowledge, this work represents the first implementation of a real-time software tool for continuously decoding cortical states with high temporal resolution (40 ms). The software tools that we provide can facilitate our understanding of how cortical states dynamically modulate cortical function on a moment-by-moment basis and provide a basis for state-aware brain machine interfaces across health and disease.
Collapse
Affiliation(s)
- David A Weiss
- Program in Bioengineering, Georgia Institute of Technology, Atlanta, GA, United States of America
- Wallace H Coulter Department of Biomedical Engineering, Georgia Institute of Technology and Emory University, Atlanta, GA, United States of America
| | - Adriano Mf Borsa
- Program in Bioengineering, Georgia Institute of Technology, Atlanta, GA, United States of America
- School of Electrical and Computer Engineering, Georgia Institute of Technology, Atlanta, GA, United States of America
| | - Aurélie Pala
- Department of Biology, Emory University, Atlanta, GA, United States of America
| | - Audrey J Sederberg
- Department of Neuroscience, University of Minnesota Medical School, Minneapolis, MN, United States of America
- Medical Discovery Team in Optical Imaging and Brain Science, University of Minnesota, Minneapolis, MN, United States of America
| | - Garrett B Stanley
- Wallace H Coulter Department of Biomedical Engineering, Georgia Institute of Technology and Emory University, Atlanta, GA, United States of America
| |
Collapse
|
2
|
Wu Y, Li BZ, Wang L, Fan S, Chen C, Li A, Lin Q, Wang P. An unsupervised real-time spike sorting system based on optimized OSort. J Neural Eng 2023; 20:066015. [PMID: 37972395 DOI: 10.1088/1741-2552/ad0d15] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 05/29/2023] [Accepted: 11/15/2023] [Indexed: 11/19/2023]
Abstract
Objective. The OSort algorithm, a pivotal unsupervised spike sorting method, has been implemented in dedicated hardware devices for real-time spike sorting. However, due to the inherent complexity of neural recording environments, OSort still grapples with numerous transient cluster occurrences during the practical sorting process. This leads to substantial memory usage, heavy computational load, and complex hardware architectures, especially in noisy recordings and multi-channel systems.Approach. This study introduces an optimized OSort algorithm (opt-OSort) which utilizes correlation coefficient (CC), instead of Euclidean distance as classification criterion. TheCCmethod not only bolsters the robustness of spike classification amidst the diverse and ever-changing conditions of physiological and recording noise environments, but also can finish the entire sorting procedure within a fixed number of cluster slots, thus preventing a large number of transient clusters. Moreover, the opt-OSort incorporates two configurable validation loops to efficiently reject cluster outliers and track recording variations caused by electrode drifting in real-time.Main results. The opt-OSort significantly reduces transient cluster occurrences by two orders of magnitude and decreases memory usage by 2.5-80 times in the number of pre-allocated transient clusters compared with other hardware implementations of OSort. The opt-OSort maintains an accuracy comparable to offline OSort and other commonly-used algorithms, with a sorting time of 0.68µs as measured by the hardware-implemented system in both simulated datasets and experimental data. The opt-OSort's ability to handle variations in neural activity caused by electrode drifting is also demonstrated.Significance. These results present a rapid, precise, and robust spike sorting solution suitable for integration into low-power, portable, closed-loop neural control systems and brain-computer interfaces.
Collapse
Affiliation(s)
- Yingjiang Wu
- School of Biomedical Engineering, Guangdong Medical University, Dongguan, People's Republic of China
- Songshan Lake Innovation Center of Medicine and Engineering, Guangdong Medical University, Dongguan, People's Republic of China
- Dongguan Key Laboratory of Medical Electronics and Medical Imaging Equipment, Dongguan, People's Republic of China
| | - Ben-Zheng Li
- Department of Physiology and Biophysics, University of Colorado Anschutz Medical Campus, Aurora, CO, United States of America
- Department of Electrical Engineering, University of Colorado Denver, Denver, CO, United States of America
| | - Liyang Wang
- State Key Laboratory of Analog and Mixed Signal VLSI, University of Macau, Macau, People's Republic of China
- Department of Electrical and Computer Engineering, University of Macau, Macau, People's Republic of China
| | - Shaocan Fan
- School of Electronics and Communication Engineering, Sun Yat-sen University-Shenzhen Campus, Shenzhen, People's Republic of China
| | - Changhao Chen
- Zhuhai Hokai Medical Instruments Co., Ltd, Zhuhai, People's Republic of China
| | - Anan Li
- Jiangsu Key Laboratory of Brain Disease and Bioinformation, Research Center for Biochemistry and Molecular Biology, Xuzhou Medical University, Xuzhou, People's Republic of China
| | - Qin Lin
- School of Biomedical Engineering, Guangdong Medical University, Dongguan, People's Republic of China
- Songshan Lake Innovation Center of Medicine and Engineering, Guangdong Medical University, Dongguan, People's Republic of China
- Dongguan Key Laboratory of Medical Electronics and Medical Imaging Equipment, Dongguan, People's Republic of China
| | - Panke Wang
- School of Biomedical Engineering, Guangdong Medical University, Dongguan, People's Republic of China
- Songshan Lake Innovation Center of Medicine and Engineering, Guangdong Medical University, Dongguan, People's Republic of China
- Dongguan Key Laboratory of Medical Electronics and Medical Imaging Equipment, Dongguan, People's Republic of China
| |
Collapse
|
3
|
Rueda C, Rodríguez-Collado A. Functional clustering of neuronal signals with FMM mixture models. Heliyon 2023; 9:e20639. [PMID: 37867904 PMCID: PMC10589779 DOI: 10.1016/j.heliyon.2023.e20639] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Download PDF] [Figures] [Journal Information] [Subscribe] [Scholar Register] [Received: 11/07/2022] [Revised: 09/21/2023] [Accepted: 10/03/2023] [Indexed: 10/24/2023] Open
Abstract
The identification of unlabeled neuronal electric signals is one of the most challenging open problems in neuroscience, widely known as Spike Sorting. Motivated to solve this problem, we propose a model-based approach within the mixture modeling framework for clustering oscillatory functional data called MixFMM. The core of the approach is the FMM (Frequency Modulated Möbius) waves, which are non-linear parametric time functions, flexible enough to describe different oscillatory patterns and simple enough to be estimated efficiently. In particular, specific model parameters describe the phase, amplitude and shape of the waveforms. A mixture model is defined using FMM waves as basic functions and gaussian errors, and an EM algorithm is proposed for estimating the parameters. Spike Sorting (SS) has received considerable attention in the literature, and different functional clustering approaches have been considered. We have conducted a fair comparative analysis of the MixFMM with three competitors. Two of them are traditional methods in functional clustering and widely used in Spike Sorting. The third is an approach that has proven superior to many others solving Spike Sorting problems. The datasets used for validation include benchmarking simulated and real cases. The internal and external validation indexes confirm a better performance of the MixFMM on real data sets against the three competitors and an outstanding performance in simulated data against traditional approaches.
Collapse
Affiliation(s)
- Cristina Rueda
- Department of Statistics and Operations Research, University of Valladolid, 47011 Valladolid, Spain
- Mathematics Research Institute of the University of Valladolid (IMUVA), 47011 Valladolid, Spain
| | | |
Collapse
|
4
|
Edge computing on TPU for brain implant signal analysis. Neural Netw 2023; 162:212-224. [PMID: 36921432 DOI: 10.1016/j.neunet.2023.02.036] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 10/10/2022] [Revised: 01/18/2023] [Accepted: 02/23/2023] [Indexed: 03/04/2023]
Abstract
The ever-increasing number of recording sites of silicon-based probes imposes a great challenge for detecting and evaluating single-unit activities in an accurate and efficient manner. Currently separate solutions are available for high precision offline evaluation and separate solutions for embedded systems where computational resources are more limited. We propose a deep learning-based spike sorting system, that utilizes both unsupervised and supervised paradigms to learn a general feature embedding space and detect neural activity in raw data as well as predict the feature vectors for sorting. The unsupervised component uses contrastive learning to extract features from individual waveforms, while the supervised component is based on the MobileNetV2 architecture. One of the key advantages of our system is that it can be trained on multiple, diverse datasets simultaneously, resulting in greater generalizability than previous deep learning-based models. We demonstrate that the proposed model does not only reaches the accuracy of current state-of-art offline spike sorting methods but has the unique potential to run on edge Tensor Processing Units (TPUs), specialized chips designed for artificial intelligence and edge computing. We compare our model performance with state of art solutions on paired datasets as well as on hybrid recordings as well. The herein demonstrated system paves the way to the integration of deep learning-based spike sorting algorithms into wearable electronic devices, which will be a crucial element of high-end brain-computer interfaces.
Collapse
|
5
|
Shi Y, Ananthakrishnan A, Oh S, Liu X, Hota G, Cauwenberghs G, Kuzum D. A Neuromorphic Brain Interface based on RRAM Crossbar Arrays for High Throughput Real-time Spike Sorting. IEEE TRANSACTIONS ON ELECTRON DEVICES 2022; 69:2137-2144. [PMID: 37168652 PMCID: PMC10168101 DOI: 10.1109/ted.2021.3131116] [Citation(s) in RCA: 1] [Impact Index Per Article: 0.5] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Subscribe] [Scholar Register] [Indexed: 05/13/2023]
Abstract
Real-time spike sorting and processing are crucial for closed-loop brain-machine interfaces and neural prosthetics. Recent developments in high-density multi-electrode arrays with hundreds of electrodes have enabled simultaneous recordings of spikes from a large number of neurons. However, the high channel count imposes stringent demands on real-time spike sorting hardware regarding data transmission bandwidth and computation complexity. Thus, it is necessary to develop a specialized real-time hardware that can sort neural spikes on the fly with high throughputs while consuming minimal power. Here, we present a real-time, low latency spike sorting processor that utilizes high-density CuOx resistive crossbars to implement in-memory spike sorting in a massively parallel manner. We developed a fabrication process which is compatible with CMOS BEOL integration. We extensively characterized switching characteristics and statistical variations of the CuOx memory devices. In order to implement spike sorting with crossbar arrays, we developed a template matching-based spike sorting algorithm that can be directly mapped onto RRAM crossbars. By using synthetic and in vivo recordings of extracellular spikes, we experimentally demonstrated energy efficient spike sorting with high accuracy. Our neuromorphic interface offers substantial improvements in area (~1000× less area), power (~200× less power), and latency (4.8μs latency for sorting 100 channels) for real-time spike sorting compared to other hardware implementations based on FPGAs and microcontrollers.
Collapse
Affiliation(s)
- Yuhan Shi
- Electrical and Computer Engineering Department. G. Cauwenberghs is with Bioengineering Department, University of California at San Diego, San Diego, CA 92093, USA
| | - Akshay Ananthakrishnan
- Electrical and Computer Engineering Department. G. Cauwenberghs is with Bioengineering Department, University of California at San Diego, San Diego, CA 92093, USA
| | - Sangheon Oh
- Electrical and Computer Engineering Department. G. Cauwenberghs is with Bioengineering Department, University of California at San Diego, San Diego, CA 92093, USA
| | - Xin Liu
- Electrical and Computer Engineering Department. G. Cauwenberghs is with Bioengineering Department, University of California at San Diego, San Diego, CA 92093, USA
| | - Gopabandhu Hota
- Electrical and Computer Engineering Department. G. Cauwenberghs is with Bioengineering Department, University of California at San Diego, San Diego, CA 92093, USA
| | - Gert Cauwenberghs
- Electrical and Computer Engineering Department. G. Cauwenberghs is with Bioengineering Department, University of California at San Diego, San Diego, CA 92093, USA
| | - Duygu Kuzum
- Electrical and Computer Engineering Department. G. Cauwenberghs is with Bioengineering Department, University of California at San Diego, San Diego, CA 92093, USA
| |
Collapse
|
6
|
A Low Power 1024-Channels Spike Detector Using Latch-Based RAM for Real-Time Brain Silicon Interfaces. ELECTRONICS 2021. [DOI: 10.3390/electronics10243068] [Citation(s) in RCA: 3] [Impact Index Per Article: 1.0] [Reference Citation Analysis] [Abstract] [Track Full Text] [Subscribe] [Scholar Register] [Indexed: 11/16/2022]
Abstract
High-density microelectrode arrays allow the neuroscientist to study a wider neurons population, however, this causes an increase of communication bandwidth. Given the limited resources available for an implantable silicon interface, an on-fly data reduction is mandatory to stay within the power/area constraints. This can be accomplished by implementing a spike detector aiming at sending only the useful information about spikes. We show that the novel non-linear energy operator called ASO in combination with a simple but robust noise estimate, achieves a good trade-off between performance and consumption. The features of the investigated technique make it a good candidate for implantable BMIs. Our proposal is tested both on synthetic and real datasets providing a good sensibility at low SNR. We also provide a 1024-channels VLSI implementation using a Random-Access Memory composed by latches to reduce as much as possible the power consumptions. The final architecture occupies an area of 2.3 mm2, dissipating 3.6 µW per channels. The comparison with the state of art shows that our proposal finds a place among other methods presented in literature, certifying its suitability for BMIs.
Collapse
|
7
|
Güngör CB, Mercier PP, Töreyin H. Investigating well potential parameters on neural spike enhancement in a stochastic-resonance pre-emphasis algorithm. J Neural Eng 2021; 18. [PMID: 33915529 DOI: 10.1088/1741-2552/abfd0f] [Citation(s) in RCA: 4] [Impact Index Per Article: 1.3] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 01/11/2021] [Accepted: 04/29/2021] [Indexed: 12/28/2022]
Abstract
Objective.Background noise experienced during extracellular neural recording limits the number of spikes that can be reliably detected, which ultimately limits the performance of next-generation neuroscientific work. In this study, we aim to utilize stochastic resonance (SR), a technique that can help identify weak signals in noisy environments, to enhance spike detectability.Approach.Previously, an SR-based pre-emphasis algorithm was proposed, where a particle inside a 1D potential well is exerted by a force defined by the extracellular recording, and the output is obtained as the displacement of the particle. In this study, we investigate how the well shape and damping status impact the output signal-to-noise ratio (SNR). We compare the overdamped and underdamped solutions of shallow- and steep-wall monostable wells and bistable wells in terms of SNR improvement using two synthetic datasets. Then, we assess the spike detection performance when thresholding is applied on the output of the well shape-damping status configuration giving the best SNR enhancement.Main results.The SNR depends on the well-shape and damping-status type as well as the input noise level. The underdamped solution of the shallow-wall monostable well can yield to more than four orders of magnitude greater SNR improvement compared to other configurations for low noise intensities. Using this configuration also results in better spike detection sensitivity and positive predictivity than the state-of-the-art spike detection algorithms for a public synthetic dataset. For larger noise intensities, the overdamped solution of the steep-wall monostable well provides better spike enhancement than the others.Significance.The dependence of SNR improvement on the input signal noise level can be used to design a detector with multiple outputs, each more sensitive to a certain distance from the electrode. Such a detector can potentially enhance the performance of a successive spike sorting stage.
Collapse
Affiliation(s)
- Cihan Berk Güngör
- Department of Electrical and Computer Engineering, University of California-San Diego, La Jolla, CA, United States of America.,Department of Electrical and Computer Engineering, San Diego State University, San Diego, CA, United States of America
| | - Patrick P Mercier
- Department of Electrical and Computer Engineering, University of California-San Diego, La Jolla, CA, United States of America
| | - Hakan Töreyin
- Department of Electrical and Computer Engineering, San Diego State University, San Diego, CA, United States of America
| |
Collapse
|
8
|
Cracchiolo M, Panarese A, Valle G, Strauss I, Granata G, Iorio RD, Stieglitz T, Rossini PM, Mazzoni A, Micera S. Computational approaches to decode grasping force and velocity level in upper-limb amputee from intraneural peripheral signals. J Neural Eng 2021; 18. [PMID: 33725672 DOI: 10.1088/1741-2552/abef3a] [Citation(s) in RCA: 7] [Impact Index Per Article: 2.3] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 11/16/2020] [Accepted: 03/16/2021] [Indexed: 11/12/2022]
Abstract
Objective. Recent results have shown the potentials of neural interfaces to provide sensory feedback to subjects with limb amputation increasing prosthesis usability. However, their advantages for decoding motor control signals over current methods based on electromyography (EMG) are still debated. In this study we compared a standard EMG-based method with approaches that use peripheral intraneural data to infer distinct levels of grasping force and velocity in a trans-radial amputee.Approach. Surface EMG (three channels) and intraneural signals (collected with transverse intrafascicular multichannel electrodes, TIMEs, 56 channels) were simultaneously recorded during the amputee's intended grasping movements. We sorted single unit activity (SUA) from each neural signal and then we identified the most informative units. EMG envelopes were extracted from the recorded EMG signals. A reference support vector machine (SVM) classifier was used to map EMG envelopes into desired force and velocity levels. Two decoding approaches using SUA were then tested and compared to the EMG-based reference classifier: (a) SVM classification of firing rates into desired force and velocity levels; (b) reconstruction of covariates (the grasp cue level or EMG envelopes) from neural data and use of covariates for classification into desired force and velocity levels.Main results.Using EMG envelopes as reconstructed covariates from SUA yielded significantly better results than the other approaches tested, with performance similar to that of the EMG-based reference classifier, and stable over three different recording days. Of the two reconstruction algorithms used in this approach, a linear Kalman filter and a nonlinear point process adaptive filter, the nonlinear filter gave better results.Significance.This study presented a new effective approach for decoding grasping force and velocity from peripheral intraneural signals in a trans-radial amputee, which relies on using SUA to reconstruct EMG envelopes. Being dependent on EMG recordings only for the training phase, this approach can fully exploit the advantages of implanted neural interfaces and potentially overcome, in the medium to long term, current state-of-the-art methods. (Clinical trial's registration number: NCT02848846).
Collapse
Affiliation(s)
- Marina Cracchiolo
- The Biorobotics Institute and Department of Excellence in Robotics and AI, Scuola Superiore Sant'Anna, viale Rinaldo Piaggio 34, 56025 Pontedera, Italy
| | - Alessandro Panarese
- The Biorobotics Institute and Department of Excellence in Robotics and AI, Scuola Superiore Sant'Anna, viale Rinaldo Piaggio 34, 56025 Pontedera, Italy
| | - Giacomo Valle
- Neuroengineering Lab, Department of Health Sciences and Technology, Institute for Robotics and Intelligent Systems, ETH, Zürich 8006, Switzerland
| | - Ivo Strauss
- The Biorobotics Institute and Department of Excellence in Robotics and AI, Scuola Superiore Sant'Anna, viale Rinaldo Piaggio 34, 56025 Pontedera, Italy
| | - Giuseppe Granata
- Institute of Neurology, Catholic University of The Sacred Heart, Policlinic A. Gemelli Foundation, Roma, Italy
| | - Riccardo Di Iorio
- Institute of Neurology, Catholic University of The Sacred Heart, Policlinic A. Gemelli Foundation, Roma, Italy
| | - Thomas Stieglitz
- Laboratory for Biomedical Microtechnology, Department of Microsystems Engineering-IMTEK, BrainLinks-BrainTools Center of Excellence & Bernstein Center Freiburg, University of Freiburg, D-79110 Freiburg, Germany
| | - Paolo M Rossini
- Institute of Neurology, Catholic University of The Sacred Heart, Policlinic A. Gemelli Foundation, Roma, Italy
| | - Alberto Mazzoni
- The Biorobotics Institute and Department of Excellence in Robotics and AI, Scuola Superiore Sant'Anna, viale Rinaldo Piaggio 34, 56025 Pontedera, Italy
| | - Silvestro Micera
- The Biorobotics Institute and Department of Excellence in Robotics and AI, Scuola Superiore Sant'Anna, viale Rinaldo Piaggio 34, 56025 Pontedera, Italy.,Bertarelli Foundation Chair in Translational Neuroengineering, Centre for Neuroprosthetics and Institute of Bioengineering, School of Engineering, École Polytechnique Fédérale de Lausanne (EPFL), Campus Biotech, Chemin des Mines 9, Geneva 1202, Switzerland
| |
Collapse
|