arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2607.04558cs.CLcs.AIcs.LG
收藏

EEG-SpikeAgent:用于自动脑电图尖峰检测的智能闭环程序合成

EEG-SpikeAgent: Agentic Closed-Loop Program Synthesis for Automated EEG Spike Detection

Dept. of Brain and Cognitive Sciences, Massachusetts Institute of Technology(脑科学与认知科学系,麻省理工学院);Dept. of Neuroscience, University of California, Berkeley(神经科学系,加州大学伯克利分校);Dept. of Neurology and Neurologic Sciences, Stanford University(神经病学与神经科学系,斯坦福大学);Weill Institute of Neurology and Neurosciences, University of California, San Francisco(Weill神经医学研究所,加州大学旧金山分校);University of California, San Francisco(加州大学旧金山分校)

Sonali Santhosh, Kelly Shuhong Yu, Eugene Chang, Jonathan Kim, Kie Shidara, Danilo Bernardo

AI总结:

研究利用大语言模型智能系统,为头皮脑电图尖峰检测生成信号处理特征。核心方法是迭代提出特征模块并执行代码生成表格特征,评估性能后反馈优化。贡献是实现可审核的脑电图特征工程自动化。

摘要:

头皮脑电图(EEG)中间期癫痫样放电的自动检测在临床上很重要,但近期高性能深度学习模型常以可解释性换取准确性。我们引入EEG-SpikeAgent,一个闭环程序合成框架,使用大语言模型(LLM)智能系统为头皮EEG中的尖峰检测生成信号处理特征。该系统迭代地一次提出一个确定性EEG特征模块,在EEG上执行生成的代码以生成表格特征,通过表格分类器评估性能,总结运行级指标,并将结构化诊断反馈给模型进行优化。在迭代过程中,EEG-SpikeAgent根据模型性能提出并优化候选信号特征和决策规则。我们在VEPISET上评估了EEG-SpikeAgent,这是一个包含29个通道、4秒时长的公共数据集,有2516个含放电的时段和22933个无放电的时段。在使用梯度提升树分类器的五折交叉验证中,智能体生成的特征在默认工作点的受试者操作特征曲线下面积为0.935,平衡准确率为0.699,F1分数为0.557,灵敏度为0.401,特异性为0.996。在灵敏度为0.80的工作点,平均精度为0.470,平均特异性为0.900。与仅搜索尖峰特征相比,具有伪迹感知的特征生成提高了平衡准确率和F1分数。这些结果表明,基于LLM的程序合成可以以可审核和可检查的代码驱动方式自动化EEG特征工程,用于临床和方法学审查。

英文摘要:

Automated detection of interictal epileptiform discharges in scalp electroencephalography (EEG) is clinically important, but recent high-performing deep-learning models often trade interpretability for accuracy. We introduce EEG-SpikeAgent, a closed-loop program-synthesis framework that uses a large language model (LLM) agentic system to generate signal-processing features for spike detection in scalp EEG. The system iteratively proposes one deterministic EEG feature module at a time, executes the resulting code on EEG to generate tabular features, evaluates performance via a tabular classifier, summarizes run-level metrics, and feeds structured diagnostics back to the model for refinement. Across iterations, EEG-SpikeAgent proposes and refines candidate signal features and decision rules informed by model performance. We evaluated EEG-SpikeAgent on VEPISET, a public 29-channel dataset of 4-second epochs containing 2,516 discharge-containing and 22,933 non-discharge epochs. Across five-fold cross-validation with a gradient-boosted tree classifier, agent-generated features achieved an area under the receiver operating characteristic curve of 0.935, balanced accuracy of 0.699, F1 score of 0.557, sensitivity of 0.401, and specificity of 0.996 at the default operating point. At an operating point with sensitivity 0.80, mean precision was 0.470 and mean specificity was 0.900. Artifact-aware feature generation improved balanced accuracy and F1 score over spike-only feature search. These results indicate that LLM-based program synthesis can automate EEG feature engineering in auditable and inspectable code-driven manner for clinical and methodological review.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑