Matthew J Bryan, Felix Schwock, Azadeh Yazdan-Shahmorad, Rajesh P N Rao
{"title":"闭环神经刺激的时间基函数模型。","authors":"Matthew J Bryan, Felix Schwock, Azadeh Yazdan-Shahmorad, Rajesh P N Rao","doi":"10.1088/1741-2552/ae036a","DOIUrl":null,"url":null,"abstract":"<p><p><i>Objective.</i>Closed-loop neural stimulation provides novel therapies for neurological diseases such as Parkinson's disease (PD), but it is not yet clear whether artificial intelligence (AI) techniques can tailor closed-loop stimulation to individual patients or identify new therapies. Further advancements are required to address a number of difficulties with translating AI to this domain, including sample efficiency, training time, and minimizing loop latency such that stimulation may be shaped in response to changing brain activity.<i>Approach.</i>We propose temporal basis function models (TBFMs) to address these difficulties, and explore this approach in the context of excitatory optogenetic stimulation. We demonstrate the ability of TBF models to provide a single-trial, spatiotemporal forward prediction of the effect of optogenetic stimulation on local field potentials measured in two non-human primates. The simplicity of TBF models allow them to be sample efficient (<20 min of training data), rapid to train (<5 min), and low latency (<0.2 ms) on desktop CPUs.<i>Main results.</i>We demonstrate the model on 40 sessions of previously published excitatory optogenetic stimulation data. Surprisingly, on test sets it achieved a prediction accuracy 44% higher than a complex nonlinear dynamical systems model that requires hours to train, and 158% higher than a linear state-space model requiring 90 min to train. Additionally, in two simulations we show that it successfully allows a closed-loop stimulator to drive neural trajectories, and to achieve the user-preferred trade-offs between under- and over-stimulation, given the uncertainty in the model; it achieves an area under curve of ∼0.7 in both cases.<i>Significance.</i>By optimizing for sample efficiency, training time, and latency, our approach begins to bridge the gap between complex AI-based approaches to modeling dynamical systems and the vision of using such forward prediction models to develop novel, clinically useful closed-loop stimulation protocols.</p>","PeriodicalId":94096,"journal":{"name":"Journal of neural engineering","volume":" ","pages":""},"PeriodicalIF":3.8000,"publicationDate":"2025-09-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Temporal basis function models for closed-loop neural stimulation.\",\"authors\":\"Matthew J Bryan, Felix Schwock, Azadeh Yazdan-Shahmorad, Rajesh P N Rao\",\"doi\":\"10.1088/1741-2552/ae036a\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p><p><i>Objective.</i>Closed-loop neural stimulation provides novel therapies for neurological diseases such as Parkinson's disease (PD), but it is not yet clear whether artificial intelligence (AI) techniques can tailor closed-loop stimulation to individual patients or identify new therapies. Further advancements are required to address a number of difficulties with translating AI to this domain, including sample efficiency, training time, and minimizing loop latency such that stimulation may be shaped in response to changing brain activity.<i>Approach.</i>We propose temporal basis function models (TBFMs) to address these difficulties, and explore this approach in the context of excitatory optogenetic stimulation. We demonstrate the ability of TBF models to provide a single-trial, spatiotemporal forward prediction of the effect of optogenetic stimulation on local field potentials measured in two non-human primates. The simplicity of TBF models allow them to be sample efficient (<20 min of training data), rapid to train (<5 min), and low latency (<0.2 ms) on desktop CPUs.<i>Main results.</i>We demonstrate the model on 40 sessions of previously published excitatory optogenetic stimulation data. Surprisingly, on test sets it achieved a prediction accuracy 44% higher than a complex nonlinear dynamical systems model that requires hours to train, and 158% higher than a linear state-space model requiring 90 min to train. Additionally, in two simulations we show that it successfully allows a closed-loop stimulator to drive neural trajectories, and to achieve the user-preferred trade-offs between under- and over-stimulation, given the uncertainty in the model; it achieves an area under curve of ∼0.7 in both cases.<i>Significance.</i>By optimizing for sample efficiency, training time, and latency, our approach begins to bridge the gap between complex AI-based approaches to modeling dynamical systems and the vision of using such forward prediction models to develop novel, clinically useful closed-loop stimulation protocols.</p>\",\"PeriodicalId\":94096,\"journal\":{\"name\":\"Journal of neural engineering\",\"volume\":\" \",\"pages\":\"\"},\"PeriodicalIF\":3.8000,\"publicationDate\":\"2025-09-16\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Journal of neural engineering\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1088/1741-2552/ae036a\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of neural engineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1088/1741-2552/ae036a","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Temporal basis function models for closed-loop neural stimulation.
Objective.Closed-loop neural stimulation provides novel therapies for neurological diseases such as Parkinson's disease (PD), but it is not yet clear whether artificial intelligence (AI) techniques can tailor closed-loop stimulation to individual patients or identify new therapies. Further advancements are required to address a number of difficulties with translating AI to this domain, including sample efficiency, training time, and minimizing loop latency such that stimulation may be shaped in response to changing brain activity.Approach.We propose temporal basis function models (TBFMs) to address these difficulties, and explore this approach in the context of excitatory optogenetic stimulation. We demonstrate the ability of TBF models to provide a single-trial, spatiotemporal forward prediction of the effect of optogenetic stimulation on local field potentials measured in two non-human primates. The simplicity of TBF models allow them to be sample efficient (<20 min of training data), rapid to train (<5 min), and low latency (<0.2 ms) on desktop CPUs.Main results.We demonstrate the model on 40 sessions of previously published excitatory optogenetic stimulation data. Surprisingly, on test sets it achieved a prediction accuracy 44% higher than a complex nonlinear dynamical systems model that requires hours to train, and 158% higher than a linear state-space model requiring 90 min to train. Additionally, in two simulations we show that it successfully allows a closed-loop stimulator to drive neural trajectories, and to achieve the user-preferred trade-offs between under- and over-stimulation, given the uncertainty in the model; it achieves an area under curve of ∼0.7 in both cases.Significance.By optimizing for sample efficiency, training time, and latency, our approach begins to bridge the gap between complex AI-based approaches to modeling dynamical systems and the vision of using such forward prediction models to develop novel, clinically useful closed-loop stimulation protocols.