用于神经植入的边缘深度学习
Edge Deep Learning for Neural Implants
摘要:
提供实时神经活动分类和控制的植入设备越来越多地用于治疗神经系统疾病,例如癫痫和帕金森病。分类性能对于识别适合于治疗动作的大脑状态至关重要。然而,在离线研究中显示出前景的先进算法,特别是深度学习(DL)方法,尚未部署在资源受限的神经植入物上。在这里,我们设计和优化了三种常用架构的嵌入式DL模型,并在癫痫发作检测的案例研究中评估了它们的推理性能。设计了深度神经网络(DNN)、卷积神经网络(CNN)和长短期记忆(LSTM)网络,用于对CHB-MIT头皮EEG数据库中的发作期、发作前期和发作间期进行分类。在迭代模型压缩和量化之后,将算法部署在通用的现成微控制器上。量化了推理灵敏度、假阳性率、执行时间、内存大小和功耗。对于癫痫发作事件检测,DNN、CNN和LSTM模型的灵敏度和FPR(h-1)分别为87.36%/0.169、96.70%/0.102和97.61%/0.071。为预警而预测缉获情况也是可行的。实现的压缩和量化实现了显着的节省功率和存储器的精度下降小于0.5%。边缘DL模型实现了与许多没有时间或计算资源限制的先前实现相当的性能。通用微控制器可以提供所需的内存和计算资源,而模型设计可以迁移到ASIC进行进一步优化。结果表明,边缘DL推理是未来神经植入物改善分类性能和治疗结果的可行选择。
英文摘要:
Implanted devices providing real-time neural activity classification and control are increasingly used to treat neurological disorders, such as epilepsy and Parkinson's disease. Classification performance is critical to identifying brain states appropriate for the therapeutic action. However, advanced algorithms that have shown promise in offline studies, in particular deep learning (DL) methods, have not been deployed on resource-restrained neural implants. Here, we designed and optimized three embedded DL models of commonly adopted architectures and evaluated their inference performance in a case study of seizure detection. A deep neural network (DNN), a convolutional neural network (CNN), and a long short-term memory (LSTM) network were designed to classify ictal, preictal, and interictal phases from the CHB-MIT scalp EEG database. After iterative model compression and quantization, the algorithms were deployed on a general-purpose, off-the-shelf microcontroller. Inference sensitivity, false positive rate, execution time, memory size, and power consumption were quantified. For seizure event detection, the sensitivity and FPR (h-1) for the DNN, CNN, and LSTM models were 87.36%/0.169, 96.70%/0.102, and 97.61%/0.071, respectively. Predicting seizures for early warnings was also feasible. The implemented compression and quantization achieved a significant saving of power and memory with an accuracy degradation of less than 0.5%. Edge DL models achieved performance comparable to many prior implementations that had no time or computational resource limitations. Generic microcontrollers can provide the required memory and computational resources, while model designs can be migrated to ASICs for further optimization. The results suggest that edge DL inference is a feasible option for future neural implants to improve classification performance and therapeutic outcomes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。